icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » cpanel/whm is going to drive me crazy.

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old October 4th, 2008, 4:54 PM   #1 (permalink)
Registered User
Comfy Contributor
 
meephead's Avatar
 
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
The thing is, I'm running my own nameserver on here, so I'm not about to have my A record point to 0.0.0.0. With that said, changing the /etc/hosts/ file didn't make the slightest bit of difference, and I changed resolv.conf to use localhost now. But yeah, I still get the email every 24 hours. I don't even understand why any of these files should point to 0.0.0.0, that doesn't make any sense to me.

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.
The actual update is still performed though.

If anyone has any ideas on how to solve some of these things, or at least get cpanel to shut up, let me know.
__________________
[SH103]
http://nemesia.org/
meephead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 5th, 2008, 1:40 PM   #2 (permalink)
System Administrator
On a golden path...
 
Paul's Avatar
 
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
Paul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 6th, 2008, 12:02 PM   #3 (permalink)
Registered User
Comfy Contributor
 
meephead's Avatar
 
Joined in Aug 2006
Hosted on SH103
106 posts
Gave thanks: 3
Thanked 4 times
Sure, my AIM screen name is 'Tenth Dentist', thank you.
__________________
[SH103]
http://nemesia.org/
meephead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 7th, 2008, 5:30 PM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Oct 2008
1 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
Talking solutions

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
Reza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks Reza for this great post!
meephead (October 9th, 2008)
Old October 9th, 2008, 2:58 AM   #5 (permalink)
Registered User
Comfy Contributor
 
meephead's Avatar
 
Joined in Aug 2006
Hosted on SH103
106 posts
Gave thanks: 3
Thanked 4 times
Quote:
Originally Posted by Reza View 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
Thanks, that actually seemed to fix the Stash:XS.pm issue. Although, it seems like it was actually targetting /usr/lib/perl5/site_perl/5.8.8/i686-linux/Template/Stash/XS.pm so deleting the one in the other directory didn't do much. But either way, it worked, so thanks.
__________________
[SH103]
http://nemesia.org/
meephead is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On