System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with syslogd not able to re-start

 
Mike_305
Super Advisor

Problem with syslogd not able to re-start

Hello,

 

I am trying to re-cycle syslogd process on one of my servers and I have given up on all the options.

 

> kill -HUP {process_id}

 

> kill -s HUP {process_id}

 

> kill -9 {process_id}

 

Copy the file from new config and try to restart and still no luck.

 

Any help appreciated and thanks in advance.

 

Regards,

 

MJ.

If there is problem then don't think as problem, think as opportunity.
3 REPLIES

Re: Problem with syslogd not able to re-start

>I am trying to re-cycle syslogd process on one of my servers and I have given up on all the options.

> kill -HUP {process_id}

 

syslogd(1m) says this is the right way to do it.

 

>Copy the file from new config and try to restart and still no luck.

 

Did you make sure you use tabs and not spaces?

Denver Osborn
Honored Contributor

Re: Problem with syslogd not able to re-start

Hi Mike,

 

So what happens (or doesn't) when you kill hup syslogd?  I'd like to help, but its not clear that you've described any problem.

 

Assuming syslogd is running since you have a PID to kill hup... when you kill hup the syslogd PID, what happens or doesn't happen? 

 

does the process continue to run w/ a "syslogd restart" message logged? 

 

-denver

rariasn
Honored Contributor

Re: Problem with syslogd not able to re-start

Hi:

 

Sample "syslog" configuration file:

 

# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
mail.debug              /var/adm/syslog/mail.log
*.info;mail.none        /var/adm/syslog/syslog.log
*.alert                 /dev/console
*.alert                 root
*.emerg                 *

 

# /sbin/init.d/syslogd stop

 

# /sbi/init.d/syslogd start

 

rgs,