When attempting to start the iscsitarget service, I get
FATAL: Module iscsi_trgt not found.
Trying to build module using instructions from http://sourceforge.net/apps/mediawiki/iscsitarget/index.php?title=Unofficial_DEBs fails and the build log only has a single line in it saying the build started. Nothing about the failure.
It depends on your ubuntu-version.
On newer systems (since Maverick) you have to install some additional packets:
This compiles the required module automagically.
On Lucid you have to compile yourself (and maybe again after every kernel-update):
If none of the solutions are working, try following:
This re-installs the
iscsitarget dkms
and resolved the problem for me.I went through all of the above and couldn't fix the error, but finally got it working with:
If nothing else is working then give this a shot.