LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-08-2006, 12:18 PM   #1
neelay1
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
Unhappy executing a loaded module returns "command not found" error


Hi all,
I'm trying to load ebtables module in Linux 2.6.9-34 kernel. I can load the module, when I grep lsmod for ebtables, I see that it has been loaded, but when I execute the ebtables command, I get a "command not found error". Is there some PATH variable that I need to append? If so, do I need to append it with the path to the ebtables.ko file?
Given below is the series of commands leading to the error-
[root:/lib/modules/2.6.9-34.ELsmp/kernel/net/bridge/netfilter] modprobe ebtables
[root:/lib/modules/2.6.9-34.ELsmp/kernel/net/bridge/netfilter] lsmod | grep ebtables
ebtables 24385 0
[root:/lib/modules/2.6.9-34.ELsmp/kernel/net/bridge/netfilter] ebtables
-bash: ebtables: command not found

Any help will be highly appreciated.

Thanks,
Neelay.
 
Old 05-08-2006, 02:25 PM   #2
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
try as root

# /sbin/ebtables

You can find the path to the binary by

$ whereis -b ebtables

Last edited by dcdbutler; 05-08-2006 at 02:27 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a directory returns "no medium found" error JcN Linux - Newbie 7 02-01-2006 08:40 PM
unmount error!!! "command not found" yorgmeister Fedora 1 12-21-2005 11:39 AM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 07:52 PM
kernel 2.6.9y: "lufs module not loaded" DaneM Linux - Software 0 11-11-2004 11:26 PM
SuSE Linux 9.1 Personal: Error message "module usb_uhci not found" johnerskine Linux - Newbie 2 06-24-2004 11:02 AM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration