Current time: 12-23-2024, 07:47 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem getting ispcp to work please help
Author Message
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #1
Problem getting ispcp to work please help
hello everybody
I just uninstalled my old vhcs2 2.4.7.1 and i am using debian etch 4,
I followed the instructions for the installation and it says at the end
installed successfully , but when i write the address: admin.server.mydomain.com
all i got is the php code page , it looks like it is the index.html page but what
i see is not the page it is php Code and i don't understand why this happen.
I tested proftpd,bind9,everything sound normal only one not working right
after this installation is apache2, and was working ok before i install it.
at least now i found a forum to help me, before i can't do anything because
i couldn't find any help and plus this is the only control panel that i like and
i hope to get it working after i uninstalled the other one which that was the main
problem with my old one too (vhcs2) that is why i installed ispcp RC3.
Please any help will be appreciated and thanks in advance.Smile
02-25-2008 08:19 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Problem getting ispcp to work please help
Why didn't you try the update?

Ok, you run vhcs2 2.4.7.1 on a debian etch?
then you uninstalled the vhcs2? (what exactly?)
Now you want to instal ispcp? - is there a reason why not make a fresh debian installation? otherwise I think there are packages missing (or two much)...

Can you post the output of
Code:
dpkg -l | grep "apache\|php"

/J
02-25-2008 08:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Problem getting ispcp to work please help
joximu Wrote:Why didn't you try the update?

Ok, you run vhcs2 2.4.7.1 on a debian etch?
then you uninstalled the vhcs2? (what exactly?)
Now you want to instal ispcp? - is there a reason why not make a fresh debian installation? otherwise I think there are packages missing (or two much)...

Can you post the output of
Code:
dpkg -l | grep "apache\|php"

/J

Thanks very much for fast reply
The reson to update is the /setup/iscp-update script does not want to run it gives me "command not found", i even tried "reset" the same thing, i used the vhcs2-uninstall to uninstall it, it was installed long time ago, untill i heard about ispcp so i uninstalled it because it was giving the same page php code.
here is the output :
server1:~# dpkg -l | grep "apache\|php"
ii apache2 2.2.3-4+etch4 Next generation, scalable, extendable web se
ii apache2-doc 2.2.3-4+etch4 documentation for apache2
ii apache2-mpm-prefork 2.2.3-4+etch4 Traditional model for Apache HTTPD 2.1
ii apache2-utils 2.2.3-4+etch4 utility programs for webservers
ii apache2.2-common 2.2.3-4+etch4 Next generation, scalable, extendable web se
ii libapache2-mod-php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag
ii php-pear 5.2.0-8+etch10 PEAR - PHP Extension and Application Reposit
ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag
ii php5-cli 5.2.0-8+etch10 command-line interpreter for the php5 script
ii php5-common 5.2.0-8+etch10 Common files for packages built from the php
ii php5-curl 5.2.0-8+etch10 CURL module for php5
ii php5-dev 5.2.0-8+etch10 Files for PHP5 module development
ii php5-gd 5.2.0-8+etch10 GD module for php5
ii php5-idn 1.2-1+b1 PHP api for the IDNA library
ii php5-imagick 0.9.11+1-4.1 ImageMagick module for php5
ii php5-imap 5.2.0-8+etch10 IMAP module for php5
ii php5-json 1.2.1-3.2 JSON serialiser for PHP5
ii php5-mcrypt 5.2.0-8+etch10 MCrypt module for php5
ii php5-memcache 2.0.1-1.1 memcache extension module for PHP5
ii php5-mhash 5.2.0-8+etch10 MHASH module for php5
ii php5-ming 0.3.0-11 Ming module for php5
ii php5-mysql 5.2.0-8+etch10 MySQL module for php5
ii php5-ps 1.3.4-4 ps module for PHP 5
ii php5-pspell 5.2.0-8+etch10 pspell module for php5
ii php5-recode 5.2.0-8+etch10 recode module for php5
ii php5-snmp 5.2.0-8+etch10 SNMP module for php5
ii php5-sqlite 5.2.0-8+etch10 SQLite module for php5
ii php5-tidy 5.2.0-8+etch10 tidy module for php5
ii php5-xmlrpc 5.2.0-8+etch10 XML-RPC module for php5
ii php5-xsl 5.2.0-8+etch10 XSL module for php5
server1:~#
Note : now when i restart apache2 it says Waiting...
then gives me server1#
which i think that means it is working now, but when i write:
http://www.mydomain.com ( i got the php source code page)
admin.server1.mydomain.com (i got Server not found )
if i try only server1.mydomain.com (i got server not found)
Thanks alot for your help
(This post was last modified: 02-25-2008 08:53 AM by Adel.)
02-25-2008 08:37 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Problem getting ispcp to work please help
ok, so you will run apache with mpm-prefork and mod-php5.
The suggested variation is mpm-worker and php-fastcgi... (see other threads about pros and cons).

So, if apache is not starting or handling php then we should have logfiles there... is there nothing of interest?

about the URL: the hostname admin.server1.domain.com and server1.domain.com must resolve - I don't know the DNS situation of your installation - but check if you can resolve the 2 names...

/J
02-25-2008 09:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #5
RE: Problem getting ispcp to work please help
There is a guide to upgrade vhcs to ispCP.

If you try to start the updatescript change to /setup folder and run:

perl ispcp-update
02-25-2008 11:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #6
RE: Problem getting ispcp to work please help
joximu Wrote:ok, so you will run apache with mpm-prefork and mod-php5.
The suggested variation is mpm-worker and php-fastcgi... (see other threads about pros and cons).

So, if apache is not starting or handling php then we should have logfiles there... is there nothing of interest?

about the URL: the hostname admin.server1.domain.com and server1.domain.com must resolve - I don't know the DNS situation of your installation - but check if you can resolve the 2 names...

/J

Hello joximu
Thanks again and thanks for you time.
apache2 now starts and says :
reloading apache2 waiting....
server1#
is that means it is running ? by the way i didn't add any virual host file yet
like for kandkmarket.com could this be a reason for that ? or the ispcp.conf takes care of this ?
also i start to doubt mysql so how can i test it to see if it is running right ?
and i looked at the /var/log files also apache2 log there is no errors for
my information.
I don't want to confuse you with my questions but just is it a good idea to uninstall ispcp and reinstall again?
and how to do that ?
Thanks again very much
(This post was last modified: 02-25-2008 12:27 PM by Adel.)
02-25-2008 12:23 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #7
RE: Problem getting ispcp to work please help
The easiest way is to make a clean install of Debian 4 and then follow the installguide in the Wiki. Wink
02-25-2008 12:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #8
RE: Problem getting ispcp to work please help
gOOvER Wrote:The easiest way is to make a clean install of Debian 4 and then follow the installguide in the Wiki. Wink

Thanks gOOvER
OK and to do that do i need to format the hard drive ? or just insert
the debian etch and it will format it and partition it anyway?
Thanks again
02-26-2008 03:16 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #9
RE: Problem getting ispcp to work please help
Sorry to say this, but this is basic knowledge and this has nothing to do with ispCP. So we don't support such questions. Please ask google.
02-26-2008 03:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #10
RE: Problem getting ispcp to work please help
gOOvER Wrote:Sorry to say this, but this is basic knowledge and this has nothing to do with ispCP. So we don't support such questions. Please ask google.

Hi gOOvER
I am sorry for the basic question, i am not
very advanced in linux,also it was just a mistake
to post it on this forum, i didn't pay attention
when i clicked on the forum in my favorites .
Thanks anyway for your help.
(This post was last modified: 02-27-2008 10:58 AM by Adel.)
02-27-2008 10:56 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 7 Guest(s)