Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Someone I know just got a server and I said I would install some stuff for them starting with the control panel from zervex.com (DSM)
I ran in to a problem straight away with an error saying:
===== Checking for basic tools =====
Checking for /bin/rpm: MISSING
FATAL: /bin/rpm not present, cannot install
I have used Centos before, I always do because the first server I ever worked with had that on so I just stuck with it. I've never known this problem before.
Hi, thanks for your reply, but this what I get when I type in that command:
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Fri Mar 23 18:26:05 2007 from xxx.yyy.zzz.com
sc2:~# rpm --version
-bash: rpm: command not found
sc2:~#
Zervex.com is just where I got the control panel from so I don't think that is the problem - I've used it loads of times before, the server is hosted with 49pence. Why would the rpm command not be found?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
OK, somebody somehow either removed the rpm packages or did not install them (don't know why). You have some choices;
Boot with the Installation media and do an upgrade/add packages installation to install the rpm packages.
Copy the /usr/lib/rpm directory structure from another system or the Installation media (in rescue mode) then install the rpm packages from Installation media after rebooting.
So am I getting this right? It looks like the server host didn't install the RPM packages? I know they haven't been removed because the first thing I did was try to install that control panel which have done on many occasions before (the only commands that uses is wget and chmod then run the file)
It's just that the host has said that it will be £40+vat to reinstall the operating system, if it is something they have done wrong on installation then they shouldn't really be charging.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
The default installation for any version of Linux is to install the default package installer tool or utility, with the Red Hat family it is rpm. At the very least the default rpm packages are: rpm, rpm-libs, rpm-python and popt packages.
Check your /root/install.log file and see if they were installed at one time.
Let's get the version number to start with;
$ cat /root/install.log | grep rpm-libs
Installing rpm-libs - 4.4.2-33.el5.x86_64
Now let's check if the default rpm packages are installed;
$ cat /root/install.log | grep 4.4.2-33
Installing rpm - 4.4.2-33.el5.x86_64
Installing rpm-libs - 4.4.2-33.el5.x86_64
Installing rpm-python - 4.4.2-33.el5.x86_64
I do not understand why they would want to charge for this, it sounds like they goofed to start with. What good is an operating system installation if you cannot install with the standard packaging installation tool or utility????
Hi, theres no /root/install.log file on the server for some reason - I checked on a load of my other servers and they all have it - looks like something has gone very wrong here.
With the install.log not existing the commands that you mentioned (cat /root/install.log | grep rpm-libs) are not working.
Does this mean a fresh installation is needed? or is there something we can do remotely to fix it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.