Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Error Code 1
Google
Post new topic Reply to topic
Author Message
dancan99
 
 


Joined: 29 Nov 2005
Posts: 27

PostPosted: Mon Jan 16, 2006 12:06 am Reply with quoteBack to top

Hi, I accidently stopped the apache ssl service and it won't start up again. I get a the requested operation has failed! error. I have checked the logs and apparenly it is an error code 1. Whats an error code 1 and how do I get rid of it?
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Wed Jan 18, 2006 3:48 am Reply with quoteBack to top

it's windows giving a generic error.

Try testing your apache config.
Quote:
start -> run -> cmd.exe -> apache -t

see if something is listening on the port already
Quote:
start -> run -> cmd.exe -> netstat -an


And did you view Apache's error logs?
C:\apache2triad\logs
View user's profileSend private messageYahoo MessengerICQ Number
dancan99
 
 


Joined: 29 Nov 2005
Posts: 27

PostPosted: Thu Jan 19, 2006 5:07 pm Reply with quoteBack to top

no nothing is listening on the port already. The syntax is OK. What is the problem then?
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Thu Jan 19, 2006 5:19 pm Reply with quoteBack to top

Check your SSL Configuration

Ensure you have your Certificate set up correctly ( make sure that only ApacheSSl is running and not apache)
View user's profileSend private message
dancan99
 
 


Joined: 29 Nov 2005
Posts: 27

PostPosted: Thu Jan 19, 2006 7:05 pm Reply with quoteBack to top

Apache SSL is definatly running. How do I check to see if the certificate is set up correctly?
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Thu Jan 19, 2006 8:10 pm Reply with quoteBack to top

If SSL is running, then when do you get the error?
View user's profileSend private message
dancan99
 
 


Joined: 29 Nov 2005
Posts: 27

PostPosted: Thu Jan 19, 2006 10:30 pm Reply with quoteBack to top

I get the error when this bit of the httpd.conf is uncommented:

#ssl config
#<IfDefine SSL>
#LoadFile opssl/bin/libeay32.dll
#LoadFile opssl/bin/ssleay32.dll
#LoadModule ssl_module modules/mod_ssl.so
#Include conf/ssl.conf
#</IfDefine>

However I can start SSL up now but when I go to https://localhost I get an unable to connect error from my browser. Does the code above have anything to do with this error?
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Jan 20, 2006 11:04 pm Reply with quoteBack to top

Yes, that section loads ssl (https).
uncomment it, run apache -t, then if syntax is okay manually verify your virtual host setup (ssl.conf).
View user's profileSend private messageYahoo MessengerICQ Number
dancan99
 
 


Joined: 29 Nov 2005
Posts: 27

PostPosted: Sat Jan 21, 2006 2:38 am Reply with quoteBack to top

It says that syntax is ok. How can i manually verify my virtual host setup? Which part of the ssl.conf file should i look at.
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Sat Jan 21, 2006 8:05 pm Reply with quoteBack to top

You will have to check it 'by hand'. Look through any changes that you may have done. Post your httpd.conf, and ssl.conf (as an attachment) if you can't find anything. Also see if something is listening on port 443.
View user's profileSend private messageYahoo MessengerICQ Number
dancan99
 
 


Joined: 29 Nov 2005
Posts: 27

PostPosted: Mon Jan 23, 2006 2:27 am Reply with quoteBack to top

I solved this problem. Finally! lol. I just went here and downloaded demoric's ssl.conf attachment. Problem solved. Case closed. All done. Thats it.
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT