I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X (:=Darwin=FreeBSD/Mach).
I am trying to get it to exit cleanly silently upon Mac OS X system shutdown.
My idea was that if there was a logout script in FreeBSD (basically a script... (1 Reply)
Hi Guys,
I want to execute few of my bash script, so that whenever someone calls shutdown now -r command, I want my script to execute first before shutting down.
Any help please?????
I've just started playing with the unix system, so far its been brilliant.... (10 Replies)
I want to make a script to shutdown a unixware computer from other user then root. In Sco version i use "as root" but in the unixware i don't know.
Please help me.
10x (12 Replies)
Hi,
I am on Alpha Server with HP Tru64 system.
I wish to setup shutdown to automatically and cleanly shutdown informix during the shutting down of the system.
Ie. I was trying to use rc0.d to do this but failed.
Has anyone tried doing this before? I already have the script and linked it
to... (0 Replies)
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Im writing a script to read a file called shutdown.cf and shut down any scripts that are listed there.
I have came up with the following based on things I saw in similar programs but it doesn not work:
Has anybody any idea what I may be doing wrong?
Cheers
Paul (4 Replies)
I have a list of clients
$ cat clientlist
client1
client2
client3
client4
I need a script to read these clients from a file and list the contanining policies for each client ( one client may belong to more than one policy),
then I'd like to remove the client from all... (2 Replies)
I am going to create shutdown database script. We have dabase shutdown script.
But i need take dabase which online and make it down.
I got user id which needs to dabase to down
ID=`ps -ef | grep -i pmon | grep -v grep | awk '{print $1}'` (
got orace side
DB=`ps -ef | grep -i pmon |... (1 Reply)
Hi all,
I'm writing a script to stop & start oracle:
su - oracle -c "sqlplus / as sysdba" -c "shutdown immediate">> ${log} 2>&1
The {log} refers to the log file. The part in bold gives error:
/usr/sbin/shutdown: Only root can run /usr/sbin/shutdown
Pls suggest how to correct this.
... (5 Replies)
Discussion started by: frum
5 Replies
LEARN ABOUT SUSE
hylafax-shutdown
HYLAFAX-SHUTDOWN(5F)HYLAFAX-SHUTDOWN(5F)NAME
etc/shutdown - server shutdown control file
DESCRIPTION
If the file etc/shutdown is present it describes when a HylaFAX server is to be shutdown and may contain a descriptive message to return to
clients explaining the reason for the shutdown. This file is used by the hfaxd(8C) program.
The file has the following format:
<year> <month> <day> <hour> <minute> <deny> <disconnect>
<shutdown message text>
The first line defines the date and time the server should be shutdown and the time preceding at which unprivileged clients should be
denied service or disconnected; these fields are described in more detail below. Any lines that follow the first are taken as the text of
a message to return to clients when notifying them of a scheduled shutdown or when denying them service.
<year> The decimal year; e.g. 1996.
<month> The decimal month; e.g. 10 for October.
<day> The decimal day of the month in the range [1..31].
<hour> The decimal hour since midnight; in the range [0..23].
<minute> The decimal minute after the hour; in the range [0..59].
<deny> The time prior to the shutdown time at which to deny service to unprivileged clients. This value is specified as decimal number
in the form HHMM; e.g. 130 for 1 hour and 30 minutes.
<disconnect>
Time time prior to the shutdown time at which to disconnect unprivileged clients that are logged in to the server. This value is
specified as a decimal number in the form HHMM.
NOTES
This file is typically created using the ``SHUT'' command supported by hfaxd(8C).
SEE ALSO hfaxd(8C), hylafax-server(5F)
January 18, 1996 HYLAFAX-SHUTDOWN(5F)