Apache22 not starting


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Apache22 not starting
# 1  
Old 10-27-2006
Apache22 not starting

I am getting this error message once I added some lines to a directive in my httpd.conf file. I double checked and made sure their weren't any typos
Snytax error line 468 Invlaid command PerlHandler perhaps misspelled or defined by a module not included in the server configuration. Here is what I added ti my httpd.confand now apache won't start. I am using a web interface for my email. I am using Atmail as my web interface for email login




Include etc/apache22/Includes/*.conf

# ADDED BY @Mail Sat Sep 23 07:02:30 2006
AddHandler cgi-script .pl

# ADDED BY @Mail Sat Sep 23 07:02:48 2006
<Directory "/usr/local/atmail/webmail">
Options ExecCGI
AllowOverride All
Order allow,deny
Allow from all
SetHandler perl-script
PerlHandler ModPerl::Registry
</Directory>
<Files ~ "spell.pl$">
SetHandler cgi-script
</Files>
Where should I insert those lines of code at in the httpd.conf file

Last edited by rbizzell; 10-27-2006 at 12:19 PM..
# 2  
Old 10-27-2006
In searching for your problem, I've found this construct a lot:
Code:
<IfDefine !APACHE2>
        PerlHandler Apache::Status
</IfDefine>
<IfDefine APACHE2>
        PerlResponseHandler Apache::Status
</IfDefine>

So maybye try PerlResponseHandler instead of PerlHandler.
# 3  
Old 10-27-2006
Apache22

Where should I insert the line of code at in the httpd.conf
# 4  
Old 10-27-2006
I'd suggest replacing
Code:
PerlHandler ModPerl::Registry

with
Code:
PerlResponseHandler ModPerl::Registry

# 5  
Old 10-27-2006
Apache22

I am still getting the same error as before
# 6  
Old 10-27-2006
If it's still the same error, then you must still have PerlHandler in there somewhere, otherwise the error would be slightly different.
# 7  
Old 10-27-2006
apache

I will look in the code to see where it is
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

2. UNIX for Dummies Questions & Answers

starting programmer

Hi to all, I'm started to write some very simple loops in bash an i'm getting this error -bash: (the example is just to show when the error appeared) the code was x=o while do echo "hello" x++ done (5 Replies)
Discussion started by: gogodash
5 Replies

3. Shell Programming and Scripting

Starting script without ./ name or sh name

Hi, i want to start my script only by the name of it. $ scriptName normaly i have to use ./scriptName oder sh scriptName is there a way to do that in bash or sh ? (13 Replies)
Discussion started by: Turrican
13 Replies

4. UNIX for Advanced & Expert Users

Mod_Perl and Apache22

I am running FreeBsd 6.1 and I installed mod_perl2 using ports but it still isn't loading into apache. What do I have to do to get mod_perl to load in apache??????????? (1 Reply)
Discussion started by: rbizzell
1 Replies

5. Shell Programming and Scripting

Starting over

I am re-learning UNIX and want to download Unix to my lab for studying on the road. Any suggestions? Got several books, but need to run scripts :rolleyes: (2 Replies)
Discussion started by: DudeMan
2 Replies

6. Linux

starting mozilla

every time I launch mozilla Im getiing this this error: Details: failed to execute child process "/root/mozilla" no such file or directory. (2 Replies)
Discussion started by: keliy1
2 Replies

7. SuSE

starting SWAT

everytime I try to start SWAT using : www.localhost:901, it takes me to goggle the search engine. IM still new in the linux world and Im a bit confussed now. any help would be great. Im currently running redhat linux fedora. (5 Replies)
Discussion started by: keliy1
5 Replies

8. OS X (Apple)

process starting

Hello everybody! I got a question on process starting. I installed e.g. squid on my Mac and all is working well, but i wanted to figure out what process or script is starting squid on booting the machine. I searched for a while but i could not find where i can change these configuration. ... (2 Replies)
Discussion started by: count_zero
2 Replies

9. UNIX for Dummies Questions & Answers

Starting X?

I just installed FreeBSD 4.5 and I want to find out how I can start and run X? When I boot I get taken to the command line. Xconfigurator doesn't want to work. (2 Replies)
Discussion started by: AMDPwred
2 Replies

10. UNIX for Dummies Questions & Answers

Starting up

:confused: I have put together an old machine with a 386DX CPU (40MHz) with 8Mb of RAM and a 160Mb hard disk. One guy told me that its still suitable for UNIX. Can enyone give me some hints on how to start? (1 Reply)
Discussion started by: msm
1 Replies
Login or Register to Ask a Question