| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Comfy Contributor
Joined in Aug 2006
Hosted on SH103
106 posts
Gave thanks: 3
Thanked 4 times
|
cpanel/whm is going to drive me crazy.
I recently switched over to VPS and I've been working on setting it up the way I like it. The more work I get done, the more problems cpanel gives me.
Probably the most puzzling thing is this daily email I get in my inbox: Code:
IMPORTANT: Do not ignore this email. The hostname (myhostname) resolves to ---.---.---.--- (my real ip). It should resolve to 0.0.0.0. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain. Some are all of these problems can be caused by /etc/resolv.conf being setup incorrectly. Please check this file if you believe everything else is correct. You may be able to automaticly correct this problem by using the ' Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager It also sends me this other email every hour: Code:
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Access denied for user 'modsec'@'localhost' (using password: YES) at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
Essentially it's trying to connect to a database that doesn't even exist (I looked, it's not there). I believe that this is for apache's mod_security, and therefore I could care less about it since I switched to lighttpd. However, I was getting this email before I ever logged into my vps, so I know it wasn't any of my tweaking that caused it. I just want it to shut up and stop emailing me. Would be all right to delete that script from /etc/cron.hourly? And finally during the update process it says this: Code:
Running Cleanups...Couldn't load Template::Stash::XS 2.20: Can't locate loadable object for module Template::Stash::XS in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 31 BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Template/Stash/XS.pm line 31. Compilation failed in require at /scripts/cPScript/Template.pm line 14. BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 14. Compilation failed in require at /scripts/cPScript/AdvConfig.pm line 9. BEGIN failed--compilation aborted at /scripts/cPScript/AdvConfig.pm line 9. Compilation failed in require at /scripts/cPScript/AdvConfig/apache.pm line 19. BEGIN failed--compilation aborted at /scripts/cPScript/AdvConfig/apache.pm line 19. Compilation failed in require at /scripts/cPScript/EditHttpdconf.pm line 37. BEGIN failed--compilation aborted at /scripts/cPScript/EditHttpdconf.pm line 37. Compilation failed in require at /scripts/fixmailmanwithsuexec line 14. BEGIN failed--compilation aborted at /scripts/fixmailmanwithsuexec line 14. If anyone has any ideas on how to solve some of these things, or at least get cpanel to shut up, let me know. ![]() |
|
|
|
|
|
#2 (permalink) |
|
System Administrator
On a golden path...
Joined in Jul 2004
356 posts
Gave thanks: 2
Thanked 73 times
|
Do you use any massager service? MSN/Skype/AIM/ICQ?
I'd like to walk over some of the issues and get them corrected in real time. let me know!
__________________
~Paul Fleming DimeNoc Lead Network Operator. http://img505.imageshack.us/img505/879/birdscf7.gif |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Oct 2008
1 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
|
you should first delete the perl module source file ( /usr/lib/perl5/site_perl/5.8.8/Template/Stash/XS.pm ) , then re-install the Template::Stash:XS.pm perl module using WHM Menu option , Perl module installer, or equivalent shell command
Then update cpanel to latest stabe or release using /scripts/upcp -force Best of Luck Reza Hashemi |
|
|
|
| This user thanks Reza for this great post! | meephead (October 9th, 2008) |
|
|
#5 (permalink) | |
|
Registered User
Comfy Contributor
Joined in Aug 2006
Hosted on SH103
106 posts
Gave thanks: 3
Thanked 4 times
|
Quote:
![]() |
|
|
|
|