[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: insmod.old/lsmod.old etc probs



Usually "su" but when I login as console knowing I need root do to stuff, I login as root.

In Konsole:

deaf-pc15:/home/piers# echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
deaf-pc15:/home/piers# which lsmod
/sbin/lsmod
deaf-pc15:/home/piers#

Interesting - logging in as root causes the problems (kernel needs lsmod.old etc) but logging in as my own name then using "su" it works just fine.

Logging in console as root:

deaf-pc15:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/local/apache-ant-1.6.1/bin
deaf-pc15:~# which lsmod
/usr/local/bin/lsmod
deaf-pc15:~#

Thanks very much for your help again

Cheers - Piers

Bill Marcum wrote:
On Tue, Sep 21, 2004 at 10:01:41AM +0100, Piers Kittel wrote:

Uninstalled module-init-tools, and modutils was already installed, but still doesn't fix the problem I'm afraid:

deaf-pc15:/# lsmod
Kernel requires old lsmod, but couldn't run lsmod.old: No such file or directory
deaf-pc15:/#

But strangely, in X and using Konsole, running lsmod works just fine:


How do you become root?  Login, su, or "su -" ?

echo $PATH
which lsmod




Reply to: