Apache :: Cannot Start Server - No Listening Socket Available
Nov 14, 2012
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)
View 2 Replies
ADVERTISEMENT
Oct 29, 2014
I am setting up apache 2.4 as a service locally through localhost on a windows 2008 R2 standard server. I have set up SSL listening on port 443 and works correctly, however I am having trouble figuring out how to get apache to authenticate my CAC card.
I have downloaded the DOD certs and put them into various types of files including pem, base 64, der etc and I have yet to figure out a way to get the client certificates validated.
I have left out the information about the SSLCertificateChainFile, SSLCACertificateFile and SSLCARevocationPath as I am sure this must be where my problem is.
Is it possible to get this done through localhost. Here is the error I am getting in the error log.
[Wed Oct 29 11:37:05.675491 2014] [ssl:error] [pid xxxx:tid xxx] [client 127.0.0.1:59282] AH02039: Certificate Verification: Error (20): unable to get local issuer certificate
I am using a self created self signed server ceritficate. Here are some details from my httpd-ssl.conf file:
Code:
<VirtualHost _default_:443>
DocumentRoot "${SRVROOT}/htdocs"
ServerName localhost:443
ServerAdmin admin@example.com
ErrorLog "${SRVROOT}/logs/jtdi.log"
TransferLog "${SRVROOT}/logs/jtdi-Transfer.log"
[Code] ....
View 1 Replies
View Related
Jan 13, 2013
Server easily install but it could not be start ,,,it says that Server Root must be a directory..
View 1 Replies
View Related
Nov 16, 2008
Server down after start apache! Too many connection!
When im start apache on server, its crashed.
I am see following error, in access log:
Where is issue and how can fix it?
-bash-3.1# tail -f /var/log/httpd/access_log
::1 - - [16/Nov/2008:20:54:23 +0330] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [16/Nov/2008:20:54:24 +0330] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)" ....
View 4 Replies
View Related
Jun 7, 2013
I am using Wamp server 2.2.
I recently made some changes to the Apache configuration to allow me to make a virtual host for the Zendframework. the change i made were as follows:
<VirtualHost 127.0.0.1>
ServerName zendy
DocumentRoot "C:workspacezendypublic"
SetEnv APPLICATION_ENV "development"
<Directory "C:workspacezendypublic">
DirectoryIndex index.php
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost>
Since these changes were made, my wamp server will not start up. the wamp bar remain red.
What I have to do to find out/trace where the fault is?
View 3 Replies
View Related
Jun 19, 2009
When trying to migrate a server to Virtuozzo i get the following error : getpeername error 88 (Socket operation on non-socket)
Anyone got any idea what this might be?
View 2 Replies
View Related
Oct 2, 2007
"Can't write to data socket. Socket error = #10054. fix?"
search around a few websites couldn't find a fix.. just people chatting about there error
View 1 Replies
View Related
Jul 8, 2008
I've a strange problem with my flashchat realized on php and xmlsocket.
I premise that chat works fine with 100 concurrent user.
But When the number rises, and I've been to 350 users at the same time, something happens to the server which makes the whole thing freeze.
After I eliminated just about everything that can go wrong with the php side of things, we came to the conclusion that this must be something related to the apache, since if before the php socket server went bad on account of an error, we simply needed to relaunch the php again, and everything would start up and work just fine untill the next crash.
We have a unix server, using Apache 2, php 4.something or 5 (but again, problem is not there), did anyone knows what this could be? are we passing some limit of sockets connections Apache has that we don't know about? a limit of data transfer we are breaking? my script, when running and holding on to 300 users, use about 2-3 Mbit of bandwidth, nothing to get excited about.
View 5 Replies
View Related
Jun 18, 2009
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:
MinSpareThreads 25
MaxSpareThreads 35
ThreadsPerChild 25
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
View 6 Replies
View Related
Apr 23, 2013
I've installed apache, php5 and php handler but couldn't able to the start the server and my error log is below.
stalling the Apache2 service
The Apache2 service is successfully installed.
Starting the Apache2 service
The Apache2 service is running.
ce] Apache/2.0.64 (Win32) configured -- resuming normal operations
[Mon Apr 22 21:16:59 2013] [notice] Server built: Oct 18 2010 01:36:23
[Mon Apr 22 21:16:59 2013] [notice] Parent: Created child process 1060
[Mon Apr 22 21:16:59 2013] [notice] Child 1060: Child process is running
[Mon Apr 22 21:16:59 2013] [notice] Child 1060: Acquired the start mutex.
[Mon Apr 22 21:16:59 2013] [notice] Child 1060: Starting 250 worker threads.
[code]....
View 7 Replies
View Related
May 2, 2014
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 ?
View 6 Replies
View Related
Jan 20, 2014
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.
View 3 Replies
View Related
Jul 10, 2014
I'm testing on Windows 7 x64 SP1.
I have downloaded httpd-2.4.9-win32.zip from VC10 Win32 link which includes IPv6 Crypto apr-1.5.0 apr-util-1.5.3 apr-iconv-1.2.1 openssl-1.0.1h zlib-1.2.8 pcre-8.34 libxml2-2.9.1 lua-5.1.5 expat-2.1.0.
I unzipped and installed on my system. Configured SSL. I installed in directory C:Apache24
View 10 Replies
View Related
Sep 16, 2008
Is there anywhere where I can run a php socket server that is not a dedicated server.
I doubt that there is, but you never know maybe out there somewhere there is someone that allows this.
View 6 Replies
View Related
Oct 8, 2007
If you have a socket F m/b, does a socket 940 heatsink works nicely on a socket F m/b? I can fit the original socket 940 heatsink on a socket F m/b but I am not sure whether there are any cooling related problems?
According to the thermal design guide, it says:
Quote:
The heat sink, fan, mounting spring clip, and thermal interface material used for the AMD PIB thermal solution for socket F (1207) processors are the same as the heat sink, fan, mounting spring clip, and thermal interface material used for systems based on the socket 940 processor.
The plastic retention frame, made of 20% glass-filled Lexan, is a two-piece implementation rather than the single-piece frame used for socket 940. This change accommodates the larger foot-print of socket F (1207) processors.
[url]
So are they interchangeable?
I do have socket F heatsinks just to save the hassle of testing and breaking things.
The reason I am asking is that it is tough to find socket F heatsinks here, and there are some socket 940 HSF floating around so I might as well use socket 940 HSF when somehow the ones that I have are not working or I run out of socket F coolers.
View 2 Replies
View Related
Jun 3, 2007
I have a somewhat unusual question for a hosting forum, but it seems to fit here reasonably well. I figure that anyone who does colo would know about buying and selling servers.
Right now, I have a very high-end system, basically a Sun V40z:
[url]
It is fully configured with processors, memory, but only has a single hard drive currently. The system comes with a built in management processor and OS; from the console you can boot/restart the server, check which DIMMs or processors are working (or failed), etc. It has been barely used, and is in mint condition.
I'm thinking about selling it, because I'd prefer a smaller, more compact server.
Where do you guys go to sell servers? Based on listings here, the server seems to sell in the range of 20K, with a warranty of sorts (30 days):
[url]
Obviously, I can provide no warranty, but I have pretty much the same configuration.
It's meant to be a pretty high-end database server, and I just don't need this many horsepower.
View 8 Replies
View Related
Oct 6, 2009
i developed a socket application to recive data from port.this application recvng data from a unit through port no 4444(Vehicle Tracking unit). this application recvng data and evrything is ok....but some times no anydata is coming in to this application.for eg:if application recves data 2 days after that 2 days it will recve one or two data only....again after 2 days it will recve all data correcly....that means lot of missing data we have....my question is whether this missing data is bse of my socket application or unit?
The manufacturing company telling us unit is sending the data continuiously..but some times this socket application is not recvng data in 2 days interval....i dont know how to solve this issue....is any other setting is required in server to recve data continuously....
i think socket application 100% is ok...unit maufactures telling unit also sending data continuously...then where the problem is???can anybdy share ur idea about this?
View 2 Replies
View Related
Oct 6, 2007
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/thesymbi/public_html/includes/class_core.php on line 274
I get this around 50 times a day!
I am fed up!
View 14 Replies
View Related
Jun 18, 2008
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).
View 6 Replies
View Related
Jun 1, 2007
will time i restarted my apache give me error:
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
View 7 Replies
View Related
Jul 1, 2009
when i restart apache show this error :
[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
View 4 Replies
View Related
Aug 15, 2007
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
View 4 Replies
View Related
Jun 29, 2008
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.
View 2 Replies
View Related
Feb 21, 2008
Is there a way to start apache in linux if it goes down automatically?
View 10 Replies
View Related
Nov 1, 2014
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] ....
View 16 Replies
View Related
Jul 22, 2007
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]
View 14 Replies
View Related