Results 1 to 5 of 5
Thread: How to restart syslogd?
Hybrid View
-
09-19-2002, 07:52 AM #1Junior Guru Wannabe
- Join Date
- Aug 2002
- Posts
- 95
How to restart syslogd?
Hi,
I want delete files at /var/log.
How to restart syslogd after deleting?
Thanks
-
09-19-2002, 07:54 AM #2Web Hosting Master
- Join Date
- Apr 2001
- Posts
- 2,611
This might work: /etc/rc.d/init.d/syslog restart
-
09-19-2002, 08:30 AM #3Junior Guru Wannabe
- Join Date
- Aug 2002
- Posts
- 95
Thanks
-
09-19-2002, 01:33 PM #4WHT Addict
- Join Date
- Aug 2002
- Posts
- 170
Although most of my colleagues would disagree with me,l
I would do a ps -ef or ps -aux depending on what system I was on.
Then I would get the process id of the process, and do
kill -HUP proccess_id
This should do it...Walter Landman
Simplicato - Email Hosting
-
09-19-2002, 02:12 PM #5Fool about Town
- Join Date
- Sep 2001
- Location
- Sirkali Rural Tamilnadu
- Posts
- 738
killall -HUP syslogd
is graceful and elegant in my opinion
you can also find the pid as Walter says.
The syslogd pid is stored in a file which I cant recall now. You can also cat its contents and then send a signalI am now happily selling Natural Herbal Hair Oil - happy to be so far removed from technology!