Okay we upped to 11.36.1.5 last night and a few things happened.
The master DNS (Full-CP) fired a high load again as before and
my CP-DNS-Only's started their mysqld.
Now I realise this is probably starting to get off topic a little so if you feel we should start a new topic here then I'll understand. But I feel the questions are related.
First I think I may have a clue as to what's happened here. This MasterDNS was originally spec'd as such and I knew it would never be running apache or anything else for that matter. I believe I used the advanced "disable_easyapache_builds method" (or similar) to prevent apache being built at install time. From memory I think it was a option in /root/cpanel_profile/cpanel.config but that file no longer exists so I can't be certain.
Both this DNS-Master and all my other CP's that are not running apache have /etc/httpddisable on there.
This DNS-master however is the only one that has this problem and it seems to be due to missing files.
here is the relevant section of the update log rom last night :
Code:
[20130415.215314] [19366] [Starting zonetemplates]
[20130415.215314] [19366] [Finished zonetemplates (0 seconds)]
[20130415.215314] [19366] [Starting apache]
[20130415.215315] [19366] Enabled scgi-bin since suexec is not installed
[20130415.215316] [19366] Could not determine apache version at /usr/local/cpanel/scripts/ensure_includes line 14.
[20130415.233911] [19366] Failed to create symlink to apxs at /usr/local/cpanel/install/Apache.pm line 133.
[20130415.233911] [19366] Disabling Alias /interchange-5 /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?kpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAlias /scgi-bin /usr/local/cpanel/cgi-sys/scgiwrap
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling Alias /interchange /usr/local/cpanel/3rdparty/interchange/share/interchange/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling Alias /java-sys /usr/local/cpanel/java-sys/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling Alias /img-sys /usr/local/cpanel/img-sys/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAlias /cgi-sys /usr/local/cpanel/cgi-sys/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?whm/?$ /usr/local/cpanel/cgi-sys/whmredirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?securewhm/?$ /usr/local/cpanel/cgi-sys/swhmredirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling Alias /bandwidth /usr/local/bandmin/htdocs/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?securecontrolpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling Alias /sys_cpanel /usr/local/cpanel/sys_cpanel/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?securecpanel/?$ /usr/local/cpanel/cgi-sys/sredirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?controlpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling Alias /akopia /usr/local/cpanel/3rdparty/interchange/share/akopia/
[20130415.233911] [19366]
[20130415.233911] [19366] Disabling ScriptAliasMatch ^/?webmail/?$ /usr/local/cpanel/cgi-sys/wredirect.cgi
[20130415.233911] [19366]
[20130415.233911] [19366] [Finished apache (6357 seconds)]
[20130415.233911] [19366] [Starting bandmin-pass]
[20130415.233911] [19366] Already performed.
[20130415.233911] [19366] [Finished bandmin-pass (0 seconds)]
[20130415.233911] [19366] [Starting bandwidth]
[20130415.233911] [19366] Already performed.
[20130415.233911] [19366] [Finished bandwidth (0 seconds)]
[20130415.233911] [19366] [Starting boxtrapper]
[20130415.233911] [19366] You must use --force to run this utility once it has already been run.
[20130415.233911] [19366] [Finished boxtrapper (0 seconds)]
[20130415.233911] [19366] [Starting chkservdsetup]
[20130415.233913] [19366] [Finished chkservdsetup (2 seconds)]
[20130415.233913] [19366] [Starting chshsecurity]
As before I simply killed the distiller process and the upcp proceeded.
Code:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 19927 99.6 3.2 68432 24904 ? R 21:53 104:37 /usr/local/cpanel/bin/apache_conf_distiller
Now here is the same relevant section from another server that is not running apache either but it doesn't exhibit the same problem :
Code:
[20130416.002304] [24034] [Starting zonetemplates]
[20130416.002304] [24034] [Finished zonetemplates (0 seconds)]
[20130416.002304] [24034] [Starting apache]
[20130416.002305] [24034] Disabled scgi-bin since suexec is installed
[20130416.002307] [24034] Updating default: pidfile
[20130416.002307] [24034] Updating default: lockfile
[20130416.002307] [24034] Updating default: listen
[20130416.002307] [24034] Updating default: group
[20130416.002307] [24034] Updating default: extendedstatus
[20130416.002307] [24034] Updating default: serveradmin
[20130416.002307] [24034] Updating default: servername
[20130416.002307] [24034] Updating default: loglevel
[20130416.002307] [24034] Updating default: serversignature
[20130416.002307] [24034] Updating default: directoryindex
[20130416.002307] [24034] Updating default: listen
[20130416.002307] [24034] Dropping template item for default pidfile
[20130416.002307] [24034] Dropping template item for default lockfile
[20130416.002307] [24034] Dropping template item for default listen
[20130416.002307] [24034] Dropping template item for default group
[20130416.002307] [24034] Dropping template item for default extendedstatus
[20130416.002307] [24034] Dropping template item for default serveradmin
[20130416.002307] [24034] Dropping template item for default servername
[20130416.002307] [24034] Dropping template item for default loglevel
[20130416.002307] [24034] Dropping template item for default serversignature
[20130416.002307] [24034] Dropping template item for default directoryindex
[20130416.002307] [24034] Dropping template item for default documentroot
[20130416.002307] [24034] Dropping template item for default serverroot
[20130416.002307] [24034] Dropping template item for default timeout
[20130416.002307] [24034] Dropping template item for default user
[20130416.002307] [24034] Distilled successfully
[20130416.002307] [24034] [Finished apache (3 seconds)]
[20130416.002307] [24034] [Starting bandmin-pass]
[20130416.002307] [24034] Already performed.
[20130416.002307] [24034] [Finished bandmin-pass (0 seconds)]
[20130416.002307] [24034] [Starting bandwidth]
[20130416.002307] [24034] Already performed.
[20130416.002307] [24034] [Finished bandwidth (0 seconds)]
[20130416.002307] [24034] [Starting boxtrapper]
[20130416.002307] [24034] You must use --force to run this utility once it has already been run.
[20130416.002308] [24034] [Finished boxtrapper (1 seconds)]
[20130416.002308] [24034] [Starting chkservdsetup]
[20130416.002309] [24034] [Finished chkservdsetup (1 seconds)]
[20130416.002309] [24034] [Starting chshsecurity]
[20130416.002309] [24034] [Finished chshsecurity (0 seconds)]
Now I know this thread was originally about rpm.versions but my question is this:
rpm.versions as I understand it controls the installation and update of rpm's. How do we now control whether or not a service will be installed at install time and also whether or not it will be enabled. The CP-DNS-Only servers for instance have MySQL un-ticked under "Server manager" and yet they all fired their MySQL daemons up last night during the upgrade. MySQL (again as I understand it) is not needed for DNS-Only and so (as those of you that know me might expect) I have it turned off. Please correct me if I'm wrong there.
I've also checked :
Code:
root@dnsonly ~# chkconfig --list mysql
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off
root@dnsonly ~#
So how do we have happen what we need. At both install time and during updates
Lastly, it is not really efficient to have a server spec'd to build apache and have it rebuild all that when is just a DNS server. The same goes for other servers that maybe only run exim for example. Even if this machine does have the resources needed and manages to build apache (which I'm not sure it does), I don't really want it tied up when an major update comes out, churning away rebuilding something it will never run.
I've tried to find the advanced install option to prevent easyapache running at install time and can't find it. Has it been deprecated. Did I dream it. I know I didn't do anything that wasn't on
All Documentation or not recommended. Since I have another similar cluster to do soon, what is the rpm.versions equivalent for selecting what daemons/services to do at install and also why is the Service manager not doing what it says it will.
At the moment I don't know if this is a bug, the initial use of a deprecated option or something I've done wrong. I know I didn't have any of these issues before 11.34.1.12 so something has changed and quite a few of my servers haven't handled the transition. It's as if they all want to be full multi-service servers instead of the single dedicated service servers that I planned.
All was happy before with 11.34.1.12, if the setting up of this structure has changed then how do I now implement it again, properly and supported.
Many thanks.