dependency require_all/none svc:/network/physical (maintenance)


 
Thread Tools Search this Thread
Operating Systems Solaris dependency require_all/none svc:/network/physical (maintenance)
# 1  
Old 02-25-2012
dependency require_all/none svc:/network/physical (maintenance)

I am using telnet instead of ssh because network/physical service is on maintenance mode. I can ping google and other internel machines. I can't ssh to this server because network/physical is dependency of ssh.

How can I fix this service. I can use network service but it is maintenance mode. why? I am waitting your kindly helps.

Code:
bash-3.00# ping google.com
google.com is alive
bash-3.00#

Code:
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.20.36 netmask ffffff00 broadcast 192.168.20.255
        ether 0:50:56:a9:0:5b 
bash-3.00#

Code:
bash-3.00# cat /etc/hosts 
#
# Internet host table
#
::1     localhost       
127.0.0.1       MRBT localhost  
192.168.20.36   MRBT    MRBT.argela.com.tr      loghost
bash-3.00#

Code:
bash-3.00# svcs -l ssh
fmri         svc:/network/ssh:default
name         SSH server
enabled      true
state        offline
next_state   none
state_time   Sat Feb 25 19:10:56 2012
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/system/filesystem/local (online)
dependency   optional_all/none svc:/system/filesystem/autofs (online)
dependency   require_all/none svc:/network/loopback (online)
dependency   require_all/none svc:/network/physical (maintenance)
dependency   require_all/none svc:/system/cryptosvc (online)
dependency   require_all/none svc:/system/utmp (online)
dependency   require_all/restart file://localhost/etc/ssh/sshd_config (online)
bash-3.00#

Code:
bash-3.00# svcs -l network/physical
fmri         svc:/network/physical:default
name         physical network interfaces
enabled      true
state        maintenance
next_state   none
state_time   Fri Feb 24 17:32:51 2012
alt_logfile  /etc/svc/volatile/network-physical:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/network/loopback (online)
dependency   optional_all/none svc:/network/pfil (online)
dependency   optional_all/none svc:/network/tnctl (online)
bash-3.00#

# 2  
Old 02-25-2012
This might help finding the root cause:
Code:
tail /etc/svc/volatile/network-physical:default.log
svcs -xv

# 3  
Old 02-25-2012
I did before. What the actions can help me. command outputs are below Smilie

Code:
bash-3.00# tail /etc/svc/volatile/network-physical:default.log
[ Feb 24 17:32:49 Enabled. ]
[ Feb 24 17:32:50 Executing start method ("/lib/svc/method/net-physical") ]
[ Feb 24 17:32:50 Timeout override by svc.startd.  Using infinite timeout ]
configuring IPv4 interfaces:ifconfig: setifflags: SIOCSLIFFLAGS: e1000g0: Cannot assign requested address
 e1000g0.
add net default: gateway 192.168.20.1: Network is unreachable
[ Feb 24 17:32:51 Method "start" exited with status 96 ]

Code:
bash-3.00# svcs -xv
svc:/network/physical:default (physical network interfaces)
 State: maintenance since Fri Feb 24 17:32:51 2012
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 1M ifconfig
   See: /etc/svc/volatile/network-physical:default.log
Impact: 14 dependent services are not running:
        svc:/milestone/network:default
        svc:/system/webconsole:console
        svc:/network/nfs/client:default
        svc:/network/nfs/nlockmgr:default
        svc:/network/nfs/status:default
        svc:/network/nfs/cbd:default
        svc:/network/nfs/mapid:default
        svc:/network/iscsi/initiator:default
        svc:/application/management/seaport:default
        svc:/application/management/snmpdx:default
        svc:/application/management/dmi:default
        svc:/application/management/sma:default
        svc:/network/shares/group:default
        svc:/network/ssh:default

svc:/application/print/server:default (LP print server)
 State: disabled since Fri Feb 24 17:32:50 2012
Reason: Disabled by an administrator.
   See: http://sun.com/msg/SMF-8000-05
   See: man -M /usr/share/man -s 1M lpsched
Impact: 2 dependent services are not running:
        svc:/application/print/rfc1179:default
        svc:/application/print/ipp-listener:default
bash-3.00#

---------- Post updated at 08:59 PM ---------- Previous update was at 07:45 PM ----------

How can I online below servcice states.

Code:
Impact: 14 dependent services are not running:
        svc:/milestone/network:default
        svc:/system/webconsole:console
        svc:/network/nfs/client:default
        svc:/network/nfs/nlockmgr:default
        svc:/network/nfs/status:default
        svc:/network/nfs/cbd:default
        svc:/network/nfs/mapid:default
        svc:/network/iscsi/initiator:default
        svc:/application/management/seaport:default
        svc:/application/management/snmpdx:default
        svc:/application/management/dmi:default
        svc:/application/management/sma:default
        svc:/network/shares/group:default
        svc:/network/ssh:default

# 4  
Old 02-25-2012
Are you using Solaris 10 or 11?

Have you tried assigning a different IP to the NIC? Are you sure that the IP configurations are persistent over a reboot? I am asking this as you may setup NIC using ifconfig. But the changes are not written on files. So when network/physical service tries to read the files, it does not get the updated info. Meanwhile, you can ping, etc. without any issue.

---------- Post updated at 02:56 PM ---------- Previous update was at 02:54 PM ----------

By the way, the other services will automatically start to run (if they are already enabled) once the network/physical service gets online.
# 5  
Old 02-25-2012
My friend, Thats true, I did manually network configuration when server is rebooted. But I am right configuration like below. I don't know. All of the network files are right. What is the main problem!.Smilie I have one NIC.

Code:
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.20.36 netmask ffffff00 broadcast 192.168.20.255
        ether 0:50:56:a9:0:5b 
bash-3.00# cat /etc/hosts
#
# Internet host table
#
::1     localhost       
127.0.0.1       MRBT localhost  
192.168.20.36   MRBT    MRBT.argela.com.tr      loghost
bash-3.00# cat /etc/hostname.e1000g0 
MRBT
bash-3.00# cat /etc/resolv.conf 
domain argela.com.tr
nameserver 192.168.0.9
nameserver 192.168.0.8
search argela.com.tr
bash-3.00# cat /etc/netmasks 
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
# 
#       network-number  netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
#               128.32.0.0 255.255.255.0
#
192.168.20.0    255.255.255.0
bash-3.00# netstat -r

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              192.168.20.1         UG        1         51           
192.168.20.0         MRBT                 U         1          8 e1000g0   
base-address.mcast.net MRBT                 U         1          0 lo0       
MRBT                 MRBT                 UH        1       1659 lo0       
bash-3.00# cat /etc/nodename 
MRBT
bash-3.00# cat /etc/defaultrouter 
192.168.20.1
bash-3.00# cat /etc/inet/ipnodes 
#
# Internet host table
#
::1     localhost       
127.0.0.1       MRBT localhost  
192.168.20.36   MRBT    MRBT.argela.com.tr      loghost
bash-3.00#

# 6  
Old 02-25-2012
Can you post the output of this command please?

Code:
svccfg -s network/physical listprop

# 7  
Old 02-25-2012
Output is below.
Code:
bash-3.00# svccfg -s network/physical listprop
loopback                           dependency
loopback/entities                  fmri     svc:/network/loopback
loopback/grouping                  astring  require_all
loopback/restart_on                astring  none
loopback/type                      astring  service
pfil_network                       dependency
pfil_network/entities              fmri     svc:/network/pfil
pfil_network/external              boolean  true
pfil_network/grouping              astring  optional_all
pfil_network/restart_on            astring  none
pfil_network/type                  astring  service
tnctl_network-physical             dependency
tnctl_network-physical/entities    fmri     svc:/network/tnctl
tnctl_network-physical/external    boolean  true
tnctl_network-physical/grouping    astring  optional_all
tnctl_network-physical/restart_on  astring  none
tnctl_network-physical/type        astring  service
general                            framework
general/entity_stability           astring  Unstable
tm_common_name                     template
tm_common_name/C                   ustring  "physical network interfaces"
tm_man_ifconfig                    template
tm_man_ifconfig/manpath            astring  /usr/share/man
tm_man_ifconfig/section            astring  1M
tm_man_ifconfig/title              astring  ifconfig
bash-3.00#

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

/network/smb/server goes into maintenance mode.

All I'm running an OpenSolaris system (Nexenta). When doing a svcs I see that/network/smb/server is in maintenance mode. I have run a clear on the service and restarted. I see the same service show online* for a bit but then, enters maintenance every time. In the service log I... (2 Replies)
Discussion started by: dcpatriot
2 Replies

2. Solaris

Svc:/network/http:apache2 error

Dear All, http:apache2 service on my node is continuously in maintenance mode. I have tried to enable and disable the service but nothing works. root@ops # svcs -a | grep apache2 maintenance 15:46:37 svc:/network/http:apache2 When I reboot the system, I get the following error: ... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

3. Solaris

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. [ n

After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks. ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface # ifconfig eg1000g0:2 plumb ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface # ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies

4. Solaris

svc:/system/filesystem/local is always in maintenance status

Hello Friends, I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online. shell>svcadm enable svc:/system/filesystem/local shell>svcs -l svc:/system/filesystem/local fmri ... (4 Replies)
Discussion started by: EAGL€
4 Replies

5. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies

6. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Discussion started by: markper
9 Replies

7. Solaris

Testing physical network connection

How do you test the physical network connection of an interface in solaris. I know that if you have an active connection and the cable gets yanked, you can look in the messages file to check for link failure messages. But is there any better way to see if you have good layer 2 connectivity? (1 Reply)
Discussion started by: tjlst15
1 Replies

8. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

9. Cybersecurity

network card physical reset error

Hi all I am facing some problem with network card i am using solaris8 and on sunultra10 .As it is my firewal machine i have got on backup harddisk for any emergency. In one hardidsk while installation only hme0 interface was configured and in the backup hard disk qfe0/hme0 both are... (0 Replies)
Discussion started by: Prafulla
0 Replies
Login or Register to Ask a Question