From: Rob H. <ro...@ro...> - 2003-04-26 06:42:12
|
Hello, This bug seems to be that an unconfigured sandweb-admin gets installed into /usr/bin. Can you please try reinstalling sandweb, and removing /usr/bin/sandweb-admin ? This bug will be fixed in RC3, so alternatively you can just wait for that. -- Rob On Tue, Apr 15, 2003 at 04:21:50PM +0200, Heino Erps wrote: > Am Mon, 2003-04-14 um 20.05 schrieb Rob Helmer: > > Hello, > > > > > > On Mon, Apr 14, 2003 at 03:52:29PM +0200, heino wrote: > > > [root@unsa cgi-bin]# sandweb-admin --add-user bob > > > Using a hash as a reference is deprecated at > > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > > > Using a hash as a reference is deprecated at > > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > > > unable to open config file: ../etc/sandweb.cfg > > > return data: <pre>$VAR1 = { > > > 'errlev' => 0, > > > 'data' => {} > > > }; > > > </pre>[root@unsa cgi-bin]# > > > > Hmm.. well, the "Using a hash as a reference" warning is probably > > from Perl 5.8.0 ( we're still using 5.6 ), I should probably upgrade :) > > > > The "unable to open config file: ../etc/sandweb.cfg" is rather > > odd. Can you send your "install.cfg" to the list? > I `ve made a link from > /etc/sandweb.cfg ->/usr/local/etc/sandweb/sandweb.cfg > > When I start it from the root ('/') sandweb-admin was able to open > ../etc/sandweb.cfg (there are no serious errors) : > > _______ > [root@unsa /]# cd / > [root@unsa /]# sandweb-admin --add-user bob > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > Enter password for bob: > Username bob successfully added! > [root@unsa /]# > _______ > So this works, and I can log in now w my browser. > But when I enter the Full Name and want to let write sandweb.cgi bob`s > config-file, sandweb.cgi is "Unable write config file for bob." > There must be something wrong with my Paths/Rights, I think! > > > Send your install.cfg, I don't know why sandweb-admin would be looking > > in "../etc" for sandweb.cfg > > > > The location of sandweb.cfg is set at install time. > > I`ve download/unzip sandweb to this dir ('/space/sandweb'), customized > the install.cfg (but it looked god, so I`ve done no changes) and typed > 'make install'. > Here is my install.cfg : > _______ > [root@unsa /]# locate install.cfg > /space/sandweb/install.cfg > /space/sandweb/debian/install.cfg > > [root@unsa /]# cat /space/sandweb/install.cfg > # Installation configuration variables. > package config; > > $bindir = '/usr/local/bin'; > $cfgdir = '/usr/local/etc/sandweb'; > $cgidir = '/var/www/cgi-bin'; > $imgdir = '/var/www/images'; > $tmpldir = '/usr/local/lib/sandweb/templates'; > $cachedir = '/usr/local/share/sandweb'; > $logdir = '/var/log'; > $httpuser = 'www'; > $expectbin = '/usr/bin/expect'; > $ssh_bin = '/usr/bin/ssh'; > $cvs_bin = '/usr/bin/cvs'; > > 1; > [root@unsa /]# > _______ > > I thought, that this are my dirs/places where sandweb looks and works > after the installation, is this correct? > > All dirs/paths/_bins exists! I can use them manually! > Hope this can help you to help me ;-) > Thx Heino > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |