Resolving '/lib/svc/method/net-physical' network settings is misconfigured.
After moving a system across campus I came across an issue where the server would not boot and was found in maintenance node with the following messages:
Aug 20 07:30:08 church1e svc.startd[7]: [ID 84838 daemon.warning] svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. Aug 20 07:30:08 church1e svc.startd[7]: [ID 148625 daemon.error] network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)
Running svcs -x
indicated that svc:/network/physical:default
is in maintenance mode.
After a bit further digging it appears that the IP address assigned to this server existed but it wasn't configured on the server but was in use on a temporary lab built system.
WARNING: bge0 has duplicate address 010.001.001.011 (in use by 08:00:20:f0:14:2c); disabled
I could have easily changed the IP on the lab system. But instead I decided to update our DNS and add a new IP address for this server.
To resolve it locally I performed the following steps:
- Take the network interface offline and unconfigure it:
# ifconfig bge0 down # ifconfig bge0 unplumb
- Configure my interface with its assigned IP and netmask:
# ifconfig bge0 10.1.1.12 netmask 255.255.255.0 up
- Manually enable the network service and clear its status:
# svcadm enable svc:/network/physical:default # svcadm clear network/physical
- And finally flush my routing table and add the correct route:
# route flush # route add 0.0.0.0 10.1.1.1
After the above steps were taken I was able to access the necessary services on the net :)