Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th July 2006, 04:16
auMark auMark is offline
Junior Member
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache 2 will not start. Unable to open logs

Hi all, I have spent hours searching for a fix for this problem. Have read all the posts in here with no sucsess.

Have: Ubuntu Server 6.06 with Perfect Setup done (thanks Flako great tutorial), ISP Config, Schoolbell, Webmin, UebiMiau and Roundcube.

All was working fine

Apache 2 stopped working. Last software installed was Roundcube

Error log reports:

unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_acces
s_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs

After Reading posts I checked suexec module in appache. Tried to reinstall module, reports already installed. Although webmin says it is not.

Any help much appreciated, thanks.

auMark.

update: stopped IPSConfig server and Webmin server. No luck. Apache2 still fails.

Last edited by auMark; 20th July 2006 at 04:26.
Reply With Quote
Sponsored Links
  #2  
Old 21st July 2006, 12:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
ls -l /root/ispconfig/cronolog
?
What's the output of
Code:
ls -la /var/log
?
What's at the end of your main Apache configuration (there must be a part added by the ISPConfig installer - this part also includes cronolog).
__________________
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
  #3  
Old 15th December 2006, 14:53
dekat dekat is offline
Junior Member
 
Join Date: Nov 2006
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default Same "Apache 2 will not start" problem on Ubuntu 6.06

Hi there,

I'm also stuck on Page 6 of the Ubuntu "Perfect Setup Guide" (http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p6) trying to do a force restart of apache2. I'm trying to install ISPConfig on Ubuntu 6.06, and when I do:

/etc/init.d/apache2 force-reloadrestart

I get:

* Forcing reload of apache 2.0 web server...
[fail]


Furthermore, my apache-error-log file reads:

unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs


I also tried the command:

ls -l /root/ispconfig/cronolog

and got:

ls: /root/ispconfig/cronolog: No such file or directory


Similarly, the command "ls -la /var/log" does not list any file called "cronolog."

What am I to do next? Thanks in advance for your help!
Reply With Quote
  #4  
Old 15th December 2006, 17:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Is ISPConfig completely installed on your server? Please post the output of:

ls -la /root/ispconfig/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th December 2006, 00:31
dekat dekat is offline
Junior Member
 
Join Date: Nov 2006
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Here's the output for the "ls -la /root/ispconfig/" command:

ls: /root/ispconfig/: No such file or directory

It seems ISPConfig is not completely installed. Please note, however, that "The Perfect Setup Guide" talks about installing ISPConfig in Page 7 (the last page), while I had my problems in Page 6. So what should I do now?
Reply With Quote
  #6  
Old 16th December 2006, 12:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by dekat
Hi there,

I'm also stuck on Page 6 of the Ubuntu "Perfect Setup Guide" (http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p6) trying to do a force restart of apache2. I'm trying to install ISPConfig on Ubuntu 6.06, and when I do:

/etc/init.d/apache2 force-reloadrestart

I get:

* Forcing reload of apache 2.0 web server...
[fail]


Furthermore, my apache-error-log file reads:

unable to start piped log program '/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d': No such file or directory
Unable to open logs


I also tried the command:

ls -l /root/ispconfig/cronolog

and got:

ls: /root/ispconfig/cronolog: No such file or directory
This looks as if ISPConfig was already installed when you ran the Apache setup, but /root/ispconfig has been deleted (accidentally?).
If /home/admispconfig exists, I suggest you run
Code:
mkdir /root/ispconfig
and install the latest ISPConfig again which will then perform an update.
__________________
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
  #7  
Old 2nd January 2007, 16:33
soheil.moradi soheil.moradi is offline
Junior Member
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

Hello everybody,
I came and wanna learn you a little...

Maybe you couldn't restart or start Apache2 in the Ubuntu or other OS...

in the Ubuntu you should do following commands:

Code:
locate ports.conf
Now give you following results:

***
/etc/apache2/ports.conf
****


ok, you should go to ports.conf located directory with follow command:

Code:
cd /etc/apache2/
Next you should edit ports.conf with a editor, I use nano to edit this file with follow command

Code:
sudo nano ports.conf
Next you should replace follow line with everything in the "ports.conf":

PHP Code:
Listen 127.0.0.1:8080 
Also You can replace xxx.xxx.xxx.xxx:8080 with 127.0.0.1:8080

OK, now exit this file with pressing "Ctrl+X" » Y » <ENTER>

Next you should start your apache server with follow command:

Code:
sudo /etc/init.d/apache2 start
Enjoy;

Visit my website and help me with your comments: :KS http://www.irtik.com
Reply With Quote
  #8  
Old 3rd January 2007, 11:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,704
Thanks: 819
Thanked 5,321 Times in 4,174 Posts
Default

Quote:
Originally Posted by soheil.moradi
Hello everybody,
I came and wanna learn you a little...
This solution is not useful at all and also not useful to solve the problem in this thread. It will only m,ess up your configuration, so dont try this!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 3rd January 2007, 19:32
dekat dekat is offline
Junior Member
 
Join Date: Nov 2006
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks Till and all for your postings. In any case, I have already sorted out my problem. I re-installed ISPConfig and, very importantly, created a new site. The creation of the new site got rid of the problem of the apache2-default page and an index of directories showiing up.

Again, thanks for all your help! And best wishes for a HAPPY, HEALTHY, and PROSPEROUS NEW YEAR!!
Reply With Quote
  #10  
Old 4th January 2007, 15:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

Quote:
Originally Posted by dekat
And best wishes for a HAPPY, HEALTHY, and PROSPEROUS NEW YEAR!!
We wish the same to you!
__________________
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
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
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29
Unable to open ISPConfig Web neu2linux Installation/Configuration 27 25th May 2006 14:09
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
ignore apache error logs? lerra Installation/Configuration 4 10th February 2006 23:28
open ports rayit General 6 18th January 2006 14:23


All times are GMT +2. The time now is 05:59.


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