Displaying 20 results from an estimated 60000 matches similar to: "shutdown script"
2010 Dec 04
3
# chkconfig: kill at run level 3
In the control script of my daemon in /etc/init.d?, I have
# chkconfig: 35 97 3
The result of this is that I have links:
/etc/rc.d/rc1.d/K03...
/etc/rc.d/rc3.d/S97...
/etc/rc.d/rc5.d/S97...
As mentioned in a previous thread, my complex daemon throws
an exception when I shutdown. Perhaps things might be better
if I had:
/etc/rc.d/rc3.d/K03...
Might this be a good idea? If so,
2005 Dec 19
6
Shutdown script not being run
I've got an odd problem. My server will not shutdown normally because
the AoE driver is not being shut down properly. While investigating the
problem, I found that the aoe script is apparently not being called for
shutdown. I have been able to duplicate this with a brand new test
script.
My test script is just a simple file that echos back the start or stop
command:
#!/bin/bash
#
2011 Sep 11
4
CentOS 6: ethernet "ifconfig up" failure
On my CentOS 6 partition of my laptop:
First note that for this test, NetworkManager is not
running because I did:
chkconfig --del NetworkManager
and then rebooted.
Here is my ifcfg-eth0:
DEVICE="eth0"
NM_CONTROLLED="no"
ONBOOT=no
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.2.5
PREFIX=24
GATEWAY=192.168.2.1
DNS1=192.168.2.1
DNS2=192.168.2.1
2006 Jun 01
3
Assistance with startup script
Could someone give me some assistance in getting this startup script to
conform to chkconfig and such where the service will start up after
networking comes up, and then shut down when networking goes away?
Where all do entries need to be made, and what would they consist of?
Many thanks.....
Sam
------------------------------------------------------------------------
#! /bin/sh
export
2003 Jan 08
1
Bug#175509: dovecot: init.d script should add some syslog statements on startup/shutdown (fwd)
[Amelia and Timo. As you are both on the dovecot list, I'm replying
there to avoid cluttering up your inboxes.]
This bug was reported to Debian but I feel it should be fixed upstream.
Adding logging in th init script itself would require adding additional
dependencies to the package and not be as convenient.
---------- Forwarded message ----------
From: Amelia A Lewis <amyzing at
2010 Nov 22
4
best way to start and shutdown programs in CentOS?
I have a Java program that I want to start up with every boot, but I'm
unsure how to do it.
There are two bootup scripts that start manually (script1.sh and
script2.sh), and when the server gets shutdown, we have another script that
we run (shutdownscript.sh) so that the DB does not get corrupted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Dec 17
4
- problem with reboot or shutdown
hi all,
I have a problem with my CentOS 6.3 distribution
only when I restart or turn off the machine it does not restart
properly. remains in both cases black screen and then I do not
understand exactly what he's doing.
grub after I hit send and then darkness.
only after that forcement for a further time the power cycle then it works.
the kernel version is 2.6.32-279.14.1.el6.i686
where is
2006 May 03
3
Starting tomcat on bootup
I just installed Tomcat and when I run the chkconfig -add tomcat, it tells
me that tomcat does not support chkconfig.
Suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060502/a84cc5cb/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
2006 Jan 05
2
rc script not running on shutdown
I've create a script and associated links(via chkconfig). The script
runs in the expected runlevels at boot time, but does not run at
all during shutdown(halt, reboot, etc). I swear I've done this
a million times. What am I overlooking?
# cat /etc/issue
CentOS release 3.5 (Final)
Kernel \r on an \m
# chkconfig --list chnghst
chnghst 0:off 1:on 2:off 3:off 4:off
2010 Sep 09
1
Shutdown CentOS VM when closing VMWare Workstation
Hello,
I'm using CentOS 5.5 / 16bit as a virtual machine in VMWare Workstation
and have installed the "VMWare Tools" by running vmware-install.pl and
vmware-config-tools.pl but can't figure out how to make the VM shutdown,
when I shutdown the Windows PC hosting it.
Does anybody please have any hints or scripts?
Do I need to use any VMWare modules if I just want to shutdown the
2013 Sep 13
2
MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe?
Hello,
I've only had experience with PostgreSQL sofar,
but have now to install MySQL (and WordPress)
on a CentOS 6.4 /64 bit server.
I have installed the mysql-5.1.69-1.el6_4.x86_64
package and executed the following commands:
# chkconfig mysqld on
# service mysqld start
# /usr/bin/mysqladmin -u root password 'xxxxx'
# /usr/bin/mysql_secure_installation
Then I've noticed that
2005 Nov 14
1
vif-script not being invoked on domain shutdown/destroy?
This is on a snapshot from 11/12/2005 of unstable.
I wrote some quick debug code into vif-route to see what is going on
during runtime, ex:
echo "xenbus_path = $XENBUS_PATH" >>/root/route.log
echo "command = $command" >>/root/route.log
After starting/stopping a domain a few times it contains:
xenbus_path = backend/vif/20/0
command = online
xenbus_path =
2016 Apr 22
2
upsmon errors with /usr/sbin/pm-suspend as the shutdown command
Hi,
While using pm-suspend script as the SHUTDOWNCMD, upsmon does not
correctly handle its returned values and leaves UPS in the "ups.status:
FSD OL CHRG" state forever.
This is with upsmon 2.6.5 from official Fedora Project packager. Box
running Centos 6.7.
Initially, upsmon would not execute pm-suspend at all. Creation of a
custom SELinux module or changing to Permissive mode
2011 Sep 07
1
CentOS-6 KVM virt-manager will not shutdown guest
I have a CentOS-6 guest VM configured on a CentOS-6 host.
If I run virt-manager then I can start the guest VM but
once it is running I cannot get a shutdown command to have
effect. To shutdown the running guest I either must
select Force Off from the Shut Down menu or open the guest
console and issue shutdown from the command line.
Is there some setting that is required to have Shut Down
have
2016 Apr 07
2
Xen4CentOS 6 64bit - domUs don't shutdown on dom0 after "yum upgrade" to 4.6.1
Hello all,
I'm addressing the mailing list following the suggestion of gwd on
#centos-virt @freenode IRC.
The subject says most of it. Here are the details :
- Was running 4.4.x and configured such that /etc/xen/auto domUs would be
saved/restored on dom0 shutdown/bootup.
- Installation was based on "centos-release-xen" such that "yum upgrade"
brough Xen to 4.6.1.
After
2006 Jun 21
2
startup script for icecast
Hello,
I was wondering about the feasibility of including a startup script for
icecast for redhat/fedora installs? I've had to do an rpm install on an fc4
box, and a source install, rpms couldn't be found for an rh9 machine, yah i
know that's old. And in both cases i had to drop in a custom-made startup
script, see below. I was wondering esepcially in the case of the rpm, and
2006 Apr 04
2
irqbalance is dead, can not shutdown
After updating to centos 4.3, I notice a failure in terminating
irqbalance whenever i shutdown the system. Checking the services after
the system reboot i see the error in irqbalance:
"irqbalance dead but subsys locked"
Can anyone tell me what irqbalance is and if it safe to disable it ?
Why i dont see it in centos 4.2?
Thanks in advance.
Thai
2009 May 23
1
System hang during shutdown (halt)
Alle,
I'm running V5.3 (newly installed) on an FJ E8020 laptop. The problem I
have is when shutting down (*not* rebooting). NetworkManager fails to
stop and after (during?) the postfix shutdown, the system seems to hang.
I cannot access via another screen or remotely. I can't find any clues
in the log files. I could use some suggestions on troubleshooting.
Here are the active
2015 Oct 05
2
Question Wiki Setup a Samba Active Directory Domain Controller
On Mon, 5 Oct 2015, Rowland Penny wrote:
> On 05/10/15 18:56, Birgit Berger (UV Wien) wrote:
>> How do I stop scripts samba, smbd and nmbd being run at startup?
>
> I do not know because you are using Debian Jessie, this uses systemd which I
> absolutely refuse to use!
>
> Perhaps somebody else can tell you how to do this and explain just how they
> are all got
2009 Jun 03
3
System V Init Script
Hey Listees,
I have a question (hopefully quite simple) about the system V init scripts
in /etc/init.d. I have an app installed and for some reason it had no system
V init script. It has been installed a long while now so I can't quite
remember whats going on but basically I remember I wrote the init script my
self and the app is enabled as a service which chkconfig to run at system
levels 3,