Apache does not start


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Apache does not start
# 1  
Old 01-12-2012
Question Apache does not start

After i added this line to my apache httpd.conf it does not start.

Code:
 
     AuthUserFile   /apps/apache22/conf/httpd.passwd

and i see the below error.

Code:
 
[ Jan 12 08:47:06 Executing start method ("/apps/apache22/bin/apachectl_worker -DSSL -k start -f /apps/apache22/conf/httpd.conf") ]
Syntax error on line 876 of /apps/apache22/conf/httpd.conf:
AuthUserFile not allowed here
[ Jan 12 08:47:06 Method "start" exited with status 1 ]

Kindly help.
# 2  
Old 01-12-2012
Without seeing where you put it or even any idea what you were trying to accomplish yet, I don't know why it's objecting. But it's telling you what's wrong in plain english. That line doesn't make sense wherever you put it.
# 3  
Old 01-12-2012
Typically that directive goes in a .htaccess file in the directory you wish to protect
# 4  
Old 01-17-2012
From [PenLUG] re: twiki and .htaccess :

"This means that this .htaccess file must be inside a directory
that is allowed to have Overrides of type "AuthConfig" .
That means that the httpd.conf (or something included by it)
must have an AllowOverride with either "All" or "AuthConfig" ,
and this directive must be within a Directory container for a directory
tree that covers your ...file."

I'm not very much up on my Apache Directive Syntax, but maybe you are and this will point you in a productive direction. Good luck.
# 5  
Old 01-18-2012
Error

Thanks for the inputs, as I was able to overcome the error by putting the option under the directory tag. Initially I was putting it under the virtualhost tag.

I am actually trying to setup 2way SSL between Apache and Juniper.

I have started seeing this error in my apache logs.

Code:
 
"[Tue Jan 17 11:24:08 2012] [error] Re-negotiation handshake failed: Not accepted by client!?"

Can someone share the correct options under my directory tag that should get 2 way SSL working in apache ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display status of instances in apache - Where to start

Hello, I know this is not a simple question so I just need to know where to start for below project: I am running under Ubuntu 18.04 What I'd like to see in apache page is to display status of particular process pids. ps aux | grep keywords.txt keywords.txt word1 word2 word3 word4... (9 Replies)
Discussion started by: baris35
9 Replies

2. Web Development

Unable to start the apache web server

Hi All, I'm getting this below error bash-4.1$ ./apachectl -k start (98)Address already in use: make_sock: could not bind to address hostname:18000 no listening sockets available, shutting down Unable to open logs I tried to change the port number, still same error: ... (5 Replies)
Discussion started by: raghur77
5 Replies

3. Red Hat

Apache start error

I have a new server, installed everything and tried to get it all up and running. Got the following issue: # /usr/local/apache/bin/apachectl start httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies

4. Solaris

apache cannot start

hi all i'm having a problem with apache on solaris 10 SPARC I'm trying to start httpd as root but it fails with the following error /usr/local/apache2/bin/httpd -k start httpd: Could not determine the server's fully qualified domain name, using 192.168.1.11 for ServerName (20014)Error... (16 Replies)
Discussion started by: h@foorsa.biz
16 Replies

5. Solaris

Apache start issue

Hi group, I need help to start apache in following scenario: 1) Say apache is installed on solaris OS by user 'root'. 2) An entry is there in httpd.conf that says to start apache process as user: #User <RUN_AS_USER> is edited as User user1 2) Now say user2 has logged and tries to start... (6 Replies)
Discussion started by: rs266
6 Replies

6. Solaris

help me........... my apache can't start

help me please.................bro i was install apache2 and i have been configure httpd.conf on my solaris 10 machine n i already running my httd service but why my webserver couldn't run on my browser? some buddy help me.............:confused::confused::confused::confused::confused: (5 Replies)
Discussion started by: yatmianto
5 Replies

7. Solaris

Apache start problem

Hi, I have installed apache webserver on my solaris 10(x86). When I tried to start the server it gives following error, ld.so.1: /usr/local/apache2/bin/httpd: fatal: libssl.so.0.9.8: open failed: No such file or directory Killedld.so.1:: Too many arguments Can somebody please guide me how... (1 Reply)
Discussion started by: maheshsri
1 Replies

8. AIX

Start Stop Apache

I am in the process of reorging my Lawson db. I need to turn off the RMI server...not a problem. However my instructions also state that I must also shutdown my Servlet Container....I believe it is Apache. I have looked in /usr/apache/bin/apachectl What is the command for stopping and... (2 Replies)
Discussion started by: MILLERJ62
2 Replies

9. UNIX for Dummies Questions & Answers

Apache start (Was in:how can i?) [Split by LF]

I need to know, which script starts the apache web server on start up? If anyone could help me that would be great. I'm in deep trouble if I can't find the script. thanks very much dan donohd If you know my e-mail is donohd@sage.edu thanks:( (1 Reply)
Discussion started by: donohd
1 Replies

10. UNIX for Dummies Questions & Answers

Apache wont start

Hi, like a lot of people that post here, I am new at UNIX. The only UNIX I have ever messed with is my iBook running MacOSX (10.1). I have a grasp of the basic commands and understanding of the system but only to a point. I searched the archive and FreeBSD.org and apache.org but I couldn't find... (4 Replies)
Discussion started by: Alpha_Harblo
4 Replies
Login or Register to Ask a Question