[root@server ~]# service httpd start
Starting httpd: httpd: Syntax error on line 19 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libperl.so into server: /usr/lib/apache/libperl.so: undefined symbol: ap_table_merge
I spent all my afternoon on this but I couldn't managed to solve this problem out. Hope someone knows the solution for this one.
I've chrooted Apache and now it won't start. I try to run it with chroot /chroot/httpd httpd and it doesn't start but instead enters a single error in a error log. Something about permission being denied and apr_proc_detach constant. The best part is that I managed to run it flawlessly on an another server, but on this one it won't start. If I start it with -X parameter then it runs fine. Has anyone came across this error before? What libraries I should put in chroot environment to avoid the apr_proc_detach permission denied error?
On another computer it runs without problems, so I believe it's problem me not including all the necessary libraries in the environment (I included everything on the ldd /usr/sbin/httpd list).
Attempting to restart httpd [url] Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd status root 24470 1.0 2.3 23356 21692 ? S 20:25 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
httpd has failed, please contact the sysadmin.
and : root@part5 [/usr/local/cpanel/apache]# httpd configtest Failed loading 1: 1: cannot open shared object file: No such file or directory PHP Warning: PHP Startup: Unable to load dynamic library './' - ./: cannot read file data: Is a directory in Unknown on line 0 Warning: DocumentRoot [/home/hhhhha/public_html/hostmanager] does not exist httpd: bad user name hhhhha
I just setup an instance of Apache on Windows with SSL and it starts by running "httpd.exe", but I can't get it to start as a service. It was running fine before adding the SSL certificate/key pair.
This is the error, I get as a Service:
Quote:
[Wed Aug 15 11:22:09 2007] [info] mod_unique_id: using ip addr 10.254.1.135 [Wed Aug 15 11:22:10 2007] [info] Init: Seeding PRNG with 144 bytes of entropy [Wed Aug 15 11:22:10 2007] [info] Loading certificate & private key of SSL-aware server [Wed Aug 15 11:22:10 2007] [error] (OS 5)Access is denied. : Init: Can't open server certificate file C:/Apache2/conf/ssl/NBCDDSARP10.dev.npe.tic.cert
This is what happens when I run it via "httpd.exe"
Quote:
[Wed Aug 15 11:27:08 2007] [info] Init: Seeding PRNG with 144 bytes of entropy [Wed Aug 15 11:27:08 2007] [info] Loading certificate & private key of SSL-aware server [Wed Aug 15 11:27:08 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Aug 15 11:27:08 2007] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Aug 15 11:27:08 2007] [info] Init: Initializing (virtual) servers for SSL [Wed Aug 15 11:27:08 2007] [info] Configuring server for SSL protocol [Wed Aug 15 11:27:08 2007] [info] Server: Apache/2.2.4, Interface: mod_ssl/2.2.4, Library: OpenSSL/0.9.8e
I have a vps with cheapvps.co.uk.their service is great. I have used it for one month without any problems. but today I noticed that I can not access my vps through web browser. it gave me this error : Connection actively refused by the server
after contacting support it was clear for me that the problem is that xampp apache is not running. and support said that as my vps is unmanaged they can not help me right now.
when I enter this command : /opt/lampp/lampp startapache
I see this message : XAMPP: Starting Apache with SSL (and PHP5)...
and then nothing happens and apache does not start.
I completely removed Xampp and reinstalled it. then when I try to start xamp apache it says :
XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Error 1! Couldn't start Apache! XAMPP: Starting diagnose... XAMPP: Make the httpd.conf fit your system. XAMPP: Next try... XAMPP: Starting Apache with SSL (and PHP5)...
I do not know what to do with httpd.conf and I dont know where exactly it is.
I have delete my old ssl key, now will apache not start...
I have this error show
Fout: Unable to make action: Unable to manage service by apache_control_adapter: Service /etc/init.d/httpd failed to start Service /etc/init.d/httpd failed to start ('--start', 'web')
Code: [root@serwer /]# httpd restart /usr/sbin/httpd restart: httpd not running, trying to start /usr/sbin/httpd restart: httpd could not be started
Code: [root@serwer /]# httpd status Looking up localhost Making HTTP connection to localhost Alert!: Unable to connect to remote host. lynx: Can't access startfile [url]
I have been using Apache 2.2.23 VC9 ssl 0.98 on my windows 7 32 bit PC. I decided to remove the 2.2.23 release and install 2.4.3 VC9 version yesterday. After installation, I was able to run Apache by running httpd.exe from command line. I can also install Apache service using "httpd -k install" with no problem. However, when I tried to start Apache service using "httpd -k start", it didn't work for me. Starting Apache from apachemonitor also failed. I checked error.log and found the following output:
Starting the Apache2.4 service [Mon Feb 18 19:00:33.498207 2013] [mpm_winnt:crit] [pid 7564:tid 376] (OS 1053)The service did not respond to the start or control request in a timely fashion. : AH00378: Apache2.4: Failed to start the service process.
So after a failer update to 12 I ran bootstrap repair.
But Apache wont start. - I get errors like -
Code: [root@ip-188-121-50-106 /]# /etc/init.d/httpd start Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 8 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 7 of /usr/local/psa/admin/conf/vhosts_bootstrap.conf: Could not open configuration file /var/www/vhosts/satking.co.uk/conf/13906902810.95873000_httpd.include: No such file or directory [FAILED]
I encountered a strange problem when installing apache 2.2 or 2.4 as a service and set the service to be automaticly started.On restart of windows, apache service crashes with an access violation.
I'm running Apache 2.2 on Windows 7. I'm a casual user of the Apache server, and the server I'm running is only used to develop a Silverlight application on the local machine, nothing more. The following problem is apparently a non-systematic error (sometimes the server can startup, sometimes it cannot. If it cannot, it sometimes can after a reboot (a service startup race condition?))
I get error when starting the server: "The requested operation has failed!"
When I run "http.exe" from a command prompt I get:
Quote:
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.100 for ServerName (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 No listening sockets available, shutting down Unable to open logs
It does not write anything in the "error.log". It cannot? why? rights? but it could yesterday! anything changed from yesterday, no nothing!
I have tried to start the server many times today, and it has not written anything in error.log. Looking in the log there are many entries from yesterday, when the server probably worked!?
Okay there most be something using port 80 then!
Output from "netstat -o -n -a | findstr :80" is nothing! netstat says there is nothing listening on port 80.
I'm running SQL Server 2008 Express, and "Reporting Service" would be a prime candidate for listening on port 80, but netstat says it is not!
I'm using the ZoneAlarm firewall (the Apache server has been given full trust and permissions), and it has worked previously, I belive it cannot be the problem.
I'm using Avast anti-virus, but everything is disabled in it, and I'm only using it to run a virus check from time to time.
(I don't think it has anything to do with the "fully qualified domain name", because the setting it is complaining about has always been the same, also when the server is actually working, from time to time)
A newby to web hosting, I get a lot of "script not found or unable to stat:" errors. Should I be concerned? The web site seems to be working fine. The entire error message looks like this: script not found or unable to stat: /home/coin99/public_html/cgi-bin/cq/undefined, referer: URL...
The public_html/cgi-bin/cq/ directory contains the main Perl script for my site. It is called 'coins' (no extension). There is no file or directory called 'undefined.' The referer is a page on my site.
New to Apache Web Server. Built the self signed certs, and tried to bring up server after configuring the httpd.conf file.I also included the section of the error log file that is pertinent.httpd.conf removed, use past bin.
Invalid command 'AuthDigestProvider', perhaps misspelled or defined by a module not included in the server configuration..No port is using port 80 or 8080.
Installed Apache Server 2.4.3 (no PHP, etc.) and it was working beautifully for a week or so. Yesterday, I restarted my laptop (nothing changed... no updates that install automatically, etc.) and now Apache won't start. Here are some things I've found out on my quest on figuring out what's wrong:
1. Apache Error Log: [Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00455: Apache/2.4.3 (Win64) configured -- resuming normal operations [Sat Jan 05 14:18:36.745977 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00456: Server built: Aug 18 2012 14:13:48 [Sat Jan 05 14:18:36.745977 2013] [core:notice] [pid 4116:tid 372] AH00094: Command line: 'C:Apache24inhttpd.exe -d C:/Apache24' [Sat Jan 05 14:18:36.747979 2013] [mpm_winnt:notice] [pid 4116:tid 372] AH00418: Parent: Created child process 3436 [Sat Jan 05 14:18:37.335418 2013] [mpm_winnt:crit] [pid 4116:tid 372] AH00419: master_main: create child process failed. Exiting.
2. Nothing else is using port 80 (or 443, for that matter).
3. Apache will start and stay running if I run httpd.exe from the DOS prompt or double-click it from within Windows just fine.
4. Will not run when launched from within the Services or Apache Service Monitor app.
5. Windows Event Error displays the following error: Faulting application name: httpd.exe, version: 2.4.3.0, time stamp: 0x502f863e Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2bcac Exception code: 0xc0000417 Fault offset: 0x0000000000070468 Faulting process id: 0x13d8 Faulting application start time: 0x01cdeb8eefaec475 Faulting application path: C:Apache24inhttpd.exe Faulting module path: C:WindowsSYSTEM32MSVCR100.dll Report Id: 2deab70b-5782-11e2-be94-00247e17b5d9 Faulting package full name: Faulting package-relative application ID:
6. I've tried fixing/reinstalling the C+ redistribution files about 3 times now, to no avail (thinking the error in the event file was caused by a bad/corrupt MSVCR100.DLL).
7. The exception code in the event error is: 0xc0000417 = STATUS_INVALID_CRUNTIME_PARAMETER = An invalid parameter was passed to a C runtime function. (But again, reloading the files didn't solve anything).
8. I have tried removing Apache completely, reloading with default settings, etc. and still having the same issue.
9. Out of desperation, I even tried a registry cleaner (CCClean) and CHKDSK on the drive. Both of those didn't fix anything.
This is it... not sure what else to do/try. Again, everything was fine one moment, and it all stopped working after rebooting my system. I've wasted hours into this issue, and have come up empty handed. I'm beyond frustrated at the moment.
EDIT: The download I used for the server is located here: [URL]...
Can anyone recommend a Apached and MYSQL optimization expert? I just some optimization done on mysql and apache upgraded... but pache wouldn't restart with the following entries:
if i remove above then it starts... but my CPU spikes and I am getting a ton of errors emailed to me:
Invalid SQL: SELECT COUNT(DISTINCT(userid)) AS count FROM vb_session WHERE vb_session.userid>0 AND vb_session.lastactivity>1245294346;
MySQL Error : Out of memory (Needed 8388580 bytes) Error Number : 5 Request Date : Wednesday, June 17th 2009 @ 09:39:06 PM Error Date : Wednesday, June 17th 2009 @ 09:39:06 PM
Its constantly complaining about this same query and i thought i removed all of the vbulletin options...
i am pulling my hair out... cuz my server isn't swapping, ther are 0ver 8GBs in cache.... but my CPU goes up
Here is original problem thread...
[url]
2nd post has recommended config... and my subsequent probs
I have one bare server and installed everything myself. however, I found apache, mysqld can not automatically start after reboot, may I know how to enable them to automatically start after reboot?
I'm facing problem with latest Apache 2.4.9. Previously we used Apache 2.4.7 ​version which supports DER SSL certificates. But Latest Apache(2.4.9) is not working with DER SSL certificates. I have to convert DER certificate to PEM format to start the Apache server. Am i missing anything ? Is DER certificate not supported in Apache 2.4.9 ?
Problem detected! 19:58:32 [Apache] Port 80 in use by "Unable to open process" with PID 4! 19:58:32 [Apache] Apache WILL NOT start without the configured ports free! 19:58:32 [Apache] You need to uninstall/disable/reconfigure the blocking application 19:58:32 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 19:58:32 [Apache] Attempting to start Apache app... 19:58:32 [Apache] Status change detected: running 19:58:33 [Apache] Status change detected: stopped 19:58:33 [Apache] Error: Apache shutdown unexpectedly. 19:58:33 [Apache] This may be due to a blocked port, missing dependencies, 19:58:33 [Apache] improper privileges, a crash, or a shutdown by another method. 19:58:33 [Apache] Press the Logs button to view error logs and check 19:58:33 [Apache] the Windows Event Viewer for more clues 19:58:33 [Apache] copy and post this 19:58:33 [Apache] entire log window on the forums
that is my error message I have changed skype's port from using port 80 and also uninstalled IIS from microsoft I have only installed xampp on its own without wamp server so that they dont conflict.
I use Windows 7, running Apache VC10 in the XAMPP environment. It worked well, I am a newbie, it runned smoothly to programe a brief static page. Now I have everytime this logerror... I didn't change anything in the files and scripts of my apache folder...
[Wed Jan 22 21:12:15.178559 2014] [ssl:warn] [pid 3392:tid 264] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name [Wed Jan 22 21:12:15.272159 2014] [core:warn] [pid 3392:tid 264] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
httpd server configuring.I share my files only from local disks but some of my resources are located on truecrypt secure volume.When I want to start my server now I have to mount my all drives first to have all path active. Otherwise httpd doesn't start with 'invalid path' error.My question is, how to force httpd starting without path or drive exists checking?
Platform Windows7 x64 Apache version 2.4.3 Package Xampp