Current time: 09-28-2024, 12:16 PM Hello There, Guest! (LoginRegister)


Post Reply 
IspCP RC4 does not work on CentOS 5 and 5.1 system
Author Message
_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
Post Reply 


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

Forum Jump:


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