1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

RHEL5 and .autoinstallerrc syntax

Discussion in 'Plesk for Linux - 8.x and Older' started by ckloiber, Aug 1, 2007.

  1. ckloiber

    ckloiber Guest

    0
     
    What is the correct /root/.autoinstallerrc syntax to use the Red Hat Network to obtain OS updates from Red Hat? Red Hat Enterprise Linux 5 uses yum instead of up2date. I've tried each of the following:

    ADDITIONAL_SOURCE="repomd,500,https://xmlrpc.rhn.redhat.com/XMLRPC,<rhn_username>,<rhn_password>"

    ADDITIONAL_SOURCE="yum,500,https://xmlrpc.rhn.redhat.com/XMLRPC,<rhn_username>,<rhn_password>"

    ADDITIONAL_SOURCE="up2date,500,https://xmlrpc.rhn.redhat.com/XMLRPC,<rhn_username>,<rhn_password>"

    ADDITIONAL_SOURCE="rhn,500,https://xmlrpc.rhn.redhat.com/XMLRPC,<rhn_username>,<rhn_password>"

    All without success. I have also found no documentation online as to the possible values for "repomd".

    :confused:
     
  2. matt.simpson

    matt.simpson Basic Pleskian

    25
     
    Joined:
    Sep 12, 2001
    Messages:
    94
    Likes Received:
    0
  3. rivimont

    rivimont New Pleskian

    22
    57%
    Joined:
    Jan 16, 2007
    Messages:
    11
    Likes Received:
    0
    I too have encountered this problem.

    I have a clean CentOS 5 install and have issued the command "yum update." When I try install Plesk 8.2 via the autoinstaller, it tells me I have some newer packages so I should specify the location of the vendor updates in .autoinstallerrc.

    I have tried many variations of the file, but it always tells me its in the wrong format. Has anyone got this to work? If so could you post the "additional_source" line from your autoinstallerrc? Thanks.
     
  4. breun

    breun Golden Pleskian

    29
     
    Joined:
    Jun 28, 2005
    Messages:
    1,647
    Likes Received:
    0
    A popular workaround for now is to first install Plesk and not run yum update until Plesk is installed.
     
  5. rivimont

    rivimont New Pleskian

    22
    57%
    Joined:
    Jan 16, 2007
    Messages:
    11
    Likes Received:
    0
    Thanks.
    That is my next step. I didn't enable rollbacks on yum so I am just requesting an OS reload for my server.

    I am curious how this .autoinstallerrc additional_source parameter works. All I have found is workarounds and not the correct syntax.
     
  6. CFHCOMP

    CFHCOMP Guest

    0
     
    If someone could answer the original question that would be great.
     
  7. crash

    crash Guest

    0
     
  8. eilko

    eilko Regular Pleskian

    28
    73%
    Joined:
    Aug 1, 2001
    Messages:
    468
    Likes Received:
    4
    Location:
    Enschede, Netherlands
    thanks, after changing to the correct repo it works fine on my centos5 machine
     
  9. swardell

    swardell Guest

    0
     
    have tried this

    /root/.autoinstallerrc

    which contains

    ADDITIONAL_SOURCE="repodata,500,http://mirror.centos.org/centos/5.2/updates/i386,none,none"

    but still get the error telling me I need an /root/.autoinstallerrc as though it cant even find the file, Ive tried putting it in

    /
    /root
    and the folder Im running the installer from

    as it objected to php-common I tried just removing php-common and am waiting to see what happens, so far its installing.

    I have to say I am truly sick of Plesks installation and uprade nightmares, Im currently reviewing it against other control panels and given the admin hassle of upgrades in Plesk will gladly swap to something that works, Plesk repeatedly and plainly does not and in an enivornment such as hosting, messing up with an upgrade is NOT an option.
     
  10. Chris Kloiber

    Chris Kloiber New Pleskian

    19
     
    Joined:
    May 1, 2009
    Messages:
    4
    Likes Received:
    0
    Bump...

    Still looking for the correct (if any) syntax to use the paid-for Red Hat Network as a source for OS updates.
     
  11. dwiggins

    dwiggins Guest

    0
     
    There's a thread over in the 9.x area too.

    Hopefully someone from Parallels will actually chime in and tell us once and for all if their product can actually use up2date.
     
  12. dwiggins

    dwiggins Guest

    0
     
    autoinstaller CAN use paid-for RHN up2date!

    we've been beating the parallels guys, and finally got an answer that in our quick testing seems to be a winner. your mileage may vary, but here's something to try, straight from our support ticket. note that we were asking about plesk 9.2.2, but autoinstaller is autoinstaller, so give this a shot! -

    • We checked that current Autoinstaller 3.4 supports RedHat "up2date"
    utility and Parallels Plesk 9.2.2 can be installed on RHEL 4.8 server
    if Autoinstaller detects that "up2date" is configured. Please refer to
    RedHat documentation about configuring of 'up2date' service.

    • To detect if "up2date" is configured Parallels Plesk Autoinstaller
    performs the following actions:

    1) It checks that "/etc/sysconfig/rhn/systemid" file does exist;
    2) It checks that "/etc/sysconfig/rhn/up2date" file contains
    networkSetup=1 parameter.

    The problem is that this parameter became optional, so Autoinstaller
    does not detect if "up2date" is configured, and therefore does not use
    it.

    You need to check "/etc/sysconfig/rhn/up2date" file and add
    networkSetup=1 string if it does not exist.
     
Loading...