mac
20.04.2011, 11.26
Originariamente Scritto da PFM
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /lib/modules/2.6.34.6-custom-std-ipv6-64-mod/build/include/ The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.34.6-custom-std-ipv6-64-mod). Even if the module were to compile successfully, it would not load into the running kernel. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
Le risposte al supporto che hai ricevuto, le hai ricevute TUTTE da me.
Come ti ho già detto, non essendo un problema legato alla macchina ma una configurazione particolare a livello software, tramite il supporto non siamo tenuti ad offrire alcun aiuto in quanto il servizio OVH è completamente UNMANAGED.
[root@ns***** ~]# cat /boot/grub/menu.lst default=0 timeout=5 title linux centos5_64 kernel /boot/bzImage-2.6.34.6-xxxx-grs-ipv6-64 root=/dev/md1 ro root (hd0,0)
Dispositivo Boot Start End Blocks Id System /dev/sdb1 * 1 12158 97654784 83 Linux /dev/sdb2 37691 38913 9823717 5 Esteso /dev/sdb3 12158 37690 205088768 83 Linux /dev/sdb5 37691 38913 9823716 82 Linux swap / Solaris
... image=/boot/bzImage-2.6.32.2-xxxx-grs-ipv4-64 label=linux read-only root=/dev/md1
... image=/boot/bzImage label=linux read-only root=/dev/md1 image=/boot/bzImage-2.6.32.2-xxxx-grs-ipv4-64 label=linux-orig read-only root=/dev/md1
net.ipv4.ip_forward = 1 net.ipv4.conf.vmnet1.proxy_arp=1
#!/bin/bash # Questo script aggiunge il routing per gli IP failover assegnati alle macchine dedicate. vmware_routes_start() { echo "Starting VMWare Routes... " while [ "$v" != "1" ]; do v=$(ifconfig | grep -c vmnet1) echo "Waiting for vmnet1" if [ "$v" != "1" ]; then sleep 5; fi done if [ -e /etc/vmware/routes.conf ]; then for address in `egrep -v "^#" /etc/vmware/routes.conf | awk '{ print $1 }'`; do /sbin/ip route add $address dev vmnet1 done fi sysctl -p /etc/sysctl.conf echo "Routes have been added" } vmware_routes_stop() { echo "Stopping VMWare Routes..." if [ -e /etc/vmware/routes.conf ]; then for address in `egrep -v "^#" /etc/vmware/routes.conf | awk '{ print $1 }'`; do /sbin/ip route del $address dev vmnet1 done fi echo "Done" } case "$1" in start) vmware_routes_start ;; stop) vmware_routes_stop ;; restart) vmware_routes_stop sleep 1 vmware_routes_start ;; *) echo "Usage: check {start|stop|restart}" exit 1 esac exit 0
update-rc.d vmware-routes start 95 2 3 4 5 . update-rc.d vmware-routes stop 95 0 1 6 .
auto eth0 iface eth0 inet static address [IPFAILOVER] netmask 255.255.255.255 gateway [IPFAILOVER]
iptables -t nat -A POSTROUTING --source [IPFAILOVER] --match iprange --dst-range [IPFTPBACKUP] -j SNAT --to [IPDEDICATO]
yum install lzma Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * rpmforge: fr2.rpmfind.net Excluding Packages in global exclude list Finished Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package lzma.x86_64 0:4.32.7-1.el5.rf set to be updated --> Processing Dependency: lzma-libs = 4.32.7-1.el5.rf for package: lzma --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.1)(64bit) for package: lzma --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4)(64bit) for package: lzma --> Processing Dependency: libstdc++.so.6(CXXABI_1.3)(64bit) for package: lzma --> Processing Dependency: libstdc++.so.6()(64bit) for package: lzma --> Processing Dependency: liblzmadec.so.0()(64bit) for package: lzma --> Running transaction check ---> Package libstdc++.x86_64 0:4.1.2-46.el5_4.2 set to be updated ---> Package lzma-libs.x86_64 0:4.32.7-1.el5.rf set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: lzma x86_64 4.32.7-1.el5.rf rpmforge 98 k Installing for dependencies: libstdc++ x86_64 4.1.2-46.el5_4.2 updates 352 k lzma-libs x86_64 4.32.7-1.el5.rf rpmforge 44 k Transaction Summary ================================================================================ Install 3 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 494 k Is this ok [y/N]: y Downloading Packages: (1/3): lzma-libs-4.32.7-1.el5.rf.x86_64.rpm | 44 kB 00:00 (2/3): lzma-4.32.7-1.el5.rf.x86_64.rpm | 98 kB 00:00 (3/3): libstdc++-4.1.2-46.el5_4.2.x86_64.rpm | 352 kB 00:00 -------------------------------------------------------------------------------- Total 1.1 MB/s | 494 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : libstdc++ 1/3 Installing : lzma-libs 2/3 Installing : lzma 3/3 Installed: lzma.x86_64 0:4.32.7-1.el5.rf Dependency Installed: libstdc++.x86_64 0:4.1.2-46.el5_4.2 lzma-libs.x86_64 0:4.32.7-1.el5.rf Complete!
/bin/sh: lzma: command not found
... CC arch/x86/lib/delay.o AS arch/x86/lib/getuser.o AS arch/x86/lib/memcpy_64.o CC arch/x86/lib/memmove_64.o AS arch/x86/lib/memset_64.o AS arch/x86/lib/putuser.o AS arch/x86/lib/rwlock_64.o AS arch/x86/lib/thunk_64.o CC arch/x86/lib/usercopy_64.o AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 4 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 KSYM .tmp_kallsyms1.S AS .tmp_kallsyms1.o LD .tmp_vmlinux2 KSYM .tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux SYSMAP System.map SYSMAP .tmp_System.map CC arch/x86/boot/a20.o AS arch/x86/boot/bioscall.o CC arch/x86/boot/cmdline.o AS arch/x86/boot/copy.o HOSTCC arch/x86/boot/mkcpustr CPUSTR arch/x86/boot/cpustr.h CC arch/x86/boot/cpu.o CC arch/x86/boot/cpucheck.o CC arch/x86/boot/edd.o VOFFSET arch/x86/boot/voffset.h LDS arch/x86/boot/compressed/vmlinux.lds AS arch/x86/boot/compressed/head_64.o CC arch/x86/boot/compressed/misc.o OBJCOPY arch/x86/boot/compressed/vmlinux.bin LZMA arch/x86/boot/compressed/vmlinux.bin.lzma /bin/sh: lzma: command not found HOSTCC arch/x86/boot/compressed/mkpiggy MKPIGGY arch/x86/boot/compressed/piggy.S arch/x86/boot/compressed/vmlinux.bin.lzma: No such file or directory AS arch/x86/boot/compressed/piggy.o gcc: arch/x86/boot/compressed/piggy.S: No such file or directory gcc: no input files make[2]: *** [arch/x86/boot/compressed/piggy.o] Error 1 make[1]: *** [arch/x86/boot/compressed/vmlinux] Error 2 make: *** [bzImage] Error 2 #