General :: Starting And Stopping Apache / No Listening To Sockets Available, Shutting Down?

Sep 16, 2010

I have just installed Ubuntu 10.04 and it works fine. Next, I attempted to install Apache 2.2.16 server on the machine. I was able to get Apache installed but I cant't get it to start. The command I used to get it to start is "apachectl -k start" and got the response "command not found". Then I used the absolute path which is "/home/Administrator/Downloads/apache/bin/apachectl -k start" and got the response"httpd: could not reliably determine ther server's fully qualified domain name, using 127.0.1.1 for ServerName(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80.no listening to sockets available, shutting down". Please advise me on what to do. My eyes hurt from looking at the screen for so long trying different options and reading almost all the apache install instructions that exists. Just ready to have it up and running.

View 7 Replies


ADVERTISEMENT

Networking :: HTTPD Not Starting - No Listening Sockets Available

Sep 29, 2010

root@HOST [~]# /etc/init.d/httpd start
Starting httpd: no listening sockets available, shutting down
Unable to open log [FAILED]
root@HOST [~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: no listening sockets available, shutting down
Unable to open logs [FAILED]
root@HOST [~]# tail -n 10 /var/log/messages
Sep 29 17:59:30 localhost avahi-daemon[2870]: New relevant interface wlan0.IPv4 for mDNS.
Sep 29 17:59:30 localhost avahi-daemon[2870]: Joining mDNS multicast group on interface wlan0.IPv4 with address 196.219.240.236.
Sep 29 17:59:30 localhost avahi-daemon[2870]: Registering new address record for 196.219.240.236 on wlan0.
Sep 29 17:59:31 localhost avahi-daemon[2870]: New relevant interface wlan0.IPv6 for mDNS.
Sep 29 17:59:31 localhost avahi-daemon[2870]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::223:cdff:fecb:9c5e.
Sep 29 17:59:31 localhost avahi-daemon[2870]: Registering new address record for fe80::223:cdff:fecb:9c5e on wlan0.
Sep 29 17:59:31 localhost NetworkManager: <info> (wlan0): device state change: 7 -> 8
Sep 29 17:59:31 localhost NetworkManager: <info> Policy set 'Sunsoft1' (wlan0) as default for routing and DNS.
Sep 29 17:59:31 localhost NetworkManager: <info> Activation (wlan0) successful, device activated.
Sep 29 17:59:31 localhost NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
What is the problem I have a local server
CentOS Linux

View 19 Replies View Related

Server :: Apache Crash - No Listening Sockets Available

May 23, 2011

Code:
[Sun May 22 04:02:06 2011] [notice] SIGHUP received. Attempting to restart
(98) Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Above message is from /etc/httpd/logs/error_log.1. Saturday morning I reinstall my server. After finish, no error. I can access my HTTP server. Monday morning it has crashed. I don't know what is the meaning about this message.

View 2 Replies View Related

Server :: Unable To Start Apache - No Listening Sockets Available

Apr 29, 2011

I am very new (since yesterday) to Linux also new to web server setup. I have installed all LAMP components, including SSL as described here: [URL]. I have added LISTEN 443 Wanted to restart the apache server -> no success ! stopped it, now doesn't start at all:

Warning msg=>
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44 no listening sockets available, shutting down . .
Failed

I tested Apache and my PHP earlier and it worked. Now after SSL and FTP installation it doesn't work anymore! Also I am wondering about my server name, it is the set IP of the web server, surly i should change that? Only used link for SSL set-up, used diff links for apache php etc (also have java JRE installed as I will need that later for my app) also have GNOME available, but prefer command line.

View 5 Replies View Related

Server :: Error "no Listening Sockets Available, Shutting Down Unable To Open Logs [FAILED]" When Restart The Service Httpd

Apr 2, 2011

[root@itsupport ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

no listening sockets available, shutting down Unable to open logs [FAILED] Iam facing the above error when i restart the service httpd

View 9 Replies View Related

OpenSUSE Install :: Can't Login To Root In GUI / Error Can't Establish Any Listening Sockets?

Aug 28, 2010

I was logged in as root, made some changes to my users and think I may have inadvertently changed root somehow. Ever since then, my machine runs just fine, I can sudo, Yast, etc without any issues. (Root password is fine) but when I try to log in as root, the system changes the screen display, as if it's going to login, then returns me back to the login prompt without error. If I "ctl+alt+F1", I drop out to the console and can login as root, but cannot startx because the display is already in use.... So, I removed the .X0-lock, but still cannot get the GUI to load. (after running rm /tmp/./X0-lock, I get a fatal error, "can't establish any listening sockets..." "Ctl+Alt+F7" brings me back to the GUI where I am logged in as myself in Gnome) if I login with my user account, everything runs fine and all is well.

View 9 Replies View Related

Ubuntu Networking :: Wired Internet Stopping And Starting 11.04?

Jul 15, 2011

I have a bit off a strange one here, my internet stops and starts. One minute it is fine and the next it will not connect to any web pages or even to the router then its fine again. My machine is a new build Pc were I installed 11.04 as a fresh install, everything was fine till a few days ago when this all started up. I connect to my router via a wired network, the new PC also has a second HD with windows 7 on it and that is fine with the net so I know it must be some sort off software issue but I have not idea what.

Machine setup
Intel 3.3GHz i5 core
4 gig RAM
GeForce GT 220

[code].....

View 9 Replies View Related

Ubuntu :: Get A Handle On Starting / Stopping And Managing Processes?

Sep 17, 2010

I'm trying to get a handle on starting/stopping and managing processes. I was playing around with rcconf and things I disabled (or enabled there) didn't take effect. I found the initctl command, so that led me to believe I'm using Upstart instead of all the rc and init directories. Is there any way to tell? Could I be running both? I'm running an Ubuntu 10.04 server.

View 1 Replies View Related

Debian Configuration :: Starting/Stopping A XEN VM Kills Network For 30 Seconds

Jul 13, 2010

I'm having trouble working with Xen on debian, I have many centos servers running Xen and have no problems. Everytime I start or stop a XEN vm it kills networking on the host OS for about 30 seconds. It doesn't respond to pings or anything, then it returns and everything works. I have asked about this issue in #xen on freenode.

View 3 Replies View Related

Ubuntu Servers :: Apache Not Listening On All NICS?

Aug 19, 2011

I had to reinstall my DMZ webserver the other day. Now I cannot figure out for the life of me figure out why Apache refuses to listen on eth1 it will only listen on eth0. I have it setup so that it listens with * I'm not specifying a particular IP for it to listen on. When I do specify it still doesn't work.

View 9 Replies View Related

Server :: Apache Is Not Listening On Port 8080?

Dec 2, 2010

My Apache is not listening on port 8080. Hence i cant access my server manager [URL]

View 2 Replies View Related

CentOS 5 :: Web Server (Apache) Keeps Stopping And Restarting?

Oct 17, 2009

I am having a problem in that the Web Server (Apache) keeps stopping. I know this as watchdog is emailing me. Then about 15mins later it starts again. I cannot seem to find why. can anyone give me pointers as where to look to find the issue.

View 1 Replies View Related

Server :: Apache Error Log - Caught SIGTERM Shutting Down

Apr 19, 2011

I have this error log in apache it doesn't seems to affect the system but in 4 o 5 days. I have to restart the server cause its work really slow almost impossible to navigate the web pages hosted on it. This is the last 50 lines apache log

[Sun Apr 17 04:02:28 2011] [notice] Digest: done
[Sun Apr 17 04:02:28 2011] [notice] Apache/2.2.17 (Unix) DAV/2 PHP/5.2.16 configured -- resuming normal operations
[Sun Apr 17 04:02:28 2011] [notice] Graceful restart requested, doing restart
[Sun Apr 17 04:02:28 2011] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 17 04:02:28 2011] [notice] Digest: done
[Sun Apr 17 04:02:28 2011] [notice] Apache/2.2.17 (Unix) DAV/2 PHP/5.2.16 configured -- resuming normal operations .....

I have a dedicated Linux 2.6.18-238.9.1.el5 on i686 CentOS Linux 5.6
Apache version 2.2.17
PHP 5.2.16 (cli) (built: Dec 17 2010 14:09:03)

View 2 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

Red Hat / Fedora :: Error - Starting Apache

Aug 10, 2010

Two days back I installed had setup subversion for my laptop from the following link HOWTO: Setting Up Your Own SVN Server (Using Apache and mod_dav_svn) - Mark S. Kolich

I don't know where I messed up the apache server. Now I am unable to start the apache server. I get the following error message:

View 3 Replies View Related

CentOS 5 :: Apache Not Starting When Booting?

Feb 3, 2011

I installed Apache, and it works fine. However, when I rebooted my CentOS, httpd did not start automatically. What do I need to do to ensure it starts when the system boots?

View 2 Replies View Related

OpenSUSE Network :: Apache Not Starting On Runlevel?

Jan 5, 2011

Apache is set to start on runlevel 2, 3 and 5, just like MySQL. For some obscure reason this always fails. I tried resetting the runlevels, but this did not help and I always have to start apache manually after reboot.

How can I analyze this problem? In the Apache logs I don't find the cause. Is there an other log I can check?

View 9 Replies View Related

Software :: Apache Is Not Starting - The Page Cannot Be Displayed

Jan 7, 2010

When I try to start Apache2 (apachectl start) the command prompt returns right away. But when I check the processes (ps ax) I can't find httpd. And when I try to hit the server from a browser I get "the page cannot be displayed" error.

View 11 Replies View Related

CentOS 5 :: Starting Apache But Cannot Browse In Firefox?

Oct 14, 2009

I have a problem, I'm have a course at high school (webserver management) in class this morning we had to install apache, php, ftp and so on but I didn't finish on time so when I got home I was playing around. I'm on wireless here and changed the vm connection from bridge to nat.

normally we had to install apache using yum (yum install httpd) and start the service. that's what I did and then we had to go to firefox (or IE) and type the ip of our server. but when I do I get "problem loading page" instead of the apache default page. I've set httpd runlever 2 to 5 to on and rebooted. but still not working.

View 6 Replies View Related

Ubuntu :: Boot Hangs On "Stopping Save Kernel Messages" Or "stopping System V Runlevel Compatib?

May 16, 2011

Boot of a new minimal system hangs on "Stopping save kernel messages" or "stopping system v runlevel compatibility". I have ubuntu minimal iso x86_64 from usb stick created with unetbootin (don't have a cd drive on the machine in question), and after that I didsudo aptitude install gnome-terminal network-manager-gnome gdm geditsudo rebootnever got a system back. Annoyingly I can't boot into the recovery mode either, and it seems the keyboard is only semi-responsive (i.e. many dead keys when at the grub menu).qualms about reinstalling, but I've done this a few times and ended up at the same place every time.

View 6 Replies View Related

Networking :: Starting Apache Using Someother User And Not Root?

Jun 24, 2010

We have installed apache 2.2.15 webserver on A rhel 5 Linux 64 box using the user wwwadm group www

We can start the webserver using root and it works fine but we dont have root access forever so we want the wwwadm user to have all the rights and we can start/stop/restart the Apache server using this wwwadm user.

View 1 Replies View Related

OpenSUSE Network :: Starting Apache As A User With Root Privileges?

Jul 17, 2010

I have written a simple perl program to add a command to iptables. Here is my code :

Code:
#! /usr/bin/perl
print "Content-type: text/html
";
system("iptables -A FORWARD -s 192.168.0.2 -j DROP");

I put this file in cgi-bin folder of Apache server. Here is my problem : when I run this file with shell as root user it makes change to iptables, but when I use my browser to run this file, it doesn't make any change. I'm sure this is because Apache doesn't have permission to manipulate iptables. How can I start Apache as a user with root privileges ?

View 8 Replies View Related

Ubuntu Servers :: Starting Apache / Getting Error Invalid Command?

Oct 20, 2010

I am trying to install Zend Server, and that went well. Apache and all the other items were installed.

But when I go to start Apache, I get this error:

Quote:

root@laptop:~# /etc/init.d/apache2 restart
* Restarting web server apache2 Syntax error on line 6 of /etc/apache2/sites-enabled/zendserver_gui.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
[fail]
And on line 6: php_admin_flag tidy.clean_output off
The rest of the file is below:

Quote:

# Warning: Modifying this file will break the Zend Server Administration Interface
Listen 127.0.0.1:10083
NameVirtualHost 127.0.0.1:10083
# do not allow override of this value for the UI's Vhost as it should always be off when generating non-html content such as dynamic images
code....

View 1 Replies View Related

Ubuntu Servers :: System Won't Shutdown + Apache Not Auto Starting / Fix It?

Nov 12, 2010

First post here so I'll do my best to provide the information needed.

System:

Dell Poweredge R310
Xeon 3460 2.8Ghz
4x2GB ram
4x 160GB Sata 7.2k (RAID 10)
Ubuntu Server 64bit

If I type as root, "reboot" or "shutdown -r now", nothing happenings - except the apache2 process stops + the usual "System is going down for reboot now". If I type "shutdown -h now" the system goes down.

Upon booting the server back up, MySQL starts correctly, but Apache2 does not - I have to run "service apache2 start", and it starts up fine.

I feel the 2 issues are related. I've reinstalled apache2 completely (configs and all) and this didn't help - I used yum to install/reinstall it.

View 8 Replies View Related

Ubuntu Servers :: Apache No Longer Starting Unattended After Reboot?

Nov 18, 2010

I have an Ubuntu 10.04.1 AMD64 server running Apache with SSL. In the past, even though I have a passphrase on my key file, I have only needed it if I manually restarted Apache2, never after reboot.

I recently switched from a self-signed cert to one from a CA. I'm not sure if this is what caused it, I also installed a few packages (AWStats, PHPSysInfo and Munin) that all interact with the webserver.

Anyway, I just noticed that now after a reboot Apache starts but doesn't work. I need to kill that process and start a new one with the passphrase (maybe on the console it is prompting me, I mainly use SSH access since the server is headless).

Why did Ubuntu used to 'remember' the passphrase on the self-signed cert but now I need to provide it?

My sever auto-updates so it would be annoying to have this thing go down regularly after a patch that requires a reboot.

View 8 Replies View Related

OpenSUSE :: Stopping The Screen Saver And Stopping The Screen Locking?

Jan 23, 2011

In December I finally filled up my root partition and broke Suse 11.1. I therefore resized my partitions and installed Suse 11.3 on /root. I didn't not touch my /home partition.

I notice that when I leave my machine and come back the screen has locked. I have tried to turn off the screensaver, but it hasn't worked. I have Googled, but unfortunately the screen shots don't look like what I have and the instructions to stop this do not seem to match what I am seeing on the screen.

Is there a way to do this via the command line?

View 7 Replies View Related

General :: Difference Between CPU Core And Sockets?

Mar 26, 2010

how to differentiate cores and sockets in CPU?

View 5 Replies View Related

General :: Using Netlink Sockets To Get MAC Address?

Jul 7, 2010

I am trying to retrieve an interface's MAC address using netlink address. I got to a point, where I am able to parse the reply for 'RTM_GETLINK' till 'case IFLA_ADDRESS'. After that, I have no idea to print the MAC address.

View 1 Replies View Related

OpenSUSE Install :: Starting Apache At Boot / Warning: Script 'K01httpd' Missing LSB Tags And Overrides?

Jul 11, 2011

I have installed ZendServer CE on my distro and I have tried to create a startup file in this way:I create the file httpd in the folder /etc/init.d

I run chmod 775 httpd
I execute chkconfig --add httpd on
But this is the message returned from system:

insserv: warning: script 'K01httpd' missing LSB tags and overrides

View 1 Replies View Related

General :: Downloading Mp3 From Listening Sites

Jan 24, 2010

I am using ubuntu 8.04 with firefox browser.

There are some sites which allow you to listen the mp3 song like [url]

I have found the most simple way to get mp3 file

(1)Sometimes you get address ending with .mp3 so just copy the whole URI and use in terminal wget "PasteWhatYouCopied"

(2)But in the link I have mentioned there is no mp3 link in address bar.

Here I found out in totem-plugin-viewer(that is the thing that plays your file in browser).Just Click the button next to sound and select copy

In example taken above it is [url]

And use just like before wget "PasteWhatYouCopied" -O output.wma

Also notice that you have the song as output.wma in current folder of terminal.

(3)If there is a video on webpage then either wait for it to get completely downloaded & get it from /tmp.Remember don't close the page till video gets downloaded completely & you copied it from /tmp then only close that tab.

(4)There is a firefox addon 'unplug' which can help for flv because after sending file to download via unplug you can close that tab.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved