HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   After Update Issue (http://www.howtoforge.com/forums/showthread.php?t=60678)

kendel 25th February 2013 20:28

After Update Issue
 
Seems my websites still work, even the Proxy to mail server still works but, ispconfig on the panel server stopped working.

I did all the minor server updates of ispconfig first. then I did the panel server last (which hosts the ispconfig control panel).

The panel server is no longer responding. not on the https or http which I self created to the /var/www/ispconfig folder. I left everything default as it was on the update since I had made no changes initially except the original default port on the panel server which I changed from 8080 to 11000 (originally). But wit the update it was reset to 8080.

till 25th February 2013 21:29

Please check the apache error.log. Moste likely a part of the fastcgi setup is missing.

siucdude911 26th February 2013 00:57

Same issue here, and I can't access the CP anymore,

Forbidden
You don't have permission to access / on this server.


[Mon Feb 25 17:52:16 2013] [error] [client 10.0.0.103] client denied by server configuration: /var/www/

the error message and the log of the error,
It worked like a charm before the update...

This is the only other thing i found related to this error message.
http://www.howtoforge.com/forums/showthread.php?t=60025

kendel 26th February 2013 03:22

I did some troubleshooting and figured out that when the update happened ISPConfig created a new virual host using port 8080 of the exact location I was using for port 80, which somehow conflicted, so I had to delete my custom port 80. given that, How can I make this work for me:

<VirtualHost ipaddress:443>
ServerName host1.domain.com
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / https://privateip:8080/
ProxyPassReverse / https://privateip:8080/

SSLProxyEngine on
SSLEngine on
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key


Whenever I try to use port 443 on my webserver to forward proxy, the apache server gets an error:

Failed to start apache :

* Starting web server apache2
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
...fail!

Initially I had the control panel running on port 80. and it worked so I left it alone.

siucdude911 26th February 2013 05:13

Well here is more info,
I get this after I made changes to the hostfile

[Mon Feb 25 22:08:26 2013] [error] [client 10.0.0.103] PHP Warning: require_once(/usr/local/ispconfig/interface/lib/config.inc.php): failed to open stream: Permission denied in /usr/local/ispconfig/interface/web/index.php on line 31
[Mon Feb 25 22:08:26 2013] [error] [client 10.0.0.103] PHP Fatal error: require_once(): Failed opening required '../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/ispconfig/interface/web/index.php on line 31

till 26th February 2013 08:44

Quote:

* Starting web server apache2
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
...fail!
Seems as if you have more then one Listen statement for port 80 in your apache configuration.

Quote:

Well here is more info,
I get this after I made changes to the hostfile

[Mon Feb 25 22:08:26 2013] [error] [client 10.0.0.103] PHP Warning: require_once(/usr/local/ispconfig/interface/lib/config.inc.php): failed to open stream: Permission denied in /usr/local/ispconfig/interface/web/index.php on line 31
[Mon Feb 25 22:08:26 2013] [error] [client 10.0.0.103] PHP Fatal error: require_once(): Failed opening required '../lib/config.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/local/ispconfig/interface/web/index.php on line 31
Please post the output of:

ls -la /usr/local/ispconfig/interface/lib/config.inc.php

kendel 26th February 2013 09:33

the thing is, I am trying to use port 443. not 80...

till 26th February 2013 09:35

Quote:

Originally Posted by kendel (Post 292568)
the thing is, I am trying to use port 443. not 80...

The error message is about port 80, not 443. So there must be a duplicate Listen statement for port 80 somewhere which prevents apache to start.

siucdude911 26th February 2013 18:55

root@pc:/# ls -la /usr/local/ispconfig/interface/lib/config.inc.php
-rw------- 1 ispconfig ispconfig 6671 Feb 25 12:58 /usr/local/ispconfig/interface/lib/config.inc.php
root@pc:/#

till 26th February 2013 18:57

Quote:

Originally Posted by siucdude911 (Post 292666)
root@pc:/# ls -la /usr/local/ispconfig/interface/lib/config.inc.php
-rw------- 1 ispconfig ispconfig 6671 Feb 25 12:58 /usr/local/ispconfig/interface/lib/config.inc.php
root@pc:/#

Thats ok.

Please install the following patch update to see if this fixes your issue:

http://www.howtoforge.com/forums/sho...1&postcount=22


All times are GMT +2. The time now is 12:44.

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