ispCP - Board - Support
IspCP RC4 does not work on CentOS 5 and 5.1 system - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: IspCP RC4 does not work on CentOS 5 and 5.1 system (/thread-2775.html)

Pages: 1 2


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - jmeyerdo - 03-20-2008 03:34 AM

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


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - rickygestalt - 03-20-2008 05:19 AM

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



RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - gOOvER - 03-20-2008 05:53 AM

On Debian it work's perfect. Smile


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - joximu - 03-20-2008 06:56 AM

Weel rickygestalt there are some questions back which you did not answer.
I don't know how to help.


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - _einer - 04-01-2008 08:50 PM

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 ?


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - joximu - 04-01-2008 09:13 PM

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


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - _einer - 04-01-2008 10:05 PM

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


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - jmeyerdo - 04-01-2008 10:16 PM

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


RE: IspCP RC4 does not work on CentOS 5 and 5.1 system - arcane47 - 04-18-2008 02:15 PM

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.