Stop syslog.log in HP-UNIX

Posted on 2007-10-05
Last Modified: 2013-12-06
Can you help me to stop siglog in HP-UX?
It happens I have a sysconf like this:
# 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
*.info;mail.none        /tmp/syslog.log
*.alert                 /dev/console
*.alert                 root
*.emerg                 *
So, it's recording 2 syslog.log files. I  ave delete the above line for /tmp, but I do not know to stop and
re-start the  syslogd to use the new configuration?
Question by:Enrique Gomez Esteban
    LVL 1

    Expert Comment

    # /sbin/init.d/syslogd stop
    # /sbin/init.d/syslogd start
    LVL 48

    Expert Comment


    kill -1 <pid of syslogd>

    Author Comment

    by:Enrique Gomez Esteban
    Well it happens that in HP-UX the command  syslogd stop/start is not implemented.
    Reading some doc I think it could be syslogd -d (turning debug ON) but not sure.
    LVL 48

    Accepted Solution

    The goal here is to get syslogd to recognise the updated syslog.conf file.

    All versions of syslog will do this by sending SIGHUP to the syslogd process, hence

    kill -1 <pid of syslogd>

    is a better option than stopping/starting syslogd.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now