ispCP - Board - Support
error after installing on debian etch - 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: error after installing on debian etch (/thread-4065.html)

Pages: 1 2


error after installing on debian etch - catding - 08-19-2008 11:14 PM

I followed as the guide on http://www.isp-control.net/documentation/start/installation/debian
the install process was ok.
but after it, when i open http://admin.xxx.xx
it can't display index.php,
i add apache php5 mod manually like:
apt-get install php5
apt-get install php5-mysql php5-curl php5-gd
dpkg -l 'php5-*'
aptitude install libapache2-mod-php5 php5-mysql
3、vim /etc/apache2/httdpd.conf
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
4、ln -s /etc/apache2/mods-available/php5.* /etc/apache2//mods-enabled
5、apt-get install apache2-mpm-prefork
6、/etc/init.d/apache2 restart

it says:
Warning: session_start() [function.session-start]: open(/var/www/ispcp/gui/phptmp//sess_abd3d06c70bf219a290cf61579218406, O_RDWR) failed: Permission denied (13) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/ispcp/gui/include/ispcp-lib.php:27) in /var/www/ispcp/gui/include/ispcp-lib.php on line 27
Warning: Unknown: open(/var/www/ispcp/gui/phptmp//sess_abd3d06c70bf219a290cf61579218406, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/ispcp/gui/phptmp/) in Unknown on line 0

what is wrong with it..
thanks..

P.S. I installed VHCS2 before.


RE: error after installing on debian etch - sci2tech - 08-19-2008 11:22 PM

In your package was an docs/distro/INSTALL file. There you will find informations on what do you need to make it work. For debian take look at http://www.isp-control.net/ispcp/browser/trunk/docs/Debian/INSTALL


RE: error after installing on debian etch - gOOvER - 08-19-2008 11:34 PM

You don't follow the guide NOT step by step. You missed to install the required packages.

Ispcp uses fcgi not mod_php!


RE: error after installing on debian etch - catding - 08-19-2008 11:35 PM

hi.sir.
i checked the two guide.
i found no difference between them....


RE: error after installing on debian etch - catding - 08-19-2008 11:41 PM

Really?
Am i right by this.
# apt-get update
# apt-get upgrade
# apt-get install tar bzip2 wget
# mkdir -p /usr/local/src/ispcp
# cd /usr/local/src/ispcp
# wget http://downloads.sourceforge.net/ispcp/ispcp-omega-1.0.0-rc6.tar.bz2 # tar -xjvf ispcp-omega-1.0.0-rc6.tar.bz2

# cd ./ispcp-*

# apt-get update
# apt-get upgrade
# apt-get install $(cat ./docs/Debian/debian-packages-etch)
# make install
# cp -Rv /tmp/ispcp/* /
# mysql_secure_installation
# cd /var/www/ispcp/engine/setup
# perl ./ispcp-setup
# rm -fR /tmp/ispcp

i can't open http://admin.proxin.cn after the installation.


RE: error after installing on debian etch - sci2tech - 08-20-2008 12:12 AM

After install finish you mast restart apache and bind. Also add to your resolv.conf 127.0.0.1 if your domain is not resolving.


RE: error after installing on debian etch - catding - 08-20-2008 12:37 AM

gOOvER Wrote:You don't follow the guide NOT step by step. You missed to install the required packages.

Ispcp uses fcgi not mod_php!

sci2tech Wrote:After install finish you mast restart apache and bind. Also add to your resolv.conf 127.0.0.1 if your domain is not resolving.

hi.sir.
my domain resovles ok.
i can open my domain but can't display index.php well..
someone said ispcp use fastcgi.is it right?


RE: error after installing on debian etch - sci2tech - 08-20-2008 12:38 AM

yes it use fastcgi or fcgid depends on your selection. can you post a list of enabled apache modules To see if something is missing?


RE: error after installing on debian etch - catding - 08-20-2008 12:45 AM

gOOvER Wrote:You don't follow the guide NOT step by step. You missed to install the required packages.

Ispcp uses fcgi not mod_php!

hi.sir.
can you help me.
after i add fastcgi on apache2
it display error 403...
you can get it at http://admin.proxin.cn
what's wrong with it ??
thanks..


RE: error after installing on debian etch - catding - 08-20-2008 12:48 AM

sci2tech Wrote:yes it use fastcgi or fcgid depends on your selection. can you post a list of enabled apache modules To see if something is missing?

hi.sir.
I have these files under mod-enabled directory

actions.load authz_user.load fcgid.conf rewrite.load
alias.load autoindex.load fcgid.load setenvif.load
auth_basic.load cgi.load mime.load status.load
authn_file.load dir.conf negotiation.load suexec.load
authz_default.load dir.load proxy.conf
authz_groupfile.load env.load proxy.load
authz_host.load fastcgi.conf: proxy_http.load

is anything missing?