Web Hosting Talk







View Full Version : WEBCP:// Anyone ?


important
05-13-2002, 01:08 PM
I was wondering if someone got webcp:// to work on their Linux Redhat 7.1 System.

I want some instructions to install it. Anyone can post some instructions ?

There forums aren't busy, very less people out there.

Thanks.

Starhost
05-13-2002, 01:30 PM
There forums are checked regularly. And yes it is possible I even got it to run on a freeBSD machine afther some hacking :D

important
05-13-2002, 01:38 PM
I cant find some documentation on how to install it. :(

ckpeter
05-13-2002, 01:42 PM
I believe that I suggested to you on the webcp:// forum (if you two are the same person) that you should look up instruction for 0.41 and install 0.5 with it, but taking care to read the source to make sure you are doing it right.

This is beta software; you have to search on the forum for instrcution. And technically 0.5 isn't even released. If you are not comfortable messing with command lines and php files, maybe you should wait until the official release or find someone to do it.

I have success installing 0.41 on a redhat 7.1, and I am now in the process of installing 0.5 on a redhat 7.2. It definitely is doable.

Peter

important
05-13-2002, 01:48 PM
probably i am the same one. I want to do 0.41, i dont want to do 0.5 until its officially released. I found some instructions, but it gave some error. Which i posted and no reply from a long time.

If i go to domain.com:81/ it says you forbidden, you dont have access. I came to look if index.php exists, it was there, and i put up a new file for testing .. for all files it says forbidden. Dont know why :mad:

ckpeter
05-13-2002, 02:05 PM
It sounds more like an apache problem than webcp problem. Try puting a test.php with only <?phpinfo()?>. If this page is also forbidden, you have to check your apache configuration, or check to see that you have set the permission correctly. (you did have your document root set up correctly, right?)

Peter

important
05-13-2002, 02:15 PM
Its even forbidden on phpinfo(); , yes, my path are set correctly, can you post the httpd.conf you used for webcp, not the reall, the one used for webcp://

ckpeter
05-13-2002, 02:17 PM
Well, I don't have it, as my 0.41 installation has been wiped.

I suggest that you check your directory to make sure that it is world readable and world executable. Also, a gentle reminder, the document root is the web(?) directory, not the admin directory.

Peter

important
05-13-2002, 02:18 PM
in 0.41 its cp. not web

ckpeter
05-13-2002, 02:20 PM
Yes, thanks for the correction. I was looking at 0.5. Are the permissions set correctly?

Peter

important
05-13-2002, 02:25 PM
Yes, permissions are set right. I did it following what ray posted here
http://webcp.can-host.com/phpBB/viewtopic.php?topic=2&forum=4&start=15&29

thanks

ckpeter
05-13-2002, 02:33 PM
looking at the thread, that reminds me, don't make your config.inc.php world readable.(in fact, I think none of *.inc.php should be world readable).

Did you have your problem solved? If not, check out the apache error log to see what it says.

Peter

important
05-13-2002, 02:40 PM
No error logs for this. even in /var/log/httpd/error_log no log for it.

Anyways how do you think of creating a virtualhost in /etc/httpd/conf/httpd.conf ?

<Virtualhost ip.ipp.ip.ip:81>
DocumentRoot /home/admin/cp
ServerAdmin admin@domain.com
</Virtualhost>

And try again. Do you think i must do it ?

Starhost
05-13-2002, 02:42 PM
Originally posted by ckpeter
looking at the thread, that reminds me, don't make your config.inc.php world readable.(in fact, I think none of *.inc.php should be world readable).

Did you have your problem solved? If not, check out the apache error log to see what it says.

Peter
You don't need to chmod anything, except for the deamon files as stated in the INSTALL. Further more if you can't access it have you setup php correctly? Did you start another instance of Apache, as stated in the INSTALL?

Starhost
05-13-2002, 02:43 PM
Originally posted by important
No error logs for this. even in /var/log/httpd/error_log no log for it.

Anyways how do you think of creating a virtualhost in /etc/httpd/conf/httpd.conf ?

<Virtualhost ip.ipp.ip.ip:81>
DocumentRoot /home/admin/cp
ServerAdmin admin@domain.com
</Virtualhost>

And try again. Do you think i must do it ?
You have to start another Apache Deamon as stated in the INSTALL. Do this first.

important
05-13-2002, 02:44 PM
my httpd.conf is from ensim, can you post yours. the reall from apache, so i can install the other apache daemon..

thanks

important
05-13-2002, 03:48 PM
Tried re-installing it. Still deosnt works.
I also have suexec disabled. Could it be the problem ?

ckpeter
05-13-2002, 03:52 PM
I can give you a copy of httpd.conf that comes default with redhat 7.2. Rename it to httpd.conf.

Peter

important
05-14-2002, 07:06 AM
I can get 0.41 to work, but i would like to install 0.5. I am going to install it .. Is it the same steps for 0.5 ?
:)

important
05-14-2002, 07:53 AM
Got everything to work except :-
I cant run the daemon, how to do it ?

[root@ensim server]# ./webcp.php
Content-type: text/html

PHP Warning: pgsql: Unable to initialize module
Module compiled with module API=20001222, debug=0, thread-safety=0
PHP compiled with module API=20010901, debug=0, thread-safety=0
These options need to match
in Unknown on line 0

Then how to do it ?
And i also see empty list for user root directory..
Another problem is that, when i go to http://domain.com:81/ It gives me Cannot find server error. Even http://domain.com:81/index.php gives me the same error. But i can go to http://domain.com:81/setup.php without problems..

Please help..

thanks

important
05-14-2002, 04:03 PM
anyone ?

ckpeter
05-14-2002, 07:50 PM
First of all, you need to check the error log to see exactly what the error message is, then fix it.

Also, it looks like you need to recompile php with a different switch or something.

Peter

AcuNett
05-14-2002, 09:19 PM
How is webcp btw? Compared to cpanel and PLESK.

important
05-15-2002, 08:04 AM
I cant find any errors regarding webcp folder or webcp files :rolleyes:

Anyways, the index.php is solved. Whenever i go to domain.com:81, it goes to setup.php . Thats fine.
But another problem still left. I cant run the daemon..
see here. It just stops. It tells nothing more :(

[root@ensim server]# ./webcp.php


It just stops.. Only displays one blank line and nothing more...
I also tried nohup webcp.php & , but it also hangs. after giving some id number.

Another problem is that, when i go it reaches to third step. there are some errors.
http://domain.com:81/setup.php?action=newdomain

Here it displays :
User Root Directory
but its blank in the front drop down menu :(

Someone said, it could be due to webcp.php daemon not running.

Help~ :(

Gyrbo
05-16-2002, 01:15 PM
Originally posted by AcuNett
How is webcp btw? Compared to cpanel and PLESK.

It would beat plesk, ensim and cpanel on any level if it was finished:
-ensim: resellers
-plesk:nice interface
-cpanel: free

important
05-20-2002, 01:08 PM
I tried all my best to install web://cp on ensim, but setup.php of webcp kills the webcp.php deamon. I dont know why, it doesnt kills it on any other server.

I followed the steps http://www.site-32.com/article.php?id=13 here.

And installed it. then i went to domain.com:81 .. it gone fine to setup.php.

I setup a re-seller account, then i looked if the webcp.php was running. and found it was running fine.
Then i proceeded further, entered all the information and clicked submit for creating a domain, as soon as it was clicked i saw a exit command in ssh, i repeated it seveal times
But problem is still there.