#1  
Old 21st October 2006, 11:39
leen leen is offline
Member
 
Join Date: Mar 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default Https not working

I have been running ispconfig for a while now no problems.

Yesterday I installed typo3 and had some problems with php.ini, but I figured it out. During these problems I restarted the server and one time the whole computer.

Today I wanted to go to the admin panel and I got error: can't connect to sever www.example.com:81

I am running FC4
netstat -tap gave :
tcp 0 0 *:https *:* LISTEN 3382/httpd

I am completely stuck.
Reply With Quote
Sponsored Links
  #2  
Old 21st October 2006, 11:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,977
Thanks: 825
Thanked 5,369 Times in 4,216 Posts
Default

Please run:

/etc/init.d/ispconfig_server start
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 21st October 2006, 12:14
leen leen is offline
Member
 
Join Date: Mar 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is what I get.

ispconfig_httpd: could not open document config file /root/ispconfig/httpd/conf/httpd.conf
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
FreshClam is already running!
ISPConfig system is now up and running!

locate httpd.conf gave :

/root/ispconfig/httpd/conf/httpd.conf_https
/root/ispconfig/httpd/conf/httpd.conf_http
/root/ispconfig/httpd/conf/httpd.conf,v
/root/ispconfig/httpd/conf/httpd.conf.bak
/root/ispconfig/httpd/conf/httpd.conf.default
/usr/share/system-config-httpd/httpd.conf.xsl
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf.26-09-06_21-17-35
/etc/httpd/conf/httpd.conf.orig
Reply With Quote
  #4  
Old 22nd October 2006, 15:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by leen
/root/ispconfig/httpd/conf/httpd.conf,v
Did you accidentally rename that file? Anyway, rename it back to httpd.conf:

Code:
mv /root/ispconfig/httpd/conf/httpd.conf,v /root/ispconfig/httpd/conf/httpd.conf
and restart ISPConfig:

Code:
/etc/init.d/ispconfig_server restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 23rd October 2006, 12:22
leen leen is offline
Member
 
Join Date: Mar 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Did you accidentally rename that file? Anyway, rename it back to httpd.conf:

Code:
mv /root/ispconfig/httpd/conf/httpd.conf,v /root/ispconfig/httpd/conf/httpd.conf
and restart ISPConfig:

Code:
/etc/init.d/ispconfig_server restart
I did as you told but stil not working.

/etc/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
Syntax error on line 1264 of /root/ispconfig/httpd/conf/httpd.conf:
Invalid command '@', perhaps mis-spelled or defined by a module not included in the server configuration
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
ISPConfig system is now up and running!

The first part of the httpd.cof looks like this:
head 1.1;
access;
symbols;
locks; strict;
comment @# @;


1.1
date 2006.10.04.01.15.46; author root; state Exp;
branches;
next ;


desc
@exit
quit
q
@


1.1
log
@Initial revision
@
text
@##
## httpd.conf -- Apache HTTP server configuration file
##
Reply With Quote
  #6  
Old 23rd October 2006, 12:37
leen leen is offline
Member
 
Join Date: Mar 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I changed httpd.conf_http to httpd.conf ( after making a backup of the other one )

Now it's running again but not in https. But this is OK for now.
I wil make it https later, using the topic :
http://www.howtoforge.com/forums/sho...ght=https+http

Thank you very much for thr help
Reply With Quote
  #7  
Old 24th October 2006, 20:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by leen
I changed httpd.conf_http to httpd.conf ( after making a backup of the other one )
You can delete the other one as it doesn't contain any Apache directives at all. You must have replaced the contents somehow...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 25th October 2006, 00:57
Nap Nap is offline
Senior Member
 
Join Date: Oct 2006
Posts: 148
Thanks: 10
Thanked 2 Times in 2 Posts
Default

Leen,
Not sure if you've fixed it, but your NETSTAT -TAP report is showing that your Apache is listening on port 443.
I think you should have a line that ends in /ispconfig_http (probably on port 81) for the ISPConifg server.

Cheers,
Nap
Reply With Quote
  #9  
Old 26th October 2006, 14:21
leen leen is offline
Member
 
Join Date: Mar 2006
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I thought I fixed it but today again it didn't work.
Something is changing the httpd.conf file.

I just coppied the httpd.conf_https back to httpd.conf and all is working again.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig: from http to https & from https to http Hans Tips/Tricks/Mods 13 12th March 2013 23:22
HTTPS not working palkat Installation/Configuration 13 14th May 2007 17:19
spamassassin stop working after woody to sarge update shark_tico Server Operation 1 19th October 2006 14:01
PHP & MySQL working, but AREN'T WORKING???? lipp9000 Installation/Configuration 4 21st July 2006 17:01
ftp not working pesja Installation/Configuration 3 17th July 2006 12:37


All times are GMT +2. The time now is 06:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.