10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please tell me how to convert below program from shell script to perl. Same commands need to use in shutdown, just need program help for startup.
export ORACLE_BASE=/home/oracle1
lsnrctl start lndb1
sqlplus '/ as sysdba'
startup; (2 Replies)
Discussion started by: learnbash
2 Replies
2. AIX
Hi,
is there a difference between
shutdown -Fand
shutdown -h now? (3 Replies)
Discussion started by: x_adm
3 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: aixhp
7 Replies
4. AIX
Hello everyone
I need to shutdown all my servers and my storage. I would like to hear your opinions about this.
This is my little plan about all this.
1.-Stop the applications
2.-Stop the webservers
3.-Stop the ihs
4.-Stop the databases
5.-Verify no process are running
6.-Close the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
5. Shell Programming and Scripting
Hi,
I want to write a shell script to compare two tables in teradata.these tables are present on different servers.
I want to connect to both servers in single login in order to fetch and compare the data in one go.
Thanks (1 Reply)
Discussion started by: monika
1 Replies
6. Solaris
Hi
is shutdown and init 0 are same command in solaris? (2 Replies)
Discussion started by: mokkan
2 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: kelu
12 Replies
8. UNIX for Advanced & Expert Users
Firstly uname -a = UnixWare companyname 5 7.1.4 i386 x86at SCO UNIX_SVR5
Server is an HP Proliant ML350 G4 Tower
Right, now to the problem.
We frequently have power outtages and lightning strikes here due to our location in a VERY rural part of the UK.
As such, I need to be able to remotely... (6 Replies)
Discussion started by: aewpcoles
6 Replies
9. Linux
Hey,
I was wondering if there was an easy way to give a nonroot user shutdown privileges? I've been reading lots about it but it's all long and complicated for what i need to do. Really i just need this user to beable to run one command shutdown -h now and thats it. Oh yeah and i'm running... (4 Replies)
Discussion started by: byblyk
4 Replies
10. UNIX for Advanced & Expert Users
Hai
Could somebody tell me the solution to my problem.
the question is as follows
there is one unix server and 100 dummy terminals connected to my server, i want to shutdown client system if some of the
client forgetten to power down their system.
plez provide me the code for that. (2 Replies)
Discussion started by: rajashekaran
2 Replies
ftpshut(8) System Manager's Manual ftpshut(8)
NAME
ftpshut - shut down all proftpd servers at a given time
SYNOPSIS
ftpshut [ -R ] [ -l min ] [ -d min ] time [ warning-message ]
DESCRIPTION
The ftpshut command provides an automated shutdown procedure that a superuser can use to automagically disconnect current proftpd connec-
tions, and deny new connections. The command creates a control file as /etc/shutmsg to inform proftpd processes about an impending shut-
down.
OPTIONS
time The time at which the ftp servers will be brought down. It may be the word `now', indicating an immediate shutdown, or a future
time in one of two formats: +number or HHMM. The first form brings the servers down in number minutes, while the second form
indicates an exact time of day, using a 24-hour clock format.
-R Instructs ftpshut to remove the /etc/shutmsg file, restoring proftpd to its normal service. If this option is used, this will be
the only operation performed by ftpshut
-l min Specifies the number of minutes before shutdown that new ftp access will be disabled. If the -l option is not specified, a
default of 10 minutes (or immediately, if less than 10 minutes remains until shutdown) is used.
-d min Specifies the number of minutes before shutdown that existing ftp connections will be disconnected. If the -d option is not
specified, a default of 5 minutes (or immediately, if less than 5 minutes remains until shutdown) is used.
warning-message
Optionally provide a message which will be sent to new connections (if denied) and existing connections (when disconnected). The
message can contain the following magic cookies, which will be replaced as follows before being sent to new or existing connec-
tions:
%s time proftpd is being shut down
%r time new connections will be denied
%d time current connections will be dropped
%C current working directory (where applicable)
%L local host name (or virtualhost name)
%R remote host name
%T local time (format Thu Nov 15 17:12:42 1990)
%U username given at login time
CAVEATS
Proftpd servers can only be shutdown via ftpshut if a master daemon is running in standalone mode. Servers running in inetd mode will
honor the shutdown message file created by ftpshut, however currently running servers may be chroot(2)ed, and unable to read the shutdown
message control file.
It is possible to set an absolute shutdown time which is earlier than the current time. If this is the case, proftpd will not shutdown
until the indicated time on the following day.
FILES
/usr/sbin/ftpshut
/etc/shutmsg
AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html
SEE ALSO
inetd(8),ftp(1),proftpd(8),ftpwho(1),ftpcount(1)
Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/
For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html
Report bugs at http://bugs.proftpd.org/
March 2003 ftpshut(8)