• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

RHEL5 and .autoinstallerrc syntax

C

ckloiber

Guest
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:
 
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.
 
A popular workaround for now is to first install Plesk and not run yum update until Plesk is installed.
 
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.
 
If someone could answer the original question that would be great.
 
thanks, after changing to the correct repo it works fine on my centos5 machine
 
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.
 
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.
 
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.
 
Back
Top