07-23-2009
when the system is in runlevel 3, please run the command "uname -a" and post the output.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All greetings:)
I had problem: hangs linux a server, and hangs always on miscellaneous and at various times, for example, can stand about one week, and can and in some minutes after reboot. Tried on a server to put windows 2003, with him problems do not arise. What could it be?:)
I from... (4 Replies)
Discussion started by: SDaniel
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
I,ve a Unixware 7.1.4 Server, that it works OK, but suddenly it's hang up for six hours. In the server's console appears the messages of the registration product, the same that appears when the machine restart normally. while thats messages appears the console is lock and the server is out... (0 Replies)
Discussion started by: By_Jam
0 Replies
3. HP-UX
INIT:Command is respawning too rapidly
Check for errors:
id:cons /usr/sbin/getty console console
A solution I read about in a different HPUX Forums help pages on line, said to add the -h option to this command in the /etc/inittab file to correct the problem.
I tried this and it did not... (2 Replies)
Discussion started by: 1bigdog
2 Replies
4. Red Hat
Hello everybody..
I have RHEL-4 Server with kernel - Linux 2.6.9-78.0.1.ELlargesmp x86_64
It is used for Development usage..
That server got hang and so reboot was required, when checked log file i found following messages,
kernel: warning: many lost ticks.
kernel: Your time source... (4 Replies)
Discussion started by: laxmikant
4 Replies
5. Linux
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?... (8 Replies)
Discussion started by: z1dane
8 Replies
6. Red Hat
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
7. Red Hat
Hello Folks,
when i run simple ls command i am getting the output properly. See below:
# ls
ecapPlat.err FileMover.log.2 FileScrubber.log.1 MeasServer.log mysentfile surv.log
ecapPlat.log FileMover.log.3 FileScrubber.log.2 MeasServer.log.1 netConfig.err TimeServer.log
FileMover.log... (1 Reply)
Discussion started by: manuswami
1 Replies
8. Solaris
hi guys,
I don't know why I run this command:
echo a>/dev/console
It is not responsed from console and hang. If I run echo a>/dev/null, it is OK.
here it is the console file:
mcl1101 root#ls -ltr /dev/console
lrwxrwxrwx 1 root other 30 Aug 18 2009 /dev/console ->... (4 Replies)
Discussion started by: caspian
4 Replies
9. Red Hat
Dear All ,
One of our Oracle Database Server , which got hanged a couple of days before , so that we could not login to the Server , but it was pinging.
So we tried various options and at last we did a reboot of this server.
To find out the root cause of the Server Hang , when i checked the... (2 Replies)
Discussion started by: jegaraman
2 Replies
10. AIX
Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here.
server: sbkovwadmd01
sbkovwadmd01# chnfsdom
Current local domain: edw.dev
sbkovwadmd01# lssrc -a | grep nfs | grep active
nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies
LEARN ABOUT LINUX
runlevel
runlevel(8) System Manager's Manual runlevel(8)
NAME
runlevel - output previous and current runlevel
SYNOPSIS
runlevel [OPTION]... [UTMP]
DESCRIPTION
runlevel reads the system UTMP file, which defaults to /var/run/utmp when no alternate filename is given, to locate the most recent run-
level record.
The previous and current runlevel from that record are output separated by a single space. If there is no previous runlevel in the record,
the letter N will be substituted.
If no runlevel record can be found, runlevel outputs the word unknown and exits with an error.
During system boot, the environment variables RUNLEVEL and PREVLEVEL will be set by the init(8) daemon, these come from the runlevel(7)
event generated by telinit(8) or shutdown(8).
When these environment variables are set, runlevel will output the values from these instead. Thus runlevel can be used in rc scripts as a
replacement for the System-V who(1) -r command.
OPTIONS
--quiet
Does not output the current and previous runlevel, nor does it output unknown in the case of error (but it will exit with an error
code).
This may be used to test for the presence of a runlevel entry, or to check for errors reading from the file.
EXIT STATUS
runlevel will exit with status 0 if a UTMP record was found, otherwise it will exit with status 1.
ENVIRONMENT
RUNLEVEL
runlevel will read the current runlevel from this environment variable if set in preference to reading from /var/run/utmp
PREVLEVEL
runlevel will read the previous runlevel from this environment variable if RUNLEVEL
was given, in preference to reading from /var/run/utmp
FILES
/var/run/utmp
Where the current and previous runlevels will be read from.
NOTES
The Upstart init(8) daemon does not keep track of runlevels itself, instead they are implemented entirely by its userspace tools.
A change of runlevel is signalled by the runlevel(7) event, generated by either the telinit(8) or shutdown(8) tools. This event includes
the new runlevel in the RUNLEVEL environment variable, as well as the previous runlevel (obtained from their own environment or from
/var/run/utmp) in the PREVLEVEL variable.
As well as generating the event, both tools write the new runlevel back to /var/run/utmp and append a new entry to /var/log/wtmp.
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
runlevel(7) init(8) telinit(8) shutdown(8) who(1)
Upstart 2009-07-09 runlevel(8)