Solved

Daemon not Shutting down at run level change.

Posted on 2006-11-05
4
342 Views
Last Modified: 2013-12-06
We're running a cold backup and we change runlevels to do this.

I am not a big UNIX guy, but our UNIX guy is on vacation. So it's my job.

One of the daemons is hung on stopping on the rc scripts and it's been hung for a while.  Can I tell it to move on to the next thing and just hard shut it down.  It's the Veritas volume administrator daemon.  We don't use VxVM, so it's not a big deal.

Anyway.  Is there a way to force it to stop, move on, ignore, etc?

this is HP-UX 11.11.
0
Comment
Question by:flood_land
4 Comments
 
LVL 45

Accepted Solution

by:
Kdo earned 250 total points
ID: 17878234
Hi flood_land,

Kill the task.  Enter "ps -ef" to find the task.  Then enter "kill <task_number>".   Task_number was displayed by the "ps" command.

The daemon may trap and ignore a simple kill signal.  If so, try "kill -9 <task_number>".  It should terminate for that signal.


Good Luck!
Kent
0
 
LVL 6

Assisted Solution

by:JJSmith
JJSmith earned 250 total points
ID: 17942990

Something like Veritas Volume manager would probably be started by one of the scripts in /sbin/init.d directory.

If you can identify them with something like ' grep -l vx  /sbin/init.d/* ' then you should be able to call the scripts with a stop argument.

If it's hanging; are you absolutely sure you are not using Veritas - I know some HP-UX systems were shipped with the root volume group under veritas rather than HP's LVM.

If you're not using veritas then someone needs to look at the parameter files in /etc/rc.config.d to stop the processes starting when the machine boots.

Cheers
JJ
 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now