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)
-   -   Couple issues with ispconfig 2.2.12 after Fiesty upgrade (http://www.howtoforge.com/forums/showthread.php?t=12380)

pyropoptrt 28th April 2007 08:00

Couple issues with ispconfig 2.2.12 after Fiesty upgrade
 
I upgraded my server from Ubuntu 6.10 to Fiesty (7.xx). I utilized the perfect install instructions for fiesty on this site, here are some of the issues I am having after installing everything and reconfiguring my sites:

1. I am currently running three sites. I noticed in my vhosts file that only the first site I added shows up. So, when trying to access the other two sites, all I get is the sharedip webpage.

2. php does not work on the first site i set up (can't test on the other two sites). When pulling up any page with php it promptly downloads the page. :eek: In the past I have had the php lines in the mods-enabled conf not commented out because ispconfig wouldn't turn them on unless they were not commented out. Currently on my conf files I have them commented out per instructions from this thread http://www.howtoforge.com/forums/showthread.php?t=1098 but I still can't get php to work. Looking at the ispconfig.conf I noticed no mention of php so I added that line per another thread.

so far, these are the only issues I am dealing with. When I first followed the perfect install instructions for Ubuntu 6.10 I didn't have any problems at all, except for the php issue. Just want to give a big thumbs up to the developers of this product, so far I have absolutely loved it and look forward to version 3.

Hans 28th April 2007 09:07

Do you have this line at the end within your /etc/apache2/apache2.conf:

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf

After any modification restart Apache2:

/etc/init.d/apache2 restart

pyropoptrt 28th April 2007 14:28

The include Vhosts line is there on apache2.conf. When restarting apache this error shows up:

[warn] NameVirtualHost 192.168.0.104:80 has no VirtualHosts

pyropoptrt 29th April 2007 06:51

I have been doing some major searching through the forums. After reading through this thread (http://www.howtoforge.com/forums/showthread.php?t=7719) and trying the test that till suggested I get the following error message:

Syntax error on line 58 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

and here's line 58:
php_admin_flag safe_mode On

pyropoptrt 29th April 2007 06:53

and here's the output from ls -la /root/ispconfig as suggested by falko

-rwxr-xr-x 1 root root 34550 2007-04-27 07:10 cronolog
-rwxr-xr-x 1 root root 9673 2007-04-27 07:10 cronosplit
drwxr-xr-x 12 root root 4096 2007-04-26 23:13 httpd
drwxr-xr-x 14 root root 4096 2007-04-27 07:10 isp
-rw-r--r-- 1 root root 8 2007-04-28 23:11 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2007-04-26 23:10 openssl
drwxr-xr-x 6 root root 4096 2007-04-27 07:09 php
drwxr-xr-x 4 root root 4096 2007-04-27 07:10 scripts
drwxr-xr-x 4 root root 4096 2007-04-27 07:10 standard_cgis
drwxr-xr-x 2 root root 4096 2007-04-27 07:10 sv
-rwx------ 1 root root 9389 2007-04-27 07:10 uninstall

pyropoptrt 29th April 2007 07:02

and here's my error log from /home/admispconfig/ispconfig/ispconfig.log:

http://www.pyropoptrt.com/ispconfig.txt

mxc 29th April 2007 10:30

it seems like your /etc/apache2/httpd.conf (note not sure of the exact name in ubunut -- it might be apcahe.conf) file has had some changes. Also is seems that mod_php is not enabled

Do a "a2enmod" as root and select the correct entry for mod_php

falko 29th April 2007 20:15

What's the output of
Code:

ls -l /etc/apache2/vhosts
?

pyropoptrt 29th April 2007 23:21

I don't see any modules that mention php when executing

Code:

a2enmod

pyropoptrt 29th April 2007 23:23

Quote:

Originally Posted by falko
What's the output of
Code:

ls -l /etc/apache2/vhosts
?

total 364
-rw-r--r-- 1 root root 1420 2007-04-29 00:19 Vhosts_ispconfig.conf
-rw-r--r-- 1 root root 1805 2007-04-27 08:17 Vhosts_ispconfig.conf_27-04-07_08-17-08
-rw-r--r-- 1 root root 1805 2007-04-27 08:18 Vhosts_ispconfig.conf_27-04-07_08-18-28
-rw-r--r-- 1 root root 1805 2007-04-27 08:19 Vhosts_ispconfig.conf_27-04-07_08-19-05
-rw-r--r-- 1 root root 1805 2007-04-27 08:19 Vhosts_ispconfig.conf_27-04-07_08-19-18
-rw-r--r-- 1 root root 1805 2007-04-27 08:20 Vhosts_ispconfig.conf_27-04-07_08-20-11
-rw-r--r-- 1 root root 1805 2007-04-27 08:24 Vhosts_ispconfig.conf_27-04-07_08-24-10
-rw-r--r-- 1 root root 1805 2007-04-27 08:25 Vhosts_ispconfig.conf_27-04-07_08-25-02
-rw-r--r-- 1 root root 1805 2007-04-27 08:32 Vhosts_ispconfig.conf_27-04-07_08-32-48
-rw-r--r-- 1 root root 1805 2007-04-27 08:33 Vhosts_ispconfig.conf_27-04-07_08-33-15
-rw-r--r-- 1 root root 1805 2007-04-27 08:34 Vhosts_ispconfig.conf_27-04-07_08-34-51
-rw-r--r-- 1 root root 1805 2007-04-27 08:38 Vhosts_ispconfig.conf_27-04-07_08-38-07
-rw-r--r-- 1 root root 1805 2007-04-27 08:38 Vhosts_ispconfig.conf_27-04-07_08-38-24
-rw-r--r-- 1 root root 1969 2007-04-27 21:44 Vhosts_ispconfig.conf_27-04-07_21-44-32
-rw-r--r-- 1 root root 3474 2007-04-27 21:48 Vhosts_ispconfig.conf_27-04-07_21-48-30
-rw-r--r-- 1 root root 3474 2007-04-27 21:50 Vhosts_ispconfig.conf_27-04-07_21-50-16
-rw-r--r-- 1 root root 3474 2007-04-27 21:56 Vhosts_ispconfig.conf_27-04-07_21-56-55
-rw-r--r-- 1 root root 5011 2007-04-27 22:10 Vhosts_ispconfig.conf_27-04-07_22-10-51
-rw-r--r-- 1 root root 5011 2007-04-27 22:12 Vhosts_ispconfig.conf_27-04-07_22-12-11
-rw-r--r-- 1 root root 5142 2007-04-27 22:16 Vhosts_ispconfig.conf_27-04-07_22-16-06
-rw-r--r-- 1 root root 5142 2007-04-27 22:20 Vhosts_ispconfig.conf_27-04-07_22-20-09
-rw-r--r-- 1 root root 5142 2007-04-27 22:20 Vhosts_ispconfig.conf_27-04-07_22-20-46
-rw-r--r-- 1 root root 5142 2007-04-27 22:21 Vhosts_ispconfig.conf_27-04-07_22-21-02
-rw-r--r-- 1 root root 5142 2007-04-27 22:22 Vhosts_ispconfig.conf_27-04-07_22-22-19
-rw-r--r-- 1 root root 5142 2007-04-27 22:22 Vhosts_ispconfig.conf_27-04-07_22-22-58
-rw-r--r-- 1 root root 5142 2007-04-27 22:38 Vhosts_ispconfig.conf_27-04-07_22-38-51
-rw-r--r-- 1 root root 5142 2007-04-27 22:40 Vhosts_ispconfig.conf_27-04-07_22-40-08
-rw-r--r-- 1 root root 5306 2007-04-27 22:41 Vhosts_ispconfig.conf_27-04-07_22-41-36
-rw-r--r-- 1 root root 5306 2007-04-27 22:42 Vhosts_ispconfig.conf_27-04-07_22-42-35
-rw-r--r-- 1 root root 5306 2007-04-27 22:48 Vhosts_ispconfig.conf_27-04-07_22-48-01
-rw-r--r-- 1 root root 5306 2007-04-27 22:50 Vhosts_ispconfig.conf_27-04-07_22-50-06
-rw-r--r-- 1 root root 5306 2007-04-27 23:07 Vhosts_ispconfig.conf_27-04-07_23-07-11
-rw-r--r-- 1 root root 5306 2007-04-27 23:07 Vhosts_ispconfig.conf_27-04-07_23-07-50
-rw-r--r-- 1 root root 5306 2007-04-27 23:12 Vhosts_ispconfig.conf_27-04-07_23-12-36
-rw-r--r-- 1 root root 5306 2007-04-27 23:34 Vhosts_ispconfig.conf_27-04-07_23-34-08
-rw-r--r-- 1 root root 5306 2007-04-27 23:34 Vhosts_ispconfig.conf_27-04-07_23-34-25
-rw-r--r-- 1 root root 5306 2007-04-27 23:34 Vhosts_ispconfig.conf_27-04-07_23-34-42
-rw-r--r-- 1 root root 5306 2007-04-27 23:34 Vhosts_ispconfig.conf_27-04-07_23-34-57
-rw-r--r-- 1 root root 5306 2007-04-28 22:40 Vhosts_ispconfig.conf_28-04-07_22-40-25
-rw-r--r-- 1 root root 6656 2007-04-28 23:05 Vhosts_ispconfig.conf_28-04-07_23-05-01
-rw-r--r-- 1 root root 6668 2007-04-28 23:05 Vhosts_ispconfig.conf_28-04-07_23-05-22
-rw-r--r-- 1 root root 6668 2007-04-28 23:06 Vhosts_ispconfig.conf_28-04-07_23-06-00
-rw-r--r-- 1 root root 6668 2007-04-28 23:08 Vhosts_ispconfig.conf_28-04-07_23-08-42
-rw-r--r-- 1 root root 6668 2007-04-28 23:09 Vhosts_ispconfig.conf_28-04-07_23-09-28
-rw-r--r-- 1 root root 6668 2007-04-28 23:09 Vhosts_ispconfig.conf_28-04-07_23-09-45
-rw-r--r-- 1 root root 6668 2007-04-28 23:10 Vhosts_ispconfig.conf_28-04-07_23-10-29
-rw-r--r-- 1 root root 5548 2007-04-29 00:16 Vhosts_ispconfig.conf_29-04-07_00-16-28
-rw-r--r-- 1 root root 5548 2007-04-29 00:17 Vhosts_ispconfig.conf_29-04-07_00-17-37
-rw-r--r-- 1 root root 5548 2007-04-29 00:17 Vhosts_ispconfig.conf_29-04-07_00-17-54
-rw-r--r-- 1 root root 5548 2007-04-29 00:18 Vhosts_ispconfig.conf_29-04-07_00-18-41
-rw-r--r-- 1 root root 5548 2007-04-29 00:18 Vhosts_ispconfig.conf_29-04-07_00-18-57
-rw-r--r-- 1 root root 5548 2007-04-29 00:19 Vhosts_ispconfig.conf_29-04-07_00-19-13
-rw-r--r-- 1 root root 5548 2007-04-29 00:19 Vhosts_ispconfig.conf_29-04-07_00-19-30
-rw-r--r-- 1 root root 5545 2007-04-29 00:19 Vhosts_ispconfig.conf_29-04-07_00-19-58


All times are GMT +2. The time now is 22:46.

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