ispCP - Board - Support
Installation and Apache - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Installation and Apache (/thread-3387.html)

Pages: 1 2


Installation and Apache - frik - 05-28-2008 09:29 AM

Hi,

I need to resetup the Omega ISPCP but I have the following problem:
After installation I cant reach the control panel because Apache2 still displays the regular files in its document root. I have a manual compilation of Apache2 running.
Can anyone tell me, how I can setup the ISPCP (or Apache2) so that Apache2 uses the ISPCP config files and not its old ones.

Do I have to remove Apache2 and the reinstall it to make it work together with the ISPCP? Or whats the correct procedure here?

thanks, Friedrich


RE: Installation and Apache - BeNe - 05-28-2008 03:45 PM

Quote:I have a manual compilation of Apache2 running.
Which OS is running ?
Did you use the uninstall script ?

Greez BeNe


RE: Installation and Apache - frik - 05-28-2008 07:34 PM

I m using this version of Debian Linux: 2.4.20-bf2.4
and I deinstalled it with this cmd: apt-get remove --purge apache2

seemed to work.
Will apache normally be reinstalled when you install the Omega ISPCP?

thanks, Friedrich


RE: Installation and Apache - BeNe - 05-28-2008 07:58 PM

I mean the ispcp-uninstall script Smile
But OK!

Quote:Will apache normally be reinstalled when you install the Omega ISPCP?
When your start with the step 3 (http://www.isp-control.net/documentation/start/installation/debian)
YES

Greez BeNe


RE: Installation and Apache - frik - 05-28-2008 08:08 PM

yes, I completed all these steps and all worked flawlessly.
During ISPCP installation I also can see that it tries to reinstall apache (when I before uninstalled apache via apt-get remove --purge apache2).
It creates all the config files for apache but the apche2 and apachectl binaries cant be found anywhere. I dont know why they dont get reinstalled.

When I install apache manually I get apache working, but not with the config files the ISPCP is creating, so I can t use it for creating new vhosts etc...

thanks, Friedrich


RE: Installation and Apache - BeNe - 05-28-2008 09:08 PM

Quote:It creates all the config files for apache but the apche2 and apachectl binaries cant be found anywhere
But you did install and started at point 3 ??
So apache should be installed per default with ispCP.

Greez BeNe


RE: Installation and Apache - frik - 05-28-2008 09:26 PM

yes, I started at point 3 (I also have the required entries in the sources.list).
The problem is that apache is not fully reinstalled.
Also when I do apt-get install apache2 it says that apache2 is now installed, but it only installs the config files, but does not do a full installation (inlcuding the binaries).
Do you know why that could be?
I think thats the same reason why the apache installation during ISPCP fails.

thanks, Friedrich


RE: Installation and Apache - BeNe - 05-28-2008 10:09 PM

Then it looks like a Debian Problem. Any errors during the apt-get install `?
Try to clean your apt-get cache with
Code:
apt-get clean && apt-get autoclean
Then run an
Code:
apt-get update && apt-get upgrade
Try to install apache2 again, maybe you have to use the -force option.

Greez BeNe


RE: Installation and Apache - frik - 05-28-2008 10:32 PM

I now removed apache2 and php5 completely before I reinstall the ISPCP.
During installation it showed that it will install apache2, php5, php4 and some other packages.
After completition Apache2 was indeed installed, but is not able to run php.
When I surf to the admin interface url (http://admin.srv7.rmid.de/) I m now prompted to save a file.
When I do that and then look into it, its the index php file of the ISPCP.

Apache is using the correct conf files also now. I know that because when I use the admin interface url with an directory after it (http://admin.srv7.rmid.de/xxxxxx) then the ISPCP Omega 404 Not found page comes up.

Any ideas why Apache does not read php?

thanks, Friedrich


RE: Installation and Apache - BeNe - 05-28-2008 11:55 PM

Check in your Apache enabled Modules if there is (a) the correct fastcgi_ispcp.conf. This one is needed for the PHP-Files.

Greez BeNe