cancel
Showing results for 
Search instead for 
Did you mean: 

J5600 network problem

 
SOLVED
Go to solution
Saleet Jafri
Occasional Advisor

J5600 network problem

I have a J5600 running HPUx 11.0. Recently it developed a network problem. I can successfully ping the machine from other machines. However, I cannot ping from the J5600, nor can I connect to any other machines. The machine hangs when trying to start up NIS.

Is the ethernet card bad? I have an extra A5230A card, but do not know how to configure it.
11 REPLIES
TTr
Honored Contributor

Re: J5600 network problem

The card is probably good. You need to check that the default gateway and the routing information on the server are correct with "netstat -rn". Also look in the /etc/rc.config.d and see if the correct numbers are there.
Steven E. Protter
Exalted Contributor

Re: J5600 network problem

Shalom,

Check the gateway setting in /etc/rc.config.d/netconf

See that you can ping it.

See that it is correct.

use xstm mstm or cstm to test the NIC card.

Check that the switch port on the router/hub is showing correctly.

Try replacing the network media (cable).

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Laurent Menase
Honored Contributor

Re: J5600 network problem


check netstat -nrv and neststat -ni that everything is well configured
check lanscan to see if the unterface is ok
check nettl.log to see there is no one who stole you the ip address.
check ifconfig lan0 to see if your interface is up and well configured

check /var/tmp and /tmp are not full since last boot.

take a network trace to see what happens on on the wire when you make your ping or telnet/

Try an other port of your switch.
Saleet Jafri
Occasional Advisor

Re: J5600 network problem

When I run netstat -rn on a HPUX machine that is working I get the output below. On the J5600 the last line is missing.

Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 85 lo0 4136
129.174.206.77 129.174.206.77 UH 0 4584870 lan0 4136
129.174.206.0 129.174.206.77 U 2 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 129.174.206.1 UG 0 0 lan0 1500

The gateway setting is set in /etc/rc.config.d/netconf as are the other parameters similar to what I have on working machines.

I can ping the J5600 from other machines. From the the J5600, I can ping other machines in the same subnet 129.174.206.* by numerical IP address but not hostname. I cannot ping the DNS machines that are on a different subnet.

The J5600 is plugged into a HP Procurve 2724 with other machines that are working. Swtiching ethernet cables an port with a working machine does not fix the problem.

I do not have xstm, mstm or cstm installed.

lanscan returns results similar to other machines.

I am unsure how to display the nettl.log. When I used nettl -status I get 'ERROR DISASTER for all entries on the j5600 and a similar response on my working machine.

I do not think the IP address is used as the machine is pingable and when I I shutdown the j5600 it same IP address is no longer pingable.

/var/tmp and /tmp are not full.

ifconfig lan0 gives similar results as other machines that are working.

TTr
Honored Contributor

Re: J5600 network problem

Check /etc/rc.config.d/netconf again or post it here.

Try pinging the gateway IP 129.174.206.1 from the J5600.
Mel Burslan
Honored Contributor

Re: J5600 network problem

So, you do not have a default route. I am not sure how it got deleted but just to test if this is the real problem, run the following command :

route add default 129.174.206.1 1

Then try to connect to/from it ?

Did it rectify the situation ? If so, make sure you have a default route entry in the /etc/rc.config.d/netconf file as this will set up the default route at the boot time.

Hope this helps
________________________________
UNIX because I majored in cryptology...
Saleet Jafri
Occasional Advisor

Re: J5600 network problem

Using the command

route add default 129.174.206.1 1

fixes the output for the netstat -rn and fixes the ability to find the DNS and other machines.

Unfortunately, upon reboot this is lost and it does not work properly.

Here are the contents of my netconf file

# netconf: configuration values for core networking subsystems
#
# @(#) $Revision: 1.6.119.6 $ $Date: 97/09/10 15:56:01 $
#
# HOSTNAME: Name of your system for uname -S and hostname
#
# OPERATING_SYSTEM: Name of operating system returned by uname -s
# ---- DO NOT CHANGE THIS VALUE ----
#
# LOOPBACK_ADDRESS: Loopback address
# ---- DO NOT CHANGE THIS VALUE ----
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements

HOSTNAME="bern.binf.gmu.edu"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decimal-dot
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="129.174.206.143"
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0

# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements

# ROUTE_DESTINATION[0]=default
# ROUTE_MASK[0]=""
# ROUTE_GATEWAY[0]="129.174.206.1"
# ROUTE_COUNT[0]="1"
# ROUTE_ARGS[0]=""

# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.

GATED=0
GATED_ARGS=""

#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#

RDPD=0

#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#

RARP=0
rick jones
Honored Contributor

Re: J5600 network problem

When you reboot, what sort of messages appear in /etc/rc.log? They might help point towards say something like the interface taking longer to come-up and so the route command failing.
there is no rest for the wicked yet the virtuous have no pillows
Saleet Jafri
Occasional Advisor

Re: J5600 network problem

The system hangs with starting the NFS client so I have to break out of it to get to the command prompt

The /etc/rc.log file contains

Old /etc/rc.log moved to /etc/rc.log.old

**************************************************
HP-UX Start-up in progress
Tue Sep 8 14:07:35 EDT 2009
**************************************************

Configure system crash dumps
Output from "/sbin/rc1.d/S080crashconf start":
----------------------------
EXIT CODE: 0

Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
checking quotas

Update kernel and loadable modules
Output from "/sbin/rc1.d/S110kmbuild start":
----------------------------
"/sbin/rc1.d/S110kmbuild start" SKIPPED

Initialize loadable modules
Output from "/sbin/rc1.d/S112kminit start":
----------------------------
"/sbin/rc1.d/S112kminit start" SKIPPED

Setting hostname
Output from "/sbin/rc1.d/S320hostname start":
----------------------------

Set privilege group
Output from "/sbin/rc1.d/S400set_prvgrp start":
----------------------------
"/sbin/rc1.d/S400set_prvgrp start" SKIPPED

Display date
Output from "/sbin/rc1.d/S420set_date start":
----------------------------
"/sbin/rc1.d/S420set_date start" SKIPPED

Save system crash dump if needed
Output from "/sbin/rc1.d/S440savecrash start":
----------------------------
savecrash directory not set; defaulting to: /var/adm/crash
EXIT CODE: 2 - savecrash found no core dump to save
"/sbin/rc1.d/S440savecrash start" SKIPPED

Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
swap device(s) active

Start syncer daemon
Output from "/sbin/rc1.d/S520syncer start":
----------------------------
syncer started

Configure HP Fibre Channel interfaces
Output from "/sbin/rc2.d/S006hpfc start":
----------------------------

Configure Loopback interfaces (lo0)
Output from "/sbin/rc2.d/S008net.init start":
----------------------------

Start Software Distributor agent daemon
Output from "/sbin/rc2.d/S100swagentd start":
----------------------------

Configuring all unconfigured software filesets
Output from "/sbin/rc2.d/S120swconfig start":
----------------------------
* Removing the following software:
Obsolete.NCSNCK,l=/,r=B.11.00,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64

WARNING: The remove process from "swconfig" did not succeed.
Some or all of the software listed in "/var/adm/sw/needs_remove"
must be removed manually.


Recover editor crash files
Output from "/sbin/rc2.d/S200clean_ex start":
----------------------------
preserving editor files (if any)

Clean UUCP
Output from "/sbin/rc2.d/S202clean_uucp start":
----------------------------
cleaning up uucp

List and/or clear temporary files
Output from "/sbin/rc2.d/S204clean_tmps start":
----------------------------
NOTE: Files in /tmp:
total 48458
-rw-r--r-- 1 root root 25 Aug 26 10:50 100.sh
-rw-r--r-- 1 root root 25 Dec 9 2008 75.sh
-rw-r--r-- 1 root root 25 Dec 9 2008 76.sh
-rw-r--r-- 1 root root 25 Sep 8 14:07 84.sh
-rw-rw-rw- 1 root sys 24799212 Dec 9 2008 HWE1100.depot
-r--r--r-- 1 root sys 1073 Dec 9 2008 install.vars
drwxr-xr-x 2 root root 96 Dec 9 2008 lost+found
-rw-r--r-- 1 root sys 0 Sep 8 11:23 null
-rw------- 1 root root 204 Sep 8 14:05 portmap.file
-rw-r--r-- 1 root sys 107 Dec 9 2008 root.errorlog
-rw------- 1 root root 1196 Sep 8 14:05 rpcbind.file
-rw-r--r-- 1 root sys 74 Dec 9 2008 sd_ipd_acl.1738
-rwxrwxrwx 1 root root 0 Dec 9 2008 snmpd.log
-rw-r--r-- 1 root sys 0 Dec 9 2008 swlist
NOTE: Files in /var/tmp:
total 4
-rw-r--r-- 1 root sys 0 Dec 9 2008 AAAa00728
-rw-r--r-- 1 root sys 0 Dec 9 2008 AAAa01753
-rw-r--r-- 1 root sys 0 Dec 9 2008 AAAa01764
drwxr-xr-x 3 root sys 96 Dec 9 2008 BAAa01764
-rw------- 1 root sys 0 Sep 3 12:51 OBAMLBAa01843
dr-xr-xr-x 2 bin bin 96 Dec 9 2008 ntp
-rw-r--r-- 1 root sys 1542 Dec 10 2008 swagent.log
"/sbin/rc2.d/S204clean_tmps start" SKIPPED

Clean up old log files
Output from "/sbin/rc2.d/S206clean_adm start":
----------------------------

Start system message logging daemon
Output from "/sbin/rc2.d/S220syslogd start":
----------------------------
System message logger started

Start pty allocator daemon
Output from "/sbin/rc2.d/S230ptydaemon start":
----------------------------
Starting the ptydaemon

Start network tracing and logging daemon
Output from "/sbin/rc2.d/S300nettl start":
----------------------------
Initializing Network Tracing and Logging...
Done.

Configure HP Ethernet interfaces
Output from "/sbin/rc2.d/S320hpether start":
----------------------------

Configure HP 100BT interfaces
Output from "/sbin/rc2.d/S323hpbase100 start":
----------------------------

Configure HP SPP 100BT interfaces
Output from "/sbin/rc2.d/S333hpsppci100 start":
----------------------------
The system is not a V class
"/sbin/rc2.d/S333hpsppci100 start" SKIPPED

Configure LAN interfaces
Output from "/sbin/rc2.d/S340net start":
----------------------------

Start name server daemon
Output from "/sbin/rc2.d/S370named start":
----------------------------
"/sbin/rc2.d/S370named start" SKIPPED

Start NFS core subsystem
Output from "/sbin/rc2.d/S400nfs.core start":
----------------------------
starting NFS CORE networking

starting up the rpcbind
/usr/sbin/rpcbind
starting up the nfskd daemon
/usr/sbin/nfskd

Start NIS+ server subsystem
Output from "/sbin/rc2.d/S406nisplus.server start":
----------------------------
NOTE: NISPLUS_SERVER is not set, exiting.

Start NIS+ client subsystem
Output from "/sbin/rc2.d/S408nisplus.client start":
----------------------------
NOTE: NISPLUS_CLIENT is not set, exiting.

Start NIS server subsystem
Output from "/sbin/rc2.d/S410nis.server start":
----------------------------
NOTE: NIS_MASTER_SERVER or NIS_SLAVE_SERVER is not set, exiting.

Start NIS client subsystem
Output from "/sbin/rc2.d/S420nis.client start":
----------------------------
starting NIS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 615
domainname jafri_lab
starting up the Network Information Service
starting up the ypbind daemon
/usr/lib/netsvc/yp/ypbind
Checking NIS binding.
Bound to NIS server using domain jafri_lab.
starting up the keyserv daemon
/usr/sbin/keyserv

Start NFS client subsystem
Output from "/sbin/rc2.d/S430nfs.client start":
----------------------------
starting NFS CLIENT networking

starting up the rpcbind
rpcbind already started, using pid: 615
starting up the BIO daemons
/usr/sbin/biod 4


TTr
Honored Contributor
Solution

Re: J5600 network problem

# ROUTE_DESTINATION[0]=default
# ROUTE_MASK[0]=""
# ROUTE_GATEWAY[0]="129.174.206.1"
# ROUTE_COUNT[0]="1"
# ROUTE_ARGS[0]=""

You need to UNCOMMENT the above lines in /etc/rc.config.d/netconf. They are ignored because they are commented out.
Saleet Jafri
Occasional Advisor

Re: J5600 network problem

This was the solution. Thanks for the help.