[solved] Re: [expert] can't locate binfmt error
Daniel Woods wrote: After modifying /etc/conf.modules with 'alias binfmt- binfmt_misc' (also tried BillK's suggested 'alias binfmt- binfmt_aout'), I simply try 'ipchains -nL' and get the following error only the first time... Sep 22 11:32:36 24 insmod: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Sep 22 11:32:36 24 modprobe: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Which seems ok. I take it that it reloaded the conf.modules file. Do I have to do a reboot or is this enough (I tried both) ? Not OK. You have only edited the config file - you need to run depmod -a ("man depmod", modules are a real pain!) to read the new config and write to to the dependencies file (note that most distro's run this command in the initscripts on boot, so reboot will also work.) BillK Tried doing that, and tried rebooting, but still not fixed. I get no more log errors but 'ipchains -nL' still shows nothing. Another list pointed me to the fact that I might be trying to run a binary of size 0. A search with 'find / -perm 755 -empty -print' indeed revealed that /sbin/ipchains was size 0. No wonder it never returned anything. Even more weird now is that my gateway machine's eth1 for LAN can no longer ping the other LAN machines, and vice-versa. However, The LAN machines can ping each other (not the gateway) but cannot access the internet via eth0 (since it can't go through eth1). I still have this problem. Does anyone know why ? Thanks... Dan. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] can't locate binfmt error
First run "alsactl store". That should (hopefully) create that file. -- Asheesh. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] can't locate binfmt error
Daniel Woods wrote: After modifying /etc/conf.modules with 'alias binfmt- binfmt_misc' (also tried BillK's suggested 'alias binfmt- binfmt_aout'), I simply try 'ipchains -nL' and get the following error only the first time... Sep 22 11:32:36 24 insmod: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Sep 22 11:32:36 24 modprobe: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Which seems ok. I take it that it reloaded the conf.modules file. Do I have to do a reboot or is this enough (I tried both) ? Not OK. You have only edited the config file - you need to run depmod -a ("man depmod", modules are a real pain!) to read the new config and write to to the dependencies file (note that most distro's run this command in the initscripts on boot, so reboot will also work.) BillK Tried doing that, and tried rebooting, but still not fixed. I get no more log errors but 'ipchains -nL' still shows nothing. Even more weird now is that my gateway machine's eth1 for LAN can no longer ping the other LAN machines, and vice-versa. However, The LAN machines can ping each other (not the gateway) but cannot access the internet via eth0 (since it can't go through eth1). I dread the possibility of having to re-install all over again for the third time :( ... still searching for an answer. Thanks... Dan. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] can't locate binfmt error
Daniel Woods said at ÒRe: [expert] can't locate binfmt errorÓ. [2000-09-22 08:01] Sep 21 16:11:51 24 modprobe: modprobe: Can't locate module binfmt- Sep 21 16:13:45 24 last message repeated 102 times Help please ! Thanks... Dan. Sep 21 23:46:17 24 modprobe: modprobe: Can't locate module binfmt- # rpmfind binfmt Cannot install or locate resource binfmt Do you want to search it in the catalog? [Y/n] : Y Loading catalog to /root/.rpmfinddir/fullIndex.rdf.gz Searching the RPM catalog for binfmt ... 1: ftp://rpmfind.net/linux/contrib/contrib/libc5/SRPMS/binfmt_mz-1.0- 1.src.rpm binfmt_mz : Windows binaries loader Found 1 packages related to binfmt Huh? Why is my system looking for a windows binary loader (I don't use wine) ? It can be simpler, perhaps you are trying to use some a.out (not elf) program, and you don't have configured the support for that direcly on the kernel, but as a module. I you have a recent kernel, it can be handled with the binfmt_misc.o module. Try adding alias binfmt- binfmt_misc in your /etc/modules.conf or /etc/conf.modules. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] can't locate binfmt error
In my case binfmt was looking for a unix bin loader on ipup/down. binfmt is a set of modules for the kernel to load various files. In conf.modules put "alias binfmt- binfmt_aout" so it can find the one it wants. There is also a java and other modules, depending on which one is required. There is not a lot of info around on this problem BillK Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] can't locate binfmt error
Sep 21 16:11:51 24 modprobe: modprobe: Can't locate module binfmt- Sep 21 16:13:45 24 last message repeated 102 times Help please ! Sep 21 23:46:17 24 modprobe: modprobe: Can't locate module binfmt- # rpmfind binfmt Cannot install or locate resource binfmt Do you want to search it in the catalog? [Y/n] : Y Loading catalog to /root/.rpmfinddir/fullIndex.rdf.gz Searching the RPM catalog for binfmt ... 1: ftp://rpmfind.net/linux/contrib/contrib/libc5/SRPMS/binfmt_mz-1.0- 1.src.rpm binfmt_mz : Windows binaries loader Found 1 packages related to binfmt Huh? Why is my system looking for a windows binary loader (I don't use wine) ? It can be simpler, perhaps you are trying to use some a.out (not elf) program, and you don't have configured the support for that direcly on the kernel, but as a module. I am not trying to run anything of my own. I am in the process of trying to get postfix to work (which is not). I you have a recent kernel, it can be handled with the binfmt_misc.o module. Try adding alias binfmt- binfmt_misc in your /etc/modules.conf or /etc/conf.modules. After modifying /etc/conf.modules with 'alias binfmt- binfmt_misc' (also tried BillK's suggested 'alias binfmt- binfmt_aout'), I simply try 'ipchains -nL' and get the following error only the first time... Sep 22 11:32:36 24 insmod: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Sep 22 11:32:36 24 modprobe: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Which seems ok. I take it that it reloaded the conf.modules file. Do I have to do a reboot or is this enough (I tried both) ? The original error message for binfmt- no longer shows up in the error logs, however 'ipchains -nL' still shows me nothing. Now I re-run rc.firewall -- no errors, no log errors, but also no 'ipchains -nL' output. I am lost! I shut down all services except SSH (w/ restricted IPs). Thanks... Dan. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
Re: [expert] can't locate binfmt error
Not OK. You have only edited the config file - you need to run depmod -a ("man depmod", modules are a real pain!) to read the new config and write to to the dependencies file (note that most distro's run this command in the initscripts on boot, so reboot will also work.) BillK Daniel Woods wrote: After modifying /etc/conf.modules with 'alias binfmt- binfmt_misc' (also tried BillK's suggested 'alias binfmt- binfmt_aout'), I simply try 'ipchains -nL' and get the following error only the first time... Sep 22 11:32:36 24 insmod: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Sep 22 11:32:36 24 modprobe: Note: /etc/conf.modules is more recent than /lib/modules/2.2.16-9mdksecure/modules.dep Which seems ok. I take it that it reloaded the conf.modules file. Do I have to do a reboot or is this enough (I tried both) ? Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
[expert] can't locate binfmt error
Sep 21 16:11:51 24 modprobe: modprobe: Can't locate module binfmt- Sep 21 16:13:45 24 last message repeated 102 times Help please ! Thanks... Dan. Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.