Sponsored Content
Operating Systems Solaris Machine is booting to maintenance mode. Post 302218214 by reborg on Thursday 24th of July 2008 04:03:07 PM
Old 07-24-2008
Sorry, I missed a line from the log, is /etc/netconfig missing on your machine?
 

10 More Discussions You Might Find Interesting

1. HP-UX

Maintenance mode boot(MMB) and recovery

hi, i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk. To explicitly corrupt this entry i think a simple dd will work. ok let me elaborate this issue: i need to check this functionality. so i have one LVM boot disk and one... (0 Replies)
Discussion started by: mxms755
0 Replies

2. Solaris

FTP is in maintenance mode always

Hello All, On solaris 10 server i could see the FTP service is in maintenance mode always :mad: Could some assist? svcs -xv svc:/network/nfs/nlockmgr:default (NFS lock manager) State: maintenance since Tue 28 Jul 2009 11:47:55 AM BST Reason: Restarting too quickly. See: Sun... (5 Replies)
Discussion started by: bullz26
5 Replies

3. Solaris

Process in maintenance mode, why?

Hi, I have installed Hudson on a Solaris 11 server, using the installation instructions available at Paul Oswald: Hudson Solaris SMF Manifest. When I perform svcs -l hudson, I get: fmri svc:/application/hudson:default name Hudson Continuous Build Server enabled true... (4 Replies)
Discussion started by: JVerstry
4 Replies

4. Solaris

Samba service in maintenance mode ???

I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba. Samba has worked on this machine but since the machine has been re-booted Samba has not worked. Machine details are: cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008... (2 Replies)
Discussion started by: KenLynch
2 Replies

5. Solaris

Helpme !! ssh service in maintenance mode

Hi Guys, Virtual Machine - Solaris 10 ssh service is in maintenance mode, when i tried to disable it it got disabled but when i enabling it ( svcadm enable ssh) it is coming in maintenance mode...... Pls help (10 Replies)
Discussion started by: saurabh84g
10 Replies

6. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

7. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

8. 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

9. AIX

How to put VIOS in Maintenance mode?

Hi this may be a easy question to answer but thanks in advance. So I was able to download the VIOS media from IBM and currently I am burning it to a cd/dvd right now. The steps I've collected so far are from the net. can you please confirm and add on to the steps if there are any steps... (0 Replies)
Discussion started by: Adnans2k
0 Replies

10. Solaris

Maintenance mode

i booted into maintenance mode boot -- -s from the console I got the Root password for system maintenance (control-d to bypass) I did control -d and then logged in it told me that I was booting into boot -s but after I did a control -d and logged in who -r shows ... (9 Replies)
Discussion started by: goya
9 Replies
GETNETPATH(3)						   BSD Library Functions Manual 					     GETNETPATH(3)

NAME
getnetpath, setnetpath, endnetpath -- get /etc/netconfig entry corresponding to NETPATH component LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <netconfig.h> struct netconfig * getnetpath(void *handlep); void * setnetpath(void); int endnetpath(void *handlep); DESCRIPTION
The routines described in this page provide the application access to the system network configuration database, /etc/netconfig, as it is ``filtered'' by the NETPATH environment variable (see environ(7)). See getnetconfig(3) for other routines that also access the network con- figuration database directly. The NETPATH variable is a list of colon-separated network identifiers. The getnetpath() function returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. The netcon- fig entry is formatted as a struct netconfig. On each subsequent call, getnetpath() returns a pointer to the netconfig entry that corre- sponds to the next valid NETPATH component. The getnetpath() function can thus be used to search the netconfig database for all networks included in the NETPATH variable. When NETPATH has been exhausted, getnetpath() returns NULL. A call to setnetpath() ``binds'' to or ``rewinds'' NETPATH. The setnetpath() function must be called before the first call to getnetpath() and may be called at any other time. It returns a handle that is used by getnetpath(). The getnetpath() function silently ignores invalid NETPATH components. A NETPATH component is invalid if there is no corresponding entry in the netconfig database. If the NETPATH variable is unset, getnetpath() behaves as if NETPATH were set to the sequence of ``default'' or ``visible'' networks in the netconfig database, in the order in which they are listed. The endnetpath() function may be called to ``unbind'' from NETPATH when processing is complete, releasing resources for reuse. Programmers should be aware, however, that endnetpath() frees all memory allocated by getnetpath() for the struct netconfig data structure. RETURN VALUES
The setnetpath() function returns a handle that is used by getnetpath(). In case of an error, setnetpath() returns NULL. The endnetpath() function returns 0 on success and -1 on failure (for example, if setnetpath() was not called previously). The nc_perror() or nc_sperror() function can be used to print out the reason for failure. See getnetconfig(3). When first called, getnetpath() returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. When NETPATH has been exhausted, getnetpath() returns NULL. SEE ALSO
getnetconfig(3), netconfig(5), environ(7) BSD
April 22, 2000 BSD
All times are GMT -4. The time now is 05:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy