fixunix
Tags Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Method "/lib/svc/method/net-physical" failed: Solaris 10 - SUN

This is a discussion on Method "/lib/svc/method/net-physical" failed: Solaris 10 - SUN ; Hello, [svc:/network/physical:default (physical network interfaces)] This morning, when changing ip address (1 out of 4 interfaces) of one of my solaris 10 machine, the machine rebooted with following message: svc.startd[7]: svc:/network/physical:default: Method "/lib/svc/method/ net-physical" failed with exit status 96. [ ...


Fix Unix > Technologies & Tools > Systems > SUN > Method "/lib/svc/method/net-physical" failed: Solaris 10

Reply
 
LinkBack Tools
  #1  
Old 10-06-2007, 06:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Method "/lib/svc/method/net-physical" failed: Solaris 10

Hello,

[svc:/network/physical:default (physical network interfaces)]

This morning, when changing ip address (1 out of 4 interfaces) of one
of my solaris 10 machine, the machine rebooted with following
message:

svc.startd[7]: svc:/network/physical:default: Method "/lib/svc/method/
net-physical" failed with exit status 96.
[ network/physical:default misconfigured (see 'svcs -x' for details) ]

And they are not reachable from the network. When I ran svcs -x, it
complained about 7 dependent services for being offline.

svc:/network/physical:default (physical network interfaces)
State: maintenance since Wed Apr xx.xx
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: http://sun.com/msg/SMF-8000-KS
See: ifconfig(1M)
See: /etc/svc/volatile/network-physical:default.log
Impact: 7 dependent services are not running. (Use -v for list.)

The output of svcs -v says that svc:/network/physical:default is in
maintenace more.

maintenance - xx:xx:xx - svc:/network/
physical:default

Similarly, here the /etc/svc/volatile/network-physical:default.log
says

[ xx:xx Enabled. ]
[ xx:xx Executing start method ("/lib/svc/method/net-physical") ]
[ xx:xx Timeout override by svc.startd. Using infinite timeout ]
configuring IPv4 interfaces: bge0 bge1 bge2 bge3.
add net default: gateway xx.xx.xx.4: Network is unreachable
[ xx:xx Method "start" exited with status 96 ]

How do I get this svc working? What am I missing here?


TIA

--
Raqueeb Hassan
Bangladesh

Reply With Quote
  #2  
Old 10-06-2007, 06:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Method "/lib/svc/method/net-physical" failed: Solaris 10


> [ xx:xx Enabled. ]
> [ xx:xx Executing start method ("/lib/svc/method/net-physical") ]
> [ xx:xx Timeout override by svc.startd. Using infinite timeout ]
> configuring IPv4 interfaces: bge0 bge1 bge2 bge3.
> add net default: gateway xx.xx.xx.4: Network is unreachable
> [ xx:xx Method "start" exited with status 96 ]


Raqueeb.

You mentioned that you had changed the ip address of one of the
interfaces. Is this the interface which has the default gateway on
it? It appears that maybe you changed which subnet the interface is
on and now the default gateway cannot be configured.

> add net default: gateway xx.xx.xx.4: Network is unreachable


I'm still trying to come up to speed on the solaris 10
initialization process so I'm no expert but it was not clear from your
post if you looked into the default gateway error message or not.

HTH.
G

>
> How do I get this svc working? What am I missing here?
>
> TIA
>
> --
> Raqueeb Hassan
> Bangladesh



Reply With Quote
  #3  
Old 10-06-2007, 06:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Method "/lib/svc/method/net-physical" failed: Solaris 10

can you please list the operation you did to change the ip ...
maybe you did somthing wrong,
by the way today i did the same thing' change the ip of one machine
and i got the same error.
a reboot solved my problem ...
was the interface configured with dhcp before you changed the ip?
did you switch a subnet??

Reply With Quote
  #4  
Old 10-06-2007, 06:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Method "/lib/svc/method/net-physical" failed: Solaris 10

Thanks for the reply. Well, I saw that error message regarding the
gateway. Well, before changing the ip address, I tried to disable the
nfs service, when I mistakenly issued the command "svcadm disable
network". Should it shutdown all the services in svc:/network/*
hierchy?



> It appears that maybe you changed which subnet the interface is
> on and now the default gateway cannot be configured.
>
> > add net default: gateway xx.xx.xx.4: Network is unreachable


I did not use dhcp, and the subnet is okay here. I edited the /etc/
hosts and /etc/inet/ipnodes and created the corresponding
hostname.bgeX.

eli.sapiashv...@gmail.com replied:

> was the interface configured with dhcp before you changed the ip?
> did you switch a subnet??



--
Raqueeb Hassan
Bangladesh

Reply With Quote
  #5  
Old 10-06-2007, 06:18 AM
Junior Member
 
Join Date: Sep 2009
Posts: 0
Default Re: Method "/lib/svc/method/net-physical" failed: Solaris 10

Raqueeb Hassan writes:
> > It appears that maybe you changed which subnet the interface is
> > on and now the default gateway cannot be configured.
> >
> > > add net default: gateway xx.xx.xx.4: Network is unreachable

>
> I did not use dhcp, and the subnet is okay here. I edited the /etc/
> hosts and /etc/inet/ipnodes and created the corresponding
> hostname.bgeX.


You likely missed the /etc/defaultrouter file.

--
James Carlson, Solaris Networking
Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Reply With Quote
Reply

Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: problem for" Can't locate object method "boot" via package "mod_perl" unix modperl 0 10-16-2008 06:22 AM
problem for" Can't locate object method "boot" via package "mod_perl" unix modperl 0 10-16-2008 06:05 AM
Method "/lib/svc/method/net-physical" failed: Solaris 10 unix SUN 4 10-06-2007 12:38 PM
locale.dir and "Input Method Open Failed" unix Xwindows 0 10-04-2007 06:18 AM
Method "/lib/svc/method/net-physical" failed: Solaris 10 unix Unix 4 10-03-2007 11:06 PM


All times are GMT. The time now is 10:06 AM.