|
IspCP RC4 does not work on CentOS 5 and 5.1 system
|
| Author |
Message |
jmeyerdo
Junior Member

Posts: 135
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 2
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Hi!
As you can read in this forum in several threads it should be _possible_ to work with ispCP on other distros then Debian. But it does not work "out of the box" until now.
For my installation with CentOS 5.1 and ispCP (pre-RC3) I followed the howto from Sw1fty:
http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/
Good luck!
Jens
|
|
| 03-20-2008 03:34 AM |
|
 |
rickygestalt
Junior Member

Posts: 14
Group: Registered
Joined: Mar 2008
Status:
Offline
Reputation: 0
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Hi jmeyerdo, I follwed exactly the howto from Sw1fty but the istallation failed!!!
Now I try the Debian and everything well done!!!
Hi!
As you can read in this forum in several threads it should be _possible_ to work with ispCP on other distros then Debian. But it does not work "out of the box" until now.
For my installation with CentOS 5.1 and ispCP (pre-RC3) I followed the howto from Sw1fty:
http://mirrors.penguinfriends.org/ISPCP/CentOS-5.0/
Good luck!
Jens
|
|
| 03-20-2008 05:19 AM |
|
 |
gOOvER
Documentation Team
  
Posts: 1,283
Group: Docu Team
Joined: Jul 2007
Status:
Offline
Reputation: 11
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
On Debian it work's perfect.
OS : Debian 4.0 Etch 64bit
ispCP Version : RC6 r1257 - 01.07.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : none
-> This Signature is OpenSource <-
|
|
| 03-20-2008 05:53 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Weel rickygestalt there are some questions back which you did not answer.
I don't know how to help.
2008-03-16 ispCP RC4 released!!!
|
|
| 03-20-2008 06:56 AM |
|
 |
_einer
Posts: 2
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Hello, i found that the problem comes from the 'little workaround' in ispcp-setup-methods.pl - line 877 (commented it out to see if the remaining part of the setup would finish)
#
# Here we'll replace data in production config file with data in working
# confing file. A little workaround will be done. If working copy data does not exist
# in production config then we will add it;
#
($rs, $rdata) = get_tag($dta_b, $dta_e, $sys);
if ($rs == 0) { # YES ! Data is here ! /in production config file/;
($rs, $sys) = repl_tag($dta_b, $dta_e, $sys, $working, "add_named_cfg_data");
return $rs if ($rs != 0);
}
elsif ($rs == -5) {
$sys .= $working;
}
else {
# return $rs;
}
$rs = store_file($sys_cfg, $sys, $main::cfg{'ROOT_USER'}, $main::cfg{'ROOT_GROUP'}, 0644);
return $rs if ($rs != 0);
push_el(\@main::el, 'add_named_cfg_data()', 'Ending...');
return 0;
Maybe someone can tell whats goin wrong here and how to fix it ?
|
|
| 04-01-2008 08:50 PM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Well, you always can skip errors...
So, it's important that the ispcp.conf has the correct path names set and the file exists.
I another thread there is somone who used the debian Makefile for CentOS and then the variables were not ok.
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 04-01-2008 09:13 PM |
|
 |
_einer
Posts: 2
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Well, i used the Makefile.centos - so the variables should be ok.
Even if i`m not using Perl a lot i see that the result returned from the command
($rs, $rdata) = get_tag($dta_b, $dta_e, $sys);
obivously is not ok.
Also, i checked if files exist, and imho the files should be on the right place.
On thing is that /etc/named.conf (BIND_CONF_FILE) exists but is empty.
A hint what file is affected by the line above and how it should look like would be nice
|
|
| 04-01-2008 10:05 PM |
|
 |
jmeyerdo
Junior Member

Posts: 135
Group: Registered
Joined: Oct 2007
Status:
Offline
Reputation: 2
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
Hi!
As I told before for me there were several problems with CentOS - I deactivated "named" completely because I don't need it either.
One hint:
Add further information to debug-information in "push_el(...)" - i.e. the variables $dta_b, $dta_e, $sys, $working. Similar in get_tag.
With this I found where the script failed exactly in several cases.
I would still assume that there are major adaptions necessary to run all functions of ispCP completely with CentOS.
Kind regards,
Jens
|
|
| 04-01-2008 10:16 PM |
|
 |
arcane47
Posts: 1
Group: Registered
Joined: Apr 2008
Status:
Offline
Reputation: 0
|
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
As a complete newbie to CentOS I managed to successfully install this on CentOS 5.
The guide in the RC4 worked well, some RPM packages were wrong versions after yum update, and some other minor tweaking.
I still have to test it thoroughly, but my bigger issues were
-getting proftpd configured
-configure apache to get to the control panel w/ only server IP (non CentOS related)
Didn't have any of the issues above.
|
|
| 04-18-2008 02:15 PM |
|
 |
|
|