05-25-2014
system is running fine, I have tried with init 0 command, but it was not successful, so i have rebooted the server,
I want to wipe the solaris box, using format->analyse->purge for root file system.
10 More Discussions You Might Find Interesting
1. IP Networking
Hi
I am using a Solaris 2.5.1 and i am unable to logon on the console.
When i key in say, root on the login prompt, it does not prompt me for password but instead return to the login prompt again.
Please help.
thanks (2 Replies)
Discussion started by: owls
2 Replies
2. Solaris
Hi,
I'm attempting to reinstall a damaged installation of Solaris 9 (on a SunFire). Connected via serial from a PC. Can't get to the "ok" prompt to launch install from CD. Ctrl+break acknowledges my request for a break, but no prompt. "#." gets me an "sc>" prompt, with several options, but... (3 Replies)
Discussion started by: shonenfan
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
When i try to connect to the db2 database from unix solaris 5.8 version by typing "db2" from the .../sqllib/bin/ folder, i am not getting the db2 command prompt. Could anyone help me resolve this? Here the db2 is executable only. But still iam not getting the db2 prompt.
The error i get is... (4 Replies)
Discussion started by: ragavhere
4 Replies
4. Solaris
There is a number before the ok prompt in OBP between brackets {}. It is 0 most of the time but sometimes it is different number
{9} ok
or
{0} ok
What does this number mean and how it gets changed? (3 Replies)
Discussion started by: StarSol
3 Replies
5. Solaris
Hi Gurus,
One of our test servers is unable to come up. Its v240, I am unable to connect to RSC also. when I am trying to ping the IP assign to RSC its coming “no answer from <IP>.
What all can be done to get connect to server RSC?? (2 Replies)
Discussion started by: kumarmani
2 Replies
6. Solaris
Hello Folks,
I am having trouble to login to rsc or serial console of V890.
The rsc2.2.3 has been configured with required parameters, resetrs and even rebooted. When serial port is connected to laptop, The hyper terminal does not get the console or POSt messages when the server is rebooting... (8 Replies)
Discussion started by: defflepord
8 Replies
7. Solaris
Hi All, ;)
I have configured rsc hosted on Sun-Fire-V490.
But I am not able to telnet this machine
Packages installed :
#pkginfo -l | grep SUNWrsc
PKGINST: SUNWrsc
PKGINST: SUNWrscd
PKGINST: SUNWrscj
I rebooted system but still I' not able to take rsc.
I am not... (3 Replies)
Discussion started by: tuxian
3 Replies
8. HP-UX
HPUX does not recognise \h,\w,\u to display the hostname,working directory and username respectively.
So how do i set the PS1 variable to display my current working Directory as my prompt?
I also tried PS1=$PWD,
But it keeps showing the same directory path as prompt which PWD was holding at... (3 Replies)
Discussion started by: Amit Kulkarni
3 Replies
9. Shell Programming and Scripting
This is my script structure
main script calls configure script which needs to be run as a different user and the configure script calls my application installation script. the application instruction script prompts the user for a directory which I need to pass from my main or configure script.
... (4 Replies)
Discussion started by: cmastays
4 Replies
10. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies
reboot(2) System Calls Manual reboot(2)
NAME
reboot - Reboots system or halts processor
SYNOPSIS
#include <sys/reboot.h>
void reboot( int howto );
PARAMETERS
Specifies a mask of options.
DESCRIPTION
The reboot() function restarts the system. The startup is automatic and brings up /vmunix in the normal, nonmaintenance mode. The calling
process must have superuser privilege to run this function successfully. However, a reboot is invoked automatically in the event of unre-
coverable system failures.
The following options, defined in the sys/reboot.h include file are passed to the new kernel or the new bootstrap and init programs. They
are supplied as values to the howto parameter. The default, causing the system to reboot in its usual fashion. Dump kernel memory before
rebooting; see the savecore command for more information. The processor is simply halted; no reboot takes place. The disks are not sync'd
before the processor is halted or rebooted. Normally, the disks are sync'd (see the sync() command) before the processor is halted or
rebooted. Because the disks are not sync'd with the RB_NOSYNC option, loss of data may result from using it.
When no options are given (that is, RB_AUTOBOOT is used), the system is rebooted from file vmunix in the root file system of unit 0 (zero)
of a disk chosen in a processor-specific way. (see the fsck command).
RETURN VALUES
If successful, this call does not return. Otherwise, a -1 is returned and errno is set to indicate the error.
ERRORS
If the reboot() function fails, errno may be set to the following value: The calling process does not have appropriate privilege.
RELATED INFORMATION
Commands: crashdc(8),
halt(8), init(8), reboot(8), savecore(8) delim off
reboot(2)