Results 1 to 5 of 5

Hybrid View

  1. #1
    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

  2. #2
    Join Date
    Apr 2001
    Posts
    2,611
    This might work: /etc/rc.d/init.d/syslog restart

  3. #3
    Join Date
    Aug 2002
    Posts
    95
    Thanks

  4. #4
    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

  5. #5
    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 signal
    I am now happily selling Natural Herbal Hair Oil - happy to be so far removed from technology!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •