01-24-2005
If it's printing "volume management starting.", I suggest you change the startup script for volume management to echo "volume management completed" - this way you will find out if volume management is hanging or if it's the next startup script that is hanging. Not all startup scripts announce they are starting.
Can you boot into single user mode? If so, then run the scripts in order in /etc/rc2.d and then /etc/rc3.d and find the one that hangs. Then you can post back or may know what to fix already.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
When i'm compiling my C files, I'm getting an error saying that the file name i've defined is undeclared. Could someone tell me how to solve this error. I've defined the file name as
#define _FILE_CODE_ _XYZ_C_
The error is "_XYZ_C undeclared".
Thanks in advance (1 Reply)
Discussion started by: laxmi
1 Replies
2. UNIX for Dummies Questions & Answers
I am building gcc-3.4.4 on sol-10 and getting the following error.
my configure is going well but failing in the build stage
***
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating... (0 Replies)
Discussion started by: mobydick
0 Replies
3. HP-UX
Hi
Im trying to build & instal berkeleydb ( not as root) ...... in path /opt/dev-tools
installation was perfect and binaries were created in /opt/dev-tools/bin
When i try to execute the binaries ( berkeley_db_svc) it throw me an error
/usr/lib/dld.sl: Can't find path for shared... (1 Reply)
Discussion started by: vasanthan
1 Replies
4. HP-UX
Hi,
I have installed HP-UX 11.31 on a rx6600 box. The installation went fine and was completed without any errors. But wheni connect to the server using ssh,
it asks for a username, when i enter it, it doesnt prompt for a password:
login:username
blank--------
All i could see in... (1 Reply)
Discussion started by: sag71155
1 Replies
5. Solaris
Hello Guruz,
Correct me if I am wrong.
What is difference between Solaris jump start and jet build server. Any sun doc how the jump start setup works. (1 Reply)
Discussion started by: bullz26
1 Replies
6. Solaris
I need to boot again a server with solaris 8 because I have a problem with the file path_to_install and I have not a CD/DVD driver.
So I'd like to build an install server for executing a boot by network.
Could I use a server with solaris 10?
Many thanks for your suggests
Best Regards at... (2 Replies)
Discussion started by: ardgiu70
2 Replies
7. Web Development
Working on LP: 10. Lesson 1: Oracle JET 4.x - Lesson 1 - Part 4: Data Binding in this Oracle JET online course - Soar higher with Oracle JavaScript Extension Toolkit (JET), I have created this code for incidents.js
I cannot get the load average data in this Oracle JET test to update the... (4 Replies)
Discussion started by: Neo
4 Replies
8. Web Development
Working on:
10. Lesson 1: Oracle JET 4.x - Lesson 1 - Part 9: Oracle JET Cookbook
(which I highly recommend)
and using the server loadavg code I wrote and have been adding gauges. All is great so far, and I'm loving JET, but have ran into an issue.
Here is the loadavg.js code:
/**
... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT OPENSOLARIS
volmgt_inuse
volmgt_inuse(3VOLMGT) Volume Management Library Functions volmgt_inuse(3VOLMGT)
NAME
volmgt_inuse - check whether or not volume management is managing a pathname
SYNOPSIS
cc [ flag ... ] file ... -lvolmgt [ library ... ]
#include <volmgt.h>
int volmgt_inuse(char *pathname);
DESCRIPTION
This function is obsolete. The management of removable media by the Volume Management feature, including vold, has been replaced by soft-
ware that supports the Hardware Abstraction Layer (HAL). Programmatic support for HAL is through the HAL APIs, which are documented on the
HAL web site. See hal(5). The return value of this function is undefined.
volmgt_inuse() checks whether volume management is managing the specified pathname.
RETURN VALUES
The return from this function is undefined.
ERRORS
This routine can fail, returning 0, if a stat(2) of the supplied pathname or an open(2) of /dev/volctl fails, or if any of the following is
true:
ENXIO Volume management is not running.
EINTR An interrupt signal was detected while checking for the supplied pathname for use.
EXAMPLES
Example 1 Using volmgt_inuse()
To see if volume management is managing the first floppy disk:
if (volmgt_inuse("/dev/rdiskette0") != 0) {
(void) printf("volmgt is managing diskette 0
");
} else {
(void) printf("volmgt is NOT managing diskette 0
");
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
cc(1B), open(2), stat(2), errno(3C), volmgt_check(3VOLMGT), volmgt_running(3VOLMGT), attributes(5), hal(5)
NOTES
This routine requires volume management to be running.
Since volmgt_inuse() returns 0 for two different cases (both when a volume is not in use, and when an error occurs), it is up to the user
to to check errno to differentiate the two, and to ensure that volume management is running.
SunOS 5.11 8 Mar 2007 volmgt_inuse(3VOLMGT)