- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Urgent: Cannot log into my HP box
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:26 AM
08-16-2005 03:26 AM
I am not able to log into my HP box.
and i dont have a console attached to it either. Please help me.
I am able to ping to the IP but not able to log in via ssh or telnet.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:29 AM
08-16-2005 03:29 AM
Re: Urgent: Cannot log into my HP box
Do you have a login prompt asking for login/password?
Are you able to connect using another service like rcp ou ftp?
Let us know!
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:30 AM
08-16-2005 03:30 AM
Re: Urgent: Cannot log into my HP box
No console - is the MP lan port setup or webconsole?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:31 AM
08-16-2005 03:31 AM
Re: Urgent: Cannot log into my HP box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:31 AM
08-16-2005 03:31 AM
Re: Urgent: Cannot log into my HP box
Before i posted the message above i was not able to log in, and when i did a ping i would get the message something like "request quenched".. dont have a screen shot of that message. So i rebooted this machine. after rebooting i was able to ping but not login to it.. Now its all fine.
But i see that this is a regular thing happening to this machie.. its hardly used, but occationally when i try to login i am unable to do so, i have to reboot it everything..
Can some one helpme find out what the problem is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:32 AM
08-16-2005 03:32 AM
Re: Urgent: Cannot log into my HP box
Is there any service processor (GSP) on your system, if yes, you can login using that (GSP processor is a kind of LAN-terminal, installed in the later HP-UX servers).
If no GSP and no response form network login, you have not much options. Either you must find a terminal or a PC with terminal emulator or, crash the server and hope it boots normal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:35 AM
08-16-2005 03:35 AM
Re: Urgent: Cannot log into my HP box
Was the CAPS LOCK key on?
Post the output of the 'last | head' and 'lastb | head' commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:37 AM
08-16-2005 03:37 AM
Re: Urgent: Cannot log into my HP box
but i am now able to log in. But I keep getting this problem.
After a few days if i try to log in i will again have the same problem where in i will not be able to log in and if i do a ping at that time i will get the message
196.153.12.45: service request quenched
then after i do a reboot all is fine...
I did not bother abt this a lot earlier because this machine is rarely used any more, but now i am just curious about that is hapening..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:39 AM
08-16-2005 03:39 AM
Re: Urgent: Cannot log into my HP box
last |head
oracle8i pts/tc Tue Aug 16 11:37 still logged in
root pts/tb Tue Aug 16 11:34 still logged in
consa pts/ta Tue Aug 16 11:34 still logged in
root pts/ta Mon Jun 20 14:19 - 17:47 (03:27)
root pts/ta Thu Jun 2 15:08 - 17:29 (02:20)
oracle8i pts/tb Fri May 20 09:39 - 10:08 (00:28)
max pts/0 Thu May 19 15:46 - 18:55 (03:08)
root pts/ta Tue May 17 14:41 still logged in
root pts/ta Tue May 17 11:30 - 11:35 (00:05)
root pts/ta Sun May 8 05:53 - 06:23 (00:29)
lastb|head
ORACLE pts/tc Tue Aug 16 11:36
sdf pts/ta Tue Aug 16 11:34
sdf pts/ta Tue Aug 16 11:34
OS pts/ta Tue Aug 16 11:34
sbsdev3 pts/ta Thu Apr 28 12:33
root pts/ta Thu Apr 28 12:33
root pts/tc Wed Apr 27 11:23
ROOT 169.143.196. Mon Apr 25 10:39
MAX pts/ta Thu Apr 21 14:57
r root pts/ta Thu Apr 21 09:45
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:41 AM
08-16-2005 03:41 AM
Re: Urgent: Cannot log into my HP box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:50 AM
08-16-2005 03:50 AM
Re: Urgent: Cannot log into my HP box
how can i be sure that inetd was what caused the problem.
Can you send me the entry that you have put in your crontab to check inetd and restart it.
I also want to modify it a little so that whenever it is restarting it will send me an email too.. that way i know that inetd was the culprit...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 03:54 AM
08-16-2005 03:54 AM
Re: Urgent: Cannot log into my HP box
Example ORACLE. This happened today.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 04:08 AM
08-16-2005 04:08 AM
Solutioncrontab -e
and add the following line to the crontab and save the file and exit.
00,10,20,30,40,50 * * * * ps -ef | grep inetd | grep -qv grep ; r=${?};if [ $r -ne 0 ];then /usr/sbin/inetd -l;fi
the optin -l following inetd is to enable logging of inetd event into syslog. If you do not want that, just drop the "-l" part.
hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 04:13 AM
08-16-2005 04:13 AM
Re: Urgent: Cannot log into my HP box
Here's a sample script, inetdchek.sh:
# Checks to see that inetd is running
# 07/27/1999 acs only execute in run level 3
typeset PROCESS=inetd
typeset TDIR=${TMPDIR:-/var/tmp}
typeset LOG=${TDIR}/inetdchek.log
typeset ERRLOG=${TDIR}/inetdchek.err
readonly PROCESS LOG ERRLOG
PATH=/usr/bin:${PATH}
export PATH
run_state()
{
typeset -i RSTAT=0
typeset RS=$(who -r | awk '{ print $3 }')
RSTAT=${?}
if [[ ${RSTAT} -ne 0 ]]
then
RS="-1"
fi
echo "${RS}"
return ${RSTAT}
} # run_state
typeset -i STAT=0
typeset RS1=$(run_state)
STAT=${?}
if [[ "${RS1}" -ne 3 ]]
then
exit ${STAT}
fi
ps -ef | grep "${PROCESS}" | grep -q -v grep
STAT=${?}
if [[ ${STAT} -eq 1 ]]
then
/sbin/init.d/${PROCESS} stop >> ${LOG} 2>>${ERRLOG}
sleep 5
/sbin/init.d/${PROCESS} start >> ${LOG} 2>>${ERRLOG}
STAT=${?}
fi
exit ${STAT}
-------------------------------------------
Your crontab entry should look something like this:
2,12,22,32,42,52 * * * * /root/bin/inetdchek.sh # make sure inetd is running
--------------------------------------------
Note: Do this AFTER you have looked for and applied and inetd related patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 04:54 AM
08-16-2005 04:54 AM
Re: Urgent: Cannot log into my HP box
Thankyou for all your replies, based on Mel's reply i wrote a small script that i am running every 5 minutes form cron. It seems to work fine, but just let me know incase you see any potential problem with this...
Script (start_inet)
ps -ef | grep inetd | grep -qv grep
r=${?}
if [ $r -ne 0 ];
then
rm -r /tmp/kite
echo `date` > /tmp/kite
echo "INETD is DOWN" >> /tmp/kite
echo "Restarting INETD" >> /tmp/kite
/usr/sbin/inetd -l;
cat /tmp/kite | mailx -s "`hostname` `date` INETD DOWN" kavita.bhakta@sbsint.com
rm -r /tmp/kite
else
rm -r /tmp/kite
echo `date` > /tmp/kite
echo "INETD is Running" >> /tmp/kite
cat /tmp/kite | mailx -s "`hostname` `date` INETD is RUNNING" kavita.bhakta@sbsint.com
rm -r /tmp/kite
crontab entry:
00,05,10,15,20,25,30,35,40,45,50,55 * * * * /root/start_inet
Right now its is sending me mails every 5 minutes that inetd is runing, but that is only for testing, i plan disable mailing if the process is running.. that way i will get mails only of inetd is down...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2005 05:56 AM
08-16-2005 05:56 AM
Re: Urgent: Cannot log into my HP box
Rgds...Geoff