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=16)
-   -   Fresh Install of Ubuntu 10.04 and ISPConfig 2 (http://www.howtoforge.com/forums/showthread.php?t=47562)

happz 26th July 2010 14:58

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

till 26th July 2010 15:02

Please post the output of:

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

happz 26th July 2010 15:06

Quote:

Originally Posted by till (Post 234735)
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


happz 27th July 2010 13:55

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

regards,
happz

till 27th July 2010 14:07

Try just:

httpd -t

happz 27th July 2010 14:28

Quote:

Originally Posted by till (Post 234822)
Try just:

httpd -t

Result:

httpd: bad user name ${APACHE_RUN_USER}


happz

till 27th July 2010 14:39

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.

happz 27th July 2010 20:37

Okay..here's the results:
 
root@gtchwebsrv01:~# ./etc/apache2/envvars && httpd -t
-bash: ./etc/apache2/envvars: No such file or directory
root@gtchwebsrv01:~#

falko 28th July 2010 14:51

Try
Code:

. /etc/apache2/envvars && httpd -t
instead (space between . and /etc/apache2/envvars).

happz 28th July 2010 19:40

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


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

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