Current time: 11-13-2024, 04:51 PM Hello There, Guest! (LoginRegister)


Post Reply 
IspCP RC4 does not work on CentOS 5 and 5.1 system
Author Message
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #11
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
Find all posts by this user Quote this message in a reply
rickygestalt Offline
Junior Member
*

Posts: 17
Joined: Mar 2008
Reputation: 0
Post: #12
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!!!

jmeyerdo Wrote: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
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #13
RE: IspCP RC4 does not work on CentOS 5 and 5.1 system
On Debian it work's perfect. Smile
03-20-2008 05:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #14
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.
03-20-2008 06:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
_einer Offline


Posts: 2
Joined: Apr 2008
Reputation: 0
Post: #15
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)
Code:
#
    # 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
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
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
04-01-2008 09:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
_einer Offline


Posts: 2
Joined: Apr 2008
Reputation: 0
Post: #17
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
Code:
($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 Wink
04-01-2008 10:05 PM
Find all posts by this user Quote this message in a reply
jmeyerdo Offline
Junior Member
*

Posts: 173
Joined: Oct 2007
Reputation: 2
Post: #18
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
Find all posts by this user Quote this message in a reply
arcane47 Offline


Posts: 1
Joined: Apr 2008
Reputation: 0
Post: #19
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
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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