All accounst in my dedicated server start to show a very strange error_log with the following entries:
====
[04-Nov-2009 21:28:51] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_interbase.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_interbase.dll: cannot open shared object file: No such file or directory in Unknown on line 0 .....
====
Always when a php script is accessed, new entrie with this error above is created.
I dont understand because php script have not any relation with intebase or pgsql and my server have not this e db installed.
We used to be on a reseller acct (RedHat Enterprise, Apache 1.x, PHP4, cPanel 10) that would generate error_log files under the directory of the error(s). This was done without any special scripts under those directories or anything, it just did it.
Googling it, it appears that Apache did this by default but apparently it doesn't anymore.
With CentOS 5, Apache 2.2.x, PHP5 and cPanel 11 I can't figure out how to enable these error logs. I've Googled my brains out, been through the php.ini and httpd.conf and nada, nothing. The errors show up in the cPanel error logs but it's much easier and quicker when it generates the log file in the offending directory.
In /usr/local/apache/logs/error_log there are hundreds of these lines:
Quote:
mod_security: Filtering against POST payload requested but payload is not available [hostname "www.somedomain.com"]
This is a result of:
Code: SecFilterScanPOST Off Is there a way to exclude that line being logged in error_log file? If I turn it ON, those errors won't show up in error_log anymore, however, it'll break some scripts on my server. I prefer to leave it OFF.
When I was a customer at hostgator, whenever a terminating error within php was displayed it would log in the parent directory in a file called "error_log".
I want this to happen now on our dedicated server. I've looked at my local apache error log and it doesn't appear to show the same info as hostgator's setup showed.
Lately our VPS has needed to be restarted frequently (1-2x daily for the past 5 or so days).
I have pulled our eror_log file and pasted below the last several days. I am hoping someone can take a look at it and point me in the right direction.
Because of limitations, I cannot post anything with urls, but the two errors that have been occuring most frequently are below
Code: [Mon Mar 3 07:37:22 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Mon Mar 3 07:37:32 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Mon Mar 3 07:37:42 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Mon Mar 3 07:37:52 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Mon Mar 3 07:38:02 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Mon Mar 3 07:38:12 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Wed Mar 5 07:44:02 2008] [error] Bad pid (15524) in scoreboard slot 44 [Wed Mar 5 07:44:02 2008] [error] Bad pid (3750) in scoreboard slot 46 [Wed Mar 5 07:44:02 2008] [error] Bad pid (3751) in scoreboard slot 47
[Wed Jan 30 22:31:33 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml [Wed Jan 30 22:31:33 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico [Wed Jan 30 22:29:36 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml [Wed Jan 30 22:29:36 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico [Wed Jan 30 22:27:18 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml [Wed Jan 30 22:27:18 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico [Wed Jan 30 22:26:48 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml [Wed Jan 30 22:26:48 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico [Wed Jan 30 22:26:47 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/500.shtml [Wed Jan 30 22:26:47 2008] [alert] [client 150.101.99.206] /home/soupnazi/public_html/Dolphin/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration [Wed Jan 30 22:20:21 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml [Wed Jan 30 22:20:21 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico [Wed Jan 30 22:20:19 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/500.shtml
I just moved to a new vps and I have "ns1.domain.com" and "ns2.domain.com" entries for my primary and secondary nameservers as well as simply "ns1" and "ns2" .... are these the same thing? Is there any harm in having both? Any feedback appreciated!
I have been trying to figure out how to allow a range of IPs with APF. I finally came across the CIDR page on wikipedia and read it though, and now I get it. I just want to confirm one thing before I implement this.
I run a gameserver where I want to allow everyone in the world to connect on a certain port, so can I use this entry?
Code: tcp:in:d=27015:s=192.168.0.0/0 From what I understand, using the /0 CIDR suffix basically means "all IPs". So technically I could use ANY IP address for the source with the /0 suffix and it will work right?
Everytime I create a new website account in WHM I am required to go in and manually edit the DNS record to include the MX record of my mail server.
I would like to streamline the process and need a way to make WHM automatically include my MX records every time I create a new account. Is this possible?
I used to have a dedicated server running Apache 1.x (1.3 I think) and in my httpd.conf there were entries about keepalives, maxservers, minservers etc.
I've now got a VPS from FutureHosting, which is brilliant. In my httpd.conf file though, there are none of the above entries. It is running the latest version of Apache (2.2.11).
Are all the keepalive / minservers settings handled automatically in 2.2 or do I just have a default setting and maybe need to add them manually?
I don't have any load issues so haven't touched the config so far.
I discovered this forum googling and i think is a very good community, so i registered and well... as any noob, started to ask questions U.U im new in this stuff of web hosting... though i know some things... i dont have experience, its my first job in a small web hosting company, and we have a strange problem, we loss entries on /etc/localdomains when we migrate domains from one server to another and nobody knows why... we can fix it trough deleting the dns entry and creating it again on the target server. I know its kinda messy (for me at least) i hope u can give me at least an insight of where the problem might be.
We do the migration trough the migration tool of WHM
Here is some data about the target migration server, if u need something else... please tell me.
CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0
For all newly created domains, they will automatically adopt a DNS template which I've set up in Plesk. But for my own domains (not clients) I've changed my MX entries in my DNS Settings section to point to the server of that of Gmail (Google). The primary server with the highest priority is "aspx.l.google.com"
To get to the point... I receive emails on the Gmail interface, which is stored on the Gmail server, though I have a slight problem when it comes to local emails. In other words...when my server sends out an email to myself (either from a contact form, daily log files, etc...) I don't receive the emails through the Gmail interface, but rather through my POP server, which is logical, since my server is most probably configured to use "mail.yourdomain.com" and not "aspx.l.google.com".
Question : How can I have both incoming emails (from other domains/servers) and local emails (from my own server) go through the Gmail server? I'm guessing that I'll have to edit Sendmail or PHP or something, though I'm not sure, that's why I'm posting this.
Sorry if the post is a bit confusing. I tried my best to explain the situation, though if you have any questions, please respond with them.
I have set up a pair of name servers, the first one is accepted by the registrars and the second one is not. They have been configured identically as far as I can tell.
It appears that some test is run by the registrars to see if the name server can be used.
Is there any way I can find what test it is and get a way to run it to see what the problem is?
Are there scripts or sites where I can run whatever type of test it is and know what the problem is?
I just transfered an existing client of mine to one of my servers but he has MX entries.
I entered the MX settings in Cpanel for him but im wondering if I have to actually add all the mail accounts? Im assuming since he is using MX entries then he is using a seperate server to handle all the accounts. Am I right in my assumption? Do I have to add all his mail accounts into cpanel?
Is this someone trying to gain access to the server and just trying different password or ways? The server is new with no websites hosted yet but already getting this.
Will Brute Force not take care of this?
Is this common? Any ideas?
**Unmatched Entries** sendto(72.64.118.118): Operation not permitted: 72 time(s) sendto(69.182.190.97): Operation not permitted: 73 time(s) sendto(66.93.44.19): Operation not permitted: 72 time(s)
There are multiple occurrences of this at any one time, and the interesting thing is that it appears to be spoofing the source IP addresses - most are all different with few exceptions.
Has anyone else seen this and know of a solution? Normally I would simply use IP deny but given the addresses appear to be spoofed and too numerous it would be futile.. I thought if I programmed OSC to quit if it matched the keywords might be a decent solution, but so far I haven't had any luck
I searched google and this forum to see if I could find out anything with no luck at all, so I'm guessing this is fairly new.
I just got a very cheap box intended to learn HyperVM/OpenVZ. just got it tonight and got 5 IPs. So I add those 4 IPs in the Resources > IP Pools section. I don't know what to add in the Resolv Entries (space Separated) field.
if this is not the correct forum for this, please be free to move them.
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
Few days ago i upgraded cPanel, and then Apache, PHP5, eAccelerator, hadn't updated in ages.
Server worked lightning fast compared to old (PHP 4, older Apache, no eAccelerator), and seemed stable.
Few hours later, server is unresponsive, it took over a day to get the server on the status that i can even see what's happening!
Downgraded back to PHP4, removed suhosin. Still happens. Reworked all the configs, and took all resource limits so low that it survives that, PRM gives 12secs time, enough apache processes etc. Maximum clients lowered to 50 etc. you get the general feel what i did, just to see what's going on.
Now the server survives those 2200+ processes somehow and comes back responsive in some minutes. Killing all PHP processes alone does not solve the problem, but need to restart other services too. All services tend to start crashing when this happens.
Thing is, they are specific user PHP processes, ALL of them, and thus HTTP Request (suPHP), but no log entries for those, i do not see where from they originate, what PHP files are being requested, reworking individual PHP files for that account didn't help at all etc.
I cannot just suspend this account, it's an high importance account for my own needs.
This account gets ~2½million requests a month regularly, and server can handle that.
There was one new reseller account setup for someone else the day this started happening (i upgraded to PHP5 just after accoutn creation) but i think that's unrelated.
Any ideas how to start pursuing a resolution for this? It has started happening more frequently than before, so i'm also suspecting a DDoS, ubt there should be log entries.
Is it possible the requests come so fast that Apache just don't have the time needed to write log?
HDD is the bottleneck actually on this server (ty Leaseweb, you guys gave me the worst HDD of the size you could find and want to charge 25euros a month extra for a proper HDD of same size, 250gb!)
DNS test . . . . . . . . . . . . . : Failed [WARNING] The DNS entries for this DC are not registered correctly on DNS se rver 'DNS.FIRST.IP.HERE'. Please wait for 30 minutes for DNS server replication. [WARNING] The DNS entries for this DC are not registered correctly on DNS se rver 'DNS.SECOND.IP.HERE'. Please wait for 30 minutes for DNS server replication. [FATAL] No DNS servers have the DNS records for this DC registered.
configuration:
Server is a DC/AD. It has 2 IP's, both are static of course. the DNS Servers are manually added into the network configuration properties, as these are provided by the hoster.