|
From: John S. <ke...@gm...> - 2007-03-01 13:05:05
|
Lionel Bouton <lionel-dev@...> writes: > > John Smith wrote the following on 28.02.2007 15:34 : > > (...) > > > > postfix:x:102: > > postdrop:x:103: > > sqlgrey:x:104: > > and in /etc/passwd: > > postfix:x:1001:102:Postfix MTA:/var/spool/postfix:/bin/false > > sqlgrey:x:1002:104::/var/lib/sqlgrey: > > > > I even create manually /var/lib/sqlgrey. > > > > Now, the problem: > > > > root <at> slack11:/etc <mailto:root <at> slack11:/etc># sqlgrey > > 2007/02/28-16:29:30 sqlgrey (type Net::Server::Multiplex) starting! > > pid(4433) > > Binding to TCP port 2501 on host localhost > > Setting gid to "104 104" > > Setting uid to "1002" > > dbaccess: can't connect to DB: unable to open database file(1) at > > dbdimp.c line 94 > > Can't call method "do" on an undefined value at /usr/sbin/sqlgrey line > > 298. > > root <at> slack11:/etc <mailto:root <at> slack11:/etc># > > Are /var/lib/sqlgrey permissions OK? > It should belong to sqlgrey and be user writable. > > Lionel > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > Hello Lionel, and thanks very much for help... you were right, the permissions wasn't OK! but now, they are: root@slack11:/var/lib# ls -l total 60 ...... drwxrwxrwx 2 sqlgrey sqlgrey 4096 2007-03-01 08:48 sqlgrey/ drwxrwx--T 2 root nogroup 4096 2006-09-12 10:33 stunnel/ drwxr-xr-x 2 root root 4096 2006-09-16 11:47 xdm/ drwxr-xr-x 2 root root 4096 2007-03-01 08:14 xkb/ root@slack11:/var/lib# But error is the same: root@slack11:/var/lib# sqlgrey 2007/03/01-08:59:04 sqlgrey (type Net::Server::Multiplex) starting! pid(1517) Binding to TCP port 2501 on host localhost Setting gid to "104 104" Setting uid to "1002" dbaccess: can't connect to DB: unable to open database file(1) at dbdimp.c line 94 Can't call method "do" on an undefined value at /usr/sbin/sqlgrey line 298. root@slack11:/var/lib# I even tryed using a sqlgrey.db file from another computer running under FC-5... Error was the same..... Thank's again |