Why apache server can't interepete the PerlModule in the configuration file?

It gives me error like below. How should I configure
the server to satisfy its requirement?

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

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


The rt-users Archives

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@scotth.emsphone.com

Yes. I installed mod_perl2 with CPAN. It doesn’t work,
or, is there any other things I need take care of?

— “Scott T. Hildreth” shildret@scotth.emsphone.com
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@scotth.emsphone.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

I have given up rebuild perl-module. I am going to
install a fresh apache server with fastcgi built in.

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…

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.

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@scotth.emsphone.com
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@scotth.emsphone.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

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@scotth.emsphone.com
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


The rt-users Archives

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@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


The rt-users Archives

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@scotth.emsphone.com

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@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@scotth.emsphone.com
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@scotth.emsphone.com
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@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@scotth.emsphone.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

To answer your other 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?

The apache version is 2.2.0
Perl is 5.8.8
[root@osg-tg2 bin]# perl -v

This is perl, v5.8.8 built for i686-linux

Copyright 1987-2006, Larry Wall

It only displays one version. I assume this is the
only takes effect.

overnight when it was trying to test
http://localhost:XXXXX…

Which module?

The module is httpd related.

They are the following two missing modules.
HTTP::Server::Simple 0.07…MISSING
HTTP::Server::Simple::Mason 0.09…MISSIN

— “Scott T. Hildreth” shildret@scotth.emsphone.com
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@scotth.emsphone.com
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@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@scotth.emsphone.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

To answer your other 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?

The apache version is 2.2.0
Perl is 5.8.8
[root@osg-tg2 bin]# perl -v

This is perl, v5.8.8 built for i686-linux

Copyright 1987-2006, Larry Wall

It only displays one version. I assume this is the
only takes effect.

overnight when it was trying to test
http://localhost:XXXXX…

Which module?

The module is httpd related.

They are the following two missing modules.
HTTP::Server::Simple 0.07…MISSING
HTTP::Server::Simple::Mason 0.09…MISSIN

— “Scott T. Hildreth” shildret@scotth.emsphone.com
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@scotth.emsphone.com
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@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@scotth.emsphone.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

At this point it looks like you are having trouble getting Apache itself
working.

I recommend that you post in a Apache mailing list or forum, requesteing
help.

zhou jian wrote:

I posted there.

What type of apache server are you guys using for RT?
I installed httpd2.0.55. It still doesn’t work.— Jason Fenner jfenner@vitamix.com wrote:

At this point it looks like you are having trouble
getting Apache itself
working.

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@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@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@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

=== message truncated ===

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

zhou jian wrote:

I posted there.

What type of apache server are you guys using for RT?
I installed httpd2.0.55. It still doesn’t work.

a few things,

as the previos poster, said you are having an apache issue, not an rt
issue,

please do not top post, instead trim and reply below, so that we can
follow the thread

third, before you jump in spend 5 minutes and read some archives, i
believe that te majority of us use some version of apache, i run rt on
1.3 2.0 and 2.2 with perl and cgi,

I am pretty sure. I ran ps aux | grep httpd all the
time. There is no other process running. Otherwise, I
couldn’t start httpd at all. My problem is that I can
reach the website by http://myipaddress/index.html. It
works. I just couldn’t reach
http://localhost/index.html or
http://127.0.0.1/index.html.

— “Scott T. Hildreth” shildreth@allantgroup.com
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@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

Are you sure you don’t have a run-away httpd?

Try this,

    apachectl stop
    ps -auxww | grep httpd

…see if any httpd’s are still running. If so
kill
the processes.

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@scotth.emsphone.com
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@scotth.emsphone.com
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@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

=== message truncated ===

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

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@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

Are you sure you don’t have a run-away httpd?

Try this,

    apachectl stop
    ps -auxww | grep httpd

…see if any httpd’s are still running. If so kill
the processes.

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@scotth.emsphone.com
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@scotth.emsphone.com
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


The rt-users Archives

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@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


The rt-users Archives

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@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
Scott T. Hildreth shildreth@allantgroup.com

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@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@scotth.emsphone.com
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@scotth.emsphone.com

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


The rt-users Archives

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@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


The rt-users Archives

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@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


The rt-users Archives

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 shildreth@allantgroup.com

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@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@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@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@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

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

zhou jian wrote:

    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:

here is how to solve this

down load the source from cpan.org

unaip it,

modify the Makefile, then run perl Makefile.pl

or just pass the mysql parameters inline when running perl Makefile.pl

I got make errors for this module. I checked in their
website. Looks like they were doing a lot of rewriting
for this module.

dbdimp.c:3235: MYSQL_FIELD' undeclared (first use in this function) dbdimp.c:3235: curField’ undeclared (first use in
this function)
dbdimp.c:3238: what' undeclared (first use in this function) dbdimp.c:3242: cacheit’ undeclared (first use in this
function)
dbdimp.c:3242: dereferencing pointer to incomplete
type
dbdimp.c:3243: dereferencing pointer to incomplete
type
dbdimp.c:3246: res' undeclared (first use in this function) dbdimp.c:3311: PRI_KEY_FLAG’ undeclared (first use in
this function)
dbdimp.c:3311: UNIQUE_KEY_FLAG' undeclared (first use in this function) dbdimp.c:3311: MULTIPLE_KEY_FLAG’ undeclared (first
use in this function)
dbdimp.c:3338: dereferencing pointer to incomplete
type
dbdimp.c: In function mysql_st_FETCH_attrib': dbdimp.c:3387: dereferencing pointer to incomplete type dbdimp.c:3389: dereferencing pointer to incomplete type dbdimp.c:3393: dereferencing pointer to incomplete type dbdimp.c:3397: dereferencing pointer to incomplete type dbdimp.c:3401: dereferencing pointer to incomplete type dbdimp.c:3407: dereferencing pointer to incomplete type dbdimp.c:3411: dereferencing pointer to incomplete type dbdimp.c:3415: dereferencing pointer to incomplete type dbdimp.c:3417: dereferencing pointer to incomplete type dbdimp.c:3419: dereferencing pointer to incomplete type dbdimp.c:3421: dereferencing pointer to incomplete type dbdimp.c:3425: dereferencing pointer to incomplete type dbdimp.c:3432: dereferencing pointer to incomplete type dbdimp.c:3434: dereferencing pointer to incomplete type dbdimp.c:3439: dereferencing pointer to incomplete type dbdimp.c:3443: dereferencing pointer to incomplete type dbdimp.c:3445: dereferencing pointer to incomplete type dbdimp.c:3447: dereferencing pointer to incomplete type dbdimp.c:3459: dereferencing pointer to incomplete type dbdimp.c: In function mysql_bind_ph’:
dbdimp.c:3538: dereferencing pointer to incomplete
type
dbdimp.c:3574: dereferencing pointer to incomplete
type
dbdimp.c: In function mysql_db_reconnect': dbdimp.c:3675: MYSQL’ undeclared (first use in this
function)
dbdimp.c:3675: parse error before “save_socket”
dbdimp.c:3685: dereferencing pointer to incomplete
type
dbdimp.c:3685: CR_SERVER_GONE_ERROR' undeclared (first use in this function) dbdimp.c:3689: dereferencing pointer to incomplete type dbdimp.c:3689: dereferencing pointer to incomplete type dbdimp.c:3703: save_socket’ undeclared (first use in
this function)
dbdimp.c:3703: dereferencing pointer to incomplete
type
dbdimp.c:3704: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3705: dereferencing pointer to incomplete
type
dbdimp.c:3709: dereferencing pointer to incomplete
type
dbdimp.c:3709: dereferencing pointer to incomplete
type
dbdimp.c:3709: warning: passing arg 3 of
mysql_dr_error' makes pointer from integer without a cast dbdimp.c:3710: dereferencing pointer to incomplete type dbdimp.c:3711: dereferencing pointer to incomplete type dbdimp.c:3714: dereferencing pointer to incomplete type dbdimp.c: In function mysql_db_quote’:
dbdimp.c:3865: dereferencing pointer to incomplete
type
dbdimp.c: In function `mysql_db_last_insert_id’:
dbdimp.c:3880: dereferencing pointer to incomplete
type
make: *** [dbdimp.o] Error 1— Chaim Rieger chaim.rieger@gmail.com wrote:

zhou jian wrote:

    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:

here is how to solve this

down load the source from cpan.org

unaip it,

modify the Makefile, then run perl Makefile.pl

or just pass the mysql parameters inline when
running perl Makefile.pl

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around