1833779 Members
2469 Online
110063 Solutions
New Discussion

invalid user

 
Kenan Erdey
Honored Contributor

invalid user

hi;

although i closed all processes started by the user oracle, i saw that user oracle is logged in. so i couldn't change the user id of oracle. it said "user oracle is logged in". i tried to change the run level to 1 but nothing happened. so i rebooted it. now no oracle user is shown when i run who command. but it still says "oracle user is logged in" when i want to try to change user id of oracle. before booting a zombie process was in the process list. i think some login information is left in a file.what can i do ?

thanks.




Computers have lots of memory but no imagination
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: invalid user

Shalom,

There is no reason to change the user id of oracle.

pwck
grpck

There may be inconsistencies or duplicate numeric user id's in /etc/passwd

problems there must be corrected.

If you wish to change the uid of oracle, you should do it in single user mode. Afterwards as root, you will probably need to chown all the files and directories that oracle owns. Thats why you want to avoid changing the uid of oracle.

You may have scripting that has an open oracle login. su - oracle c
is the code and if it does not terminate, it could be the cause of the problem. In this case, fix the script, not the user.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
DCE
Honored Contributor

Re: invalid user


Kenean,

You may have some oracle processes running under the oracle ID, as stated in the earlier answer.

Again as in the earlier answer, bring the system up in single user mode if you cannot stop the oracle processes any other way.

I have successfully used SAM to change the UID for users many times (part of a project to sync up uid's on servers brought in through acquistions) SAM will start a background process to effect the change across the system.

Be aware - if you are single user mode - do a mount -a first. This will do two things - give you access to SAM, and give SAM access to all of the areas it will need to change the uid.

Kenan Erdey
Honored Contributor

Re: invalid user

hi;

i run "fuser -k /dev/pts/*" command. perhaps it solved the problem. thanks.
Computers have lots of memory but no imagination