- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot execute lvol's
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
Discussions
Discussions
Forums
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
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
тАО05-08-2010 05:56 AM
тАО05-08-2010 05:56 AM
I am getting the below errors when trying to boot the server:
/sbin/rc[75]: /dev/vg00/lvol8: cannot execute
/sbin/rc[75]: /dev/vg00/lvol10: cannot execute
/sbin/rc[75]: /dev/vg00/lvol9: cannot execute
/sbin/rc[75]: /dev/vg00/lvol7: cannot execute
/sbin/rc[75]: /dev/vg00/lvol6: cannot execute
/sbin/rc[75]: /dev/vg00/lvol5: cannot execute
/sbin/rc[75]: /dev/vg00/lvol4: cannot execute
But if i boot into single user mode, i am able to mount these lv's. Please suggest.
Thanks,
sagar.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2010 06:20 AM
тАО05-08-2010 06:20 AM
Re: cannot execute lvol's
- Seems to be there is some corruption , and the last shutdown was not proper.
- What happened before you got this message. Was it an unexpected shutdown.
- Can you mount all these lvs in single user mode. If yes, after mount , use # vgchange -a y vg00 , then init 3 ( for multiuser mode).
- else , go with fsck: Seems lvol3 is good, that is root.
- run in single user mode, run fsck to all the lvs [ 4,5,6,7,8,9,10 ] and shutdown and try again the boot process.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2010 05:35 PM
тАО05-08-2010 05:35 PM
Re: cannot execute lvol's
This is likely rc.config(4) which sources all files in /etc/rc.config.d/. And you have left a junk file there, which contains a list of your LVs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2010 12:22 PM
тАО05-09-2010 12:22 PM
SolutionThe rule is: Never create temporary files or other junk in the directory:/etc/rc.config.d If you must keep an old copy of a file, create a directory such as /etc/rc.config.d/old and put old copies of files there. You may have cd'ed into/etc/rc.config.d, then performed some sort of lvol listing and stored the result. This is another reason NOT to cd into a drirectory, especially a system directory, and run various commands.
To find the bad file(s), use this command:
ls -lrt /etc/rc.config.d
The files at the end of this list are new and most likely junk that does not belong in /etc/rc.config.d
> in /etc/rc.config.d/. And you have left a junk file there, which contains a list of your LVs.
That's because the files in /etc/rc.config.d are not executed (sourced) for single user mode.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2010 12:56 PM
тАО05-09-2010 12:56 PM
Re: cannot execute lvol's
One approach to finding problems like this is to do::
# sh -vx /etc/rc.config 2>&1|more
The sourcing of the '/etc/rc.config.d' directory's files will stops at the first culprit, enabling you to isolate the problem.
With regard to how the '/etc/rc.config.d' directory is processed, it is true that any file therein is a candidate for processing with the *exception* that you *can* have backup copies of files that are *not* processed.
When '/sbin/rc' runs, the '/etc/rc.config.d' directory is examined by the script '/etc/rc.config'. This script skips any file whose basename contains an "extension" that begins with the characters [.,~#].
Thus, it is permissible to have 'netconf' and 'netconf.old'. The '.old' backup will *not* be processed.
If, however, you had kept an old version of your 'netconf' file named as, 'oldnetconf', then *both* 'netconf' and 'oldnetconf' would be sourced. Since the letter "o" follows "n", the result would be undesirable insofar as the last variable declarations seen would be from the wrong file.
However, caveat emptor!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2010 07:42 AM
тАО05-10-2010 07:42 AM
Re: cannot execute lvol's
Recreated the file and made teh required entries.