Problems with modules when netdump client starts

Hello,

I'm installing a new netdump server and clients.

When I try to start a netdump cliente I get the next error:

 /etc/init.d/netdump start ; echo $?
netdump: cannot ping 172.17.128.150
Inicio de netdump /lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o: invalid argument syntax for netdump_target_eth_byte0: 'x'
/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o: insmod /lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o failed
/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o: insmod netconsole failed
                                                           [FALL�]
0

Ping is working properly, I don't know why I get this error message

By the other hand, this is the debug output

+ initlog -q -c 'modprobe netconsole magic1=0x8f0c3caf magic2=0x566e8125 dev=eth0 netdump_target_ip=0x00000000 netlog_target_ip=0x00000000 source_port=6666 netdump_target_port=6666 netlog_target_port=6666 netdump_target_eth_byte0=0x netdump_target_eth_byte1=0x netdump_target_eth_byte2=0x netdump_target_eth_byte3=0x netdump_target_eth_byte4=0x netdump_target_eth_byte5=0x netlog_target_eth_byte0=0x netlog_target_eth_byte1=0x netlog_target_eth_byte2=0x netlog_target_eth_byte3=0x netlog_target_eth_byte4=0x netlog_target_eth_byte5=0x mhz=3199'
/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o: invalid argument syntax for netdump_target_eth_byte0: 'x'
/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o: insmod /lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o failed
/lib/modules/2.4.21-37.ELsmp/kernel/drivers/net/netconsole.o: insmod netconsole failed
+ failure 'Inicio de netdump'
# uname -r
2.4.21-37.ELsmp

Any suggestions?

for some reason, it seems that the modules (kernel space code) are not being inserted into kernel space properly. This could be due to incompatibility from numbers of reasons.

Another thing in the debug output is that the destination for your dumps shows a blank IP address.

Thanks for your reply mark54g

It's solved :slight_smile: I could see why IP is empty.

By default netdump always will use eth0 and in my case netdump server only is recheable by eth2 (I thought netdump will look the right interface in route table ) I changed DEV=eth2 in /etc/sysconfig/netdump and all is working fine.

Thanks.

That would do it. I had no idea what your network interfaces were from here, but glad that this was resolved.