[rt-users] syslog?

Diona Kidd diona at modernflow.com
Fri Dec 16 13:57:45 EST 2005


Hi there. I'm trying to install RT and not having much luck. I've used 
it before and liked it, but I can't seem to install it now. I went to 
visit the bugs page and there are none? Also checked for FAQ's. The 
mailing list archives are also not searchable so I am seeking assistance 
here. Please excuse me if this is a very common post.

This is Fedora Core 3, with gd_devel installed (per instructions), MySQL 
 > 4.1. I have Apache2/mod_perl2 running fine and dandy. However, I 
can't get past the make initialize-databse portion of the installation 
instructions.

I've tried changing the LogDispatch setting to "socket=>'inet'" as 
described in the included links. I've also noticed, while debugging, 
that the log file 'rt.log' wasn't created. I touched it and made it +rw 
for everyone, just to see if that was it. I also threw in a print 
statement to see what file was supposed to be the log (see errors below).

Some pages I've visited for help:
http://wiki.bestpractical.com/index.cgi?action=diff&page_name=NoConnectionToSyslog&revision_id=-1
http://wiki.bestpractical.com/index.cgi?NoConnectionToSyslog
http://search.cpan.org/~drolsky/Log-Dispatch-2.11/lib/Log/Dispatch/Syslog.pm
http://search.cpan.org/~drolsky/Log-Dispatch-2.11/lib/Log/Dispatch.pm


With socket=>'inet', I receive (excerpt):
--------------------------------
Now inserting RT core system objects
filename => /usr/local/rt3/var/log/rt.log, logdir => /usr/local/rt3/var/log
Checking for existing system user...not found.  This appears to be a new 
installation.
Creating system user...Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 373.
[Fri Dec 16 18:37:31 2005] [crit]: Bad arg length for 
Socket::pack_sockaddr_in, length is 0, should be 4 at 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 373.
 (/usr/local/rt3/lib/RT.pm:296)
Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 373.
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at 
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Socket.pm line 373.
make: *** [initialize-database] Error 255 

Without (normal setting), I receive:
-------------------------------
Now creating a database for RT.
Creating mysql database rt3.
Now populating database schema.
Creating database schema.
Done setting up database schema.
Now inserting database ACLs
Done setting up database ACLs.
Now inserting RT core system objects
filename => /usr/local/rt3/var/log/rt.log, logdir => /usr/local/rt3/var/log
Checking for existing system user...not found.  This appears to be a new 
installation.
Creating system user...unix dgram connect: No such file or directory at 
/usr/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
[Fri Dec 16 19:03:18 2005] [crit]: no connection to syslog available at 
/usr/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
 (/usr/local/rt3/lib/RT.pm:296)
unix dgram connect: No such file or directory at 
/usr/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
no connection to syslog available at 
/usr/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77 

Can anyone offer any insight?

Thanks.

Diona Kidd




More information about the rt-users mailing list