fbsd 4.11

perl 5.8.8 installed by pkg_add

postgrey 1.32

use.perl port

This machine has been running great for a week. Monday morning, postgrey was stoppedand wouldn't start.


Aug 18 14:20:35 mx1 postgrey[73387]: FATAL: ERROR: can't create DB environment: No such file or directory (dbdir: /var/db/postgrey uid/gid: 1003,1003)

user:group 1003:1003 is postgrey:postgrey


ll /var/db/postgrey/
total 1078288
-rw-------  1 postgrey  postgrey  -   10485684 Aug  8 01:06 log.0000000001
-rw-------  1 postgrey  postgrey  - 1082490880 Aug 17 08:36 postgrey.db
-rw-------  1 postgrey  postgrey  -          0 Dec  8  2006 postgrey.lock
-rw-------  1 postgrey  postgrey  -   10862592 Aug 17 08:36 postgrey_clients.db

It seems that some PERL path has gone wrong

strace postgrey --inet=10023

.. show a lot of file open failures.

open("/usr/local/lib/perl5/site_perl/5.8.5/mach/Sys/Syslog.pm", O_RDONLY) = -1 ENOENT (No such file or directory)

mx1# find /usr/local -iname "Syslog.pm"

mx1# find /usr/local -iname "FileHandle.pm"

For an earlier, similar problem on this machine, we were advised to make this link,

mx1# ll /usr/bin/perl
lrwxr-xr-x 1 root wheel - 19 Aug 18 06:14 /usr/bin/perl@ -> /usr/local/bin/perl

How do I tell PERL and PERL apps where to find the stuff?

We'll be upping to fbsd7.0 soon, but need this machine on line meanwhile.


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to