You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stephen Liu <sa...@yahoo.com> on 2006/11/11 07:59:22 UTC

[users@httpd] Problem on starting Apache2

Hi folks,

ubuntu-6.06.1-LAMP-server-amd64


I'm following;
http://www.jessejcollins.com/blog/index.php?/archives/32-How-To-Setup-Subversion-with-Apache2-on-Ubuntu.html

to install Apache2 building a web server.

This is only a test on building server, not for production.  Neither I
have static IP nor domain name.


$ sudo /etc/init.d/apache2 start
Password:
 * Starting apache 2.0 web server... Syntax error on line 1 of
/etc/apache2/ports.conf:
Listen takes one argument, A port number or a numeric IP address and a
port number  [fail]
* end *


$ cat /etc/apache2/ports.conf
Listen 80 Listen 44 * end *

Only one line on this .conf file.

Please help.  TIA


B.R.
Stephen

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem on starting Apache2

Posted by Oumar Niane <ou...@gmail.com>.
On Sat, Nov 11, 2006 at 03:28:47PM +0800, Stephen Liu wrote :
 
> Are 80 and 44 referring to port-80 and port-44 respectively.

Yes

>  If YES, what is port-44?

Isn't it 443 for http protocol over TLS/SSL ?

Oumar

-- 
One OS to rule them all,
One OS to find them.
One OS to call them all,
And in salvation bind them.
In the bright land of Linux,
Where the hackers play.
(J. Scott Thayer, with apologies to J.R.R.T.)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem on starting Apache2

Posted by Stephen Liu <sa...@yahoo.com>.
Hi John,

Tks for your advice.

- snip -
> > $ cat /etc/apache2/ports.conf
> > Listen 80 Listen 44 * end *
> >
> > Only one line on this .conf file.
> >
> it should be:
> 
> Listen 80
> Listen 44

OK, problem solved.

$ sudo /etc/init.d/apache2 start
 * Starting apache 2.0 web server... apache2: Could not determine the
server's fully qualified domain name, using 127.0.1.1 for ServerName
                                                                       
      [ ok ]
* end *

Are 80 and 44 referring to port-80 and port-44 respectively.  If YES,
what is port-44?

Tks.


B.R.
Stephen

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem on starting Apache2

Posted by John Garvin <jg...@gmail.com>.
On 11/11/06, Stephen Liu <sa...@yahoo.com> wrote:
....
>
>
> $ sudo /etc/init.d/apache2 start
> Password:
>  * Starting apache 2.0 web server... Syntax error on line 1 of
> /etc/apache2/ports.conf:
> Listen takes one argument, A port number or a numeric IP address and a
> port number  [fail]
> * end *
>
>
> $ cat /etc/apache2/ports.conf
> Listen 80 Listen 44 * end *
>
> Only one line on this .conf file.
>
it should be:

Listen 80
Listen 44

-- 
jpg

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem on starting Apache2

Posted by Yvo van Doorn <yv...@gmail.com>.
Have you tried putting a line break between "Listen 80 Listen 44 * end *"
So it reads:

Listen 80
Listen 44

Those two can't be on one line............. as explained here:
http://httpd.apache.org/docs/2.2/configuring.html#syntax

Excerpt:
"Apache configuration files contain one directive per line. The back-slash
"\" may be used as the last character on a line to indicate that the
directive continues onto the next line. There must be no other characters or
white space between the back-slash and the end of the line."

On 11/10/06, Stephen Liu <sa...@yahoo.com> wrote:
>
> Hi folks,
>
> ubuntu-6.06.1-LAMP-server-amd64
>
>
> I'm following;
>
> http://www.jessejcollins.com/blog/index.php?/archives/32-How-To-Setup-Subversion-with-Apache2-on-Ubuntu.html
>
> to install Apache2 building a web server.
>
> This is only a test on building server, not for production.  Neither I
> have static IP nor domain name.
>
>
> $ sudo /etc/init.d/apache2 start
> Password:
> * Starting apache 2.0 web server... Syntax error on line 1 of
> /etc/apache2/ports.conf:
> Listen takes one argument, A port number or a numeric IP address and a
> port number  [fail]
> * end *
>
>
> $ cat /etc/apache2/ports.conf
> Listen 80 Listen 44 * end *
>
> Only one line on this .conf file.
>
> Please help.  TIA
>
>
> B.R.
> Stephen
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>