Not able to login into Non-globalzones (NGZ) after Patching.

Yogesh Raheja

Yogesh working as a Consultant in Unix Engineering by profession. And he has multiple years experience in Solaris, Linux , AIX and Veritas Administration. He has been certified for SCSA9, SCSA10, SCNA10, VXVM, VCS, ITILv3. He is very much passionate about sharing his knowledge with others. Specialties: Expertize in Unix/Solaris Server, Linux (RHEL), AIX, Veritas Volume Manager, ZFS, Liveupgrades, Storage Migrations, Cluster deployment (VCS and HACMP) and administration and upgrade on Banking, Telecom, IT Infrastructure, and Hosting Services.

Loading Facebook Comments ...

17 Responses

  1. Prasad says:

    Hi Yogesh,
                        That’s  a nice post. 
    If you examine further this error occurs because of the following reasons:

    1.) If you have done detach and attach of the zones to global zone.
    2) If you have invoked a sys-unconfig and ran reboot. 

    If you check on this system, please verify Timezone of the non-global zone it might have changed to default PST. And also changes in /etc/nsswitch.conf will be lost, that needs to be restored. 
    Unfortunately, these changes will not be  caught  as all the services on the system come up as usual.. 

    Thanks.
    Prasad

  2. ramdev says:

    Good one Yogesh, can you please consider Prasad’s points and chck the Timezone and name switch configuration were not reset to defaults.

  3. Yogesh Raheja says:

    Hi Prasad,

    Thanks for your valuable comments..

    1.) I haven’t performed detach/attach on the server.
    2.) No sys-unconfig invoked as I was performing only Bundle patching.

    I need to check the TIMEZONE and /etc/nsswitch.conf files for any config. changes.

  4. Yogesh Raheja says:

    Hi Prasad/Ram, No changes have been found in nsswitch.conf and the TIMEZONE is also looking good. :-)

  5. Prasad says:

    Ok. That’s good.. cool.. In my earlier experience..  I have faced above said issues during detach and attach of zones and also with sys-unconfig..  But you may help investigate further and know which patch is doing that, it would be helpful if we are getting this issue persistently across other servers as well. Thanks for bringing this up..

  6. Ram says:

    I was facing same issue today. Resolved by removing .UNCONFIGURED file. After that I was getting Couldn’t agree a key exchange algorithm while using Putty. Resolved that by using following commands:

    /lib/svc/method/sshd -c

    svcadm restart ssh

    Thanks a lot

  7. Yogesh Raheja says:

    @Ram, yes sometimes it would required to restart the sshd or to reboot the zone. :)

  8. Yogesh Raheja says:

    sorry not sometime…infact every time..:)

  9. krishna says:

    HI,

    I checked /etc/.UNCONFIGURE with ls -la in the NGZ and found one file with name .UNCONFIGURE, which was of 0 “Zero” size.

    “In the above line I have a doubt is that NGZ or GZ, because Our issue is not able to login into NGZ. So how can i do it with out login.

  10. Yogesh Raheja says:

    @Krishna, login into the NGZ from GZ via zlogin and rm /etc/.unconfigure file from NGZ and reboot your NGZ. It will restart all the services without issues. Try it and you will be able to login via ssh.

  11. Eliza says:

    Thank you for posting this. I have 8 theoretically identical zones (all built from the same build script on the same server) and one of the 8 had this issue. After removing the .UNCONFIGURE file all of the services were able to start.

  12. Yogesh Raheja says:

    @Eliza, its a great pleasure that our post worked for your issue. thanks for you interest in Gurkulindia. :)

  13. Shahul says:

    Just curious what the command “/lib/svc/method/sshd -c” does?…

  14. Yogesh Raheja says:

    @Shahul, Purpose of “/lib/svc/method/sshd -c” is to create rsa and dsa key if they are not present in the server before restarting ssh. Though it wont require in many cases and restarting of ssh is enough. Also you can check “/lib/svc/method/sshd” file which will give you more idea. Hope this helps.

  15. deepa K R says:

    this is a known issue .You can refer below document.

    http://docs.oracle.com/cd/E19683-01/817-1592/gbcyr/index.html.

    To prevent the system from displaying the sysidtool questions upon initial zone login, delete the file zonepath/root/etc/.UNCONFIGURED,

  1. December 27, 2021

    […] unixadminschool.comNot able to login into Non-globalzones … […]

Leave a Reply

Your email address will not be published.

[contact-form to='ramkumar.ramadevu@gmail.com' subject='New Learning Request Submitted'][contact-field label='Name' type='name' required='1'/][contact-field label='Email' type='email' required='1'/][contact-field label='Learning Request' type='textarea' required='1'/][contact-field label='Are you Looking for ' type='radio' required='1' options='Paid Training,Free Training'/][/contact-form]

What is your Learning Goal for Next Six Months ? Talk to us