Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th June 2012, 20:37
ihsir ihsir is offline
Junior Member
 
Join Date: May 2011
Posts: 10
Thanks: 5
Thanked 1 Time in 1 Post
Default ISPConfig 3 is not loading (along with all websites)

I had set up a box following the instructions from The Perfect Server - Ubuntu 11.04 tutorial. After receiving help from both Falko and Pititis, everything worked nicely.

Last week I turned of the computer and kept it off for a few days. I turned it back on and can SSH into it via Putty (both from inside the network and from outside the network), but I cannot access ISPConfig from http://ipaddressOfMachine:8080. Even the default machine page http://ipaddressOfMachine:80 is not loading.

I restarted the server and the issue is persisting. How to find out what is wrong and how to fix this issue?
Reply With Quote
Sponsored Links
  #2  
Old 18th June 2012, 20:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,016
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Start apache with:

/etc/init.d/apache2 start
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th June 2012, 00:03
ihsir ihsir is offline
Junior Member
 
Join Date: May 2011
Posts: 10
Thanks: 5
Thanked 1 Time in 1 Post
Default

Thank you Till,
This is the outcome.

Code:
rishi@ubuntu:~$ /etc/init.d/apache2 start
 * Starting web server apache2                                                  Syntax error on line 6 of /etc/apache2/conf.d/squirrelmail.conf:
AddType requires at least two arguments, a mime type followed by one or more file extensions
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]

In /var/log/apache2, there are a ton of logs:
Code:
rishi@ubuntu:/var/log/apache2$ ls
access.log        error.log.1              other_vhosts_access.log.1
access.log.1      error.log.10.gz          other_vhosts_access.log.10.gz
access.log.10.gz  error.log.11.gz          other_vhosts_access.log.11.gz
access.log.11.gz  error.log.12.gz          other_vhosts_access.log.12.gz
access.log.12.gz  error.log.13.gz          other_vhosts_access.log.13.gz
access.log.13.gz  error.log.14.gz          other_vhosts_access.log.14.gz
access.log.14.gz  error.log.15.gz          other_vhosts_access.log.15.gz
access.log.15.gz  error.log.16.gz          other_vhosts_access.log.16.gz
access.log.2.gz   error.log.2.gz           other_vhosts_access.log.2.gz
access.log.3.gz   error.log.3.gz           other_vhosts_access.log.3.gz
access.log.4.gz   error.log.4.gz           other_vhosts_access.log.4.gz
access.log.5.gz   error.log.5.gz           other_vhosts_access.log.5.gz
access.log.6.gz   error.log.6.gz           other_vhosts_access.log.6.gz
access.log.7.gz   error.log.7.gz           other_vhosts_access.log.7.gz
access.log.8.gz   error.log.8.gz           other_vhosts_access.log.8.gz
access.log.9.gz   error.log.9.gz           other_vhosts_access.log.9.gz
error.log         other_vhosts_access.log
Which one should I look into?
Reply With Quote
  #4  
Old 19th June 2012, 00:28
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 200
Thanks: 26
Thanked 65 Times in 48 Posts
Default

Hi ihsir

You can see, that the error is in file /etc/apache2/conf.d/squirrelmail.conf on line 6.

Code:
 Syntax error on line 6 of /etc/apache2/conf.d/squirrelmail.conf:
Check the AddType there. If needed, do a google on how it should look like.

To you other questions, errors are always logged within error.log.
Reply With Quote
  #5  
Old 19th June 2012, 22:38
ihsir ihsir is offline
Junior Member
 
Join Date: May 2011
Posts: 10
Thanks: 5
Thanked 1 Time in 1 Post
 
Default Solution

The AddType that was in the file was:
Code:
AddType application/x-httpd-php.php
It should have been:
Code:
AddType application/x-httpd-php .php
(with a space before the .php).

After making this change (with sudo), rebooted the server and I'm now able to access the sites and ISPConfig.

Thank you all!
Reply With Quote
The Following User Says Thank You to ihsir For This Useful Post:
falko (20th June 2012)
Reply

Bookmarks

Tags
ispconfig 3, websites not showing up

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
How does ISPConfig handle 1200 websites? hakong General 6 25th May 2012 09:10
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 15:31
ISPCONFIG 3 - Issue creating websites after assigning an IP Address michael2010 Installation/Configuration 3 8th October 2010 09:07
Need help with ATI's graphics driver installer Wraithfire Installation/Configuration 25 16th June 2007 14:33
Advanced ISPConfig Installation Wizards for websites. FeraTechInc Developers' Forum 1 4th May 2007 16:17


All times are GMT +2. The time now is 17:08.


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