We are running Apache 2.4.4 (64 bit) with PHP 5.4.15 and OpenSSL 1.0.1g. I have added the following to httpd.conf:
AcceptFilter https none AcceptFilter http none EnableSendfile Off EnableMMAP off
But the log files keep reporting: [mpm_winnt:warn] [pid 2876:tid 1472] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
I am installing xampp 1.8.2 for windows. My OS is win7. When installation is successfully done, I tried to start apache. But it says:
12:51:25 [Apache] Attempting to start Apache app... 12:51:26 [Apache] Status change detected: running 12:51:27 [Apache] Status change detected: stopped 12:51:27 [Apache] Error: Apache shutdown unexpectedly. 12:51:27 [Apache] This may be due to a blocked port, missing dependencies,
my apache has failed. I was setting up the try out section for RVSITEBUILDER ([url]
I performed the run /scripts/restartsrv httpd task and now Apache has failed.
So i first undid what i have just done and tried doing run /scripts/restartsrv httpd but still no luck, so i then tried /scripts/rebuildhttpdconf and then /scripts/restartsrv httpd but still no luck.
I then tried the WHM > Software > EasyApache (Apache Update) to rebuild Apache and after doing that, it came up with an error and still Apache will not start gracefully.
The only way i can get apache to start is by using: 'apachectl start'
But i have noticed that any secure https websites are not working.
I've got the following Issue with Apache 2.4.7: <OS 5> Zugriff verweigert: AH00370: Failed to create WinNT Service Profile
Well i should mention, that the same Packages are running properly configured in a Virutal Machine (same configuration as my Livemachine) without any problems whatsoever.
Its my Livemachine, where Apache keeps returning this Message while attempting to install Apache as a Service.
we recently switched from Microsoft ISA to Apache as a proxy to redirect customers to computers in DMZ. However, since the switch, our system always down due to the threading issue below
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
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]
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