can't open /etc/passwd file


 
Thread Tools Search this Thread
Operating Systems Solaris can't open /etc/passwd file
# 8  
Old 07-25-2011
They gave you very good help.

What does
Code:
pwck
grpck

show. pwck should have a lot of nasty-grams.

Things might be bad enough that rebooting means you would lose the system and have to do a restore. We need to see before we tell you to do something stupid.
# 9  
Old 07-26-2011
Thanks a lot dude..But since my /etc/passwd file si not accessible it doesn't show any meaning ful o/p...Please chek the logs

Code:
root@ecosdp26a>pwck

        Too many/few fields

J       Too many/few fields

,       Too many/few fields

ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Too many/few fields

        Too many/few fields

        Too many/few fields

        Too many/few fields

        Too many/few fields

        Too many/few fields

        Too many/few fields

        Too many/few fields

        Too many/few fields

Quote:
Originally Posted by jim mcnamara
They gave you very good help.

What does
Code:
pwck
grpck

show. pwck should have a lot of nasty-grams.

Things might be bad enough that rebooting means you would lose the system and have to do a restore. We need to see before we tell you to do something stupid.
---------- Post updated at 03:42 PM ---------- Previous update was at 03:06 PM ----------

Moreover I am getting my /var/adm/messgaes as shown below

Code:
root@ecosdp26a # tail /var/adm/messages
Jul 26 10:50:06 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 1760, fs = /
Jul 26 10:50:06 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 1762, fs = /
Jul 26 10:50:06 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 1764, fs = /
Jul 26 10:50:06 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 1772, fs = /
Jul 26 10:50:06 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 1777, fs = /
Jul 26 10:50:07 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 78, fs = /
Jul 26 10:50:07 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 110, fs = /
Jul 26 10:53:25 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 78, fs = /
Jul 26 10:55:02 ecosdp26a last message repeated 1 time
Jul 26 10:57:59 ecosdp26a ufs: [ID 893081 kern.warning] WARNING: ufs_readir: bad dir, inumber = 78, fs = /
root@ecosdp26a #

# 10  
Old 07-26-2011
As I already wrote in the first reply: Your file system looks seriously broken.

There logs just confirm that. Time for a system restore likely along with a disk replacement.
# 11  
Old 07-26-2011
Dude even I m thinking of the same..However I dont have any tape backup of the FS...I can try for fsck check and repair..I can even try the disk replacement..But could you please provide me the steps to be followed?..or the MOP of the activity to be carried out?..Please help me coz i m in serious trouble here..

The same issue resides with 5 more SDP's.(Solaris Nodes)
Quote:
Originally Posted by jlliagre
As I already wrote in the first reply: Your file system looks seriously broken.

There logs just confirm that. Time for a system restore likely along with a disk replacement.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies

2. UNIX for Dummies Questions & Answers

help with passwd file

Not an unix expert, I read a few pages on the web about passwd files, but I didn't find the answers I need about the last 8 lines of the passwd file I'm taking a look at. I'm assuming their shortcuts to another file that may have the actual usernames of users on the system. Please, any help... (1 Reply)
Discussion started by: fusion31
1 Replies

3. AIX

Default /etc/passwd file

Hello All, Can anyone post the default /etc/passwd file for AIX? I would like to compare with an existing machine of mine and want to identify what are the default users that are created when the O/S is installed. In other words I would like to see the system users in AIX. Not the ones created... (1 Reply)
Discussion started by: lovesaikrishna
1 Replies

4. Solaris

passwd cmd reenables passwd aging in shadow entry

Hi Folks, I have Solaris 10, latest release. We have passwd aging set in /etc/defalut/passwd. I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging. When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

5. Red Hat

cannot set user id: Resource temporarily unavailable (not open file/open process related)

First post, sorry to be a bother but this one has been dogging me. I have a process user (java application server) that trips a resource limit every couple weeks and need help finding what limit we're hitting. First, this is what's running: This is the error when jobs are run or the... (0 Replies)
Discussion started by: Katahdin
0 Replies

6. Solaris

UIDs in /etc/passwd file

Hi all, I am bit confused about UIDs on my server where LDAP athentication happens. UIDs are generally in the range of 0-65534 for any Solaris OS version(correct if i am wrong). My server is running on Solaris 9. Below are user accounts available on my server. ... (10 Replies)
Discussion started by: vvpotugunta
10 Replies

7. Solaris

A question on /etc/passwd file

I have a question here on /etc/passwd file. There is a user called user_a, when it is defined in /etc/passwd as below +user_a:x:::::/bin/ksh after user_a login, the system could not recognize the correct enviromental variable $USER_A_HOME which is defined in .kshrc file (under /home/user_a... (2 Replies)
Discussion started by: ij_2005
2 Replies

8. Shell Programming and Scripting

help in /etc/passwd file

Hi all, As all of us know that in /etc/passwd file the first field correspond to username could any one tell me what is bin , damoen etc in the first field, and r they in user field , what is nologin in the last column ? root:x:0:0:root:/root:/bin/bash ... (4 Replies)
Discussion started by: useless79
4 Replies

9. Cybersecurity

/etc/passwd file

hi Does anyone anyone know what the last line of a unix user passwd file signifes? Mine shows "+:::::" best (4 Replies)
Discussion started by: s_mad010
4 Replies

10. UNIX for Dummies Questions & Answers

passwd file contents

Hi All Here is a the enty for my user on a UNIX from the /etc/passwd file, i want to know what each field denotes where can i get to know it? kankipas:!:275:1:Swaraj Kankipati - Brea PTX Support:/home/kankipas:/usr/bin/ksh If anyone could tell me that would be great Thanks Swaraj (5 Replies)
Discussion started by: kswaraj
5 Replies
Login or Register to Ask a Question