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 26th July 2010, 14:58
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default Fresh Install of Ubuntu 10.04 and ISPConfig 2

Issue: Web (apache) will not start. states it is Offline.

Research: I checked the error log /va/log/apache2/error

Results:
Code:
[Wed Jul 21 19:21:29 2010] [notice] child pid 13686 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:29 2010] [notice] child pid 13687 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:29 2010] [notice] child pid 13688 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:29 2010] [notice] child pid 13689 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13690 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13691 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13692 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13693 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13694 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13695 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13696 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] child pid 13697 exit signal Segmentation fault (11)
[Wed Jul 21 19:21:30 2010] [notice] caught SIGTERM, shutting down
[Wed Jul 21 19:21:32 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/idn.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Wed Jul 21 19:21:32 2010] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Jul 21 19:21:32 2010] [notice] mod_python: using mutex_directory /tmp 
[Wed Jul 21 19:21:32 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 PHP/5.3.2-1ubuntu4.2 with Suhosin-Patch mod_python/3.3.1 Python/2.6.5 mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
[Wed Jul 21 19:24:17 2010] [notice] caught SIGTERM, shutting down
[Wed Jul 21 19:24:18 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/idn.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imagick.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Wed Jul 21 19:24:18 2010] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Jul 21 19:24:18 2010] [notice] mod_python: using mutex_directory /tmp 
[Wed Jul 21 19:24:18 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 PHP/5.3.2-1ubuntu4.2 with Suhosin-Patch mod_python/3.3.1 Python/2.6.5 mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
[Wed Jul 21 19:56:59 2010] [notice] caught SIGTERM, shutting down
I attempted to restart and it appears it is yet, still in Offline Mod. This is not the full log but most of the first section is a repeat. When I tryed to restart from cmd line I get this:

Code:
root@gtcweb:~# /etc/init.d/apache2 restart
 * Restarting web server apache2   Syntax error on line 6 of /etc/apache2/mods-enabled/php5.conf:
SetHandler takes one argument, a handler name that overrides any other configured handler
Here is the php5.conf:

Code:
<IfModule mod_php5.c>
    <FilesMatch "\.ph(p3?|tml)$">
	#SetHandler ##ISPConfig INSTALL## application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
	SetHandler ##ISPConfig INSTALL## application/x-httpd-php-source
    </FilesMatch>
    # To re-enable php in user directories comment the following lines
    # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
    # prevents .htaccess files from disabling it.
    <IfModule mod_userdir.c>
        <Directory /home/*/public_html>
            php_admin_value engine Off
        </Directory>
    </IfModule>
</IfModule>
Help is appreciated.

Happz

Last edited by happz; 26th July 2010 at 15:02. Reason: fix wording
Reply With Quote
The Following User Says Thank You to happz For This Useful Post:
feeninuoumn (23rd December 2013)
Sponsored Links
  #2  
Old 26th July 2010, 15:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,239 Times in 4,107 Posts
Default

Please post the output of:

./etc/apache2/envvars && httpd -t
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th July 2010, 15:06
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
Please post the output of:

./etc/apache2/envvars && httpd -t
Results:

Code:
root@gtchwebsrv01:~# /etc/apache2/envvars && httpd -t
-bash: /etc/apache2/envvars: Permission denied

Last edited by happz; 26th July 2010 at 15:23. Reason: my bad- here is the error..
Reply With Quote
  #4  
Old 27th July 2010, 13:55
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default Any idea's?

I entered the output and get a permission's error. What could that mean?

regards,
happz
Reply With Quote
  #5  
Old 27th July 2010, 14:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,239 Times in 4,107 Posts
Default

Try just:

httpd -t
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 27th July 2010, 14:28
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
Try just:

httpd -t
Result:

httpd: bad user name ${APACHE_RUN_USER}


happz
Reply With Quote
  #7  
Old 27th July 2010, 14:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,239 Times in 4,107 Posts
Default

Then the first command I posted is correct. Try it again. I just noticed that you had a typo in your output, you missed the dot at the beginning of the command.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 27th July 2010, 20:37
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
Default Okay..here's the results:

root@gtchwebsrv01:~# ./etc/apache2/envvars && httpd -t
-bash: ./etc/apache2/envvars: No such file or directory
root@gtchwebsrv01:~#
Reply With Quote
  #9  
Old 28th July 2010, 14:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

Try
Code:
. /etc/apache2/envvars && httpd -t
instead (space between . and /etc/apache2/envvars).
__________________
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
  #10  
Old 28th July 2010, 19:40
happz happz is offline
Senior Member
 
Join Date: Feb 2008
Location: Nashville, TN
Posts: 261
Thanks: 35
Thanked 6 Times in 5 Posts
 
Default Okay..i did that

here's the results:
Code:
root@gtchwebsrv01:~# . /etc/apache2/envvars && httpd -t
Syntax error on line 6 of /etc/apache2/mods-enabled/php5.conf:
SetHandler takes one argument, a handler name that overrides any other confid handler
thanks,
happz
Reply With Quote
Reply

Bookmarks

Tags
apache2 error

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 not working after upgrade to Ubuntu 10.04 jkrell Installation/Configuration 22 26th September 2011 11:07
PureFTPd + Ubuntu 10.04 + ISPConfig 3 + (ve) rustydogcreative Installation/Configuration 10 11th March 2011 15:31
Pure-FTPd not working with ISPConfig 3 in Ubuntu 10.04 LTS kbo206 General 1 31st May 2010 09:05
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 13:22
Fresh Install of ISPConfig latcarf Installation/Configuration 0 6th August 2005 20:06


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


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