Sponsored Content
Operating Systems Linux How to I change init levels after typing init 1 Post 302384610 by z1dane on Wednesday 6th of January 2010 02:02:45 AM
Old 01-06-2010
How to I change init levels after typing init 1

Dear all,

I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel):

1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins

So now I can't connect back to it. How do I change the init back to 3? Naturally I can't ssh to it and the box is in the server room, which I don't have access to Smilie

Could you suggest what I can do?

Many many thanks,

Dave
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

init.d

I have written a daemon and want to make sure that it starts up again after the machine is re-started so I can quit manually doing it. Problem is I'm having difficulty understanding what to do with the init.d Any help would be appreciated! (1 Reply)
Discussion started by: BC_Kevin
1 Replies

2. UNIX for Advanced & Expert Users

Init 6 & Init 0 problem

Hi Expert, I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0.. I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies

3. Solaris

Init levels

I have a problem, i dont know if its a normal behaviour or not, i can go to a lower init level, but i cant go to a higher one again, for instance i can run the command init 2 while im at init 3 and when i do who -r i find myself go down to 2 but if i type init 3 and wait im still finding myself in... (1 Reply)
Discussion started by: XP_2600
1 Replies

4. Solaris

different between /sbin/init and /usr/sbin/init

root@test09 # ls -al /sbin/init -r-xr-xr-x 1 root sys 550000 Jun 29 2002 /sbin/init root@test09 # ls -al /usr/sbin/init -r-xr-xr-x 1 root sys 37100 Jun 29 2002 /usr/sbin/init (2 Replies)
Discussion started by: userking
2 Replies

5. UNIX for Dummies Questions & Answers

About init

I know if a parent process exits before its child, the last one becomes orphan for a while and then is added to the children of Init process. I'd like to know deeper 1 how the orphan becomes init process, 2 how init knows that from a some point on it has another child. Thank you in advance. (2 Replies)
Discussion started by: Puntino
2 Replies

6. Red Hat

Difference between 'init s' and 'init 1'

What is the difference between 'init s' and 'init 1'. I know that both will work to change the current run level to single user mode. Is there any difference in those two commands? (5 Replies)
Discussion started by: praveen_b744
5 Replies

7. UNIX for Advanced & Expert Users

Problem on init 0, execution is the same with init 6

Hi, I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS. When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies

8. Solaris

What is the diffe b/w init s and init S

i did my research in finding the answer but couldn't find right one. Please give your inputs. (6 Replies)
Discussion started by: ranumala
6 Replies

9. Red Hat

init-script failing because of /etc/rc.d/init.d/functions

I encountered a problem on one of our database servers. OS: CentOS 5.5 final Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel) We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies

10. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies
String::CamelCase(3pm)					User Contributed Perl Documentation				    String::CamelCase(3pm)

NAME
String::CamelCase - camelcase, de-camelcase VERSION
Version 0.01 SYNOPSIS
use String::CamelCase qw(camelize decamelize wordsplit); print camelize("some_keyword"); # ==> SomeKeyword print decamelize("SomeKeyword"); # ==> some_keyword print wordsplit("some_keyword"); # ==> (some, keyword) print wordsplit("SomeKeyword"); # ==> (Some, Keyword) EXPORT
This module can export two functions, "camelize" and "decamelize". FUNCTIONS
camelize($under_score) convert from under_score text to CamelCase one. decamelize($CamelCase) convert from CamelCase text to under_score one. wordsplit($str) AUTHOR
YAMASHINA Hio, "<hio at cpan.org>" BUGS
Please report any bugs or feature requests to "bug-string-camelcase at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=String-CamelCase>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc String::CamelCase You can also look for information at: o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/String-CamelCase> o CPAN Ratings <http://cpanratings.perl.org/d/String-CamelCase> o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=String-CamelCase> o Search CPAN <http://search.cpan.org/dist/String-CamelCase> SEE ALSO
CamelCase(en.wikipedia.org) <http://en.wikipedia.org/wiki/CamelCase> CamelCase(ja.wikipedia.org) <http://ja.wikipedia.org/wiki/%E3%82%AD%E3%83%A3%E3%83%A1%E3%83%AB%E3%82%B1%E3%83%BC%E3%82%B9> COPYRIGHT &; LICENSE Copyright 2006 YAMASHINA Hio, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2009-12-27 String::CamelCase(3pm)
All times are GMT -4. The time now is 11:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy