I have a monitoring script that checks on the content of an alert file, I'm doing some checks on weather I have already reported on the alert (there is one alert per file). If I find that the content is the same as before how can I stop and restart the loop until there is differences bewteen the... (5 Replies)
Hello,
I host a couple of Call of Duty gameing servers. There are some hackers who love the crash them. When they crash them it simply causes a segmentaion fault and kills the PID. I was wondering it you could help me write a script to simply restart the program after it has been crashed. The... (9 Replies)
:confused: Everytime our UNIXWARE 7 Server is restarted we also have to restart the spooler. If the spooler is not restarted, print jobs get stuck in the queu. Once restarted by using the following command lpstop and lpstart everything works fine.
Does anyone have any ideas what could be causing... (0 Replies)
Hi!
My unix os version is OSF1 CP1 V4.0 878 alpha.
It startup normally but it restarts within 5 sec.
I would like to know how to solve .
Please reply to me.
Thanks .
akzin (2 Replies)
Hello people,
My solaris server is rebooting, not sure how!!! Which log should I look in to? I checked /var/adm/messages and dmesg also. How do I check older dmesg logs? I checked lastlog and also ran the last command. Nothing useful pointing to why server rebooted.
Also when server reboots I... (4 Replies)
Hi All,
I can seem to find the syslog daemon in the /etc/init.d/ dir. i have made change to the syslog.conf i need to restart the daemon. am using solaris 10. i have no problem on version 9
Anyone with a template i can use for log review for auditing purposes. (1 Reply)
Hi,
I use gfortran to run the code. Some times I need to stop the program
and restart it. On restarting I need to run the program from the beginning.
Is there any script or option available to restart the program from where
it stopped? This script/option will be immensely useful for... (2 Replies)
Hi,
How is it possible to restart only your process. I can get the process killed but I am not able to start it.
For eg : i first did this ps -ef|grep _out --displays all the process with _out in the name
then I killed kill -15 36044 -- process id.
Now how can i start the same... (1 Reply)
Hi,
Is there any way to refresh the session(for the profile file changes get reflect) in putty?
I am tired of closing reopening putty.
Thanks,
Pandeeesh
CTRL + Q to Enable/Disable GoPhoto.it (4 Replies)
Hi friends,
I have one unix command which is used to check the network status manually.
followig is the command
check_Network this command give follwoing status
Network 1 is ok
Network 2 is ok
network 3 is ok
network 4 is ok
.
.
.
.
Network 10 is... (8 Replies)
Discussion started by: Nakul_sh
8 Replies
LEARN ABOUT DEBIAN
rc.news
RC.NEWS(8) InterNetNews Documentation RC.NEWS(8)NAME
rc.news - Start or stop INN daemons
SYNOPSIS
rc.news [start | stop]
DESCRIPTION
rc.news can be used to start or stop innd and supporting programs. It checks to make sure INN is not already running, handles cases of
unclean shutdown, finishes up tasks which might have been interrupted by the preceding shutdown, e-mails certain boot-time warnings to
newsmaster (as set in inn.conf), and is generally safer and easier than starting and stopping everything directly. It needs to be run as
the news user so that files in pathrun are created with the right ownership (though this is less important for "rc.news stop").
Programs run and stopped by this script include:
o Always: innd is started or stopped.
o If doinnwatch is true in inn.conf: innwatch is started and stopped.
o If docnfsstat is true in inn.conf: cnfsstat is started and stopped.
o If ovmethod is set to "ovdb" in inn.conf: ovdb_init is run; ovdb_server and ovdb_monitor are stopped.
o If rc.news.local exists in pathbin: rc.news.local is run with argument "start" or "stop" (to perform site-specific startup or shutdown
tasks).
OPTIONS
"start"
If the first argument is "start", or no first argument is given, rc.news initiates INN startup.
"stop"
If the first argument is "stop", rc.news initiates INN shutdown. It is recommended to throttle the server first as described in
ctlinnd(8).
EXAMPLES
To start INN and leave certain error messages going to the terminal:
su - news -c <pathbin in inn.conf>/rc.news
To run INN at startup time from appropriate system boot scripts:
su - news -c <pathbin>/rc.news >/dev/console
To stop INN (throttling first):
<pathbin>/ctlinnd throttle reason
su - news -c '<pathbin>/rc.news stop'
BUGS
Running "rc.news start" as root is never the right thing to do, so we should at minimum check for this and error, or perhaps change
effective user ID.
HISTORY
// FIXME: any attribution for rc.news itself?
This manual page written by Jeffrey M. Vinocur <jeff@litech.org> for InterNetNews.
$Id: rc.news.pod 9340 2011-08-16 13:50:19Z iulius $
SEE ALSO ctlinnd(8), cnfsstat(8), inn.conf(5), innwatch(8), ovdb(5).
INN 2.5.3 2011-08-22 RC.NEWS(8)