rpm installation on RHES 4
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat General > rpm installation on RHES 4




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    rpm installation on RHES 4  
Dennis Peere


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-22-05 10: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







[ Post a follow-up to this message ]



    Re: rpm installation on RHES 4  
Eric Bursley


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-07-05 01:48 AM

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
>
>
>







[ Post a follow-up to this message ]



    Re: rpm installation on RHES 4  
Dennis Peere


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-07-05 12:55 PM


"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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:15 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register