06-22-2009
Hi All i usually using
#reboot for rebooy system
and
#poweroff to shutdown
what that i do is right or not make server problem?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've never been on a Unix machine so please be easy on me!!!
I need to create a step by step process for the Unix start up and shut down process.
Thanks for any help in advance. (3 Replies)
Discussion started by: chaughney
3 Replies
2. UNIX for Dummies Questions & Answers
ok i am pretty new i am thinking this maybe a dns situatioan i dunno....
i am trying to start nfs server i get the followin error:
mountd svc_tli create could not bind to requested address: address mismatch
svc_create: svc_tli_create failed
/usr/lib/nfs/nfsd : tli_bind to wrong address... (14 Replies)
Discussion started by: rmuhammad
14 Replies
3. Shell Programming and Scripting
Hi ,
Good day people. I want to know if i can shut down a particular service that runs in windows from solaris through a script .
Scenario : we have a distributed environment where we want to shut down a service that runs under windows through a shell script in solaris , is this kinda action... (3 Replies)
Discussion started by: vivsiv
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
I have created a user to shutdown the server using RBAC.
Here are my steps:
1. roleadd -u 1000 -g 10 -d /home/stopsys -m stopsys
2. passwd stopsys
3. edit /etc/security/prof_attr to include:
Shut:::able to shut the server:
4. modrole -P Shut stopsys
5. useradd -u 1001 -g 10 -d... (2 Replies)
Discussion started by: chaandana
2 Replies
5. Shell Programming and Scripting
Hi,
I want to automate process of making server up and down.
For us making server up and down is just to go to particular directory in user directories (in Unix box) and running start and stop shell script .
We have to run the same things on 5 users on same server .
Can anybody suggest... (1 Reply)
Discussion started by: shekhar_ssm
1 Replies
6. UNIX for Dummies Questions & Answers
I have a problem with my unix server. Can anyone please teach me how to start the mailx running... . (16 Replies)
Discussion started by: filthymonk
16 Replies
7. UNIX for Advanced & Expert Users
Hi to all,
i cant start my x server.
I use putty and xming.
When i type xclock i get no promt back and i must type ctrl+c to get promt again.
start x is giving me:
$ startx
Fatal server error:
PAM authentication failed, cannot start X server.
Perhaps you do not have console... (3 Replies)
Discussion started by: ttoni
3 Replies
8. Linux
Hi,
I have installed mysql in linux box as mysql-5.0.77-4.el5_6.6..
I would like to start the server. But there is no mysql file in this location /etc/init.d/
Please advice how to start the server now !!
Thnaks,
Mani (5 Replies)
Discussion started by: Mani_apr08
5 Replies
9. Red Hat
I had a query that should the RHEL servers in production environment be re-started say every 2-3 months so that the cache is cleared?
I hope, my question is clear that should the Red Hat Linux servers be restarted periodically.
Please revert with the reply to my query.
Regards (17 Replies)
Discussion started by: RHCE
17 Replies
10. UNIX and Linux Applications
Good afternoon
I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration
Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies
LEARN ABOUT X11R4
systemd-halt.service
SYSTEMD-HALT.SERVICE(8) systemd-halt.service SYSTEMD-HALT.SERVICE(8)
NAME
systemd-halt.service, systemd-poweroff.service, systemd-reboot.service, systemd-kexec.service, systemd-shutdown - System shutdown logic
SYNOPSIS
systemd-halt.service
systemd-poweroff.service
systemd-reboot.service
systemd-kexec.service
/lib/systemd/systemd-shutdown
/lib/systemd/system-shutdown/
DESCRIPTION
systemd-halt.service is a system service that is pulled in by halt.target and is responsible for the actual system halt. Similarly,
systemd-poweroff.service is pulled in by poweroff.target, systemd-reboot.service by reboot.target and systemd-kexec.service by kexec.target
to execute the respective actions.
When these services are run, they ensure that PID 1 is replaced by the /lib/systemd/systemd-shutdown tool which is then responsible for the
actual shutdown. Before shutting down, this binary will try to unmount all remaining file systems, disable all remaining swap devices,
detach all remaining storage devices and kill all remaining processes.
It is necessary to have this code in a separate binary because otherwise rebooting after an upgrade might be broken -- the running PID 1
could still depend on libraries which are not available any more, thus keeping the file system busy, which then cannot be re-mounted
read-only.
Immediately before executing the actual system halt/poweroff/reboot/kexec systemd-shutdown will run all executables in
/lib/systemd/system-shutdown/ and pass one arguments to them: either "halt", "poweroff", "reboot" or "kexec", depending on the chosen
action. All executables in this directory are executed in parallel, and execution of the action is not continued before all executables
finished.
Note that systemd-halt.service (and the related units) should never be executed directly. Instead, trigger system shutdown with a command
such as "systemctl halt" or suchlike.
SEE ALSO
systemd(1), systemctl(1), systemd.special(7), reboot(2), systemd-suspend.service(8)
systemd 237 SYSTEMD-HALT.SERVICE(8)