- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Please wait...checking for disk quotas No shel...
Operating System - HP-UX
1753479
Members
5078
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО01-12-2011 10:12 AM
тАО01-12-2011 10:12 AM
Hi All,
I have recently copied /etc/passwd and /etc/group from server A to server B..
To do this I did following steps:
a)First copied /etc/passwd and /etc/group from server A to server B.
b)Ran the command "cp passwd /etc/passwd" and "cp group /etc/group".
After this I am not able to log in to server B through console and SSH (putty).
I am getting follwoing error while logging through console.
#############################################
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login: root
Password:
Last successful login: Wed Jan 12 11:48:34 CST 2011 /dev/console
Last authentication failure: Wed Jan 12 11:48:22 CST 2011 /dev/console
Please wait...checking for disk quotas
No shell
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login:
############################################
But I have backed up /etc/passwd and /etc/group from server B before modifying that.
Now I am able to log in to single user mode.
My questions:
1)What is the issue?
2)How can restore my backed up file from single user mode, I am not able to vi or cp in single user mode?
3)How to solve the issue?
I have recently copied /etc/passwd and /etc/group from server A to server B..
To do this I did following steps:
a)First copied /etc/passwd and /etc/group from server A to server B.
b)Ran the command "cp passwd /etc/passwd" and "cp group /etc/group".
After this I am not able to log in to server B through console and SSH (putty).
I am getting follwoing error while logging through console.
#############################################
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login: root
Password:
Last successful login: Wed Jan 12 11:48:34 CST 2011 /dev/console
Last authentication failure: Wed Jan 12 11:48:22 CST 2011 /dev/console
Please wait...checking for disk quotas
No shell
GenericSysName [HP Release B.11.31] (see /etc/issue)
Console Login:
############################################
But I have backed up /etc/passwd and /etc/group from server B before modifying that.
Now I am able to log in to single user mode.
My questions:
1)What is the issue?
2)How can restore my backed up file from single user mode, I am not able to vi or cp in single user mode?
3)How to solve the issue?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2011 10:26 AM
тАО01-12-2011 10:26 AM
Solution
1) Just guessing:
If you are able to login to server B, go and check the /etc/passwd and /etc/group file. I'm thinking they may have gotten corrupted or overwritten by the "cp passwd /etc/passwd" command. Possibly you can copy from the backup copies you made if the running versions appear wrong.
Make sure they are 444 root:sys.
2) When you get into single user you just need to mount /usr manually and then you can run vi and cp.
Rgrds,
Rita
If you are able to login to server B, go and check the /etc/passwd and /etc/group file. I'm thinking they may have gotten corrupted or overwritten by the "cp passwd /etc/passwd" command. Possibly you can copy from the backup copies you made if the running versions appear wrong.
Make sure they are 444 root:sys.
2) When you get into single user you just need to mount /usr manually and then you can run vi and cp.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2011 10:50 AM
тАО01-12-2011 10:50 AM
Re: Please wait...checking for disk quotas No shell
i believe we may get such error if login shell is set to "/bin/false " which might not be this
case ..As Rita said its good to mount the required file systems manually & do the restore.
In si mode only /stand & / would be mounted by default.
case ..As Rita said its good to mount the required file systems manually & do the restore.
In si mode only /stand & / would be mounted by default.
HP-UX been always lovable - Mani Kalra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2011 11:21 AM
тАО01-12-2011 11:21 AM
Re: Please wait...checking for disk quotas No shell
Hi All,
I have resolved the issue using following steps:
1)Logged in to single user mode.
HPUX> boot -is
2)# fsck
3)# mount -a
4)Then copied back my original passwd and group file.
I have resolved the issue using following steps:
1)Logged in to single user mode.
HPUX> boot -is
2)# fsck
3)# mount -a
4)Then copied back my original passwd and group file.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP