<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Not able to login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207496#M325675</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a B1000 workstation, with HP-UX 11.0 on it. It has been idle for 2 long years without anyone logging in and so no one knows root password.&lt;BR /&gt;&lt;BR /&gt;Pl find attached a doc. which I captured while working using Hyper Terminal. In the doc. I tried to change the ROOT password from single user mode as I didn't know it. After succesfully changing, its stilll not logging in. And at the end of doc. I get some warning "No utmp entry.You must exec "login" from the lowest level "sh".". what does this mean.&lt;BR /&gt;&lt;BR /&gt;What I should do now? Suggest me to login into system after analyzing the attached doc.&lt;BR /&gt;&lt;BR /&gt;The serial no is: US19401620. Prod no: A4985A ( as seen at the rear of the system). Is the serial no. a valid one.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Ramaprasad K</description>
    <pubDate>Fri, 30 May 2008 03:51:08 GMT</pubDate>
    <dc:creator>Ramaprasad K</dc:creator>
    <dc:date>2008-05-30T03:51:08Z</dc:date>
    <item>
      <title>Not able to login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207496#M325675</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a B1000 workstation, with HP-UX 11.0 on it. It has been idle for 2 long years without anyone logging in and so no one knows root password.&lt;BR /&gt;&lt;BR /&gt;Pl find attached a doc. which I captured while working using Hyper Terminal. In the doc. I tried to change the ROOT password from single user mode as I didn't know it. After succesfully changing, its stilll not logging in. And at the end of doc. I get some warning "No utmp entry.You must exec "login" from the lowest level "sh".". what does this mean.&lt;BR /&gt;&lt;BR /&gt;What I should do now? Suggest me to login into system after analyzing the attached doc.&lt;BR /&gt;&lt;BR /&gt;The serial no is: US19401620. Prod no: A4985A ( as seen at the rear of the system). Is the serial no. a valid one.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Ramaprasad K</description>
      <pubDate>Fri, 30 May 2008 03:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207496#M325675</guid>
      <dc:creator>Ramaprasad K</dc:creator>
      <dc:date>2008-05-30T03:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207497#M325676</link>
      <description>When booting to single user mode, your first command should be "mountall" - otherwise the root filesystem is going to be in read-only mode (for root filesystem checking and other maintenance), and any password changes won't be recorded.&lt;BR /&gt;&lt;BR /&gt;The messages "mount: file system table may be corrupt" are a consequence of this. When mounting a filesystem, the mount command wants to write to /etc/mtab - but if the root filesystem is in read-only mode, it cannot do that. It tries to write, and then finds out the writing failed. So it produces the error message.&lt;BR /&gt;&lt;BR /&gt;You're not supposed to use the "login" command in single user mode. Because the utmp file (it records current logins) is not initialized in single user mode, you get the "No utmp entry..." message.&lt;BR /&gt;&lt;BR /&gt;Based on these messages, your /etc/profile file has some errors:&lt;BR /&gt;&lt;BR /&gt;/etc/profile[130]: f:  not found.&lt;BR /&gt;/etc/profile[131]: Syntax error: `then' is not expected.&lt;BR /&gt;&lt;BR /&gt;I guess there should be "if" instead of just "f" on line 130 of /etc/profile. Fixing that would solve the second message too (the system is seeing "then" without a matching "if").&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When booting to normal multi-user mode, there seems to be a problem in starting the graphical X display server. The system is telling you where to look:&lt;BR /&gt;&lt;BR /&gt;The X-server can not be started on display CAD35:0...&lt;BR /&gt;&lt;BR /&gt;For details look into the file, Dtlogin.errorLogFile( default: /var/dt/Xerrors )&lt;BR /&gt;&lt;BR /&gt;Recommendation:&lt;BR /&gt;1.) boot into single user mode&lt;BR /&gt;2.) run "mountall"&lt;BR /&gt;3.) run "passwd root" to change the root password (as the "mountall" command has been run, the change will actually be effective this time!)&lt;BR /&gt;4.) run "shutdown -r now" to reboot the system, let it come up to normal mode&lt;BR /&gt;5.) now you should be able to log in as root &lt;BR /&gt;6.) start examining and fixing the other problems...&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 30 May 2008 04:20:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207497#M325676</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-05-30T04:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207498#M325677</link>
      <description>Hi just a very small add on, use below when you are in single user mode.&lt;BR /&gt;&lt;BR /&gt;# /sbin/mountall&lt;BR /&gt;&lt;BR /&gt;change the root passwd and reboot&lt;BR /&gt;&lt;BR /&gt;# /sbin/shutdown -r now&lt;BR /&gt;&lt;BR /&gt;when you are in multi user mode post the output of;&lt;BR /&gt;&lt;BR /&gt;# dr_dt&lt;BR /&gt;# nslookup your_hostname&lt;BR /&gt;# nslookup your_ip_address&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 30 May 2008 06:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207498#M325677</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2008-05-30T06:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207499#M325678</link>
      <description>Thanks Matti and Robert,&lt;BR /&gt;&lt;BR /&gt;But the problem hasn't resolved yet.Attached is the file what I tried after I got reply from Matti.But the problem still persists.&lt;BR /&gt;&lt;BR /&gt;1) &amp;gt;/etc/profile[130]: f: not found.&lt;BR /&gt;&amp;gt;/etc/profile[131]: Syntax error: `then' is &amp;gt;not expected.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I guess there should be "if" instead of just "f" on line 130 of /etc/profile &lt;BR /&gt;&lt;BR /&gt;I corrected it by editing.&lt;BR /&gt;&lt;BR /&gt;2) After that I mounted all and saw output of bdf shown below(taken from attached file, just above it is /etc/fstab entry), all local filesystems were mounted.&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3    1024000  993054   29165   97% /&lt;BR /&gt;/dev/vg00/lvol1      83733   36845   38514   49% /stand&lt;BR /&gt;/dev/vg00/lvol4     512000  268337  231607   54% /var&lt;BR /&gt;/dev/vg00/lvol5    6234112 6136033   97895   98% /ford&lt;BR /&gt;&lt;BR /&gt;Then I changed the root password, but still in the multi-user mode, the status is the same.&lt;BR /&gt;&lt;BR /&gt;The issue is not resloved completely.&lt;BR /&gt;&lt;BR /&gt;From bdf, it seems that root (/) is 97% full, and /ford is 98% full. Is it some reason. I have also run 'du / -kax'. pl check and suggest, if deleting any would help.&lt;BR /&gt;&lt;BR /&gt;For your information, I have collected syslog ( in the attached file).&lt;BR /&gt;&lt;BR /&gt;Those places where i felt I have some suspection, I have commented beginning ++++++++++ ( u can search in the file for the string of '+' so u get it easily).&lt;BR /&gt;&lt;BR /&gt;Some of the services have failed (in the  end of the file). Can u suggest, what could be the reason.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ramaprasad k</description>
      <pubDate>Fri, 30 May 2008 08:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207499#M325678</guid>
      <dc:creator>Ramaprasad K</dc:creator>
      <dc:date>2008-05-30T08:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207500#M325679</link>
      <description>When you're in single-user mode, the workstation keyboard is probably functioning in US layout. Before setting the new password, type it out to verify that all the keys are producing the characters you expect.&lt;BR /&gt;&lt;BR /&gt;Also, the characters @ and # will have special effects in the single-user mode, so it's not recommended to use them in a root password.&lt;BR /&gt;&lt;BR /&gt;The filesystem layout seems to be non-standard in this machine:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/fstab&lt;BR /&gt;/dev/vg00/lvol3 / vxfs delaylog 0 1&lt;BR /&gt;/dev/vg00/lvol1 /stand hfs defaults 0 1&lt;BR /&gt;/dev/vg00/lvol4 /var vxfs delaylog 0 2&lt;BR /&gt;/dev/vg00/lvol5 /ford vxfs delaylog 0 2&lt;BR /&gt;&lt;BR /&gt;You were also worried about these messages:&lt;BR /&gt;&lt;BR /&gt;vxfs: mesg 055: vx_metaioerr - /dev/vg00/lvol5 file system meta data read error&lt;BR /&gt;vxfs: mesg 016: vx_ilisterr - /ford file system error reading inode 4434&lt;BR /&gt;&lt;BR /&gt;This is a problem. The /ford filesystem (also known as /dev/vg00/lvol5) has developed an error. If the machine has been idle for 2 years (and before that in use for who knows how long), the increased activity now is causing any possible weak spots to fail now. In other words, the disk may be about to die soon.&lt;BR /&gt;&lt;BR /&gt;You should make it your top priority to get a copy of all necessary data off this machine to a reliable storage.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 30 May 2008 09:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207500#M325679</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-05-30T09:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207501#M325680</link>
      <description>Thanks again Matti,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;When you're in single-user mode, the &amp;gt;workstation keyboard is probably &amp;gt;functioning in US layout. Before setting &amp;gt;the new password, type it out to verify &amp;gt;that all the keys are producing the &amp;gt;characters you expect.&lt;BR /&gt;&lt;BR /&gt;I checked the Keyboard and its sending same keys what I expect. So that probability is ruled out.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Also, the characters @ and # will have &amp;gt;special effects in the single-user mode, so &amp;gt;it's not recommended to use them in a root &amp;gt;password.&lt;BR /&gt;&lt;BR /&gt;I am aware of the above rules and so have been using the standard 'root123' for all users(infact only 2), including root.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;The filesystem layout seems to be non-&amp;gt;standard in this machine:&lt;BR /&gt;&lt;BR /&gt;1)What do you mean by this? What is the expected FS layout.&lt;BR /&gt;&lt;BR /&gt;2)Also, can anyone give me a sample Serial number of a B1000 workstaion. I am not sure whether what I a seeing on the box is valid one : US19401620 but the prod. no. is valid.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ramaprasad</description>
      <pubDate>Tue, 03 Jun 2008 04:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/not-able-to-login/m-p/4207501#M325680</guid>
      <dc:creator>Ramaprasad K</dc:creator>
      <dc:date>2008-06-03T04:18:59Z</dc:date>
    </item>
  </channel>
</rss>

