Solved

Daemon not Shutting down at run level change.

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

760 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

22 Experts available now in Live!

Get 1:1 Help Now