Author |
Message |
dancan99

Joined: 29 Nov 2005
Posts: 27
|
Posted:
Mon Jan 16, 2006 12:06 am |
  |
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? |
|
|
  |
 |
Joshua Meadows (DemoRic)
support

Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
Posted:
Wed Jan 18, 2006 3:48 am |
  |
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 |
|
|
    |
 |
dancan99

Joined: 29 Nov 2005
Posts: 27
|
Posted:
Thu Jan 19, 2006 5:07 pm |
  |
no nothing is listening on the port already. The syntax is OK. What is the problem then? |
|
|
  |
 |
dawg
support

Joined: 11 Apr 2004
Posts: 180
|
Posted:
Thu Jan 19, 2006 5:19 pm |
  |
Check your SSL Configuration
Ensure you have your Certificate set up correctly ( make sure that only ApacheSSl is running and not apache) |
|
|
  |
 |
dancan99

Joined: 29 Nov 2005
Posts: 27
|
Posted:
Thu Jan 19, 2006 7:05 pm |
  |
Apache SSL is definatly running. How do I check to see if the certificate is set up correctly? |
|
|
  |
 |
dawg
support

Joined: 11 Apr 2004
Posts: 180
|
Posted:
Thu Jan 19, 2006 8:10 pm |
  |
If SSL is running, then when do you get the error? |
|
|
  |
 |
dancan99

Joined: 29 Nov 2005
Posts: 27
|
Posted:
Thu Jan 19, 2006 10:30 pm |
  |
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? |
|
|
  |
 |
Joshua Meadows (DemoRic)
support

Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
Posted:
Fri Jan 20, 2006 11:04 pm |
  |
Yes, that section loads ssl (https).
uncomment it, run apache -t, then if syntax is okay manually verify your virtual host setup (ssl.conf). |
|
|
    |
 |
dancan99

Joined: 29 Nov 2005
Posts: 27
|
Posted:
Sat Jan 21, 2006 2:38 am |
  |
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. |
|
|
  |
 |
Joshua Meadows (DemoRic)
support

Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas
|
Posted:
Sat Jan 21, 2006 8:05 pm |
  |
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. |
|
|
    |
 |
dancan99

Joined: 29 Nov 2005
Posts: 27
|
Posted:
Mon Jan 23, 2006 2:27 am |
  |
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. |
|
|
  |
 |
|