- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reg:crto error
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
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
02-05-2002 09:23 AM
02-05-2002 09:23 AM
Reg:crto error
I have a problem booting into my HP workstation. The problem is that I was trying to resize (actually reduce) the /usr
directory . So I made a backup of my /usr under
another directory called /opt. Then I switched to single user mode, unmounted
the /usr direcotory, removed the logical volume mounted on /usr. After that I
created a new logical volume of required size and created the filessystem for
the new volume and mounted it on /usr. When I was trying to move the files
(as copy is not active in single user mode) from my backup directory to /usr
, it did not move fully. Actually the size I gave for /usr was the one
existing earlier before I increased it , which I was trying to revert it now.
But still the move command does not move all the files and I am caught with
files scattered partially in my /usr and /backup usr directory. When I try to
reboot it gives me this message in a loop
INIT :single user mode
"crto:Error couldnt open /usr/lib/dld.sl errno:000000002"
Also when I try to boot normally it gives me the error
"Init command is respawning too rapidly
will try again in 5 minutes
check for possible errors
id: cons /usr/sbin/getty console console #system console"
How can I get back to command prompt in single user mode to make any changes . Also how can I restore the files in my /usr directory. The problem is I cant reinstall HP-UX as we dont have the software warranty for the workstation.
Looking forward to your replies
regards
chandrasekar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 09:40 AM
02-05-2002 09:40 AM
Re: Reg:crto error
Bad Bad thing to do...
/usr contains all the dynamic libraries and all the system executables - if you have any of the above missing you will have *great* difficulties booting...
/usr/lib/libdl is IIRC the dynamic library loader - essentially *the* most important library (along with libc) and most executables will not work without it.
The command respawning too quickly is the init process starting a process and that process dying too soon. (such as if it couldn't start because it couldn't load a dynamic library)
Your solution: you will have to use maintance mode. This is a special mode designed for emergency admin when you cannot access several of the volumes. The advantage of MM over single user is that LVM is not started, and all utilities are in /sbin so are statically linked (the only statically linked executables on HP-UX!)
To get into MM, do the following:
* power off
* power on
* interrupt boot process to get to firmware prompt
* boot off the boot disk and we *do* want to interact with ISL
* at the ISL prompt enter:
hpux -lm
When you get into mm you will be stuck in a mode with *no* nice features (no more, vi etc)
you'll need to manually mount all volumes etc, but it gets you in!
dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:06 AM
02-05-2002 10:06 AM
Re: Reg:crto error
Thanks for the information. I tried out booting in maintenance mode but it seems to give the same error message as that in single user mode. The question might be silly but is it
>hpux -lm(Lm) or hpux -1m(one m)
Iam a novice in unix systems so not aware of bits and bytes of the system.
regards
chandrasekar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:08 AM
02-05-2002 10:08 AM
Re: Reg:crto error
This should work as maintenance mode doesn't go anywhere near /usr (doesn't even mount it!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 10:47 AM
02-05-2002 10:47 AM
Re: Reg:crto error
I regret for the inconvenience. I tried again to boot in maintenance mode but it gives the same message
INIT:single user mode
crto:error
I can see that it mounts only root and swap logical volumes but still this error keeps recurring.
I was wondering whether I have to boot through disks other than hard disk in order to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 06:19 PM
02-05-2002 06:19 PM
Re: Reg:crto error
Bill Hassell, sysadmin