PXE boot fails on fresh install - CentOS 7 (Build 7218)
-
Set up FOG according the wiki for CentOS 7, fired up a test client and get a kernel panic when trying to register it (or any other option in the menu that requires bzImage).
According to this post, it’s an issue with the kernel architecture mismatch. Sure enough, I appear to be missing the x64 kernel. I attempt to update the kernel thru the web GUI, but get this message:
Then I’m lead down another rabbit hole to troubleshoot FTP. Long story short, there ain’t nothing wrong with FTP. Recent posts regarding this problem say to download the kernels manually using the script from here.
Hooray, new kernels! Woopee!
Except they don’t work:
I get the same error on 3 different machines, so I’m fairly sure it’s not a bad NIC or something of that nature.
Any other ideas before throw in the towel?
Edit: As of this original post I’m on the latest version.
-
@moses the installation/update process should not have even completed if the kernels and inits were not downloaded, or not downloaded correctly. The files downloaded are checksummed and that checksum is compared with what the value should be. If it fails the check, the installer fails right there. Are you sure you totally finished the installation?
If you go into the
fogproject/bin/error_log
directory on your server, you should see an error log with the namefog_error_7218.log
It would be very helpful to know what the last few lines in this file says.Can you post the output of this command please? I want to compare file sizes on your system and mine.
ls -la /var/www/html/fog/service/ipxe
Here is the output from my home system - I just updated to r7218 as well.
total 55880 drwxr-xr-x. 3 fog apache 240 Apr 19 23:04 . drwxr-xr-x. 3 apache apache 4096 Apr 19 23:04 .. -rwxr-xr-x. 1 fog apache 1161 Apr 19 23:05 advanced.php -rwxr-xr-x. 1 fog apache 21280 Apr 19 23:05 bg.png -rwxr-xr-x. 1 fog apache 695 Apr 19 23:05 boot.php -rwxr-xr-x. 1 fog apache 7032576 Apr 19 23:05 bzImage -rwxr-xr-x. 1 fog apache 6924768 Apr 19 23:05 bzImage32 -rwxr-xr-x. 1 fog apache 6957536 Apr 19 23:04 bzImage32_new -rwxr-xr-x. 1 fog apache 234697 Apr 19 23:05 grub.exe -rwxr-xr-x. 1 fog apache 16449752 Apr 19 23:05 init_32.xz -rwxr-xr-x. 1 fog apache 17471828 Apr 19 23:05 init.xz -rwxr-xr-x. 1 fog apache 25340 Apr 19 23:05 memdisk -rwxr-xr-x. 1 fog apache 1839104 Apr 19 23:05 memtest.bin drwxr-xr-x. 2 fog apache 71 Apr 19 23:05 old -rwxr-xr-x. 1 fog apache 20933 Apr 19 23:05 refind.conf -rwxr-xr-x. 1 fog apache 205192 Apr 19 23:05 refind.efi
-
Here’s the installer log (I did udpate to 7230 this morning, still seeing the kernel panic):
/bin/lsb_release /bin/systemctl ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysql.service’: File exists ln: failed to create symbolic link ‘/usr/lib/systemd/system/mysqld.service’: File exists ln: failed to create symbolic link ‘/etc/systemd/system/mysql.service’: File exists ln: failed to create symbolic link ‘/etc/systemd/system/mysqld.service’: File exists /opt/fog/.fogsettings Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.liquidweb.com * epel: mirror.steadfast.net * extras: bay.uchicago.edu * remi: mirrors.mediatemple.net * remi-php56: mirrors.mediatemple.net * remi-safe: mirrors.mediatemple.net * updates: mirror.compevo.com Package epel-release-7-6.noarch already installed and latest version Nothing to do package remi-release-7 is not installed Retrieving http://rpms.remirepo.net/enterprise/remi-release-7.rpm Preparing... ######################################## package remi-release-7.1-3.el7.remi.noarch is already installed Loaded plugins: fastestmirror ================================== repo: remi ================================== [remi] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/remi check_config_file_age = True cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority gpgcadir = /var/lib/yum/repos/x86_64/7/remi/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/remi/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi hdrdir = /var/cache/yum/x86_64/7/remi/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = minrate = 0 mirrorlist = http://rpms.remirepo.net/enterprise/7/remi/mirror mirrorlist_expire = 86400 name = Remi's RPM repository for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/remi pkgdir = /var/cache/yum/x86_64/7/remi/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = remi ui_repoid_vars = releasever, basearch username = Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.liquidweb.com * epel: mirror.steadfast.net * extras: bay.uchicago.edu * remi: mirrors.mediatemple.net * remi-safe: mirrors.mediatemple.net * updates: mirror.compevo.com httpd-2.4.6-40.el7.centos.x86_64 php-5.6.20-1.el7.remi.x86_64 php-cli-5.6.20-1.el7.remi.x86_64 php-common-5.6.20-1.el7.remi.x86_64 php-gd-5.6.20-1.el7.remi.x86_64 mariadb-5.5.47-1.el7_2.x86_64 mariadb-server-5.5.47-1.el7_2.x86_64 tftp-server-5.2-12.el7.x86_64 nfs-utils-1.3.0-0.21.el7_2.x86_64 vsftpd-3.0.2-11.el7_2.x86_64 net-tools-2.0-0.17.20131004git.el7.x86_64 wget-1.14-10.el7_0.1.x86_64 xinetd-2.3.15-12.el7.x86_64 tar-1.26-29.el7.x86_64 gzip-1.5-8.el7.x86_64 make-3.82-21.el7.x86_64 m4-1.4.16-10.el7.x86_64 gcc-4.8.5-4.el7.x86_64 gcc-c++-4.8.5-4.el7.x86_64 lftp-4.4.8-7.el7.x86_64 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.liquidweb.com * epel: mirror.nexcess.net * extras: bay.uchicago.edu * remi: mirrors.mediatemple.net * remi-php56: mirrors.mediatemple.net * remi-safe: mirrors.mediatemple.net * updates: mirror.compevo.com Installed Packages php-mysqlnd.x86_64 5.6.20-1.el7.remi @remi-php56 php-mysqlnd-5.6.20-1.el7.remi.x86_64 curl-7.29.0-25.el7.centos.x86_64 php-mcrypt-5.6.20-1.el7.remi.x86_64 php-mbstring-5.6.20-1.el7.remi.x86_64 mod_ssl-2.4.6-40.el7.centos.x86_64 php-fpm-5.6.20-1.el7.remi.x86_64 php-process-5.6.20-1.el7.remi.x86_64 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.liquidweb.com * epel: mirror.nexcess.net * extras: bay.uchicago.edu * remi: mirrors.mediatemple.net * remi-php56: mirrors.mediatemple.net * remi-safe: mirrors.mediatemple.net * updates: mirror.compevo.com No packages marked for update httpd-2.4.6-40.el7.centos.x86_64 php-5.6.20-1.el7.remi.x86_64 php-cli-5.6.20-1.el7.remi.x86_64 php-common-5.6.20-1.el7.remi.x86_64 php-gd-5.6.20-1.el7.remi.x86_64 mariadb-5.5.47-1.el7_2.x86_64 mariadb-server-5.5.47-1.el7_2.x86_64 tftp-server-5.2-12.el7.x86_64 nfs-utils-1.3.0-0.21.el7_2.x86_64 vsftpd-3.0.2-11.el7_2.x86_64 net-tools-2.0-0.17.20131004git.el7.x86_64 wget-1.14-10.el7_0.1.x86_64 xinetd-2.3.15-12.el7.x86_64 tar-1.26-29.el7.x86_64 gzip-1.5-8.el7.x86_64 make-3.82-21.el7.x86_64 m4-1.4.16-10.el7.x86_64 gcc-4.8.5-4.el7.x86_64 gcc-c++-4.8.5-4.el7.x86_64 lftp-4.4.8-7.el7.x86_64 php-mysqlnd-5.6.20-1.el7.remi.x86_64 php-mysqlnd-5.6.20-1.el7.remi.x86_64 curl-7.29.0-25.el7.centos.x86_64 php-mcrypt-5.6.20-1.el7.remi.x86_64 php-mbstring-5.6.20-1.el7.remi.x86_64 mod_ssl-2.4.6-40.el7.centos.x86_64 php-fpm-5.6.20-1.el7.remi.x86_64 php-process-5.6.20-1.el7.remi.x86_64 New password: Retype new password: Changing password for user fog. passwd: all authentication tokens updated successfully. Failed to execute operation: No such file or directory ● mariadb.service - MariaDB database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2016-04-20 09:51:18 EDT; 2s ago Process: 4169 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS) Process: 4140 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS) Main PID: 4168 (mysqld_safe) CGroup: /system.slice/mariadb.service ├─4168 /bin/sh /usr/bin/mysqld_safe --basedir=/usr └─4325 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock Apr 20 09:51:16 localhost.localdomain systemd[1]: Starting MariaDB database server... Apr 20 09:51:16 localhost.localdomain mysqld_safe[4168]: 160420 09:51:16 mysqld_safe Logging to '/var/log/mariadb/mariadb.log'. Apr 20 09:51:16 localhost.localdomain mysqld_safe[4168]: 160420 09:51:16 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql Apr 20 09:51:18 localhost.localdomain systemd[1]: Started MariaDB database server. Signature ok subject=/CN=192.168.1.201 Getting CA Private Key ln: failed to create symbolic link ‘/var/www/html/fog/fog’: File exists ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2016-04-20 09:51:37 EDT; 2s ago Docs: man:httpd(8) man:apachectl(8) Main PID: 4473 (httpd) Status: "Processing requests..." CGroup: /system.slice/httpd.service ├─4473 /usr/sbin/httpd -DFOREGROUND ├─4480 /usr/sbin/httpd -DFOREGROUND ├─4482 /usr/sbin/httpd -DFOREGROUND ├─4483 /usr/sbin/httpd -DFOREGROUND ├─4484 /usr/sbin/httpd -DFOREGROUND └─4485 /usr/sbin/httpd -DFOREGROUND Apr 20 09:51:36 localhost.localdomain systemd[1]: Starting The Apache HTTP Server... Apr 20 09:51:36 localhost.localdomain httpd[4473]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message Apr 20 09:51:37 localhost.localdomain systemd[1]: Started The Apache HTTP Server. ● php-fpm.service - The PHP FastCGI Process Manager Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2016-04-20 09:51:37 EDT; 2s ago Main PID: 4474 (php-fpm) Status: "Ready to handle connections" CGroup: /system.slice/php-fpm.service ├─4474 php-fpm: master process (/etc/php-fpm.conf ├─4475 php-fpm: pool www ├─4476 php-fpm: pool www ├─4477 php-fpm: pool www ├─4478 php-fpm: pool www └─4479 php-fpm: pool www Apr 20 09:51:36 localhost.localdomain systemd[1]: Starting The PHP FastCGI Process Manager... Apr 20 09:51:37 localhost.localdomain systemd[1]: Started The PHP FastCGI Process Manager. --2016-04-20 09:51:39-- http://192.168.1.201/fog//management/export.php?type=sql Connecting to 192.168.1.201:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: ‘/home//fogDBbackups/fog_sql_7230_20160420_095139.sql’ 0K .......... .......... .......... .......... .......... 75.4M 50K .......... .......... .......... ..... 102M=0.001s 2016-04-20 09:51:39 (84.4 MB/s) - ‘/home//fogDBbackups/fog_sql_7230_20160420_095139.sql’ saved [87422] ‘./boot.txt’ -> ‘/tftpboot/./boot.txt’ ‘./i386-efi/intel.efi’ -> ‘/tftpboot/./i386-efi/intel.efi’ ‘./i386-efi/ipxe.efi’ -> ‘/tftpboot/./i386-efi/ipxe.efi’ ‘./i386-efi/realtek.efi’ -> ‘/tftpboot/./i386-efi/realtek.efi’ ‘./i386-efi/snp.efi’ -> ‘/tftpboot/./i386-efi/snp.efi’ ‘./i386-efi/snponly.efi’ -> ‘/tftpboot/./i386-efi/snponly.efi’ ‘./intel.efi’ -> ‘/tftpboot/./intel.efi’ ‘./intel.kkpxe’ -> ‘/tftpboot/./intel.kkpxe’ ‘./intel.kpxe’ -> ‘/tftpboot/./intel.kpxe’ ‘./intel.pxe’ -> ‘/tftpboot/./intel.pxe’ ‘./ipxe.efi’ -> ‘/tftpboot/./ipxe.efi’ ‘./ipxe.iso’ -> ‘/tftpboot/./ipxe.iso’ ‘./ipxe.kkpxe’ -> ‘/tftpboot/./ipxe.kkpxe’ ‘./ipxe.kpxe’ -> ‘/tftpboot/./ipxe.kpxe’ ‘./ipxe.krn’ -> ‘/tftpboot/./ipxe.krn’ ‘./ipxe.pxe’ -> ‘/tftpboot/./ipxe.pxe’ ‘./ldlinux.c32’ -> ‘/tftpboot/./ldlinux.c32’ ‘./libcom32.c32’ -> ‘/tftpboot/./libcom32.c32’ ‘./libutil.c32’ -> ‘/tftpboot/./libutil.c32’ ‘./memdisk’ -> ‘/tftpboot/./memdisk’ ‘./menu.c32’ -> ‘/tftpboot/./menu.c32’ ‘./pxelinux.0’ -> ‘/tftpboot/./pxelinux.0’ ‘./pxelinux.0.old’ -> ‘/tftpboot/./pxelinux.0.old’ ‘./pxelinux.cfg/default’ -> ‘/tftpboot/./pxelinux.cfg/default’ ‘./realtek.efi’ -> ‘/tftpboot/./realtek.efi’ ‘./realtek.kkpxe’ -> ‘/tftpboot/./realtek.kkpxe’ ‘./realtek.kpxe’ -> ‘/tftpboot/./realtek.kpxe’ ‘./realtek.pxe’ -> ‘/tftpboot/./realtek.pxe’ ‘./snp.efi’ -> ‘/tftpboot/./snp.efi’ ‘./snponly.efi’ -> ‘/tftpboot/./snponly.efi’ ‘./undionly.kkpxe’ -> ‘/tftpboot/./undionly.kkpxe’ ‘./undionly.kpxe’ -> ‘/tftpboot/./undionly.kpxe’ ‘./undionly.pxe’ -> ‘/tftpboot/./undionly.pxe’ ‘./vesamenu.c32’ -> ‘/tftpboot/./vesamenu.c32’ ● xinetd.service - Xinetd A Powerful Replacement For Inetd Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2016-04-20 09:52:07 EDT; 2s ago Process: 4765 ExecStart=/usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid $EXTRAOPTIONS (code=exited, status=0/SUCCESS) Main PID: 4766 (xinetd) CGroup: /system.slice/xinetd.service └─4766 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing discard Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing discard Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing echo Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing echo Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing tcpmux Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing time Apr 20 09:52:07 localhost.localdomain xinetd[4766]: removing time Apr 20 09:52:07 localhost.localdomain xinetd[4766]: xinetd Version 2.3.15 started with libwrap loadavg labeled-networking options compiled in. Apr 20 09:52:07 localhost.localdomain xinetd[4766]: Started working: 1 available service Apr 20 09:52:07 localhost.localdomain systemd[1]: Started Xinetd A Powerful Replacement For Inetd. ● vsftpd.service - Vsftpd ftp daemon Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2016-04-20 09:52:13 EDT; 2s ago Process: 4816 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS) Main PID: 4817 (vsftpd) CGroup: /system.slice/vsftpd.service └─4817 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf Apr 20 09:52:13 localhost.localdomain systemd[1]: Starting Vsftpd ftp daemon... Apr 20 09:52:13 localhost.localdomain systemd[1]: Started Vsftpd ftp daemon. udpcast-20120424/ udpcast-20120424/process.c udpcast-20120424/socklib.c udpcast-20120424/statistics.h udpcast-20120424/udp-receiver.txt udpcast-20120424/udpcast.spec udpcast-20120424/config.status udpcast-20120424/COPYING udpcast-20120424/udpcast.h udpcast-20120424/udpc_process.h udpcast-20120424/fec-test.c udpcast-20120424/examples/ udpcast-20120424/examples/rateGovernor/ udpcast-20120424/examples/rateGovernor/sendPacket.pl udpcast-20120424/examples/rateGovernor/Makefile udpcast-20120424/examples/rateGovernor/ipe.c udpcast-20120424/examples/rateGovernor/generatePacket.pl udpcast-20120424/udps-negotiate.c udpcast-20120424/configure.in udpcast-20120424/log.c udpcast-20120424/debian/ udpcast-20120424/debian/changelog udpcast-20120424/debian/copyright udpcast-20120424/debian/rules udpcast-20120424/debian/control udpcast-20120424/debian/source/ udpcast-20120424/debian/source/format udpcast-20120424/debian/compat udpcast-20120424/Kbuild udpcast-20120424/udp-sender.txt udpcast-20120424/libbb_udpcast.h udpcast-20120424/rateGovernor.h udpcast-20120424/config.log udpcast-20120424/install-sh udpcast-20120424/Makefile udpcast-20120424/senddata.c udpcast-20120424/fifo.h udpcast-20120424/Makefile.flags udpcast-20120424/rate-limit.h udpcast-20120424/util.h udpcast-20120424/udpr-negotiate.c udpcast-20120424/fec.h udpcast-20120424/console.c udpcast-20120424/cmd.html udpcast-20120424/Makefile.in udpcast-20120424/html2man.pl udpcast-20120424/buildMingw.sh udpcast-20120424/applets.h udpcast-20120424/config.h udpcast-20120424/udp-receiver.h udpcast-20120424/busyboxUsage udpcast-20120424/produconsum.h udpcast-20120424/config.sub udpcast-20120424/udp-receiver.c udpcast-20120424/participants.h udpcast-20120424/config.guess udpcast-20120424/receivedata.c udpcast-20120424/fifo.c udpcast-20120424/threads.h udpcast-20120424/fec.c udpcast-20120424/rateGovernor.c udpcast-20120424/configure udpcast-20120424/participants.c udpcast-20120424/log.h udpcast-20120424/receiver-diskio.c udpcast-20120424/Config.in udpcast-20120424/Changelog.txt udpcast-20120424/statistics.c udpcast-20120424/udp-sender.h udpcast-20120424/auto-rate.c udpcast-20120424/udpc-protoc.h udpcast-20120424/console.h udpcast-20120424/udp-sender.c udpcast-20120424/rate-limit.c udpcast-20120424/socklib.h udpcast-20120424/udpc_version.c udpcast-20120424/sender-diskio.c udpcast-20120424/udpc_version.h udpcast-20120424/produconsum.c udpcast-20120424/config.h.in udpcast-20120424/udpcast.c udpcast-20120424/usage.h udpcast-20120424/auto-rate.h checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /bin/install -c checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for an ANSI C-conforming const... yes checking for inline... inline checking for pthread_create in -lpthread... yes checking for dlsym in -ldl... yes checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for memory.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for string.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for struct ip_mreqn.imr_ifindex... yes checking for in_addr_t... yes checking whether llseek declared in unistd.h... no checking whether lseek64 declared in unistd.h... yes checking for htons... yes checking for kill... yes checking for daemon... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for atexit... yes checking for on_exit... yes checking for tcsetattr... yes checking for lseek64... yes checking for snprintf... yes checking for inet_pton... yes checking for inet_aton... yes checking for getopt_long... yes checking for dlsym... yes checking for 64-bit off_t... yes checking whether gcc supports loff_t type... yes checking whether gcc supports offset_t type... no checking whether gcc supports long long type... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h perl html2man.pl cmd.html.man install -d /usr/local/sbin install -m 755 udp-sender udp-receiver /usr/local/sbin install -d /usr/local/share/man/man1 install -m 644 udp-sender.1 udp-receiver.1 /usr/local/share/man/man1 install -d /usr/local/include/udpcast install -m 644 rateGovernor.h /usr/local/include/udpcast Warning: Stopping rpcbind.service, but it can still be activated by: rpcbind.socket ● rpcbind.service - RPC bind service Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; indirect; vendor preset: enabled) Active: active (running) since Wed 2016-04-20 09:52:33 EDT; 2s ago Process: 6527 ExecStart=/sbin/rpcbind -w ${RPCBIND_ARGS} (code=exited, status=0/SUCCESS) Main PID: 6528 (rpcbind) CGroup: /system.slice/rpcbind.service └─6528 /sbin/rpcbind -w Apr 20 09:52:33 localhost.localdomain systemd[1]: Starting RPC bind service... Apr 20 09:52:33 localhost.localdomain systemd[1]: Started RPC bind service. ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled) Active: active (exited) since Wed 2016-04-20 09:52:37 EDT; 2s ago Process: 6564 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS) Process: 6563 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS) Process: 6560 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS) Process: 6581 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS) Process: 6577 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Main PID: 6581 (code=exited, status=0/SUCCESS) CGroup: /system.slice/nfs-server.service Apr 20 09:52:37 localhost.localdomain systemd[1]: Starting NFS server and services... Apr 20 09:52:37 localhost.localdomain systemd[1]: Started NFS server and services.
-
@Wayne-Workman And here’s the ipxe folder’s contents:
[sysadmin@localhost bin]$ ls -la /var/www/html/fog/service/ipxe/ total 47568 drwxr-xr-x. 2 fog apache 4096 Apr 20 09:51 . drwxr-xr-x. 3 apache apache 4096 Apr 20 09:51 .. -rwxr-xr-x. 1 fog apache 1161 Apr 20 09:51 advanced.php -rwxr-xr-x. 1 fog apache 21280 Apr 20 09:51 bg.png -rwxr-xr-x. 1 fog apache 695 Apr 20 09:51 boot.php -rw-r--r--. 1 fog apache 7032576 Apr 20 09:51 bzImage -rw-r--r--. 1 fog apache 6924768 Apr 20 09:51 bzImage32 -rwxr-xr-x. 1 fog apache 234697 Apr 20 09:51 grub.exe -rw-r--r--. 1 fog apache 16449752 Apr 20 09:51 init_32.xz -rw-r--r--. 1 fog apache 17471828 Apr 20 09:51 init.xz -rwxr-xr-x. 1 fog apache 25340 Apr 20 09:51 memdisk -rwxr-xr-x. 1 fog apache 1839104 Apr 20 09:51 memtest.bin -rwxr-xr-x. 1 fog apache 20933 Apr 20 09:51 refind.conf -rwxr-xr-x. 1 fog apache 205192 Apr 20 09:51 refind.efi
And, just to be thorough, here’s my TFTP settings in FOG:
I manually set the password when I was checking FTP problems, I ensured it matches everywhere that it should.
-
@moses The kernel and init files seem fine (file size, ownership and such). Can you please try using a different ipxe binary - I know this sounds totally unrelated on first sight but if I remember correctly we have seen this kind of kernel panics on some machines when using the default
undionly.kpxe
. Please tryundionly.kkpxe
(note the double ‘k’) or evenipxe.pxe
/ipxe.kpxe
… -
@Sebastian-Roth Actually in giving me that suggestion, I found the issue. I have a Tomato router that I use for DHCP, and I misread the Wiki when it shows how to set up that for PXE. I used the wrong boot file:
dhcp-boot=pxelinux.0,,192.168.1.201
Where it should have been:
dhcp-boot=undionly.kpxe,,192.168.1.201
Made that change, and bingo.
Thanks all for your help!
-
-
Also - original problem with the Kernel Update feature is not solved yet.
-
@Wayne-Workman said:
Also - original problem with the Kernel Update feature is not solved yet.
Absolutely! Should look into this when I have time! As well I am wondering if we should get rid of pxelinux.0 in FOG trunk as this has happened a couple of times in the last months ( @Tom-Elliott?)
-
@moses Tom just pushed a fix a couple of minutes ago… Can you please update and see!
-
@Sebastian-Roth @Tom-Elliot That update did the trick to fix the kernel update. Thanks!