10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This is probably a simple question, but I'm new with writing scripts for Linux (IPFire in this case) and Google wasn't helpful with this.
When creating a script, what is the best and/or proper way to have it exit automatically if the reboot or shutdown command is given? If that's even... (2 Replies)
Discussion started by: bartgrefte
2 Replies
2. Programming
I am having exactly the same problem with https://www.unix.com/programming/129264-application-cleanup-during-linux-shutdown.html but the thread is old and closed. The only difference is that I use sigaction() instead of signal(), which is recommended, as far as I know.
This is my code:
... (9 Replies)
Discussion started by: hakermania
9 Replies
3. UNIX for Advanced & Expert Users
How are you, good afternoon, I do not speak and I do not write in English, and I'm iniciandome in unix / linux on my own, I am using the google translator, my question is this, know what are the shutdown command to change user State:
# shutdown -y -g0 -i0 (completely off my system)
# shutdown... (8 Replies)
Discussion started by: PrincipianteZ
8 Replies
4. Linux
Hi,
I'm using 2.6.11 kernel on ARM 9. Below are the messages I get issuing different commands.
When I give "reboot" I get run level 6 initiated and get the following messages. I have nothing to complaint about it. All the scripts in rc6.d are executed.
The system is going down for reboot... (3 Replies)
Discussion started by: suryaemlinux
3 Replies
5. Red Hat
Friends ,
I create two script for oracle database startup and shutdown .
$ cat start.sh
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_OWNER=oracle
su - oracle << !
sqlplus / as sysdba << !
startup
$ cat stop.sh
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1... (1 Reply)
Discussion started by: shipon_97
1 Replies
6. Solaris
I have a sparc T1 server (I know its old) running Solaris 8, which we use for testing. It has been very slow in response- prompt takes couple of minutes to come up, so I decided to reboot the server but I can reboot it, it is giving following errors when I try to shutdown it down.
root@deva:/#... (3 Replies)
Discussion started by: Tirmazi
3 Replies
7. UNIX for Advanced & Expert Users
Hi,
please could someone advise the best command to shutdown and then for it to reboot back online again.
Note: I shall be doing this from a telent session.
regards
venhart (3 Replies)
Discussion started by: venhart
3 Replies
8. Shell Programming and Scripting
Dear all,
I want to control my server from shutting down and rebooting.
It will ask for some question before the process, ex: who are you? what is the reason for shutting down? ...
I think I can overide that binary of shutdown/reboot command, but it is confused.
We have many way to... (5 Replies)
Discussion started by: fongthai
5 Replies
9. UNIX for Dummies Questions & Answers
Help please
I have today messed up my sudoers file which means no users can sudo in to our system.
I therefore need to do a restore of the file - no problems, I have a backup.
Now comes the problem.
The system is secure, and nobody seems to know the root password.
The system will not... (1 Reply)
Discussion started by: cobdeng
1 Replies
10. UNIX for Advanced & Expert Users
Hi,guys
I have a two CPUs server, and the system is linux2.4.6.
When the system shutdown,it will stop at the word Power Down.
I f I do not select the option "Symmtric multi-processing Support"
when I compile the kernel,system will shutdown automatic.But I
want to use two CPUs.
Anyone can... (1 Reply)
Discussion started by: lance
1 Replies