[rt-users] Why apache server can't interepete the PerlModule in the configuration file?
zhou jian
sunzhoujian at yahoo.com
Thu Feb 23 15:30:30 EST 2006
Test::WWW::Mechanize ...found
Module::Refresh 0.03...found
MYSQL dependencies:
DBD::mysql 2.1018...MISSING
Thanks for all your helps. I got this problem fixed. I
guess that there are something messed with my machine.
I restarted and httpd -k start the httpd server. It is
working right now for http://localhost. So I can fix
most of the remaining missing modules. Right now, I
got stuck only on the last module. DBD::mysql.
The error message is:
cpan> install DBD::mysql
Running install for module DBD::mysql
Running make for C/CA/CAPTTOFU/DBD-mysql-3.0002.tar.gz
Is already unwrapped into directory
/root/.cpan/build/DBD-mysql-3.0002
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems
impossible
Any ideas about this one? I have mysql installed in my
machine. Will this module need the password to test?
--Paul
--- "Scott T. Hildreth" <shildreth at allantgroup.com>
wrote:
> On Thu, 2006-02-23 at 14:40 -0500, Jason Fenner
> wrote:
> > At this point it looks like you are having trouble
> getting Apache itself
> > working.
>
> ..we should stop cc'ing the list.
>
> >
> > I recommend that you post in a Apache mailing list
> or forum, requesteing
> > help.
> >
> >
> > zhou jian wrote:
> >
> > >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
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
>
=== message truncated ===
__________________________________________________
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