Article ID: 6236, created on Apr 9, 2009, last review on Apr 17, 2012

Symptoms

During an installation of Parallels Pro Control Panel for Linux install may fail with the following error message:

Install failed with error

 

Complete!

chown: `rpm.rpm': invalid user

 

/usr/lib/opcenter/rpmscripts/appliance/post: line 60: [: too many arguments

/usr/lib/opcenter/rpmscripts/appliance/post: line 66: [: too many arguments

/usr/lib/opcenter/rpmscripts/appliance/post: line 76: [: too many arguments

/bin/touch: cannot touch `argv[1]=-w/aquota.user': No such file or directory

/bin/touch: cannot touch `argv[1]=-w/aquota.group': No such file or directory

 

 

Cause

Fresh installation of CentOS 5.3/RHEL 5.3 doesn’t contain the rpm user and rpm usergroup.

Resolution

Prior to installation Parallels Control Panel for Linux on the mentioned operations system please check if the system has rpm user and rpm usergroup:

  1. Log as root to your PPCPL box
  2. Execute the following command

id rpm

The output of the command should look as follows:

uid=37(rpm) gid=37(rpm) groups=37(rpm)

In case you got similar output you can proceed with the Parallels Pro Control Panel installation.

If instead of the above message you see:

id: rpm: No such user

You need to create this user and appropriate usergroup. To do so please follow next steps:

  1. Log as root to your PPCPL box
  2. Type the following commands:

/usr/sbin/groupadd -g 37 rpm > /dev/null 2>&1
/usr/sbin/useradd  -r -d /var/lib/rpm -u 37 -g 37 rpm -s /sbin/nologin > /dev/null 2>&1

  1. After adding the rpm user and rpm usergroup you can proceed with the Parallels Pro Control Panel installation.

Email subscription for changes to this article
Save as PDF