Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-08-2006, 01:18 PM   #1
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.

Old 05-08-2006, 03:25 PM   #2
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 03:27 PM.


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 09:40 PM
unmount error!!! "command not found" yorgmeister Fedora 1 12-21-2005 12:39 PM
LFS 6.0 error: glibc fails check with "g++: command not found" peristaltic Linux From Scratch 1 03-15-2005 08:52 PM
kernel 2.6.9y: "lufs module not loaded" DaneM Linux - Software 0 11-12-2004 12:26 AM
SuSE Linux 9.1 Personal: Error message "module usb_uhci not found" johnerskine Linux - Newbie 2 06-24-2004 12:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 PM.

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