01-17-2013
Ok, so the copy and move part is good but not the sudo part.
So what would be the command to ether shut off and then turn on rsyslog or to just restart rsyslog? The rsyslog need to be restarted (or turned back on) to create and continue writing to pix.log and pix2.log
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a script in a directory -say users/me/test/
It looks like this:
# "bkup" - copies specified files to the user's ~/Backup
# directory after checking for name conflicts.
a=$(date +%T)
cp $1 ~/test/Backup/$1.$a
It copies file.txt from current directory and timestamps the name of it of... (4 Replies)
Discussion started by: coregan
4 Replies
2. UNIX for Dummies Questions & Answers
I am new to unix, and this is my 1st post on this board. Looking for some advice about a cron job in my server.
I am running a cron task that references a script which runs several other scripts and compiles them into a report and emails it to me. If I run the script manually, I will... (2 Replies)
Discussion started by: Steeler_fan
2 Replies
3. UNIX for Dummies Questions & Answers
If my cron has recieved a SIGTERM. How do I restart the cron? (7 Replies)
Discussion started by: ddrivera
7 Replies
4. Linux
hi all,
How do cron restart on unix Tru64?
because don't run my cron jobs. few days age it's running fine.
I did below steps:
1. cd /usr/sbin
2. cron stop
response: "! Cron is already running. Exiting... Tue Nov 27 14:38:00 2007"
3. cron start
response: "! Cron is already running.... (2 Replies)
Discussion started by: Tlg13team
2 Replies
5. Linux
hi all,
How do cron restart on unix Tru64?
because don't run my cron jobs. few days age it's running fine.
I did below steps:
1. cd /usr/sbin
2. cron stop
responce: "! Cron is already running. Exiting... Tue Nov 27 14:38:00 2007"
3. cron start
responce: "! Cron is already running.... (2 Replies)
Discussion started by: Tlg13team
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
How can I restart the CRON manually?
Thanks (1 Reply)
Discussion started by: biot
1 Replies
7. AIX
Hello:
NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies
8. Shell Programming and Scripting
I want to create reports using rsyslog in linux,Can someone help me out here ? Report Format must be "Hostname" "Username" "Hostname logged from" "Date" "Time"
Regards,
Ahmed.
---------- Post updated at 05:24 PM ---------- Previous update was at 05:24 PM ----------
Linux,Shell Script (10 Replies)
Discussion started by: ahmed.vaghar
10 Replies
9. UNIX for Beginners Questions & Answers
Can anyone offer any advice on how to modify the script below to work on a new system we have, that has no graphics capability? We admin the system through a serial RAS device. I've tried running the below script through the RAS and through an ssh -X session. It failed with something like "GTK... (3 Replies)
Discussion started by: yelirt5
3 Replies
SYSLOG(8) System Logging SYSLOG(8)
NAME
syslog-ng, syslogd
DESCRIPTION
There are different syslog daemon implementations supported as the system's syslog service, currently syslogd, syslog-ng and rsyslogd
The first installed daemon activates itself for the syslog service. Starting with openSUSE-11.2, it is rsyslogd, before it was syslog-ng.
But this depends on the software selection during the installation.
The name of the daemon used as syslog service is specified in the
SYSLOG_DAEMON variable in /etc/sysconfig/syslog.
The yast2 sysconfig module provides a comfortable way to switch to another installed daemon and restart the service.
The /etc/init.d/syslog init script is able to handle all supported daemons.
BUGS
Please report bugs at <http://www.suse.de/feedback>
AUTHOR
Juergen Weigert <jw@novell.com>
Marius Tomaschewski <mt@novell.com>
SEE ALSO
sysklogd(8) syslogd(8) syslog.conf(5) syslog-ng(8) syslog-ng.conf(5) rsyslogd(8) rsyslog.conf(5)
syslog May 2008 SYSLOG(8)