Yesterday I came across an issue with the server being unable to access it switched to the maintenance mode with some a strange message;
“How to fix Solaris "/lib/svc/method/net-physical "network settings is misconfigured”.
Dec 9 10:05:59 techgyaansvr svc.startd[7]: [ID 652011 daemon.warning] svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96.
Dec 9 10:05:59 techgyaansvr svc.startd[7]: [ID 748625 daemon.error] network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)
Actual message is that the IP address already exists, but is not configured. We need to clear the network & flush the settings to make it accessible
Resolution:
Check the service which is disabled
#svcs –xv [this command will show you the services which is disabled by system]
Take the network interface offline
#ifconfig eri0 down [this command will bring the interface down]
#ifconfig eri0 unplumb [this command will bring down the interface]
Now configure the IP address & netmask for eri0 interface
#ifconfig eri0 10.0.7.34 netmask 255.255.255.0 upUsage: [ifconfig eri0 ipaddress netmask + broadcast + up]
Now we need to manually enable the network service, clear the network & flush the route settings.
#svcadm enable svc:/network/physical:defaultUsage: svcadm [-v] [cmd [args ... ]]
svcadm enable [-rst] ... - enable and online service(s)
#svcadm clear network/physicalUsage: svcadm [-v] [cmd [args ... ]]
svcadm clear ... - clear maintenance state
#route flushNow add the route
#route add 0.0.0.0 10.0.7.1Now you should be able to access your server J
Yes except I think you were meaning "unplumb" and not "unplub".
ReplyDelete