Current time: 11-15-2024, 05:06 PM Hello There, Guest! (LoginRegister)


Post Reply 
test install version 307
Author Message
dominiquearpin Offline
Newbie
*

Posts: 7
Joined: Jan 2007
Reputation: 0
Post: #1
test install version 307
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.
(This post was last modified: 02-08-2007 08:04 AM by dominiquearpin.)
02-08-2007 07:51 AM
Visit this user's website Find all posts by this user Quote this message in a reply
MicCo Offline
Moderator
*****
Moderators

Posts: 277
Joined: Oct 2006
Reputation: 1
Post: #2
RE: test install version 307
Nice, that´s the way to do it !! Wink
(This post was last modified: 02-08-2007 08:22 AM by MicCo.)
02-08-2007 08:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
HenrikS Offline
Junior Member
*

Posts: 245
Joined: Jan 2007
Reputation: 7
Post: #3
RE: test install version 307
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
02-08-2007 08:24 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #4
RE: test install version 307
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
02-08-2007 08:38 AM
Quote this message in a reply
Nuxwin
Unregistered

 
Post: #5
RE: test install version 307
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
02-08-2007 08:40 AM
Quote this message in a reply
HenrikS Offline
Junior Member
*

Posts: 245
Joined: Jan 2007
Reputation: 7
Post: #6
RE: test install version 307
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
02-08-2007 08:54 AM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #7
RE: test install version 307
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!
02-08-2007 09:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #8
RE: test install version 307
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
02-08-2007 10:02 AM
Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #9
RE: test install version 307
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.
02-08-2007 05:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #10
RE: test install version 307
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
02-08-2007 05:48 PM
Quote this message in a reply
Post Reply 


Forum Jump:


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