LAMP server on OpenSuSe 11.0 ( please help )

This is my first thread !
I need some help please

I cannot get my LAMP server installed on Opensuse 11.0

My Apache2 is not starting ( I get the following msg )

Starting httpd2 (prefork) (98)Address already in use: make_sock: could not bind to address 192.168.0.100:80
no listening sockets available, shutting down
Unable to open logs
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
failed

When I do ( as root or super user mode)
netstat -tap

I get the following output :

*Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:sunrpc : LISTEN 2565/portmap
tcp 0 0 *:ssh : LISTEN 2794/sshd
tcp 0 0 localhost:ipp : LISTEN 2860/cupsd
tcp 0 0 localhost:smtp : LISTEN 3202/master
tcp 0 0 192.168.0.10:zephyr-clt secure-www.novell:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:26887 cot.novell.com:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22687 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22686 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:16433 66.198.156.137:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:26883 cot.novell.com:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.10:zephyr-srv secure-www.novell:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:zephyr-hm secure-www.novell:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22714 195.135.221.34:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22689 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22688 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.10:rtcm-sc104 secure-www.novell:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0:h2250-annex-g secure-www.novell:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22712 195.135.221.34:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.:pclemultimedia 205.177.95.93:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.10:amiganetfs secure-www.novell:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:16458 66.198.156.137:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:26886 cot.novell.com:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:26879 cot.novell.com:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:26885 cot.novell.com:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22691 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22713 195.135.221.34:https ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:26884 cot.novell.com:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22715 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22690 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 192.168.0.100:22716 www.opensuse.o:www-http ESTABLISHED 11162/firefox
tcp 0 0 :ssh : LISTEN 2794/sshd
tcp 0 0 localhost:smtp : LISTEN 3202/master

Suse11:/home/donald/Desktop #


Please help me out ( I have done this before ) … but this time on OpenSuse 11.0 … things are not working the way I want them too … I need to set up the LAMP on OpenSuse 11.0 so I can work and test a phpwebsite before I go live online

( I am behind a home d-link router, at home, ) … Can someone help me out with setting this LAMP up

thank you

Ls_Don_X

I assume you installed all of LAMP from OpenSUSE media or repositories?

How are you starting apache2? That is, what command or GUI interface are you using?

I use the following command :

rcapache2 start

and/or I use the system services (runlevel) in yast

thx

Ls Don

If you set up apache to start at boot, then rcapache2 start will tell you that apache is already running, which is what that message about the port already being used is all about. So your webserver is probably already running. I suspect your netstat output is missing something as you also manage to duplicate a couple of lines. Try this:

netstat -atnp | grep :80

That will return something if apache is listening on port 80.

You should be able to enter this in your browser:

http://localhost/index.html

and see something, even if it’s just apache saying the page doesn’t exist. Then start putting content in /srv/www/htdocs

Hello

I have tried the latest command suggested with netstat … and I got this :
*
Suse11:/home/donald/Desktop # netstat -atnp | grep :80
tcp 0 0 192.168.0.100:35196 130.57.4.15:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:52222 66.198.156.140:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:48444 205.234.225.8:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:59792 66.198.156.154:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:48442 205.234.225.8:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:45455 205.234.225.19:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:48440 205.234.225.8:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:48441 205.234.225.8:80 ESTABLISHED 4045/firefox
tcp 0 0 192.168.0.100:32847 205.234.225.66:80 ESTABLISHED 4045/firefox *

thank you for any tips or directives in solving this headache …

thx

Don

Have a look in /var/log/apache2/error_log to see if there are any startup problems.