Current time: 11-17-2024, 08:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
error after installing on debian etch
Author Message
catding Offline
Newbie
*

Posts: 9
Joined: Aug 2008
Reputation: 0
Post: #1
error after installing on debian etch
I followed as the guide on http://www.isp-control.net/documentation...ion/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.
08-19-2008 11:14 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: error after installing on debian etch
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...an/INSTALL
(This post was last modified: 08-19-2008 11:23 PM by sci2tech.)
08-19-2008 11:22 PM
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: #3
RE: error after installing on debian etch
You don't follow the guide NOT step by step. You missed to install the required packages.

Ispcp uses fcgi not mod_php!
08-19-2008 11:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
catding Offline
Newbie
*

Posts: 9
Joined: Aug 2008
Reputation: 0
Post: #4
RE: error after installing on debian etch
hi.sir.
i checked the two guide.
i found no difference between them....
08-19-2008 11:35 PM
Find all posts by this user Quote this message in a reply
catding Offline
Newbie
*

Posts: 9
Joined: Aug 2008
Reputation: 0
Post: #5
RE: error after installing on debian etch
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/i...c6.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.
08-19-2008 11:41 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #6
RE: error after installing on debian etch
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.
(This post was last modified: 08-20-2008 12:13 AM by sci2tech.)
08-20-2008 12:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
catding Offline
Newbie
*

Posts: 9
Joined: Aug 2008
Reputation: 0
Post: #7
RE: error after installing on debian etch
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?
08-20-2008 12:37 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #8
RE: error after installing on debian etch
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?
(This post was last modified: 08-20-2008 12:39 AM by sci2tech.)
08-20-2008 12:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
catding Offline
Newbie
*

Posts: 9
Joined: Aug 2008
Reputation: 0
Post: #9
RE: error after installing on debian etch
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..
08-20-2008 12:45 AM
Find all posts by this user Quote this message in a reply
catding Offline
Newbie
*

Posts: 9
Joined: Aug 2008
Reputation: 0
Post: #10
RE: error after installing on debian etch
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?
08-20-2008 12:48 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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