I am receiving a lot of cpsrvd emails every day and I am unsure how to stop this error.
I have read somewhere that a possible cause is that there is no space left on the server. I do have a warning in my WHM next to "Disk /dev/hda6 (/) DMA+ 86 %". Could this be a possible cause of the problem?
Code:
Disk /dev/hda2 (/usr) DMA+ 45 %
Disk /dev/hda3 (/var) DMA+ 69 %
Disk /dev/hda5 (/home) DMA+ 21 %
Disk /dev/hda6 (/) DMA+ 86 %
Disk /dev/hda7 (/tmp) DMA+ 4 %
Disk /dev/hda1 (/boot) DMA+ 56 %
Email error:
Code:
cpsrvd failed @ Sat Nov 15 13:00:50 2008. A restart was attempted automagically.
Service Check Method: [tcp connect]
i received 4 emails like this today, and now my sites are offline. what does "cpsrvd failed - A restart was attempted automagicly." mean and why are my sites now offline?
I using PSM (for MGT) & Cyberwurx (hosting) and we're having a heck of time getting our server up and running.
HISTORY: Our server ran fine for years. Cyberswurx was very responsive and PSM solved every issue. Last week, a hacker accessed our server through an "calender" script and was able to deface the index.html pages of all the accounts and setup redirects.
We had Cyberwurx reinstall WHM/CPANEL and had the server cleaned of all corrupt files. PSM restored all the accounts on WHM.
PROBLEM:
1. CPSRVD is constantly failing. 2. When we restart MYSQL server, the server become overloaded. 3. Then it goes offline.
Cyberwurx will reboot the server. Then we start over again...
Platinum Server Mgt has worked on this since last Wed. We are constantly going back and forth between PSM & Cyberwurx.
I did a Graceful Server Reboot, but it seems httpd service not running yet,
I got this error after try to restart Apache..
" Restarting Apache Web Server Waiting for httpd to restart..............finished. httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 3319 httpd has failed, please contact the sysadmin. "
and my Log:
[root@XXXXX ~]# tail -f /usr/local/apache/logs/error_log Failed to start up concurrent users module! [Sat Jul 25 20:39:51 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/loca l/apache/bin/suexec) [Sat Jul 25 20:39:52 2009] [warn] pid file /usr/local/apache/logs/httpd.pid over written -- Unclean shutdown of previous Apache run? [Sat Jul 25 20:39:52 2009] [crit] (28)No space left on device: Unable to create or access scoreboard (anonymous shared memory failure) shmget() failed: No space left on device ....
I a keep received the email as below every 5 min: spamd failed @ Fri Jul 31 09:29:04 2009. A restart was attempted automagically. Service Check Method: [check command]
Cmd Service Check Raw Output: Spamd is not running
unable to send mail prabhu.miracle@itemaindia.com to miracle@itemaspinningindia.com itemaindiaspinningindia.com rejecting mails from itemaindia.com, how to solve this, pls help me friends
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----- The following addresses had permanent fatal errors ----- <miracle@itemaspinningindia.com> (reason: 550-Verification failed for <prabhu.miracle@itemaindia.com>)
----- Transcript of session follows ----- ... while talking to itemaspinningindia.com.: >>> DATA <<< 550-Verification failed for <prabhu.miracle@itemaindia.com> <<< 550-No Such User Here <<< 550 Sender verify failed 550 5.1.1 <miracle@itemaspinningindia.com>... User unknown <<< 503-All RCPT commands were rejected with this error: <<< 503-Sender verify failed <<< 503 Valid RCPT command must precede DATA -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have httpd down right now without any error outputted on errors_log my server is with 4 Quad-Core Intel Xeon 2.66GHz (16 CPu) and 16GB of RAM. Is running CentOS Linux 5.1 and Apache/2.2.8. The site that will be running in this server has an average of 360,000 pageviews daily, so we want to make sure to tweak the configuration at its best.
my httpd.Conf:
Include "/usr/local/apache/conf/includes/pre_main_global.conf" Include "/usr/local/apache/conf/includes/pre_main_2.conf" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the # # configuration file. To have modifications retained, all modifications must be checked into the # # configuration system by running: # # /usr/local/cpanel/bin/apache_conf_distiller --update # # To see if your changes will be conserved, regenerate the Apache configuration file by running: # # /usr/local/cpanel/bin/build_apache_conf # # and check the configuration file for your alterations. If your changes have been ignored, then they will # # need to be added directly to their respective template files. # # # # It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf # # For detailed instructions on using Include files and the apache_conf_distiller with the new configuration # # system refer to the documentation at: [url] # # # # This configuration file was built from the following templates: # # /var/cpanel/templates/apache2/main.default # # /var/cpanel/templates/apache2/main.local # # /var/cpanel/templates/apache2/vhost.default # # /var/cpanel/templates/apache2/vhost.local # # /var/cpanel/templates/apache2/ssl_vhost.default # # /var/cpanel/templates/apache2/ssl_vhost.local # # # # Templates with the '.local' extension will be preferred over templates with the '.default' extension. # # The only template updated by the apache_conf_distiller is main.default. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Include "/usr/local/apache/conf/php.conf" Include "/usr/local/apache/conf/mod_bandwidth.conf" LoadModule security2_module modules/mod_security2.so #Include "/etc/httpd/conf/modsecurity.conf"
ErrorLog "logs/error_log" DefaultType text/plain
<Directory "/"> Options All AllowOverride All </Directory>
<Directory "/usr/local/apache/htdocs"> Options Includes Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all
</Directory>
<Files ~ "^error_log$"> Order allow,deny Deny from all Satisfy All </Files>
<FilesMatch "^.ht"> Order allow,deny Deny from all
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Direct modifications to the Apache configuration file may be lost upon subsequent regeneration of the # # configuration file. To have modifications retained, all modifications must be checked into the # # configuration system by running: # # /usr/local/cpanel/bin/apache_conf_distiller --update # # To see if your changes will be conserved, regenerate the Apache configuration file by running: # # /usr/local/cpanel/bin/build_apache_conf # # and check the configuration file for your alterations. If your changes have been ignored, then they will # # need to be added directly to their respective template files. # # # # It is also possible to add custom directives to the various "Include" files loaded by this httpd.conf # # For detailed instructions on using Include files and the apache_conf_distiller with the new configuration # # system refer to the documentation at: [url]# # # # This configuration file was built from the following templates: # # /var/cpanel/templates/apache2/main.default # # /var/cpanel/templates/apache2/main.local # # /var/cpanel/templates/apache2/vhost.default # # /var/cpanel/templates/apache2/vhost.local # # /var/cpanel/templates/apache2/ssl_vhost.default # # /var/cpanel/templates/apache2/ssl_vhost.local # # # # Templates with the '.local' extension will be preferred over templates with the '.default' extension. # # The only template updated by the apache_conf_distiller is main.default. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PidFile logs/httpd.pid LockFile logs/accept.lock # Defined in /var/cpanel/cpanel.config: apache_port Listen 0.0.0.0:80 Timeout 300 User nobody Group nobody ExtendedStatus On ServerAdmin soso@soso.com ServerName server.soso.org LogLevel warn ServerSignature Off
# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
# SSL <IfDefine SSL> </IfDefine>
# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES. <IfModule mod_evasive20.c> DOSHashTableSize 3097 DOSPageCount 7 DOSSiteCount 100 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod 300 </IfModule> NameVirtualHost xxx.xxx.152.250:80
I was trying to generate ssh key for my server and get this message below
Code: [andyj@server ~]$ ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/andyj/.ssh/id_dsa): [Enter] Enter passphrase (empty for no passphrase): [Enter] Enter same passphrase again: [Enter] open /home/andyj/.ssh/id_dsa failed: Permission denied. Saving the key failed: /home/andyj/.ssh/id_dsa. andyj: this is my username for my domain which is hosted in that server.
How do i allow 'andyj' user to have permission to do this? Note, I can do this with 'root' just fine. I'm using CentOS 5.
my apache crashed and I trying to restart apache from SSH, when I run "service httpd start" I didn't get any message and I come back yo command prompt, but the httpd is down yet
Our DC was perfoming a hardware test on one of our servers and two hours later, they have said:
A fsck was run on this machine which seems to of failed somehow, resulting in the machine failing to boot under any kernel or in single user mode. As such we are at the point of not knowing how to proceed. If you have any ideas please let us know so that we can try to get this up and running.
We had a new hard-drive put in two weeks ago, due to FSCK failing.
I'm in the process of transferring my sites over to a new VPS, which is running CentOS and plesk. The server is also running PHP4 and MySQL4, both of which have to be upgraded for one of my sites (the site depends on PHP5 specific functions and MySQL referential integrity stuff)
So, to begin with, I installed yum to make my job easier. That went without a hitch. Then I did a yum check-update to see what was going to update...among the list was php and Mysql...excellent. When I issued yum update, however, I got a failed dependency error, and for the life of me, I can't solve it. Hoping a centos/plesk/linux guru can help me out here...
Quote:
Running transaction check --> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4 --> Finished Dependency Resolution Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4
My server with cPanel, I have Switch to Pure-ftpd on FTP Configuration and got error, I'm unable to start FTP now
Code: ...... Ftp server is not installed. Exiting. at /scripts/RestartSrv.pm line 191. ftpserver has failed, please contact the sysadmin. Install Complete
Very often now and then, i have 2 issue coming up:
1. Unroutable E-mail bounce back message The message looks like this: you@gmail.com unrouteable mail domain "gmail.com"
I have already set "unlimited" mail per hour on cpanel itself and it should not be giving me this message but it does again.
2. Exim failed by itself (SMTP Error while sending out e-mail) I am using Outlook Express & Thunderbird, sometimes while sending out the e-mail, it gives SMTP error popup message.The e-mail was never sent out. I can only solve this problem by restarting exim manually.
What are the permenant solution for both of this issue?