07-04-2011
Is this a question ? or a statement ?
If you are looking for assistance you will need to provide more info.
When you say "automatically restart the server" do you mean it's in a reboot cycle ? or is it rebooting every x minutes ? or has it happened once ?
By server I guess you mean host, not webserver ?
What do the logs say ?
...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
WITHOUT shutdown X ???
thanks ,
Ivan (6 Replies)
Discussion started by: oneivan
6 Replies
2. Shell Programming and Scripting
I am working on a project, which need to constantly watch the process, and check its status, if it was dead, it should be restart automatically.
Please kindly refer me to URL which teach how to write this kind of script, or service.
Thanks. (1 Reply)
Discussion started by: dragondad
1 Replies
3. Shell Programming and Scripting
hi all
How can I make a program start up automatically after the computer restart/startup in fedora?
something like:
... Establish a shell then run some of command code.
Thanks for Help!! (1 Reply)
Discussion started by: munna_dude
1 Replies
4. Shell Programming and Scripting
hi,
I need a command that restart the tomcat server.
for example for restart the tomcat i am using following command, /etc/init.d/tomcat restart ..but sometimes is not working...might be i want to use java code access this peace of script.
like using the grep and ps commands can i use?... (2 Replies)
Discussion started by: sankar reddy
2 Replies
5. Shell Programming and Scripting
I am new to AIX shell scripting, please help......
I want to write a automatically restart script for one of my application. For example, the application name: ABC (you can see its ID from ps -ef | grep ABC). It can be started by ABC.sh file but it has to be stopped by using "ps -ef | grep ABC"... (2 Replies)
Discussion started by: jsmitha2009
2 Replies
6. Red Hat
Hi everyone,
- I have CentOs server 5.4 , I usually remote by ssh.
- My problem is server usually restart but I don't reason. I check log in file /var/log/messages: I don't see "signal 15" which kernel have to receive before restart. Everyone can see in attach.
- I try to restart with command... (3 Replies)
Discussion started by: vietbk87
3 Replies
7. Solaris
Hi
My i ask how to restart the Xvnc server running on a solaris box. This is the Xvnc server running process:
Xvnc:1 -httpd /usr/local/vnc/classes -geometry 1024x768 -rfbwait 5000 -rfauth <dir> -rfbport <port no> -alwaysshared
Additional Question:
1. Should i kill the process and restart... (1 Reply)
Discussion started by: jao_madn
1 Replies
8. UNIX for Advanced & Expert Users
Hello all:
I am new to LINUX/UNIX administration task. My Infrastructure admin has allocated me a special lab server in client location. Per my requirement, had chanted few settings in LINUX/UNIX and need to reboot the server. I am the "root" user. I had used "shutdown -r now" at command line... (3 Replies)
Discussion started by: nvkuriseti
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a couch Db server running. I have written a script which will check and kill the multiple instances of the same and then start again a new one.
Now when i start the db server manually, the UI of the DB is accessible via browser. But when i do the same using cronjob, the UI of... (0 Replies)
Discussion started by: sarath@123
0 Replies
10. UNIX for Advanced & Expert Users
Hi,
Unix AIX, on WebLogic
How to Restart the web server
Thank you. (2 Replies)
Discussion started by: big123456
2 Replies
statd(1M) System Administration Commands statd(1M)
NAME
statd - network status monitor
SYNOPSIS
/usr/lib/nfs/statd
DESCRIPTION
statd is an intermediate version of the status monitor. It interacts with lockd(1M) to provide the crash and recovery functions for the
locking services on NFS. statd keeps track of the clients with processes which hold locks on a server. When the server reboots after a
crash, statd sends a message to the statd on each client indicating that the server has rebooted. The client statd processes then inform
the lockd on the client that the server has rebooted. The client lockd then attempts to reclaim the lock(s) from the server.
statd on the client host also informs the statd on the server(s) holding locks for the client when the client has rebooted. In this case,
the statd on the server informs its lockd that all locks held by the rebooting client should be released, allowing other processes to lock
those files.
lockd is started by automountd(1M), mount_nfs(1M), and share(1M) if NFS automounts are needed.
FILES
/var/statmon/sm lists hosts and network addresses to be contacted after a reboot
/var/statmon/sm.bak lists hosts and network addresses that could not be contacted after last reboot
/var/statmon/state includes a number which changes during a reboot
/usr/include/rpcsvc/sm_inter.x contains the rpcgen source code for the interface services provided by the statd daemon.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfscu |
+-----------------------------+-----------------------------+
SEE ALSO
svcs(1), automountd(1M), lockd(1M), mount_nfs(1M), share(1M), svcadm(1M), attributes(5), smf(5)
System Administration Guide: IP Services
NOTES
The crash of a server is only detected upon its recovery.
The statd service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/nfs/status
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
If it is disabled, it will be enabled by mount_nfs(1M), share_nfs(1M), and automountd(1M) unless its application/auto_enable prop-
erty is set to false.
SunOS 5.10 18 Nov 2004 statd(1M)