Operating System - HP-UX
1833780 Members
2623 Online
110063 Solutions
New Discussion

VERY URGENT: Cannot connect to machine

 
Nicky_5
Regular Advisor

VERY URGENT: Cannot connect to machine

Hi,

I have an HP machine which was fine, all of a sudden i cant seem to connect to it remotely at all,
i am at the console i cant seem to figure out whats wrong. i cant ping to it either.

I rebooted the machine, but it seems to be stuch at the point where it is starting the NFS clientStart NIS+ server subsystem ...................................................... OK
Start NIS+ client subsystem ...................................................... OK
Start NIS server subsystem ....................................................... OK
Start NIS client subsystem ....................................................... OK
Start NFS client subsystem .......................................................



Please help.. i have no idea what to do..
18 REPLIES 18
Rick Garland
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

You can't ping it?

Check your networking. Check the routing table. Is the default route in there? Check with network personnel to see if any changes.
Rick Garland
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

Forgot to mention, check you LAN card(s). What does the ifconfig say?

Can you get a linkloop?

Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

hi all thanks for your response,

when i was logged onto the console i did ifconfig lan0 and it showed the correct settings the ip, gate way etc is correct and up.

Now since i thought i wold reboot the machine i am stuck at the point i mentioned before.

I did CTRL+C to get to the prompt.
please let me know what all i can do to cheack.. nothing has changed as far as i know and everyone i spoke to know..
KapilRaj
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

Try a CTRL+ " Back slash" you should get a prompt !!

Else try the single user mode and then rectofy the error

Kaps
Nothing is impossible
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

Hi,

for some reasons i cannot use sam in the console window, it keeps saying display is incorrect.
Please let me know the commands for the checks as well, i am more of an AIX admin that HP.
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

ifconfig output:

ifconfig lan0
lan0: flags=843
inet 12.20.194.12 netmask ffffff00 broadcast 12.20.194.255
Zinky
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

You need to define your TERM setting (pretty basic). Alsom if your network is not up, you may have problems launching SAM..

It is very obvious your Network died -- bad LAN card? Disconnect? Down Network?
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Rick Garland
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

On your console, if it is a grenn screen issue the command "export TERM=hp"

A graphics term, maybe try xterm.

Either way you should get text version of SAM.

Once you get SAM, you can check more on the networking from there
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

Hi,

How can i confirm if my lan card has gone bad?

Is there something like errpt on HP to check hardware errors or some command to run the diagnostics

Rick Garland
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

You can verify the LAN cards are attached to the network via the 'linkloop' command.

Do a 'lanscan'. From the output you will get your MAC address(es).

Issue the command; # linkloop -v

The response should be OK.
Dave Hutton
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

I had the same problem a few weekends ago rebooting a sever.

Does this server you are rebooting have another server that it NFS mounts a filesystem?

In our case we were rebooting two servers. This one came up first and hung here until that NFS file system became available.
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

hi,

i do hve nfs mounts on this machine, but the nfs server is fine. and although i am not able to nfs mount the file systems, i am not even able to get to this machine remotely, i cant even ping to the gate way
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

hi,

i did the lanman and linkloop commands as you suggested, and i got result OK.

Please advice.
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

Hi All,

can you tell me what all network services need to be up for network connectivity. i saw one process on another HP machine called "nfsktcpd" which was not running on this one. can you tell me how i can start this service.

Rick Garland
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

That process I believe is related to NFS.
In /sbin/init.d are files related to nfs (nfs.server, nfs.client, nfs.core) To start /sbin/init.d/nfs.core start, /sbin/init.d/nfs.server start, /sbin/init.d/nfs.client start

RAC_1
Honored Contributor

Re: VERY URGENT: Cannot connect to machine

Logon to GSP. Has system booted into run level three?? Or stuck at startup scripts??
If stuck at NFS stuff, try doing following.

Press CTRL + SHIFT + | (pipe)
or Press SHIFT-DEL
There is no substitute to HARDWORK
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

Hi All,

Thankyou for your response and time. I got this thing sorted out, it was a network related thing and i got my network admin to look, we both were struggling with this until now. Turned out that it was some problem with the switch configuration.

Thanks once again for all your help.
Nicky_5
Regular Advisor

Re: VERY URGENT: Cannot connect to machine

as per previous post