|
Home > Archive > Red Hat General > July 2005 > rpm installation on RHES 4
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
rpm installation on RHES 4
|
|
| Dennis Peere 2005-06-22, 5:57 pm |
| Dear,
I want to install several RHES 4 servers with kickstart installations.
In the %post section I want to install some extra rpm files (e.g. :
jre-1.3.1_16.i586.rpm)
Alhtough the rpm files install correct I keep getting the same error: failed
to stat /dev/shm ... before the rpm installation starts, see below:
rpm -ivh /mnt/dos/install/app/jre1.3.1_16/jre-1.3.1_16.i586.rpm
error: failed to stat /dev/shm: No such file or directory
Preparing...
########################################
##########
jre
########################################
##########
If I install the same rpm file after the first reboot, everything seems
fine.
Anyone got an idea if I can ignore this error message ?
Regards,
Dennis
| |
| Eric Bursley 2005-07-06, 8:48 pm |
| the /dev/shm device does not exist in the install environment. Before
installing RPM's, chroot your environment to the root file system on the
hard drive, then install the RPM. After the RPM is installed, exit the
chrooted environment.
--
Eric Bursley
RHCE
"Dennis Peere" <sycrontw@hotmail.com> wrote in message
news:42b96cde$0$25590$ba620e4c@news.skynet.be...
> Dear,
>
> I want to install several RHES 4 servers with kickstart installations.
> In the %post section I want to install some extra rpm files (e.g. :
> jre-1.3.1_16.i586.rpm)
> Alhtough the rpm files install correct I keep getting the same error:
> failed
> to stat /dev/shm ... before the rpm installation starts, see below:
>
> rpm -ivh /mnt/dos/install/app/jre1.3.1_16/jre-1.3.1_16.i586.rpm
> error: failed to stat /dev/shm: No such file or directory
> Preparing...
> ########################################
##########
> jre
> ########################################
##########
>
> If I install the same rpm file after the first reboot, everything seems
> fine.
>
> Anyone got an idea if I can ignore this error message ?
>
> Regards,
>
> Dennis
>
>
>
| |
| Dennis Peere 2005-07-07, 7:55 am |
|
"Eric Bursley" <ebursley@swbell.net> wrote in message
news:1u%ye.1186$Ku6.977@newssvr11.news.prodigy.com...
> the /dev/shm device does not exist in the install environment. Before
> installing RPM's, chroot your environment to the root file system on the
> hard drive, then install the RPM. After the RPM is installed, exit the
> chrooted environment.
Eric,
First of all thank you for your answer.
If I don't do a chroot when installing rpm files in the install environment,
will this affect the rpm installations or should everything work fine ?
Since I sometimes use the same installation scripts after installation, I
would have to add checks to every installation script and I was wondering if
I could keep it like it is at this time.
What is the /dev/shm used for and how come I didn't have this problem in
RedHat 8 ?
If I chroot in my installation script, how can I get back to continue with
my installation script without exiting it completely ? (Sorry if the answer
is a simple exit...)
Regards,
Dennis
|
|
|
|
|