After adding a new site within ISConfig 2.2.1 via > ISP Manager > New site > there appear NO modifcations within /etc/apache2/vhosts/Vhosts_ispconfig.conf The result is that the created website is NOT reachable from the Internet. I have also seen that there is a long list in directory /etc/apache2/vhosts/ with different Vhost files like: /etc/apache2/vhosts/Vhosts_ispconfig.conf_22-04-06_13-23-59 I have to say that every time I create a new website in ISPConfig, the virtual host for the last site appears in the last file like: /etc/apache2/vhosts/Vhosts_ispconfig.conf_dd-mm-yy_hr-min-sec. So I did the following to solve the problem: I renamed /etc/apache2/vhosts/Vhosts_ispconfig.conf to /etc/apache2/vhosts/Vhosts_ispconfig-old.conf I copied the last and most up to date /etc/apache2/vhosts/Vhosts_ispconfig.conf_dd-mm-yy_hr-min-sec to /etc/apache2/vhosts/Vhosts_ispconfig.conf I restarted Apache by: /etc/init.d/apache2 restart While starting up Apache again an error occurs: Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration. I removed all the lines starting with 'php_admin_flag' within my new /etc/apache2/vhosts/Vhosts_ispconfig.conf After this, Apache is starting up successfully again, although it gave me a warning: Forcing reload of web server: Apache2 ... no pidfile found! not running? And, via ISPConfig I can NOT add new virtualhosts within my file /etc/apache2/vhosts/Vhosts_ispconfig.conf. How can I solve this problem? Hans
Falko, But do you have any idea how i can install the PHP module again? I do not know which module i am missing ... Do i have to install Apache all over again from your Perfect Setup for Debian? Hans
Please post the output of Code: ls -la /etc/apache2/mods-available and Code: ls -la /etc/apache2/mods-enabled
Falko, It must be something with php i think. The main problem is that new sites are not added in the file: vhosts/Vhosts_ispconfig.conf Here is the output you requested: server1:/# ls -la /etc/apache2/mods-available total 336 drwxr-xr-x 2 root root 4096 2006-04-21 00:22 . drwxr-xr-x 9 root root 4096 2006-03-31 16:48 .. -rw-r--r-- 1 root root 66 2005-09-05 16:23 actions.load -rw-r--r-- 1 root root 60 2005-09-05 16:23 asis.load -rw-r--r-- 1 root root 70 2005-09-05 16:23 auth_anon.load -rw-r--r-- 1 root root 68 2005-09-05 16:23 auth_dbm.load -rw-r--r-- 1 root root 74 2005-09-05 16:23 auth_digest.load -rw-r--r-- 1 root root 130 2005-09-05 16:23 auth_ldap.load -rw-r--r-- 1 root root 62 2005-09-05 16:23 cache.load -rw-r--r-- 1 root root 70 2005-09-05 16:23 cern_meta.load -rw-r--r-- 1 root root 61 2005-09-05 16:23 cgid.conf -rw-r--r-- 1 root root 60 2005-09-05 16:23 cgid.load -rw-r--r-- 1 root root 58 2006-03-31 16:48 cgi.load -rw-r--r-- 1 root root 58 2006-03-31 12:44 cgi.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 58 2006-03-31 16:34 cgi.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 58 2006-03-31 16:48 cgi.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 37 2005-09-05 16:23 dav_fs.conf -rw-r--r-- 1 root root 64 2005-09-05 16:23 dav_fs.load -rw-r--r-- 1 root root 58 2005-09-05 16:23 dav.load -rw-r--r-- 1 root root 66 2005-09-05 16:23 deflate.load -rw-r--r-- 1 root root 72 2005-09-05 16:23 disk_cache.load -rw-r--r-- 1 root root 66 2005-09-05 16:23 expires.load -rw-r--r-- 1 root root 72 2005-09-05 16:23 ext_filter.load -rw-r--r-- 1 root root 72 2005-09-05 16:23 file_cache.load -rw-r--r-- 1 root root 66 2005-09-05 16:23 headers.load -rw-r--r-- 1 root root 60 2005-09-05 16:23 imap.load -rw-r--r-- 1 root root 66 2006-03-31 16:48 include.load -rw-r--r-- 1 root root 66 2006-03-31 12:44 include.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 66 2006-03-31 16:34 include.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 66 2006-03-31 16:48 include.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 60 2005-09-05 16:23 info.load -rw-r--r-- 1 root root 60 2005-09-05 16:23 ldap.load -rw-r--r-- 1 root root 70 2005-09-05 16:23 mem_cache.load -rw-r--r-- 1 root root 90 2005-09-05 16:23 mime_magic.conf -rw-r--r-- 1 root root 72 2005-09-05 16:23 mime_magic.load -rw-r--r-- 1 root root 19 2006-03-31 16:48 perl.conf -rw-r--r-- 1 root root 19 2006-03-31 12:44 perl.conf.31-03-06_12-44-24 -rw-r--r-- 1 root root 19 2006-03-31 16:34 perl.conf.31-03-06_16-34-05 -rw-r--r-- 1 root root 19 2006-03-31 16:48 perl.conf.31-03-06_16-48-42 -rw-r--r-- 1 root root 60 2006-03-31 16:48 perl.load -rw-r--r-- 1 root root 60 2006-03-31 12:44 perl.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 60 2006-03-31 16:34 perl.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 60 2006-03-31 16:48 perl.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 133 2006-03-31 16:48 php4.conf -rw-r--r-- 1 root root 133 2006-03-31 12:44 php4.conf.31-03-06_12-44-24 -rw-r--r-- 1 root root 133 2006-03-31 16:34 php4.conf.31-03-06_16-34-05 -rw-r--r-- 1 root root 133 2006-03-31 16:48 php4.conf.31-03-06_16-48-42 -rw-r--r-- 1 root root 59 2006-03-31 16:48 php4.load -rw-r--r-- 1 root root 59 2006-03-31 12:44 php4.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 59 2006-03-31 16:34 php4.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 59 2006-03-31 16:48 php4.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 840 2005-09-05 16:23 proxy.conf -rw-r--r-- 1 root root 78 2005-09-05 16:23 proxy_connect.load -rw-r--r-- 1 root root 70 2005-09-05 16:23 proxy_ftp.load -rw-r--r-- 1 root root 72 2005-09-05 16:23 proxy_http.load -rw-r--r-- 1 root root 316 2005-09-05 16:23 proxy.load -rw-r--r-- 1 root root 66 2006-03-31 16:48 rewrite.load -rw-r--r-- 1 root root 66 2006-03-31 12:44 rewrite.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 66 2006-03-31 16:34 rewrite.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 66 2006-03-31 16:48 rewrite.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 66 2005-09-05 16:23 speling.load -rw-r--r-- 1 root root 3545 2006-03-31 16:48 ssl.conf -rw-r--r-- 1 root root 3545 2006-03-31 12:44 ssl.conf.31-03-06_12-44-24 -rw-r--r-- 1 root root 3545 2006-03-31 16:34 ssl.conf.31-03-06_16-34-05 -rw-r--r-- 1 root root 3545 2006-03-31 16:48 ssl.conf.31-03-06_16-48-42 -rw-r--r-- 1 root root 58 2006-03-31 16:48 ssl.load -rw-r--r-- 1 root root 58 2006-03-31 12:44 ssl.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 58 2006-03-31 16:34 ssl.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 58 2006-03-31 16:48 ssl.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 64 2006-03-31 16:48 suexec.load -rw-r--r-- 1 root root 64 2006-03-31 12:44 suexec.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 64 2006-03-31 16:34 suexec.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 64 2006-03-31 16:48 suexec.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 70 2005-09-05 16:23 unique_id.load -rw-r--r-- 1 root root 244 2006-03-31 16:48 userdir.conf -rw-r--r-- 1 root root 244 2006-03-31 12:44 userdir.conf.31-03-06_12-44-24 -rw-r--r-- 1 root root 244 2006-03-31 16:34 userdir.conf.31-03-06_16-34-05 -rw-r--r-- 1 root root 244 2006-03-31 16:48 userdir.conf.31-03-06_16-48-42 -rw-r--r-- 1 root root 66 2006-03-31 16:48 userdir.load -rw-r--r-- 1 root root 66 2006-03-31 12:44 userdir.load.31-03-06_12-44-24 -rw-r--r-- 1 root root 66 2006-03-31 16:34 userdir.load.31-03-06_16-34-05 -rw-r--r-- 1 root root 66 2006-03-31 16:48 userdir.load.31-03-06_16-48-42 -rw-r--r-- 1 root root 70 2005-09-05 16:23 usertrack.load -rw-r--r-- 1 root root 74 2005-09-05 16:23 vhost_alias.load server1:/# ls -la /etc/apache2/mods-enabled total 12 drwxr-xr-x 2 root root 4096 2006-04-20 23:08 . drwxr-xr-x 9 root root 4096 2006-03-31 16:48 .. lrwxrwxrwx 1 root root 36 2006-03-31 11:45 cgi.load -> /etc/apache2/mods-available/cgi.load lrwxrwxrwx 1 root root 40 2006-03-31 11:50 include.load -> /etc/apache2/mods-available/include.load lrwxrwxrwx 1 root root 37 2006-03-31 11:45 perl.conf -> /etc/apache2/mods-available/perl.conf lrwxrwxrwx 1 root root 37 2006-03-31 11:45 perl.load -> /etc/apache2/mods-available/perl.load -rw-r--r-- 1 root root 134 2006-04-20 23:08 php4.conf lrwxrwxrwx 1 root root 40 2006-03-31 11:50 rewrite.load -> /etc/apache2/mods-available/rewrite.load lrwxrwxrwx 1 root root 36 2006-03-31 11:50 ssl.conf -> /etc/apache2/mods-available/ssl.conf lrwxrwxrwx 1 root root 36 2006-03-31 11:50 ssl.load -> /etc/apache2/mods-available/ssl.load lrwxrwxrwx 1 root root 39 2006-03-31 11:50 suexec.load -> /etc/apache2/mods-available/suexec.load lrwxrwxrwx 1 root root 40 2006-03-31 11:44 userdir.conf -> /etc/apache2/mods-available/userdir.conf lrwxrwxrwx 1 root root 40 2006-03-31 11:44 userdir.load -> /etc/apache2/mods-available/userdir.load Do you see something that i miss that should be in your Debian perfect setup? Hans
For information Falko, for your information and to help you to the right track: Before i started with squirrelmail, i tried a setup with Horde/IMP. For that reason i read the documentation at http://www.horde.org and this thread: http://www.howtoforge.com/forums/showthread.php?p=20195&mode=linear&highlight=Horde#post20195 During my preparations for Horde i did the following as mentioned in the thread above: apt-get install php4-mcrypt apt-get install libfile-type-perl libapache2-mod-php4 libfile-mmagic-perl I guess my experience is not enough, but i did not succeed with Horde/IMP. The installation process was a little to complicated for me, so finally i choose for squirrelmail. So i removed the extra installed modules again with: apt-get remove php4-mcrypt apt-get remove libfile-type-perl libapache2-mod-php4 libfile-mmagic-perl I think since then, I can not add new virtual hosts anymore in /etc/apache2/vhosts/Vhosts_ispconfig.conf Only a vhost file is added like /etc/apache2/vhosts/Vhosts_ispconfig.conf_dd-mm-yy_hr-min-sec. but NOT within the /etc/apache2/vhosts/Vhosts_ispconfig.conf itself! I also have to say that PHP-scripts with the websites i host do NOT function anymore !! I really hope we can solve this. Hans
Please make a backup of the file /etc/apache2/vhosts/Vhosts_ispconfig.conf. Then rename the latest /etc/apache2/vhosts/Vhosts_ispconfig.conf_dd-mm-yy_hr-min-sec file to /etc/apache2/vhosts/Vhosts_ispconfig.conf The run: httpd -t and post the error message here.
Till/Falko, I was very worried but everything is ok now. It was a puzzle to me. Because i could not write changes via ISPConfig to the config-files, I installed your hotfix according http://www.howtoforge.com/forums/showthread.php?t=3695 I also did: ps -ax |grep apache2 killall apache2 rm -f /etc/apache2/mods-enabled/php4.conf a2enmod php4 /etc/init.d/apache2 restart Now everything is up and running again, without any failure! Thanks for your reply anyway, i realy appreciate it! Hans (happy again)