search for: chkconfig

Displaying 20 results from an estimated 752 matches for "chkconfig".

2008 Feb 14
2
kickstart file problem
...39;/usr/lib64/python2.4/tempfile.py'> self: (s: '# setup NTP|echo "setup NTP"|cat << EOF > /etc/ntp.conf|restrict default noquery notrap nomodfiy|restrict 127.0.0.1|server 0.rhel.ntp.org|server 1.rhel.ntp.org|server 2.rhel.ntp.org|driftfile /var/lib/ntp/drift|EOF|/sbin/chkconfig ntpd on|# setup services.|echo "setup services"|/sbin/chkconfig atd off|/sbin/chkconfig autofs off|/sbin/chkconfig avahi-daemon off|/sbin/chkconfig bluetooth off|/sbin/chkconfig cpuspeed off|/sbin/chkconfig cups off|/sbin/chkconfig gpm off|/sbin/chkconfig hidd off|/sbin/chkconfig ip6table...
2009 Nov 10
23
Puppet Not Running chkconfig correctly.
So, I noticed that when adding a service to puppet, puppet is running a chkconfig <service>. However, as far as I can tell, puppet should be running a chkconfig --add <service>, otherwise the symlinks don''t get created from the service in /etc/rc.d/rc6.d back to the service in /etc/init.d. As as a result, the service is not stopped on shut down. I must be m...
2017 Jul 06
2
ntsysv and chkconfig update error
We have a couple of CentOS 7 boxes that were built before I was hired to clean up the kickstart script used for C7 boxes. We had a couple of rpm packages that were pre-C7 that were used and setup the old SysV Init way using ntsysv and chkconfig on these boxes. (I finally fixed that in the newer scripts.) These are out in the field and I'm having to deal with them as they are. One thing I'm having trouble with is updating them without this error: > Error: Package: ntsysv-1.7.2-1.el7_3.1.x86_64 (updates) > Req...
2006 Apr 07
4
heartbeat, drbd init scripts and chkconfig
Hi, We are using the heartbeat and drbd packages from latest centos (4.3) extras repository. Upon installation of both packages I noticed that if you "chkconfig heartbeat off" that will cause drbd to chkconfig'ed on. And visa versa. After doing some trouble shooting it turns out the "BEGIN INIT INFO" sections appear to be the cause. drbd has: ### BEGIN INIT INFO # Provides: drbd # Required-Start: $network $syslog sshd # Required-Stop:...
2011 Jul 22
2
CentOS 6.0 chkconfig strange behavior
Hi, I'm noticing some strangeness with chkconfig on CentOS 6.0 and was looking for a bit of advice. It appears that chkconfig is re sequencing or re ordering the start priority of various services when turning on a service using chkconfig. Example is the network service. Under normal circumstances network is set to start at S10. However when I a...
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...
2013 Dec 13
1
chkconfig question
In the docs for chkconfig it says: <startlevellist> is a list of the runlevels for which the service should be started by default. Only services which are really required for a vital system should define runlevels here. If no runlevels are defined, a - should be used in place of the runlevels list. and then: More c...
2011 Mar 26
2
bug in xen 4.1 install on suse 11.4 (xencommons)
...the xencommons init script preventing xenstored from starting. Add this repo for 4.1 RPM''s ------------- zypper ar http://download.opensuse.org/repositories/Virtualization/openSUSE_11.4 Virt zypper ref zypper in xen-4.1.0_01-106.1 Fix the xen inits  (observe the order here) ------------ chkconfig -s xen-watchdog off chkconfig -s xendomains off chkconfig -s xend off chkconfig -s xencommons off chkconfig -s xencommons on chkconfig -s xend on chkconfig -s xendomains on Preload kernel modules (or xencommons will choke) ----------- nano /etc/sysconfig/kernel    MODULES_LOADED_ON_BOOT="tu...
2010 Nov 26
1
rsyslog as default syslog daemon?
Hi all! Is anybody here using rsyslog? I am looking for the right solution how to use rsyslog in CentOS 5 as the default logging daemon. We use it because of filtering using regular expressions. I switched from sysklogd to rsyslog simply using chkconfig --del syslog chkconfig --add rsyslog chkconfig rsyslog on service syslog stop service rsyslog start but this seems not to be "bullet-proof" solution - when yum automaticaly install updates, sysklogd rpm package runs postinstall scriptlet which unfortunately returns sysklogd back to gam...
2017 Jul 07
0
ntsysv and chkconfig update error
Mark Haney wrote: > > We have a couple of CentOS 7 boxes that were built before I was hired to > clean up the kickstart script used for C7 boxes. We had a couple of rpm > packages that were pre-C7 that were used and setup the old SysV Init way > using ntsysv and chkconfig on these boxes. (I finally fixed that in the > newer scripts.) These are out in the field and I'm having to deal with > them as they are. One thing I'm having trouble with is updating them > without this error: > >> Error: Package: ntsysv-1.7.2-1.el7_3.1.x86_64 (updates)...
2005 Dec 19
3
use chkconfig to change service startup order
Hi, I have my httpd process that starts in runlevel3 with the following info # chkconfig: - 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # pidfile: /var/run/httpd.pid # config: /etc/httpd/conf/httpd.conf the filename is /etc/rc.3.d/K15httpd However I installed an antivirus that uses a tomcat pro...
2004 Sep 06
10
bug in shorewall shorewall-2.1.7-1 rpm??
Hi! I installed shorewall shorewall-2.1.7-1 on a newly installed box. When using 1.4 versions I could enable shorewall in ntsysv, now shorewall doesn''t show up in ntsysv? I am running shorewall on a RedHat Enterprise Linux rebuild (www.taolinux.org). Is this a bug or a feature?
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 expo...
2017 Jul 10
2
chkconfig madness CentOS 7
I have a couple of in use C7 boxes that were built with ntsysv and chkconfig for some old packages that needed to start using init.d. (The person setting these up didn't know about systemd creating service files for older packages, so we're stuck with these as-is. Here's my problem: Error unpacking rpm package chkconfig-1.7.2-1.el7.x86_64 error: unpacking o...
2014 Mar 25
1
sssd run level get turned off automagically
CentOS 6.5 (AMD64) LDAP DS: via SSSD When I did the OS installation (client site), I had turned the service ON with 'chkconfig sssd on' and 'chkconfig sssd --list' showed that it was ON However, whenever the server has been 'hard' rebooted, 'service sssd status' shows that it is not running. 'chkconfig sssd --list' shows it is OFF! I don't understand how it is automagically tur...
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 -----...
2007 Feb 15
2
Initialization scripts
I'm trying to create an initialization scrip in the /etc/init.d/. Of course, the one I have is failing! At the top of the other initialization scripts in the same directory, there is are two lines, the chkconfig and description # chkconfig: 2345 55 25 # description: OpenSSH server daemon On the check config line, what are the numbers/attributes that follow? If I'm creating an initialization script, what numbers/considerations should I make? Thanks, Todd -------------- next part -----...
2013 Sep 23
1
CEBA-2013:1276 CentOS 6 chkconfig Update
...Errata and Bugfix Advisory 2013:1276 Upstream details at : https://rhn.redhat.com/errata/RHBA-2013-1276.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: b7e728c1cb477f0464c8244ab7391216b8e48e04cc4cd1eb306896091b4ac1c8 chkconfig-1.3.49.3-2.el6_4.1.i686.rpm 70db47b60c2bf241090f147ff681266528c8741146357ff1f400104c737016ea ntsysv-1.3.49.3-2.el6_4.1.i686.rpm x86_64: 56694998883d5606d040c0d0ce9d76078aee500aa8e640b5a1f4c8ff6ed20f7e chkconfig-1.3.49.3-2.el6_4.1.x86_64.rpm 35a80e4baffe5331ae317298b1a34c9e8b2544e755a6523997cac3e...
2005 Jul 04
5
SysV install problem in FC4
After a fresh install, I noticed that shorewall 2.4.0 wasn''t starting automatically under FC4. The startup script installs properly from the rpm: /etc/rc.d/init.d/shorewall ... but the post install "/sbin/chkconfig --add shorewall" produces this in the runlevel symlink directories: /etc/rc.d/rc5.d/S-1shorewall /etc/rc.d/rc0.d/K-1shorewall /etc/rc.d/rc6.d/K-1shorewall /etc/rc.d/rc1.d/K-1shorewall /etc/rc.d/rc2.d/S-1shorewall /etc/rc.d/rc4.d/K-1shorewall /etc/rc.d/rc3.d/S-1shorewall As a result of the da...
2008 Jun 28
3
chkconfig update fails
My update to 5.2 fails on one machine because of this error: Transaction Check Error: file /etc/init.d from install of chkconfig-1.3.30.1-2 conflicts with file from package AcronisAgentLinux-9.5.8076-1 file /etc/init.d from install of chkconfig-1.3.30.1-2 conflicts with file from package TrueImageAgent-9.5.8076-1 Obviously, both packages created (completely unnecessarily) the /etc/init.d symlink. I'm going to repo...