The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
question about fbackup/frecover yeti00 HP-UX 6 03-04-2008 02:25 AM
frecover command need help urgent please touny HP-UX 4 04-18-2007 10:17 PM
frecover on HP 11.11 gummysweets UNIX for Dummies Questions & Answers 2 08-10-2005 07:20 AM
frecover salhoub HP-UX 1 07-13-2004 08:00 AM
frecover molonede UNIX for Dummies Questions & Answers 5 11-21-2000 11:17 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2008
Registered User
 

Join Date: Apr 2006
Posts: 15
frecover problem

I had to do a recovery and restore from backup (using ignite & backups from fbackup job) on hpux 10.20.

Problem is, all users (except root) receive error 'unknown user' when logging in (during script that checks quotas).

They can still successfully log in to the system.
However, the files when viewed by the user using command ls -l show UID and groupID as opposed to the user & owner names (it should show the user name & group, not the IDs) Commands and databases can't be accessed/executed though, because they are 'unknown users'. What happened from the frecover to cause this? The users are all in the /home directory. The files are all intact.
Reply With Quote
Forum Sponsor
  #2  
Old 04-10-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,663
Somehow the users must now have different uids and gids in /etc/passwd. You need to recover and install a copy of /etc/passwd.
Reply With Quote
  #3  
Old 04-10-2008
Registered User
 

Join Date: Apr 2006
Posts: 15
permissions corrupted

it turns out the permissions on the /etc/passwd and /etc/group files are not set for reading for other...not sure why/how that happened...

anyone with ideas? i'm afraid there will be other key files i will need to adjust permissions on as we go along, but i'd rather find out why/how this happened.
Reply With Quote
  #4  
Old 04-11-2008
vbe vbe is offline
Moderator
 

Join Date: Sep 2005
Location: Switzerland
Posts: 773
Something similar happened to me ages ago on an aix :no one except root could connect to the box... was /etc/hosts and aix equivalent files to nsswitch.cong and resolv.conf set as 600...
Was probably the result of an admin trying fancy umask (but unfortunatly with root acount)

All the best
Reply With Quote
  #5  
Old 04-11-2008
Registered User
 

Join Date: Apr 2006
Posts: 15
My issue is just why/how did my permissions get changed?

im also having trouble performin certain informix functions from my database-again, i think it's due to DBTEMP or some other area/files that can't be accessed.

I'm guessing there was some sort of problem with the restoration of the backup...
Reply With Quote
  #6  
Old 04-11-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,663
The Informix problem is probably due to permissions in the volume group files. /dev/vg2/lvol2... stuff like that. They probably used to be writable by informix but no longer are. frecover gets permissions right. so i guess I suspect the ignite process. Where did /etc/passwd come from...ignite or frecover?
Reply With Quote
  #7  
Old 04-11-2008
Registered User
 

Join Date: Apr 2006
Posts: 15
even if i temporary change the permissions on the vg groups in /dev i still have same result. after changing, do i need umount then remount for changes to really take affect?

the messages indicate it's trying to write to a temp file but can't. unix uses /tmp as a default. Permissions are OK on that directory, and it's not full.

any other ideas? thanks.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0