- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- things went bad when do this fuser -kc /var
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:36 PM
12-31-2002 12:36 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:38 PM
12-31-2002 12:38 PM
Re: things went bad when do this fuser -kc /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:39 PM
12-31-2002 12:39 PM
Re: things went bad when do this fuser -kc /var
You probably need to reboot.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:40 PM
12-31-2002 12:40 PM
SolutionYou should have just rebooted the machine into single user mode.
The /var filesystem is used by LOTS of OS processes and by issuing the 'fuser -kc' you just killed a lot of VERY IMPORTANT HP-UX processes.
You may have to now do a CTRL-B and at the prompt do either a TOC or an RS to restart the system. If you have another session logged in somewhere, try rebooting the system from there before you do the above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:41 PM
12-31-2002 12:41 PM
Re: things went bad when do this fuser -kc /var
I think you just sent the SIGKILL signal to every process that had the /var filesystem open. Ouch!
What problem were you trying to solve?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:43 PM
12-31-2002 12:43 PM
Re: things went bad when do this fuser -kc /var
Does bdf shows you /var mounted??
If not try mounting /var again and try to login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:43 PM
12-31-2002 12:43 PM
Re: things went bad when do this fuser -kc /var
I think he was trying to kill all the processes in /var so he could extend it. See this post:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4d95afe90f1cd71190050090279cd0f9,00.html
By the way, do NOT do the 'fuser -kc' command on /tmp. If you do, you are likely to run into some of the same problems you have right now as a lot of root processes access /tmp as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:46 PM
12-31-2002 12:46 PM
Re: things went bad when do this fuser -kc /var
there must be a way to recover this....
i can't reboot right now..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:46 PM
12-31-2002 12:46 PM
Re: things went bad when do this fuser -kc /var
"Things to Never Do Again" list.
Without OnLineJFS, the ONLY way to extend /var is in sigle-user mode. There's simply NO way around this fact.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:48 PM
12-31-2002 12:48 PM
Re: things went bad when do this fuser -kc /var
If you have a support contract on your machine, Call HP and tell them what has happened. They may be able to help you.
To see what processes are using a mountpoint you should do:
# fuser -cu /mountpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:53 PM
12-31-2002 12:53 PM
Re: things went bad when do this fuser -kc /var
but strange things..if I come in as a user and su - root
and it is ok for me to do ..but i can't do the same from the console work ???
now since i am in as root, is there a way i can repair the damage ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:54 PM
12-31-2002 12:54 PM
Re: things went bad when do this fuser -kc /var
Reboot now!
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 12:55 PM
12-31-2002 12:55 PM
Re: things went bad when do this fuser -kc /var
/usr/lbin/cmsnmpd
/usr/sbin/syslogd
/opt/omni/lbin/rds
/usr/sbin/swagentd
/opt/dce/sbin/rpcd
/usr/sbin/netfmt
/usr/sbin/ptydaemon
/usr/sbin/rbootd
/usr/lbin/ntl_reader
/opt/perf/bin/perflbd
/opt/perf/bin/alarmgen
sendmail:
/usr/sbin/cron
/opt/perf/bin/midaemon
/usr/lbin/cmcld
/usr/sbin/envd
/opt/omni/lbin/mmd
/usr/lbin/cmsrvassistd
/opt/perf/bin/rep_server
/opt/perf/bin/ttd
/opt/perf/bin/scopeux
/opt/omni/lbin/crs
/usr/dt/bin/dtlogin
/opt/perf/bin/agdbserver
Now, if you are really adventurous and motivated [and you sure seem to be so far!], and if you have a root connection open to the box, you COULD try to restart these daemons via /sbin/init.d somehow. Maybe.
Or you could just reboot to single user mode and expand the filesystems as you will need to do anyway.
In situations like this I've found it to be quite convenient to trip over the power cord. ;)
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:05 PM
12-31-2002 01:05 PM
Re: things went bad when do this fuser -kc /var
how do i start this using the daemon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:10 PM
12-31-2002 01:10 PM
Re: things went bad when do this fuser -kc /var
Let me login to one of my 10.20 boxes and see what scripts we can run in /sbin/init.d that might get things restarted.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:12 PM
12-31-2002 01:12 PM
Re: things went bad when do this fuser -kc /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:16 PM
12-31-2002 01:16 PM
Re: things went bad when do this fuser -kc /var
/sbin/init.d/envd start
/sbin/inid.d/ptydaemon start
See if those two get the envd and ptydaemon daemons going. If so, we might be able to pull this off. I won't claim to know which daemons are the most important, but we'll start with those.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:24 PM
12-31-2002 01:24 PM
Re: things went bad when do this fuser -kc /var
Environmental daemon started
# /sbin/init.d/ptydaemon start
Starting the ptydaemon
yes..it seems the2 daemon is working at this point..so waht's next??
i am so nervous
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:29 PM
12-31-2002 01:29 PM
Re: things went bad when do this fuser -kc /var
and i saw that lvmkd is not running...and it doesn't look so good
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:42 PM
12-31-2002 01:42 PM
Re: things went bad when do this fuser -kc /var
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062942884
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:55 PM
12-31-2002 01:55 PM
Re: things went bad when do this fuser -kc /var
My advice? Go to your boss and tell them what happened, and that the system needs to be rebooted now. The daemons that were killed have probably brought the box to a stand still anyway. In cases like this I've always found that honesty is the best policy and will serve you better than anything else. Tell them what you did, what you learned, and that it won't happen again.
Or, you could take my earlier advice and trip over the power cord. Tomorrow is January 1st. You could blame it on a Y2K+3 bug. You never know. Someone might actually buy it. ;)
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 02:02 PM
12-31-2002 02:02 PM
Re: things went bad when do this fuser -kc /var
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 02:06 PM
12-31-2002 02:06 PM
Re: things went bad when do this fuser -kc /var
Good luck, and Happy New Year!
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 02:36 PM
12-31-2002 02:36 PM