Sponsored Content
Operating Systems Linux How to I change init levels after typing init 1 Post 302384634 by z1dane on Wednesday 6th of January 2010 03:40:13 AM
Old 01-06-2010
Quote:
Originally Posted by gaurav1086
"But how to I connect to the machine? I can't remotely access it and I can't go into the server room."
Can you break into the room? just kidding. hehe.
means you are talking about mofidifying anything thats like somewhere as a moon to you. Unreachable??
Ah alright. I guess I'll have to wait till tomorrow and tell the server admins. Thanks for your help.
 

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
AnyEvent::XMPP::Ext::MUC::Room(3pm)			User Contributed Perl Documentation		       AnyEvent::XMPP::Ext::MUC::Room(3pm)

NAME
AnyEvent::XMPP::Ext::MUC::Room - Room class SYNOPSIS
DESCRIPTION
This module represents a room handle for a MUC. METHODS
new (%args) get_user ($nick) This method returns the user with the $nick in the room. get_me This method returns the AnyEvent::XMPP::Ext::MUC::User object of yourself in the room. If will return undef if we are not in the room anymore. get_user_jid ($jid) This method looks whether a user with the JID $jid exists in the room. That means whether the node and domain part of the JID match the rooms node and domain part, and the resource part of the JID matches a joined nick. get_users This method returns the list of occupants as AnyEvent::XMPP::Ext::MUC::User objects. make_instant ($cb) If you just created a room you can create an instant room with this method instead of going through room configuration for a reserved room. If you want to create a reserved room instead don't forget to unset the "create_instant" argument of the "join_room" method of AnyEvent::XMPP::Ext::MUC! See also the "request_configuration" method below for the reserved room config. $cb is the callback that will be called when the instant room creation is finished. If successful the first argument will be this room object ($self), if unsuccessful the first argument will be undef and the second will be a AnyEvent::XMPP::Error::IQ object. request_configuration ($cb) This method requests the room configuration. When the configuration form or an error arrives $cb will be called. The first argument to the callback will be a AnyEvent::XMPP::Ext::DataForm with the room configuration form or undef in case of an error. The second argument will be a AnyEvent::XMPP::Error::MUC error object if an error occurred or undef if no error occurred. If you made an answer form you can send it via the "send_configuration" method below. Here is an example: $room->request_configuration (sub { my ($form, $err) = @_; $form or return; my $af = AnyEvent::XMPP::Ext::DataForm->new; $af->make_answer_form ($form); $af->set_field_value ('muc#roomconfig_maxusers', 20); $af->clear_empty_fields; $roomhdl->send_configuration ($af, sub { # ... }); }); "send_configuration ($answer_form, $cb)" This method sends the answer form to a configuration request to the room. $answer_form should be a AnyEvent::XMPP::Ext::DataForm object containig the answer form with the changed configuration. The first argument of $cb will be a true value if the configuration change was successful. The second argument of $cb will be a "AnyEvent::XMPP::Error::IQ" object if the configuration change was not successful. make_message (%args) This method constructs a AnyEvent::XMPP::Ext::MUC::Message with a connection to this room. %args are further arguments for the constructor of AnyEvent::XMPP::Ext::MUC::Message. The default "to" argument for the message is the room and the "type" will be 'groupchat'. send_part ($msg, $cb, $timeout) This lets you part the room, $msg is an optional part message and can be undef if no custom message should be generated. $cb is called when we successfully left the room or after $timeout seconds. The default for $timeout is 60. The first argument to the call of $cb will be undef if we successfully parted, or a true value when the timeout hit. Even if we timeout we consider ourself parted (and a 'leave' event is generated). users Returns a list of AnyEvent::XMPP::Ext::MUC::User objects which are in this room. jid Returns the bare JID of this room. nick_jid Returns the full JID of yourself in the room. is_connected Returns true if this room is still connected (but maybe not joined (yet)). connection If the room is still joined this method will return the connection on which the room is connected. is_joined Returns true if this room is still joined (and connected). change_nick ($newnick) This method lets you change your nickname in this room. change_subject ($newsubject) This methods changes the subject of the room. AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" COPYRIGHT &; LICENSE Copyright 2007, 2008 Robin Redeker, 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.14.2 2012-01-23 AnyEvent::XMPP::Ext::MUC::Room(3pm)
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy