Sponsored Content
Operating Systems Solaris solaris booting to probe menu Post 43842 by max_min on Monday 24th of November 2003 03:14:35 AM
Old 11-24-2003
At the OK prompt type "setenv auto-boot? true" (without the quotes)
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

booting problems on solaris

When i try to boot my solaris 2.6 E220R server, i get this error message > INIT: cannot create /var/adm/utmp or /var/adm/utmpx >INIT: failed write of utmpx entry:" " >INIT: failed write of utmpx entry:" " INIT Single User Mode Press Ctrl-d for normal boot process or enter roots password... (10 Replies)
Discussion started by: lealyz
10 Replies

2. Solaris

Solaris m/c not booting

My Solaris machine is not booting.It just stops at the point Boot device: /pci@1e,600000/ide@d/disk@0,0:a File and args: Whether i try boot or boot -s it is stopping at this point.. I tried boot cdom -s.It went into single user mode but I am not able to run a fsck in this mode. Right... (1 Reply)
Discussion started by: lydiaEd
1 Replies

3. Solaris

Solaris 10 is not booting after installation

Hell All, I have installed Solaris10 on my PC (Intel Celeron Processor, Intel Motherboard with builtin video and audio), STAT hard disk, 1GB DDR2 RAM. After finishinig of installation, there is a reboot session comes, and after reboot there comes GRUB. And then when I press entor to solaris to... (3 Replies)
Discussion started by: aburaihanxp
3 Replies

4. Solaris

installed solaris, but xp not booting,but its shown in the menu,urgen help pls!!!

Hi all, I had solaris installed earlier hoping to create a new partition ,i was checking out smc.. Here i accidentally entered to create a new partition but no sooner than i did it,i had a power cut and after that my partition table got corrupted ,i guess... Having no choice i first installed... (2 Replies)
Discussion started by: wrapster
2 Replies

5. UNIX for Dummies Questions & Answers

Help with booting Solaris 9

Folks; I have a Solaris 9 server that after power outage it won't come fully up and i was able to bring it up in single user mode and checked "/var/log/messages" & "/var/adm/messages" with nothing showing since Sept. 17. i ran fsck and no luck. I ran all tests from the OK prompt with no luck... (2 Replies)
Discussion started by: Katkota
2 Replies

6. Solaris

Booting Solaris 10/09

What type of communication does Solaris 10/09 need to do with it's default gateway before it can boot up? (7 Replies)
Discussion started by: bstauffer
7 Replies

7. Solaris

solaris booting problems

hi am trying to get some knowledge on Solaris common trouble shooting problems.. can some one help me in getting most common issues.. and how to solve those issues. thanks in advance (4 Replies)
Discussion started by: aravindreddy
4 Replies

8. Solaris

How to add Solaris text console to Solaris grub2 menu?

Hi, I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that... (1 Reply)
Discussion started by: shamsat
1 Replies
SETENV(3)						     Linux Programmer's Manual							 SETENV(3)

NAME
setenv - change or add an environment variable SYNOPSIS
#include <stdlib.h> int setenv(const char *name, const char *value, int overwrite); int unsetenv(const char *name); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): setenv(), unsetenv(): _BSD_SOURCE || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 DESCRIPTION
The setenv() function adds the variable name to the environment with the value value, if name does not already exist. If name does exist in the environment, then its value is changed to value if overwrite is nonzero; if overwrite is zero, then the value of name is not changed. This function makes copies of the strings pointed to by name and value (by contrast with putenv(3)). The unsetenv() function deletes the variable name from the environment. If name does not exist in the environment, then the function suc- ceeds, and the environment is unchanged. RETURN VALUE
The setenv() function returns zero on success, or -1 on error, with errno set to indicate the cause of the error. The unsetenv() function returns zero on success, or -1 on error, with errno set to indicate the cause of the error. ERRORS
EINVAL name is NULL, points to a string of length 0, or contains an '=' character. ENOMEM Insufficient memory to add a new variable to the environment. CONFORMING TO
4.3BSD, POSIX.1-2001. NOTES
POSIX.1-2001 does not require setenv() or unsetenv() to be reentrant. Prior to glibc 2.2.2, unsetenv() was prototyped as returning void; more recent glibc versions follow the POSIX.1-2001-compliant prototype shown in the SYNOPSIS. BUGS
POSIX.1-2001 specifies that if name contains an '=' character, then setenv() should fail with the error EINVAL; however, versions of glibc before 2.3.4 allowed an '=' sign in name. SEE ALSO
clearenv(3), getenv(3), putenv(3), environ(7) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. GNU
2009-09-20 SETENV(3)
All times are GMT -4. The time now is 04:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy