[rt-users] Why apache server can't interepete the PerlModule in the configuration file?

zhou jian sunzhoujian at yahoo.com
Thu Feb 23 12:44:59 EST 2006


Thanks for your reply.

> do you have a line like this in your /etc/hosts?
> 
>    127.0.0.1      localhost localhost.my.domain
> 
yes. I have added this one. Actually, I can view the
website through http://myipaddress/index.html.


For trying to solve this issue,
I added 

Listen 127.0.0.1:80 and tried to restart httpd.

[root at osg-tg2 bin]# ./httpd -k start
(99)Cannot assign requested address: make_sock: could
not bind to address 127.0.0.1:80
no listening sockets available, shutting down
Unable to open logs

It showed the error above and I couldn't start httpd.

Do you have any idea? I found even I commented Listen
80 in the previous part of httpd.conf. I still got the
same error.

--- "Scott T. Hildreth" <shildret at scotth.emsphone.com>
wrote:

> On Wed, 2006-02-22 at 13:44 -0800, zhou jian wrote:
> > I have given up rebuild perl-module. I am going to
> > install a fresh apache server with fastcgi built
> in.
> > 
>   A couple of questions, 
> 
>   What version of apache?
> 
>   Do you have more than one version of Apache
> installed?
>    
>   Do you have more than one version of Perl
> installed?
>   
> > At the same time, do you have ideas about the
> > following issue which is relerrent to the
> perlmodule
> > installation problems.
> > 
> > I encountered a problem when I was installing a
> perl
> > module. The httpd server related module was
> hanging
> > overnight when it was trying to test
> > http://localhost:XXXXX...
> 
>   Which module?
> 
> > 
> > Today, I tested with my httpd server installation.
> > I found that I can view the webpage after I
> started
> > httpd server through the actually ip address. I
> have
> > configured my ip address under /etc/hosts.
> 
> do you have a line like this in your /etc/hosts?
> 
>    127.0.0.1      localhost localhost.my.domain
> 
> > 
> > However, I couldn't view the webpage through 
> > http://127.0.0.0/ or http://localhost/
> > 
> > It looks bizzare to me, if I can't view it through
> > http://localhost, then I couldn't install the
> httpd
> > related perlmodules because they require the
> testing.
> > 
> > --- "Scott T. Hildreth"
> <shildret at scotth.emsphone.com>
> > wrote:
> > 
> > > On Wed, 2006-02-22 at 12:39 -0800, zhou jian
> wrote:
> > > > It gives me error like below. How should I
> > > configure
> > > > the server to satisfy its requirement?
> > > > 
> > > 
> > > Do you have mod_perl2 installed?
> > > 
> > > > 
> > > > 
> > > > Syntax error on line 426 of
> > > > /usr/local/apache2/conf/httpd.conf:
> > > > Invalid command 'PerlModule', perhaps
> misspelled
> > > or
> > > > defined by a module not included in the server
> > > > configuration
> > > > 
> > > > 
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around 
> > > > http://mail.yahoo.com 
> > > >
> _______________________________________________
> > > >
> > >
> >
>
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > > > 
> > > > Be sure to check out the RT Wiki at
> > > http://wiki.bestpractical.com
> > > > 
> > > > Download a free sample chapter of RT
> Essentials
> > > from O'Reilly Media at
> > > http://rtbook.bestpractical.com
> > > > 
> > > > WE'RE COMING TO YOUR TOWN SOON - RT Training
> in
> > > Amsterdam, Boston and
> > > > San Francisco - Find out more at
> > > http://bestpractical.com/services/training.html
> > > > 
> > > -- 
> > > Scott T. Hildreth <shildret at scotth.emsphone.com>
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > _______________________________________________
> >
>
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > 
> > Be sure to check out the RT Wiki at
> http://wiki.bestpractical.com
> > 
> > Download a free sample chapter of RT Essentials
> from O'Reilly Media at
> http://rtbook.bestpractical.com
> > 
> > WE'RE COMING TO YOUR TOWN SOON - RT Training in
> Amsterdam, Boston and
> > San Francisco - Find out more at
> http://bestpractical.com/services/training.html
> > 
> -- 
> Scott T. Hildreth <shildret at scotth.emsphone.com>
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the rt-users mailing list