Current time: 11-16-2024, 05:48 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: #21
RE: Problem getting ispcp to work please help
Breaki Wrote:
Adel Wrote:when i try to put again or change the pwd and i write:
mysql -u root -p mypassword i get:

the problem is, you are using the wrong command, imho you have to use
Code:
mysql -u root -p
and enter your password on prompt, or
Code:
mysql -u root -pYOUR_PASSWORD
without the space between -p and your password.

Greetz

Thanks to both of you again for help.
now mysql after i setup pwd it connects OK working fine.
Now i put everything fresh installaion again following the perfect setup
now mysql after i setup pwd it connects OK working fine.
and installed ispcp rc3 the end of the installation it says :
Congratulations
ispcp installed successfully.
the i write : admin.server1.mydomain.com
i got : Server not found
so i tried : http://www.mydomain.com & server1.mydomain.com both
i got a php script :

<?php
/**
* ispCP ω (OMEGA) a Virtual Hosting Control System
*
* @copyright 2001-2006 by moleSoftware GmbH
* @copyright 2006-2007 by ispCP | http://isp-control.net
* @link http://isp-control.net
* @author ispCP Team (2007)
*
* @license
* This program is free software; you can redistribute it and/or modify it under
* the terms of the MPL General Public License as published by the Free Software
* Foundation; either version 1.1 of the License, or (at your option) any later
* version.
* You should have received a copy of the MPL Mozilla Public License along with
* this program; if not, write to the Open Source Initiative (OSI)
* http://opensource.org | osi@opensource.org
*/

require 'include/ispcp-lib.php';

if (isset($_GET['logout'])) {
unset_user_login_data();
}
etc.......
No GUI login page.
i just wonder could it be i am missing somthing not installed on my server ?
I have all required by the ispcp.
Thanks alot again for your help.
03-03-2008 09:51 AM
Find all posts by this user Quote this message in a reply
Adel Offline
Junior Member
*

Posts: 38
Joined: Feb 2008
Reputation: 0
Post: #22
RE: Problem getting ispcp to work please help
Adel Wrote:
Breaki Wrote:
Adel Wrote:when i try to put again or change the pwd and i write:
mysql -u root -p mypassword i get:

the problem is, you are using the wrong command, imho you have to use
Code:
mysql -u root -p
and enter your password on prompt, or
Code:
mysql -u root -pYOUR_PASSWORD
without the space between -p and your password.

Greetz

Thanks to both of you again for help.
now mysql after i setup pwd it connects OK working fine.
after i did fresh installaion again following the perfect setup
and installed ispcp rc3 following the instructions.
the end of the installation it says :
Congratulations
ispcp installed successfully.
the i write : admin.server1.mydomain.com
i got : Server not found
so i tried : http://www.mydomain.com & server1.mydomain.com both
i got a php script No GUI login page.

<?php
/**
* ispCP ω (OMEGA) a Virtual Hosting Control System
*
* @copyright 2001-2006 by moleSoftware GmbH
* @copyright 2006-2007 by ispCP | http://isp-control.net
* @link http://isp-control.net
* @author ispCP Team (2007)
*
* @license
* This program is free software; you can redistribute it and/or modify it under
* the terms of the MPL General Public License as published by the Free Software
* Foundation; either version 1.1 of the License, or (at your option) any later
* version.
* You should have received a copy of the MPL Mozilla Public License along with
* this program; if not, write to the Open Source Initiative (OSI)
* http://opensource.org | osi@opensource.org
*/

require 'include/ispcp-lib.php';

if (isset($_GET['logout'])) {
unset_user_login_data();
}
etc.......

i just wonder could it be i am missing somthing not installed on my server ?
I have all required by the ispcp.
Thanks alot again for your help.
03-03-2008 09:58 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: #23
RE: Problem getting ispcp to work please help
admin.domain: you need a working dns so you can connect to the URL you want.

php: Have you installed the libapache_fastcgi packet?
03-03-2008 10:05 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: #24
RE: Problem getting ispcp to work please help
joximu Wrote:admin.domain: you need a working dns so you can connect to the URL you want.

php: Have you installed the libapache_fastcgi packet?

hello joximu
Thanks again for help
i have dns working and i tried to install this package i got:
Couldn't find package libapache_fastcgi
i think i don't need to install this package it is just recommended,
you told me before to run:
dpkg -l | grep "apache\|php"
and i did and here is the output:
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

I tried to uninstall it and install it again, and when i run ispcp-uninstall i got this message:
/etc/apache2/mods-available/fastcgi_ispcp.load' does not exist !
also i tested dns it is fine and working, i am just pulling what is left of my hair
trying to figure out what could be wrong !
Thanks again and again.
(This post was last modified: 03-03-2008 03:51 PM by Adel.)
03-03-2008 02:08 PM
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: #25
RE: Problem getting ispcp to work please help
ok, you donn't want security & performance - but you want mod-php and no multithreading.

ok, maybe a "apache2 -M" brings more light in the dark.

/J
03-03-2008 07:31 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: #26
RE: Problem getting ispcp to work please help
joximu Wrote:ok, you donn't want security & performance - but you want mod-php and no multithreading.

ok, maybe a "apache2 -M" brings more light in the dark.

/J

hello joximu
I said from the beginning that i am not an expert in linux and i need your best
advice because you are the expert , so i want what is better like you said, if the
others like mpm-worker and fast-cgi are better then i will take it, and when i
try to install it, it will remove alot of others , but if it is better i don't mind to
install it, i want security & performance it is just me that i don't know which
is better in linux system, so please if you can take sometime to explain step by
step for me what to do to make the server better i will do it, also what to install
and what to remove it will be appreciated also i appreciate all your help,
everything you tell me teach me something new that i learn.
also i installed mpm-worker as soon as i read your reply and i checked to
find "libapache_fastcgi" in debian packages i couldn't find it.
Thanks very much again for your time.
(This post was last modified: 03-04-2008 06:15 AM by Adel.)
03-04-2008 05:00 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: #27
RE: Problem getting ispcp to work please help
Hi Adel

plase use google to inform about the two possibilities and the pros and cons about

apache with mpm-worker + libapache_fastcgi & suexec for php
vs
apache with mpm-prefork and mod_php

The default installation for ispcp is using fastcgi and mpm-worker.
If you follow exactly the steps in the install guide, you will get this.

If you forget to change the sources.list for aptitude then libapache_fastcgi will not be found. But you can download it separately:
http://packages.debian.org/etch/libapache2-mod-fastcgi

uninstall mpm-prefork and mod-php(4 & 5)

/J
(This post was last modified: 03-04-2008 07:29 AM by joximu.)
03-04-2008 07:28 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: #28
RE: Problem getting ispcp to work please help
joximu Wrote:Hi Adel

plase use google to inform about the two possibilities and the pros and cons about

apache with mpm-worker + libapache_fastcgi & suexec for php
vs
apache with mpm-prefork and mod_php

The default installation for ispcp is using fastcgi and mpm-worker.
If you follow exactly the steps in the install guide, you will get this.

If you forget to change the sources.list for aptitude then libapache_fastcgi will not be found. But you can download it separately:
http://packages.debian.org/etch/libapache2-mod-fastcgi

uninstall mpm-prefork and mod-php(4 & 5)

/J

hi joximu again
I download fast-cgi and installed it then i tried to install ispcp again
because it still the same with the login, and now i got to another error:

useradd: cannot create directory /var/www/fcgi/master
ERROR: External command '/usr/sbin/useradd -d /var/www/fcgi/master -m -c vu-master -g vu2000 -s /bin/false -u 2000 vu2000' returned '12' status !
Thanks alot again for your great help.
03-04-2008 07:55 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: #29
RE: Problem getting ispcp to work please help
better you install again, yes. But:
please use reset-setup before (it's in the same folöder as ispcp-setup)


/J
03-04-2008 07:58 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: #30
RE: Problem getting ispcp to work please help
joximu Wrote:better you install again, yes. But:
please use reset-setup before (it's in the same folöder as ispcp-setup)


/J
Hi joximu again
I think i will stop this post it is getting too long, so i decide to just install
a fresh debian with netinst , all i need now is: where i can find the install
guide for ispcp on debian ? or it is the install guide is for all of OS ?
I always use the perfect setup for debian and it will install mpm-prefork
& mod-php5 so just take those out of the perfect setup ?
also to start fresh and i know this is basic but just to be in the safe side
if i just put the debian etch 4 in the cdrom isn't going to format the hda
so it will be clean installation ?
Alot of thanks for your help.
03-04-2008 08:24 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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