Sponsored Content
Operating Systems HP-UX Unix server restart automatically Post 302536340 by ganesh24pal on Tuesday 5th of July 2011 06:43:02 AM
Old 07-05-2011
No there is no job schedule for restarting the unix server.

My server details is below.

HP-UX ho B.10.20 A 9000/889 255864301 two-user license

Please tell me in this server where is log saved .

---------- Post updated at 05:43 AM ---------- Previous update was at 05:40 AM ----------

Hi ITkamraj,

Please find my shutdown log .

Code:
cat: Cannot ope: No such file or directory
$ cat shutdownlog
18:57  Thu Aug 26, 2010.  Halt:  (by ho!root)
19:14  Thu Aug 26, 2010.  Halt:  (by SAM)
19:15  Thu Aug 26, 2010.  Halt:  (by ho!root)
16:32  Wed Oct 20, 2010.  Reboot:  (by ho!root)
23:30  Tue Nov  9, 2010.  Halt:  (by ho!root)
11:54  Fri Jan 14, 2011.  Halt:  (by ho!root)
11:05  Thu Jan 20, 2011.  Halt:  (by ho!root)
14:31  Thu Feb 17, 2011.  Reboot:  (by ho!root)
09:51  Sat May 14, 2011.  Reboot:  (by ho!root)
15:54  Sat May 14, 2011.  Halt:  (by ho!root)
15:53  Tue May 31, 2011.  Halt:  (by ho!root)
08:03  Thu Jun 30 2011.  Reboot after panic:   , isr.ior = 0'10240001.0'398e707c
11:42  Thu Jun 30 2011.  Reboot after panic:   , isr.ior = 0'10240001.0'390e50b8
13:51  Thu Jun 30 2011.  Reboot after panic:   , isr.ior = 0'0.0'0
03:17  Sun Jul 03 2011.  Reboot after panic:   , isr.ior = 0'240028.0'6d5b4670
03:42  Mon Jul 04 2011.  Reboot after panic:   , isr.ior = 0'240028.0'6d5b4670
$


Last edited by pludi; 07-05-2011 at 08:08 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how can I restart X server ?

WITHOUT shutdown X ??? thanks , Ivan (6 Replies)
Discussion started by: oneivan
6 Replies

2. Shell Programming and Scripting

need help to write script to check the process health and automatically restart it

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

How can I make a program start up automatically after the computer restart/startup?

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

How to restart the tomcat server

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

automatically restart scripts

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

Server usually restart not reason

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

Restart Xvnc server

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

Restart Linux server

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

UI accessiblity problem when using cronjob for server restart

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

How to Restart the web server

Hi, Unix AIX, on WebLogic How to Restart the web server Thank you. (2 Replies)
Discussion started by: big123456
2 Replies
uadmin(2)																 uadmin(2)

NAME
uadmin - administrative control SYNOPSIS
#include <sys/uadmin.h> int uadmin(int cmd, int fcn, uintptr_t mdep); The uadmin() function provides control for basic administrative functions. This function is tightly coupled to the system administrative procedures and is not intended for general use. The argument mdep is provided for machine-dependent use and is not defined here. As specified by cmd, the following commands are available: A_SHUTDOWN The system is shut down. All user processes are killed, the buffer cache is flushed, and the root file system is unmounted. The action to be taken after the system has been shut down is specified by fcn. The functions are generic; the hardware capabilities vary on specific machines. AD_HALT Halt the processor(s). AD_POWEROFF Halt the processor(s) and turn off the power. AD_BOOT Reboot the system, using the kernel file. AD_IBOOT Interactive reboot; user is prompted for bootable program name. A_REBOOT The system stops immediately without any further processing. The action to be taken next is specified by fcn as above. A_DUMP The system is forced to panic immediately without any further processing and a crash dump is written to the dump device (see dumpadm(1M)). The action to be taken next is specified by fcn, as above. A_REMOUNT The root file system is mounted again after having been fixed. This should be used only during the startup process. A_FREEZE Suspend the whole system. The system state is preserved in the state file. The following subcommands, specified by fcn, are available. AD_COMPRESS Save the system state to the state file with compression of data. AD_CHECK Check if your system supports suspend and resume. Without performing a system suspend/resume, this com- mand checks if this feature is currently available on your system. AD_FORCE Force AD_COMPRESS even when threads of user applications are not suspendable. Upon successful completion, the value returned depends on cmd as follows: A_SHUTDOWN Never returns. A_REBOOT Never returns. A_FREEZE 0 upon resume. A_REMOUNT 0. Otherwise, -1 is returned and errno is set to indicate the error. The uadmin() function will fail if: EBUSY Suspend is already in progress. EINVAL The cmd argument is invalid. ENOMEM Suspend/resume ran out of physical memory. ENOSPC Suspend/resume could not allocate enough space on the root file system to store system information. ENOTSUP Suspend/resume is not supported on this platform or the command specified by cmd is not allowed. ENXIO Unable to successfully suspend system. EPERM The {PRIV_SYS_CONFIG} privilege is not asserted in the effective set of the calling process. dumpadm(1M), kernel(1M), uadmin(1M), privileges(5) 1 Sep 2005 uadmin(2)
All times are GMT -4. The time now is 01:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy