Operating System - HP-UX
1834118 Members
2659 Online
110064 Solutions
New Discussion

Re: syslogd does not start

 
Mario Caceres_1
Advisor

syslogd does not start

Hi folks, I don't know if you can help me with this but the thing is that I have a PA-RISC B2000 workstation with HP-UX 11i installed
and sometimes (while working) it powers-off for no reason. Sometimes I see a powerfail message but the halt is too quick to really check that...

Also, every time the workstation boots I see a FAILED attempt to start the syslogd, so I can't check for errors in the syslog.log file because it's empty.

The hardware monitors are runing.

How can I find out what might be the problem?

Seems to me a hardware problem, an electrical one, and I don't think it's due to a power supply fault because apparently works perfectly

Any advise will be appreciated!!

Thanx in advance!!

Mario.
6 REPLIES 6
Franky_1
Respected Contributor

Re: syslogd does not start

Hi Mario,

you could look in the /etc/rc.log file for any reasons that caused the trouble. There should be entries if the daemon wasn't able to come up.

Can you start the syslogd by using /sbin/init.d/syslogd on the command line ?

Regards

Franky
Don't worry be happy
John Poff
Honored Contributor

Re: syslogd does not start

Hi,

You might check /var to make sure that filesystem isn't full, and that the /var/adm/syslog directory exists and isn't trashed and doesn't have wrong permissions/ownership.

JP
MarkSyder
Honored Contributor

Re: syslogd does not start

What is the last entry in /var/adm/syslog/OLDsyslog.log? It might provide a clue.

If the power off is caused by a hardware fault there might be a mail message to warn you. Type elm and read the most recent messages.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Jeff Schussele
Honored Contributor

Re: syslogd does not start

Hi Mario,

As to the syslogd trouble I'd suspect a corrupt /etc/syslog.conf file. Try copying that file from another system that has no syslogd trouble.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Dave Olker
Neighborhood Moderator

Re: syslogd does not start

Hi Mario,

Similar to Jeff's suggestion, you can copy the default syslog.conf file from the /usr/newconfig directory. You can rename the existing /etc/syslog.conf file first, just to be sure you have any changes saved that you may want to re-integrate later when syslogd is working.

# mv /etc/syslog.conf /etc/syslog.conf.OLD

# cp /usr/newconfig/etc/syslog.conf /etc/syslog.conf

Another thing to try is to start syslogd with the -d option, which enables debug logging. If syslogd still doesn't start when the default /etc/syslog.conf file is in place, hopefully the debug output of launching syslogd with -d will give you an indication as to why.

# /usr/sbin/syslogd -d -D

The -d option will cause syslogd to run in the foreground, but again, hopefully it will tell you why it is exiting - assuming it does exit with an error.

Hope this helps,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Mark Greene_1
Honored Contributor

Re: syslogd does not start

You could have an electrical short. If you haven't already, replace the power cord, verify that you are plugged into a good, consistent powersource, and consider replacing the powersupply.

mark
the future will be a lot like now, only later