UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server and VPS Forum > Technical Support > VPS Hosting - Virtual Private Servers

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-06-2009, 20:26
Member
 
Join Date: Apr 2009
Posts: 87
Default various small issues

1)
Account: 213.175.201.24

Yesterday I went through the 'CFS warnings' on my first account, and got rid of the ones I wanted without any problems. Today I tried the same thing on my new, second account, and everything seemed to go ok again. However, I now get this email every hour:
Quote:
/etc/cron.hourly/modsecparse.pl:

DBI connect('modsec:localhost','modsec',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
On the internet, the solution was described as looking at the password in modsecparse.pl, and copying that to the modsec user in phpmyadmin -> privileges.

I tried that, but I'm still getting the emails.

Another internet suggestion was to uninstall the modsec plugin in easyapache, and then reinstall it and rebuild apache again. This seems a bit drastic, but would that work?

Any other ideas?

2)
I have two VPS-01 accounts. Am I supposed to have access to something called 'virtuozzo power panel' on port 4643? It just times-out on both when I try.
I got the information from here:
What is Virtuozzo Power Panel? | Web Hosting UK | Dedicated Servers | VPS Hosting

3)
Today the firewall blocked my IP, and the only way back in was to ask in the chat. My IP is dynamic and changes several times a day (my wireless router loses dns every few hours and needs to be reset; the IP changes every time), so it is useless to add my IP's to the CFS 'ignore' files.

If I get blocked again, is there a way to remove my IP from the CFS/LFD deny-lists myself?

4)
On my first account ( 213.175.201.228 ), Drupal cron.php is causing 'suspicious process' emails.
In the LFD 'file ignore' config I tried adding: */cron.php
However, that hasn't stopped the emails.
Any ideas what's wrong with the syntax?
I basically want LFD to ignore every cron.php file on the server when they run.

Sorry for the odd 'hotch-potch' of issues!
Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-06-2009, 21:01
Senior System Administrator
 
Join Date: Oct 2006
Posts: 332
Thumbs up Hello

Hello,

I am looking into your issue and will get back to you as soon as possible.
__________________

Best Regards,
Sebastian
Senior System Administrator
http://www.eukhost.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-06-2009, 21:40
Member
 
Join Date: Apr 2009
Posts: 87
Default

Thanks!
Just whenever you can - none of these problems are high priority.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-06-2009, 22:21
Senior System Administrator
 
Join Date: Oct 2006
Posts: 332
Thumbs up Hello

Hello,

1) Glad to know that you have solved CSF warning issue Regarding mysql socket error, possible reasons are :

- If the mysql process has got stucked, just check running mysql processes and then kill them manually. Then restart mysql service.

Quote:
ps aux | grep msyql
kill -9 <PID>
service mysql restart
- Seems like the perl module is having problems connecting to the MySQL socket. If the modsec user or the database is having any issue then we can try reinstalling mod_security.

- The password is not the issue, because if the password is wrong then you should get different error like “Access denied for user ‘modsec’@'localhost”.

So, you can try reinstalling mod_security through easyapache.

2) I have just checked and https://Ipaddress:4643/ is working fine for me.

3) Well, either you can add any trusted static IP address (belongs to your colleague or friend) in csf.allow and then login from it, to remove your IP address from the deny list Or simply generate a live chat session, we will do it for you quickly (this is recommended option).

4) I have added cron binary path in /etc/csf/csf.pignore so that it will ignore all cron processes. You cannot just add “*/cron.php” in csf.fignore because this will just ignore crons which are owned by root user. If you would like to ignore particular user cron then you have to write user:username which will ignore all processes running by this user.
__________________

Best Regards,
Sebastian
Senior System Administrator
http://www.eukhost.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-06-2009, 21:50
Member
 
Join Date: Apr 2009
Posts: 87
Default

1) modsecparse.pl
I uninstalled modsec on 213.175.201.24 and the warnings seem to have stopped.
I'll try reinstalling it tomorrow when I have time. Hopefully the error won't be
reintroduced.

2) vzpp timeout
You're right: 213.175.201.24:4643 works - I accessed the parallels panel
However, my other account: 213.175.201.228:4643 times-out.
I'm not sure I'd use vzpp much, so it's not that important.
If anyone knows what's wrong and can fix it in a couple of minutes, OK.
But please don't spend precious time trying to troubleshoot it.

3) CSF blocking self
If it is normal for customers to get tech support when they're blocked, that's fine.
Don't you guys get sick of it though? It must happen quite often!

4) cron.php is 'suspicious process'
Unfortunately the 'crond' line didn't work - I still got emails.
I tried this instead:
Code:
cmd:php /home/NAME/public_html/SUBDOMAIN/cron.php

If it works, I'll try a wildcard regex path that'll exempt all Drupal cronjobs on the server

Cheers!
Great service and advice as usual!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-06-2009, 22:58
Senior System Administrator
 
Join Date: Oct 2006
Posts: 332
Thumbs up Hello

Hello,

1) modsecparse.pl :
If you wish we will reinstall mod_security module for you.

2) vzpp timeout :
Yes, https://213.175.201.228:4643 was not working. I have disabled port redirection from the hardware node and now it is working fine. You should not face the same problem again.

3) CSF blocking self :
Yeah, this is the only option. You can set CT_LIMIT as per your requirements from csf configuration file (csf.conf). This option specifies number of connection limit for all IPs.
It takes 2 mins for us to remove any ip from csf.deny list so, it is ok with us

4) cron.php is 'suspicious process' :
I think "cmd : php" option will help you because it specifies exact path of the cron. Please get back to us if it not works.

Appreciate your patience and understanding.
__________________

Best Regards,
Sebastian
Senior System Administrator
http://www.eukhost.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-06-2009, 23:26
Member
 
Join Date: Apr 2009
Posts: 87
Default

> If you wish we will reinstall mod_security module for you

It's simple enough I think. I come back to you if something goes wrong!


> vzpp timeout:
> I have disabled port redirection from the hardware node and now it is working fine.

Confirmed. Thanks!

> cron.php is 'suspicious process' :
> I think "cmd : php" option will help you because it specifies exact path of the cron.
> Please get back to us if it not works.

Thanks, I will!
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
Display Modes

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

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



All times are GMT. The time now is 03:56.

 

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Astersik, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines
VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service