[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with syslog



On Mon, 9 Jul 2001, Piotr Kucharski wrote:

> On Mon, Jul 09, 2001 at 07:59:55AM +0200, Piotr Swiecicki wrote:
> > And still ircd doesn't log anything to the syslogd daemon.
>
> 1. make clean
> 2. make server
> 3. make sure
>
> that files pointed to by syslog.conf exist and are writeable
> by syslog daemon (or whatever use syslog drops priviliges to)
>
> If that won't help, truss/strace syslog first (which I really
> suspect it's the problem); then ircd itself. If you find anything
> suspicious, mail me. If not, recompile ircd with debug and
> watch it.

I had to put off this problem becouse of lack of time, but finally today I
have managed some time for this. And fortunately I found the solution. The
bug wasn't related with ircd nor syslog, but rather with installation of
ircd.
I've been running ircd in chroot'ed enrionment, in /home/ircd. After
chroot'ing ircd couldn't open the /dev/log socket to communicate with
syslog, becouse it was above the root of filesystem.
So the solution is to add the '-d /home/ircd/dev/log' option to the
syslog during its startup.
Maybe you should fix the rpm's in ftp://ftp.irc.org/irc/server/rpms/
directory, becouse there is the same problem with logging to the syslog
daemon.

--
Swiety