Need help, RH 7.3 up2date not working...
Hi,
I just installed RedHat Linux 7.3 on my server that I'm setting up and I wanted to run the up2date utility, but when I try to run it, I get a message which says 'command not found'. I need help. Where do I start? David |
Run up2date as root.
|
I'm running it as 'root' already. So what else could it be?
David |
you've probably already tried rpm -q -i -d up2date
you've probably already tried rpm -q -i -d up2date
|
Well, I haven't so let me try it now...
[UPDATE] OK, I just tried that command... and it listed a summary of the up2date command version, install date, etc. I'm sure you already know. Now that we know it's installed, any ideas on why it won't run when I type in the command? David |
I edited my last post, so the email notification probably didn't get sent out, so just replying to trigger it.
David |
curious. i really don't have an answer.
if there are no other suggestions, i would try updatedb rpm -V up2date (verify the package AND dependencies--probably should have tried this first) if these don't generate error messages, i don't know what to suggest other than to download the most up-to-date package and rpm -Uvh up2date (if you already have the most up-to-date package, the rpm --force up2date ) |
I've tried the first two steps suggested in the last post without resolving the problem. I will do the last suggestion soon, but am going to be away from my computer till tomorrow.
If anyone else has any thoughts or suggestions, please post them. Thanks, David |
Ummm... Upgrade to RedHat 8?? :P
rpm -ql up2date will produce the listing of all the files that were installed from that package. You should eventually get to the up2date binary and see where it's hiding (if it is at all installed). You can also try whereis up2date and see if that finds your binary for you. To be 100% safe, however, I would go on RPMFind (or check out the RedHat 7.3 CDs) and reinstall every single rhn (RedHat Network) and up2date package there is. Probably something is screwed up... |
I can't upgrade to RH 8 as the Plesk package does not support that. I'll try your other suggestions though.
David |
this answer can't be right
but nothing else is working and it can't do any hurt. it shouldn't matter but have you tried absolute file path?
/usr/bin/up2date i just reread your first post and the "command not found" error message just registered with me. if you still get the same error message then try to find the correct path to the command by typing find path -name up2date -print |
Well, I finally got it to work. The command was located at /usr/sbin/up2date.
It seems that this path is not initialized somehow when the O/S searches for commands. How do I list this path as one of the default paths to search for commands? David |
someone else can correct me but i think its
setenv PATH /usr/sbin/up2date:$PATH |
I don't think you want to specify the command, just the directory it's in so:
PATH=/usr/sbin:$PATH export PATH Add this to .bash_rc to have it persist after reboots. |
All times are GMT -5. The time now is 09:32 PM. |