Solved

Daemon not Shutting down at run level change.

Posted on 2006-11-05
4
347 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

770 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