CentOS 5 :: Unable Rc6.d Shutdown With Chkconfig
Feb 1, 2010
i am trying to add a script on rc6.d using chkconfig but it doesn't work. I am missing something but i dunno what. I try with a test script /etc/init.d/test cat test
#
# test test
#
# Author: Maurizio Marini
#
# chkconfig: 2345 98 02
# description: this is a test
[Code]...
View 8 Replies
ADVERTISEMENT
Feb 24, 2010
I'm trying to bring up a server on CentOS5 -- working from Debian instructions.
I've just installed postgres and an init.d script postgres8-2.4. My Debian instructions next tell me to execute:
update-rc.d postgresql-8.4 defaults
...which doesn't work on CentOS.
Searching Google, I see that I should use chkconfig instead. But it doesn't work either. My guess is that I to add code to the init.d file, but what?
View 4 Replies
View Related
May 16, 2011
I want to be able to create a service so that the bash script will run every time the server boots up.
I am running CentOS 5.
I have been reading about chkconfig and creating a file in /etc/init.d for chkconfig to handle but I cannot seem to get it to work whenever I 'chkconfig servicename on' and then 'service servicename start'
When I do chkconfig --list my service is listed there.
Can someone provide me with a sample of the file I need to create in /etc/init.d and how to get everything running?
View 2 Replies
View Related
Mar 30, 2010
I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.
When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."
View 5 Replies
View Related
Sep 12, 2010
I want to start my conky while system boots. what i am getting is:
[Code]....
View 2 Replies
View Related
Mar 8, 2010
I've just created a new chkready script. but on trying to add it will the following command I get an error:
Code:
$ chkconfig --add languagetool
service languagetool does not support chkconfig
PS: Just learned how to write a chkconfig script.
View 5 Replies
View Related
Mar 9, 2011
Is it possible to shutdown or to halt by means of cron ? this crontab entry is doing nothing: 45 3 * * * halt
View 2 Replies
View Related
Mar 9, 2010
I have recently upgraded to the 10.04 Alpha and have been unable to reboot or shutdown. I know it's just an alpha and therefore problems are bound to exist, so I tried reinstalling from a live cd of Alpha 3. But I am still unable to reboot or shutdown.To clarify what happens, I click on shutdown or reboot, the pop-up appears, I click on the shutdown/reboot button and it seems to complete it. It says that processes have been killed and something has exited with 255. But my computer is still on. I am guessing that Ubuntu is shutting down, it's just not actually shutting my computer down or restarting it.
View 5 Replies
View Related
Sep 10, 2010
I am using Ubuntu 10.04. From last 3-4 days, after updating, I am not able to shutdown the system. I try to use command, but behavior is same Whenever I try to shutdown the system, it exits from desktop environment and a white screen displays on screen. And nothing happened. One time I did wait for 1/2 hr, but system dont seems to power down.
View 4 Replies
View Related
Jul 9, 2010
I am unable to shutdown the ubuntu system properly. As i click the logout button, the desktop icons and taskbar and everything disappears and only i can see the wall paper... Then i hav to do a hard shutdown by pressing the power button...
View 2 Replies
View Related
Jun 17, 2010
I want to write init.d script, I find some material (It will be wonderful, if you will give some more materials to read) and i have nice script, but it says
Code:
service test_script does not support chkconfig
Where I can read about how to add chkconfig support to the script?
View 3 Replies
View Related
Nov 15, 2010
I want dovecot to start at boot and I can't seem to get this to work.Initially, I installed chkconfig and tried to run "sudo chkconfig dovecot on". This generated a whole bunch of errors about upstart and insserv not getting along properly. I patched chkconfig according to a post on this page:URL...
View 5 Replies
View Related
Feb 20, 2011
How do i disable kudzu without using chkconfig?
Code:
/sbin/chkconfig --level 3 kudzu off
Is there any other way of doing it .
for example by modifying parameter of any file.
Basically i want kudzu to be disabled during the first run of the machine after installation. I have full access to the filesystem without starting the machine(its a virtual machine).
View 10 Replies
View Related
Feb 18, 2011
Usually I use LINUX and I can set the running scripts under /etc/init.d and I can check this with 'chkconfig'. But now by Solaris I got "chkconfig: not found"
View 2 Replies
View Related
Jan 26, 2010
When I try to shutdown or reboot from the system menu in Fedora 12, I am returned to the logon prompt. I am able to shutdown and reboot from a terminal window by issuing the shutdown command as the root user.
View 6 Replies
View Related
Jan 31, 2011
For some reason in the last few days I can no longer logout of KDE, nor will it let me shutdown the system. The only way out is to Ctrl+Alt+Backspace and then shutdown from there. Weird thing is other users can. For me the logout box just disappears and I carry on working or if effects are enabled, the screen blurs and I carry on working. After this the logout box doesn't come back up until I have restarted X (logged out).
I have tried disabling the desktop effects to no availe and I have looked in the messages / kdm logs. So far the only thing I can find is in KDM.log
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error: Could not resolve keysym XF86TouchpadOn
> Internal error: Could not resolve keysym XF86TouchpadOff
I have no idea if this is at all relevant but there are several threads from Google relating to this and GDM, although no cures as far as I can tell.
I would rather not delete my ~/.kde folder again if at all possible as it takes ages to reset everything back to normal.
View 3 Replies
View Related
Apr 30, 2010
A clean install on an all linux AMD desktop machine. Problem is lucid will not shutdown. All that you can see is the background staring at you for good.
I have not had the guts to install fglrx either.
Some software I did install:
View 9 Replies
View Related
May 21, 2010
I installed 10.04 on my old Dell Inspiron 600m laptop. After using it for about an hour, I was suddenly had no option to shutdown or restart the system when logged in on the main and only account. The 'Shut Down' applet on my bar was greyed out and the shutdown option was missing from the system menu.
I removed the 'Shut Down" applet and was unable to re-add it afterwards (wasn't a selection when adding to panel). If I log off, selecting shutdown or restart from the login screen does nothing.
'Sudo shutdown now' will shut it down, though it won't power the system off; it just hangs on an all-white screen.
I saw other posts suggesting Open Office Quickstart was the culprit, though I am not running this.
View 9 Replies
View Related
Jan 9, 2009
I found and modified the following file. It starts JBoss just fine. However, chkconfig refuses to --add it - saying the file doesn't support it.
its in /etc/init.d, root:root, rwx,rx,r and the first few lines...
#!/bin/sh
# chkconfig: 345 100 25
# description: JBoss App Server
# processname: jboss
[Code]....
View 9 Replies
View Related
Mar 11, 2010
doesn't the chkconfig command exists for ubuntu? or is it only for red hat systems?
View 9 Replies
View Related
Aug 31, 2010
I'm on a CentOS server and for the past hours I have been trying to unsuccessfully make a script that will start a binary and keep it running if anything goes wrong with it.
This is what I have:
Code:
#!/bin/bash
# counter daemon
# chkconfig: 345 20 80
# desc: counter daemon
[Code]...
Does anyone know how I can make the script start my application?
View 7 Replies
View Related
Nov 14, 2010
I am unable to shutdown ubuntu after upgrading it to Maverick Meerkat.
I can do Ctrl + Alt + F4 and then Ctrl + Alt + Del but it does not let me use the taskbar button. When I press the shutdown button it just takes me to login page.
View 5 Replies
View Related
Jul 1, 2010
I just installed apt-get hibernate and when my computer shuts down, it will go to a recovery menu. I have to end up killing the machine.
Also when I try to hibernate the machine this error msg will appear: hibernate:Warning: Tuxonice binary signature file not found.
How should I rectify this error?
View 9 Replies
View Related
Aug 8, 2009
I use centro 5 to run a game server with the command ./srcds_run quit -game cstrike -nocrashdialog +map de_dust2 +maxplayers 36 +ip 95.154.192.34 +port 27015 -tickrate 67
which then starts a 36 slot CSS game server but as soon as i close putty it ends now i tried nohub ./srcds_run quit -game cstrike -nocrashdialog +map de_dust2 +maxplayers 36 +ip 95.154.192.34 +port 27015 -tickrate 67 and ./srcds_run quit -game cstrike -nocrashdialog +map de_dust2 +maxplayers 36 +ip 95.154.192.34 +port 27015 -tickrate 67 > srcds.log 2>&1 &
i'm woundering if it something to do with centro 5 why nohub isn't working becouse it works for others either
View 1 Replies
View Related
Sep 10, 2009
I am about to put a server in a data center for the first time.I have got Wake on Lan/Network working on the server, however I have noticed that if the server is shutdown from the front button, it is unabled to be awoken via WOL.Is there a centos solution to this, or is this a BIOS issue, or something else? The server is a Super Micro X7SBi
View 3 Replies
View Related
Feb 23, 2010
I have a server Hp proliant DL160 G6 with CentOS 5.4 . When I do shutdown -h now it doesn't poweroff.
I try differents options for acpi in menu.lst file. acpi=force, acpi=noacpi,acpi=off,acpi=ht but there's the same problem.
This the stdout when I do shutdown:
Halting system...
md: stopping all md devices.
Completed flushing cache on controller 0
ACPI: PCI interrupt for device 0000:05:00.1 disabled
xenbr0: port 2(peth0) entering disabled state
ACPI: PCI interrupt for device 0000:05:00.1 disabled
Power down.
acpi_power_off called
I show you any specific information about my server:
Reboot works fine
View 3 Replies
View Related
May 8, 2010
I am running a server at home, and on rare occasion my server will shut down. Is there a logfile I can check to determine whether the server was shutdown due to a script on the computer, a power loss, or someone hitting the power button? I am not by any means a linux guru, but I know enough to get around.
View 9 Replies
View Related
Aug 17, 2010
I have noticed my server do not shutdown properly sometimes.It should do it with this command in a cron with root session /sbin/shutdown -h now
View 3 Replies
View Related
Aug 12, 2010
I am trying to configure rsh on..but it comes up with a error message error reading information on service -rsh...
when i query rpm -q rsh..It displays rsh package..
View 1 Replies
View Related
Nov 22, 2010
How would you use chkconfig to set the bigd daemon to start at runlevels 2 & 3?
View 3 Replies
View Related