Sponsored Content
Operating Systems Solaris Changing of syslog file path instead of /var/log directory Post 302477080 by amity on Friday 3rd of December 2010 08:10:44 AM
Old 12-03-2010
Changing of syslog file path instead of /var/log directory

Hi

Please let me know how can we change the syslog file path from /var/log to /a directory in solaris

Regards
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix Swap File in /var directory

Thank you 98_1LE.... Please help required urgently... We are getting error message in SUN... Please give solution ERROR MESSAGE: NOTICE: alloc: /var: file system full Output of command "df -k" in our system is... Filesystem kbytes used avail capacity Mounted on... (1 Reply)
Discussion started by: wipro fluid power
1 Replies

2. Solaris

diff b/w /var/log/syslog and /var/adm/messages

hi sirs can u tell the difference between /var/log/syslogs and /var/adm/messages in my working place i am having two servers. in one servers messages file is empty and syslog file is going on increasing.. and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

3. Shell Programming and Scripting

Executing Commands From Non-Standard Path (Changing user's PATH secretely???)

Hi: I have a requirement as below: I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l). When any user logs on and types... (2 Replies)
Discussion started by: ramesh_samane
2 Replies

4. Solaris

/var/log/syslog

Hi, Solaris : 9 I noticed /var/log/syslog message file growing fast in abnormal way since 4 or 5 days. due to this my root / filesystem is getting filled with 100% . root $ls -ltr total 4683730 -rwxrwxrwx 1 root sys 0 Oct 17 2005 authlog -rwxrwxrwx 1 root ... (17 Replies)
Discussion started by: maooah
17 Replies

5. Shell Programming and Scripting

Retrieve directory path from full file path through sh

Hi, I have a file abcd.txt which has contents in the form of full path file names i.e. $home> vi abcd.txt /a/b/c/r1.txt /q/w/e/r2.txt /z/x/c/r3.txt Now I want to retrieve only the directory path name for each row i.e /a/b/c/ /q/w/e/ How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies

6. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

7. Solaris

Understanding /var/log/syslog.* logfiles solaris 8

hi guys, This is a log from a Solaris 8 server /var/log/syslog.* file. Can any body please confirm whether the meaning of the last two words (Mail accepted) means the mail has been delivered? Because the email id the mail was sent to is invalid. :confused: The log is: Feb 18 08:55:45... (2 Replies)
Discussion started by: raj_55555
2 Replies

8. HP-UX

Unidentified File on /var Directory

Hi All, I'm having problem with /var directory which is keep increasing. Here's the output of bdf and du command # uname -a HP-UX rppmis1 B.11.11 U 9000/800 1153414645 unlimited-user license # bdf /var Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol8 ... (8 Replies)
Discussion started by: stu33
8 Replies

9. Shell Programming and Scripting

Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog

I have been searching and reading about syslog. I would like to know how to Transfer the logs being thrown into /var/log/messages into another file example /var/log/volumelog. tail -f /var/log/messages dblogger: msg_to_dbrow: no logtype using missing dblogger: msg_to_dbrow_str: val ==... (2 Replies)
Discussion started by: kenshinhimura
2 Replies

10. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
socklog-conf(8) 					      System Manager's Manual						   socklog-conf(8)

NAME
socklog-conf - sets up a socklog(8) service. SYNOPSIS
socklog-conf unix|inet|klog|ucspi-tcp acct logacct socklog-conf notify acct grp DESCRIPTION
socklog-conf creates /etc/sv if necessary and a subdirectory that runs the unix, inet, ucspi-tcp or notify service (see below for each ser- vice). Except for the notify service, socklog-conf also creates a log directory with subdirectories. acct, logacct and grp must not contain any special characters. UNIX SERVICE
socklog-conf unix acct logacct Running socklog-conf with the 1st argument unix, socklog-conf creates the service directory /etc/sv/socklog-unix and the log directory /var/log/socklog. socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on /dev/log. It also creates automatically rotated log directories in /var/log/socklog. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-unix INET SERVICE
socklog-conf inet acct logacct Running socklog-conf with the 1st argument inet, socklog-conf creates the service directory /etc/sv/socklog-inet and the log directory /var/log/socklog-inet. socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to listen for syslog messages on the UDP socket 0.0.0.0:514. It also creates automatically rotated log directories in /var/log/socklog-inet. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-inet KLOG SERVICE
socklog-conf klog acct logacct Running socklog-conf with the 1st argument klog, socklog-conf creates the service directory /etc/sv/socklog-klog and the log directory /var/log/socklog-klog. socklog-conf arranges for socklog(8) to run under the uid and gid of acct and to read kernel messages from /proc/kmsg on Linux, or /dev/socklog-klog on BSD. It also creates automatically rotated log directories in /var/log/socklog-klog. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-klog UCSPI-TCP SERVICE socklog-conf ucspi-tcp acct logacct Running socklog-conf with the 1st argument ucspi-tcp, socklog-conf creates the service directory /etc/sv/socklog-ucspi-tcp and the log directory /var/log/socklog-ucspi-tcp. socklog-conf arranges for tcpsvd(1) to run socklog(8) under the uid and gid of acct and to listen on the TCP socket 0.0.0.0:10116. It also creates automatically rotated log directories in /var/log/socklog-ucspi-tcp. The logs are owned by logacct. The corresponding svlogd(8) process runs under the uid and gid of logacct. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-ucspi-tcp NOTIFY SERVICE
socklog-conf notify acct grp Running socklog-conf with the 1st argument notify, socklog-conf creates the service directory /etc/sv/socklog-notify. socklog-conf arranges for uncat(1) to run under the uid and gid of acct and to listen on the named pipe /var/log/socklog/.notify. The named pipe will have mode 0620, the uid of acct and the gid of grp. All uids running a log service that is configured to push log events to the socklog-notify service must be member of the group grp. You can add the service to system-wide service supervision through the update-service(8) program: update-service --add /etc/sv/socklog-notify SEE ALSO
socklog(8), svlogd(8), nc(1), tryto(1), uncat(1), socklog-check(8), tcpsvd(8), sv(8), runsv(8), runsvdir(8) http://smarden.org/socklog/ http://smarden.org/runit/ AUTHOR
Gerrit Pape <pape@smarden.org> socklog-conf(8)
All times are GMT -4. The time now is 05:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy