LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-29-2011, 05:32 AM   #1
Alex_Uconomy
LQ Newbie
 
Registered: Apr 2011
Location: South Africa Cape town
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Unable to start apache


Hi guys

I am very new (since yesterday) to Linux, so please bare with me ! Also new to web server set-up, so apologies for stupid questions here !

I have installed all LAMP components, including SSL as described here: http://www.ibualoy.net/blog/itech/li...ebian-50-lenny

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 any more !

Also I am wondering about my server name, it is the set IP of the web server, surly i should change that !? how and where and to what is the question

Any help will be appreciated, thx in advanced
Regards
Alex

PS: 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

Last edited by Alex_Uconomy; 04-29-2011 at 05:38 AM.
 
Old 04-29-2011, 05:58 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Check /etc/apache2/apache2.conf and /etc/apache2/ports.conf to see if you have a duplicate "Listen 443" directive
 
1 members found this post helpful.
Old 04-29-2011, 06:13 AM   #3
Alex_Uconomy
LQ Newbie
 
Registered: Apr 2011
Location: South Africa Cape town
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
THX

Would you maybe also know how i can set permission for user xyz to access var content (apache folder)
As that user hold my transg=fered data via ftp, but does not have the permission rights to access that folder.

I have installed acl and tried the following:
setfacl -R -m user:xyz:6 var

it list file by file saying not supported !?

Maybe there is a better way ? I assume i can not set the user as a "admin" or similar ?

many thx for previous reply ! server starts again !! hadn't seen the <if mode.. . ssl> . . listen ..<> statement

kind regards
alex

Last edited by Alex_Uconomy; 04-29-2011 at 06:14 AM.
 
Old 04-29-2011, 06:15 AM   #4
omgs
Member
 
Registered: Dec 2010
Posts: 64

Rep: Reputation: 6
Usually, "address already in use" means that the port is in use

Maybe you just tried to start instead of restarting the service? If you restarted, then the stop didn't work properly, so you have to check logs.

I'm not sure if, as you've been told, the duplicity of Listen clauses causes that behaviour, so check that out, too, but that would mean that SSL was working before. Also, you should *always* check your changes and definitions before restarting apache by running "apache2ctl -S", and see the ports defined (taking that you don't get an error).
 
1 members found this post helpful.
Old 04-29-2011, 07:09 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Would you maybe also know how i can set permission for user xyz to access var content (apache folder)
As that user hold my transg=fered data via ftp, but does not have the permission rights to access that folder.
Usually a ftp user is jailed into his homedir (/home/xyz), so if you want that user to access /var/www, you should create a symlink in his homedir. You should also make sure that the user has read (and write if you want) permissions on /var/www (you can add user in the www-data group)
 
Old 04-29-2011, 08:52 AM   #6
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
Check your apache config files, because it looks like you've got a typo. You set up a TCP listener for port 443, but apache is looking for port 44.
 
  


Reply

Tags
apache, debian, lamp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos apache unable to start correctly shihao Linux - Server 18 12-10-2009 06:38 AM
Unable to start apache 2.2.13 with servletexec AS 4.2.17 sureshvadali Linux - Server 3 09-22-2009 02:57 AM
Unable to start Apache anjanesh Linux - General 14 01-03-2006 12:23 PM
unable to start apache after installing NIC driver bcarl314 Linux - Newbie 6 09-24-2003 06:43 AM
Unable to start apache because of mod_auth_mysql error krumholz Linux - General 3 07-17-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration