ispCP - Board - Support
test install version 307 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: test install version 307 (/thread-149.html)

Pages: 1 2


test install version 307 - dominiquearpin - 02-08-2007 07:51 AM

Here my experience to install VHCS omega under Debian Etch:

Version: SVN 307

Fresh install of Debian Etch

Step 2
------

apt-get install `cat ./debian-packages-etch`
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package apache2

# Solution
Change the encoding of the file
vim ./debian-packages-etch
:set ff=unix

Step 9
------

Error: /var/www/vhcs2/engine/setup# ./vhcs2-setup
-bash: ./vhcs2-setup: /usr/bin/perl^M: bad interpreter: No such file or directory

# Solution
Change the encoding of the file
vim ./vhcs2-setup
:set ff=unix

---------------------

ERROR: Can't open file |/var/www/fcgi/master/php4/php.ini| for writing !

Solution: mkdir /var/www/fcgi/master/php4/ && mkdir /var/www/fcgi/master/php5/ && chown vu2000.vu2000 /var/www/fcgi/master/php*

#Change the encoding of the file (dos -> Unix)
/var/www/vhcs2/engine/setup/set-gui-permissions.sh


Step 11
-------

/var/www/vhcs2/engine/setup# /etc/init.d/apache2 start
Starting web server (apache2)...Syntax error on line 31 of /etc/apache2/mods-enabled/fastcgi.conf:
FastCgiWrapper: "/usr/lib/apache2/suexec2" execute access for server (uid 33, gid 33) failed: stat(/usr/lib/apache2/suexec2) failed: No such file or directory
failed!

Edit: /etc/apache2/mods-enabled/fastcgi.conf

Change: FastCgiWrapper /usr/lib/apache2/suexec2
by: FastCgiWrapper /usr/lib/apache2/suexec


I will check the source code and I will send you a patch.


RE: test install version 307 - MicCo - 02-08-2007 08:22 AM

Nice, that´s the way to do it !! Wink


RE: test install version 307 - HenrikS - 02-08-2007 08:24 AM

did you get it to work .. when i open my vhcs in a browser i get "PHPRC="/var/www/fcgi/master/" export PHPRC PHP_FCGI_CHILDREN=2 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=5000 export PHP_FCGI_MAX_REQUESTS exec /usr/bin/php4-cgi" Sad... pls help .. so i can get on with the new design


RE: test install version 307 - Nuxwin - 02-08-2007 08:38 AM

dominiquearpin Wrote:Here my experience to install VHCS omega under Debian Etch:

Version: SVN 307

Fresh install of Debian Etch

Step 2
------

apt-get install `cat ./debian-packages-etch`
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package apache2

# Solution
Change the encoding of the file
vim ./debian-packages-etch
:set ff=unix

Step 9
------

Error: /var/www/vhcs2/engine/setup# ./vhcs2-setup
-bash: ./vhcs2-setup: /usr/bin/perl^M: bad interpreter: No such file or directory

# Solution
Change the encoding of the file
vim ./vhcs2-setup
:set ff=unix

---------------------

ERROR: Can't open file |/var/www/fcgi/master/php4/php.ini| for writing !

Solution: mkdir /var/www/fcgi/master/php4/ && mkdir /var/www/fcgi/master/php5/ && chown vu2000.vu2000 /var/www/fcgi/master/php*

#Change the encoding of the file (dos -> Unix)
/var/www/vhcs2/engine/setup/set-gui-permissions.sh


Step 11
-------

/var/www/vhcs2/engine/setup# /etc/init.d/apache2 start
Starting web server (apache2)...Syntax error on line 31 of /etc/apache2/mods-enabled/fastcgi.conf:
FastCgiWrapper: "/usr/lib/apache2/suexec2" execute access for server (uid 33, gid 33) failed: stat(/usr/lib/apache2/suexec2) failed: No such file or directory
failed!

Edit: /etc/apache2/mods-enabled/fastcgi.conf

Change: FastCgiWrapper /usr/lib/apache2/suexec2
by: FastCgiWrapper /usr/lib/apache2/suexec


I will check the source code and I will send you a patch.

Hi ;

Ok, it is my fault. I did not finish corrected a bug --> #48 and it are what it explains the errors.

I will add the creation of the repertory php4 and php5 and will fix the encoding of the files. As regards suexec, it will be necessary to create a file suitable for Etch bus concerning Debian Sarge, it is the good name.

Good Luck With VHCS Omega


RE: test install version 307 - Nuxwin - 02-08-2007 08:40 AM

HenrikS Wrote:did you get it to work .. when i open my vhcs in a browser i get "PHPRC="/var/www/fcgi/master/" export PHPRC PHP_FCGI_CHILDREN=2 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=5000 export PHP_FCGI_MAX_REQUESTS exec /usr/bin/php4-cgi" Sad... pls help .. so i can get on with the new design

Ok, in php4-starter-fcgi replace this --->
Code:
exec /usr/bin/php4-cgi"

by this.
Code:
exec /usr/bin/php-cgi"

Enjoy


RE: test install version 307 - HenrikS - 02-08-2007 08:54 AM

cool .. working now

but i get this error under systemtools
Code:
Notice: Undefined index: /dev/shm in /var/www/vhcs2/gui/include/phpsysinfo/class.Linux.inc.php on line 525

Notice: Undefined index: /dev/shm in /var/www/vhcs2/gui/include/phpsysinfo/class.Linux.inc.php on line 533

Notice: Undefined index: /dev/shm in /var/www/vhcs2/gui/include/phpsysinfo/class.Linux.inc.php on line 534



RE: test install version 307 - RatS - 02-08-2007 09:38 AM

I'm very annoyed - I've changed all the back files to Unix format!
Please get attention towards this!!!

@ Henrik: The notices depends on if you have safe_mode on or off.
Sarge: FastCgiWrapper /usr/lib/apache2/suexec2
Etch: FastCgiWrapper /usr/lib/apache2/suexec

I'll carry about this, when it runs as it should!


RE: test install version 307 - Nuxwin - 02-08-2007 10:02 AM

RatS Wrote:I'm very annoyed - I've changed all the back files to Unix format!
Please get attention towards this!!!

@ Henrik: The notices depends on if you have safe_mode on or off.
Sarge: FastCgiWrapper /usr/lib/apache2/suexec2
Etch: FastCgiWrapper /usr/lib/apache2/suexec

I'll carry about this, when it runs as it should!

Hi Rats ;

I was precisely spirit to give the files to the Unix format.

I am sorry. Sad I work with wordpad and I think that the problem comes from there. If not, you uses what for conversion with the Unix format ?

Me I ustilise this order --> dos2unix - v *. If you have better, I am interested.

Thank


RE: test install version 307 - RatS - 02-08-2007 05:08 PM

If you are working on windows, try the following tools: Eclipse (http://eclipse.org) there is a plug-in for PHP programming.
My absolutely favourite IDE for PHP and MySQL is PHPedit (http://waterproof.fr). You can try to get a free license by registering and saying why you need a free license (good points are: personal use, best IDE known and OpenSource projects Big Grin).

Sorry for being so hard with you.


RE: test install version 307 - Nuxwin - 02-08-2007 05:48 PM

Ok, thank.

I have download and install SciTE Editor for php, perl.... It's a very good open sources software. With this software, i can choose the unix format and others...

No the problem for your way of expressing you. I have the practice… Tongue I do not pay there too attention. Wink