[help]network error after reboot server v890 sparc

hi expert,

i had reinstall the sun v890 server solaris 8 and also do mirroring, i had configure the network for the server (hostname.eri0,hosts,netmasks,nodename,etc) after i reboot get and error messages below :

Setting default IPv4 interface for multicast: add net 224.0/4: gateway USSDGmdn-4
USSDGmdn-4: bad value
syslog service starting.
Print services started.
volume management starting.
Sep 29 14:11:29 USSDGmdn-4 /usr/lib/snmp/snmpdx: unable to get my IP address:
gethostbyname(USSDGmdn-4) failed [h_errno: host not found(1)]
The system is ready

and all of my network configuration have lose.

please need advices

thank you

Best Regards,

wu

the easiest way would be to use the command "sys-unconfig". The sys-unconfig command is used to restore a system's configuration to an "as-manufactured" state, ready to be reconfigured again after a reboot. The system's configuration consists of hostname, Network Information Service (NIS), domain name, timezone, IP address, IP subnet mask, and root password.

regards pressy

hi pressy,

thank you for your response, btw is it affect with the mirroring disk or some server configuration? of the sys-unconfig just reconfigure for network only ?

thank you

Best Regards,

wu

Are you using mirrors?
Check the output of "metastat", just in case :slight_smile:
Perhaps you need some "metasync" or have some kind of error in your mirros...

Regards.

from the manpage:

 sys-unconfig does the following:

   o  Saves  current  /etc/inet/hosts  file  information   in
      /etc/inet/hosts.saved.

   o  If the current  /etc/vfstab  file  contains  NFS  mount
      entries,     saves     the    /etc/vfstab    file    to
      /etc/vfstab.orig.

   o  Restores the default /etc/inet/hosts file.

   o  Removes the default hostname in /etc/hostname.interface
      files  for  all interfaces configured when this command
      is run. To determine which interfaces  are  configured,
      run       the       command      'ifconfig-a'.      The
      /etc/hostname.interface files corresponding to  all  of
      the interfaces listed in the resulting output, with the
      exception of the  loopback  interface  \(lo0\),  will  be
      removed.

   o  Removes the default domainname in /etc/defaultdomain.

   o  Restores the timezone to PST8PDT in /etc/TIMEZONE.

   o  Disables the Network Information Service \(NIS\) and Net-
      work  Information  Service Plus \(NIS\+\) if either NIS or
      NIS\+ was configured.

   o  Removes the file /etc/inet/netmasks.

   o  Removes the file /etc/defaultrouter.

   o  Removes the password set for root in /etc/shadow.

   o  Removes the file /etc/.rootkey.

   o  Executes all system configuration  applications.  These
      applications  are  defined  by  prior  executions  of a
      sysidconfig -a application. \(See sysidconfig\(1M\)\). When
      sys-unconfig  is run, all system configuration applica-
      tions are passed one argument, -u.

   o  Removes the file /etc/resolv.conf.

   o  Disables LDAP by removing  /var/ldap/ldap\_client_cache,
      /var/ldap/ldap\_client_file, /var/ldap/ldap\_client_cred,
      and /var/ldap/cachemgr.log.

   o  Regenerates keys for sshd\(1M\).

 When sys-unconfig is finished, it performs  a  system  shut-
 down.  sys-unconfig  is  a potentially dangerous utility and
 can only be run by the super user.

hi pressy,

thank you for your advice is very helpful

Best Regards,

wu