Hi,
I just updated my CentOS machine from 5.2 to 5.3. After rebooting, I found a few commands are not responding after the update.
The non-responding commands are:
finger, groups,chown
I did nothing after the update. Please anyone can help me.
HELP: A few commands not responding after upgrade to 5.3 from 5.2
-
- Posts: 7
- Joined: 2009/05/13 05:27:29
Re: HELP: A few commands not responding after upgrade to 5.3 from 5.2
I've noticed some issues where help articles cite using commands in prior versions that don't work on v5.3. In each case I have found that the command seems to have been moved from /bin to /usr/sbin.
Try doing $whereis to find the programs location. I've had some success making symlinks in /bin for the target in /sbin so that I don't have to type the /sbin/ prefix. There is probably a more global way to do it but I haven't tried for fear of more global side effects.
example:
[code]$ifconfig -a
bin/bash command not found [/code]
[code]$/sbin/ifconfig -a
<normal output>[/code]
I'm not sure why this was changed but it appears to have been recent (I just started on CentOS with v 5.3 so take my advice with a grain of salt).
I got around some of these by making symlinks but I don't claim that it is the correct thing to do. I haven't had any problem with it yet.
example for making a symlink for ifconfig
[code]# ln -s /sbin/ifconfig /bin/ifconfig[/code]
Try doing $whereis to find the programs location. I've had some success making symlinks in /bin for the target in /sbin so that I don't have to type the /sbin/ prefix. There is probably a more global way to do it but I haven't tried for fear of more global side effects.
example:
[code]$ifconfig -a
bin/bash command not found [/code]
[code]$/sbin/ifconfig -a
<normal output>[/code]
I'm not sure why this was changed but it appears to have been recent (I just started on CentOS with v 5.3 so take my advice with a grain of salt).
I got around some of these by making symlinks but I don't claim that it is the correct thing to do. I haven't had any problem with it yet.
example for making a symlink for ifconfig
[code]# ln -s /sbin/ifconfig /bin/ifconfig[/code]
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
HELP: A few commands not responding after upgrade to 5.3 fro
echo "export PATH=$PATH:/usr/sbin:/sbin" >> ~/.bash_profile
but note that a lot of the sbin commands are primarily for use by root.
but note that a lot of the sbin commands are primarily for use by root.