AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
Expand all | Collapse all

3004-009 Failed running login shell.

  • 1.  3004-009 Failed running login shell.

    Posted Wed September 20, 2006 12:44 AM

    Originally posted by: SystemAdmin


    hi,
    we have aix5.2 ,and when we try to login using root account it throws
    3004-009 Failed running login shell error and logs out ,however
    we are able to login using other accounts.
    also just a few days back we tried a rsh to same machine using same account
    which failed.
    pls help
    #AIX-Forum


  • 2.  Re: 3004-009 Failed running login shell.

    Posted Wed September 20, 2006 06:39 AM

    Originally posted by: nh4aix


    No answers, but some thoughts....

    1) can you su or "su - " to root?
    2) is / filled? (assuming root's home is /)
    3) what do you have root's login shell set to? check /etc/passwd. Is it valid shell.
    4) anything funky in root's /.profile (assume root's home is /)
    5) check permissions on / . make sure they are 755.

    Hope that helps.
    #AIX-Forum


  • 3.  Re: 3004-009 Failed running login shell.

    Posted Thu September 21, 2006 12:59 AM

    Originally posted by: SystemAdmin


    hi
    when i su from another user it throws "3004-505 Cannot set process environment"
    error ,i cant even edit its profile file to set default shell.
    #AIX-Forum


  • 4.  Re: 3004-009 Failed running login shell.

    Posted Thu September 21, 2006 01:04 AM

    Originally posted by: SystemAdmin


    also roots shell in /etc/passwd set right to /usr/bin/ksh ,i started this shell and it works .
    #AIX-Forum


  • 5.  Re: 3004-009 Failed running login shell.

    Posted Thu September 21, 2006 04:37 PM

    Originally posted by: nh4aix


    What's root's default group? Does it exist? You can see this cross referencing /etc/passwd with /etc/group.
    #AIX-Forum


  • 6.  Re: 3004-009 Failed running login shell.

    Posted Fri September 22, 2006 12:39 AM

    Originally posted by: SystemAdmin


    hi,
    content of /etc/passwd file
    root:!:0:0::/:/home:/usr/bin/ksh
    relevant entry in /etc/group file
    system:!:0:root,db2inst1

    $ id root
    uid=0(root) gid=0(system) groups=1(staff),2(bin),3(sys),7(security),8(cron),10(a
    udit),102(db2grp1),103(db2fgrp1)
    #AIX-Forum


  • 7.  Re: 3004-009 Failed running login shell.

    Posted Sun September 24, 2006 07:46 PM

    Originally posted by: nh4aix


    What are the permissions on / ... they should be 755.

    If that doesn't work, recommendation is to recreate the userid... for root, you will have to go into maintenance mode for that.
    #AIX-Forum


  • 8.  Re: 3004-009 Failed running login shell.

    Posted Tue July 27, 2010 05:35 AM

    Originally posted by: DjRobin69


    looks as though the entry is corrupt - should be something like

    root:!:0:0:Root Account:/:/usr/bin/ksh

    You have a / and /home defined, try su without the minus and try correcting the password file
    #AIX-Forum


  • 9.  Re: 3004-009 Failed running login shell.

    Posted Tue July 27, 2010 05:35 AM

    Originally posted by: DjRobin69


    lol jsut saw the time and date of post - must have been resolved by now...
    #AIX-Forum


  • 10.  Re: 3004-009 Failed running login shell.

    Posted Mon September 25, 2006 05:36 AM

    Originally posted by: SystemAdmin


    hi ,
    can u pls tell me how to recreate a root user,
    ia m using aix 5.2

    thanks
    #AIX-Forum


  • 11.  Re: 3004-009 Failed running login shell.

    Posted Tue July 27, 2010 05:04 AM

    Originally posted by: karthikraja


    Please check the Permission of /usr/bin, /usr/lib, and /tmp they might cause this issue.
    This issue got resolved once we revert the permission to normal.
    #AIX-Forum