Results 1 to 4 of 4

Thread: syslog-ng starts every day

  1. #1
    Join Date
    Nov 2017
    Beans
    8

    syslog-ng starts every day

    I have a couple of Ubuntu servers running 14.04.1-Ubuntu. One of these servers is a primary and another is failover, so I keep certain services disabled on failover unless the primary goes down. One of the services I need to keep disabled is syslog-ng. Even though I've run the commands to kill the syslog-ng process and run the command "update-rc.d syslog-ng disable", syslog-ng starts itself back up every day.

    There is documentation to disable a service by "removing" it by doing the following.... "update-rc.d -f syslog-ng remove" However, I don't know what's involved in re-enabling the service once it is removed in this fashion.

    Ideas?

  2. #2
    Join Date
    Feb 2017
    Beans
    5

    Re: syslog-ng starts every day

    Hi, probably logrotate runs every night, and restarts the logging daemon.

  3. #3
    Join Date
    Feb 2017
    Beans
    5

    Re: syslog-ng starts every day

    Another possibility is that it starts back up due to syslog.socket being
    socket-activated. Disable syslog.socket, and syslog-ng will stop
    starting back up too.

  4. #4
    Join Date
    Nov 2017
    Beans
    8

    Re: syslog-ng starts every day

    Quote Originally Posted by fekete77-robert View Post
    Another possibility is that it starts back up due to syslog.socket being
    socket-activated. Disable syslog.socket, and syslog-ng will stop
    starting back up too.
    How would I go about disabling the syslog socket?

Bookmarks

Posting Permissions

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