rsyslog hangs on startup

General discussions here

Moderator: rgerhards

rsyslog hangs on startup

Postby SifuKurt on Thu Sep 15, 2005 8:48 pm

Let me start by saying that I've successfully installed rsyslog on CentOS 4.1 and it was as easy as pie. I am trying to install it on an old Fedora box, and it compiles and installs without error. However, it hangs when I try to start it. Any ideas?

Thanks. Great software, btw.
SifuKurt
 

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

RE: rsyslog hangs on startup

Postby rgerhards on Thu Sep 15, 2005 8:50 pm

Hi,

I've no immediate idea, but it would probably be helpful to run it interactively with the "-d -n" options. That generates quite a lot of debug output.

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 1780
Joined: Thu Feb 13, 2003 11:57 am

RE: rsyslog hangs on startup

Postby Guest on Thu Sep 15, 2005 9:49 pm

Thanks for the prompt response. I took your suggestion and ran it with the "-d -n" options. This is the error message it returned:

-----
Called fprintlog, logging to FILE
Called fprintlog, logging to MYSQL
Called logerr, msg: db error (1046): No database selected

logmsg: syslog.err<43>, flags 4, from infonet, msg rsyslogd: db error (1046): No database selected
-----

It prints that error many, many times and then finally croaks with a segmentation fault. I checked my MySQL setup, and everything appears to be ok. I have created the Syslog database using the createDB.sql file. I have other things using MySQL on the same server, so I know MySQL as a whole is working ok. I also confirmed that the MySQL user has appropriate priviledges.
Guest
 

RE: rsyslog hangs on startup

Postby Guest on Wed Sep 21, 2005 9:46 pm

Resolved. Still not sure what was causing the error, but on a hunch, I copied the executable from the install that worked and replaced the version that was causing the error. That fixed it.
Guest
 

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron