Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

startup.pl and httpd.conf

Quote Reply
startup.pl and httpd.conf
I am having problems with my startup.pl file. Basically not matter what I do I get errors. I am using Apache 2.0 and mod_perl 1.99 or something. I have no idea where to start with my startup.pl file. I have copied many off the internet, but none seem to work correctly. Can someone please post their entier startup.pl. Thanks!

Ps. Most of my errors are like this:
[Fri Apr 26 10:07:07 2002] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC $
Compilation failed in require at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 6.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 6.
Compilation failed in require at /usr/local/lib/perl5/5.6.1/CGI.pm line 161.
Compilation failed in require at /usr/local/apache2/conf/startup.pl line 9.
BEGIN failed--compilation aborted at /usr/local/apache2/conf/startup.pl line 9.
Compilation failed in require at (eval 1) line 1.
Quote Reply
Re: [jmurray] startup.pl and httpd.conf In reply to
You need to install Apache::Constants, Apache::DBI etc

perl -MCPAN -e 'install Apache::Constants'
perl -MCPAN -e 'install Apache::DBI'

Last edited by:

Paul: Apr 30, 2002, 7:31 AM
Quote Reply
Re: [Paul] startup.pl and httpd.conf In reply to
Okay, but what does this mean?

Enter `q' to stop search
Please tell me where I can find your apache src
[./apache_x.x/src]



Does it mean where is my main apache directory? What files is it looking for when it does this?
Quote Reply
Re: [jmurray] startup.pl and httpd.conf In reply to
What is asking for your apache source?....that looks like you are installing mod_perl?

It is looking for your apache source code.
Quote Reply
Re: [Paul] startup.pl and httpd.conf In reply to
Dont know, I typed in the

perl -MCPAN -e 'install Apache::Constants'

and thats what I got



Joe
Quote Reply
Re: [jmurray] startup.pl and httpd.conf In reply to
Ok hmm....do you have your apache source? It should be in your apache directory under /src unless you install apache from an rpm
Quote Reply
Re: [Paul] startup.pl and httpd.conf In reply to
Same Thing:[Fri Apr 26 11:06:22 2002] [error] Can't locate loadable object for module Apache::Constants in @INC (@INC $
Compilation failed in require at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 6.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 6.
Compilation failed in require at /usr/local/lib/perl5/5.6.1/CGI.pm line 161.
Compilation failed in require at /usr/local/apache2/conf/startup.pl line 9.
BEGIN failed--compilation aborted at /usr/local/apache2/conf/startup.pl line 9.
Compilation failed in require at (eval 1) line 1.

[Fri Apr 26 11:06:22 2002] [error] Can't load Perl file: /usr/local/apache2/conf/startup.pl for server webm$
Quote Reply
Re: [jmurray] startup.pl and httpd.conf In reply to
What did you try?....you have to specify your apache source and install the module first.

Last edited by:

Paul: Apr 30, 2002, 8:13 AM
Quote Reply
Re: [Paul] startup.pl and httpd.conf In reply to
 
Enter `q' to stop search
Please tell me where I can find your apache src
[./apache_x.x/src] /home/jmurray/httpd-2.0.35/srclib/
sh: ./Configure: No such file or directory
can't open /Makefile No such file or directory at Makefile.PL line 660, <STDIN> line 1.
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
[root@webmail srclib]#
Quote Reply
Re: [jmurray] startup.pl and httpd.conf In reply to
Thats why it didn't work :)

Are you sure the directory exists? Configure seems to think it doesn't.
Quote Reply
Re: [Paul] startup.pl and httpd.conf In reply to
Yep, that directory exist alright. Dont know what the problem is........



Joe
Quote Reply
Re: [jmurray] startup.pl and httpd.conf In reply to
If you don't mind giving out your login details I can try to help?

Just send me a pm if you need me.

Last edited by:

Paul: Apr 30, 2002, 8:17 AM