[FOG 1.6] Updating Database Failed
-
Hello,
I try to update FOG 1.5.7.745 to 1.5.7.958 under Ubuntu 18.04.4 LTS.
And I end with DB update failled.Not sure if there is a link but I have this in mysql error.log :
2020-02-25T08:48:14.645596Z 540 [Note] Access denied for user 'fogmaster'@'localhost' (using password: YES) 2020-02-25T08:48:14.662209Z 541 [Note] Access denied for user 'fogmaster'@'localhost' (using password: YES) 2020-02-25T08:48:14.662565Z 542 [Note] Access denied for user 'fogmaster'@'localhost' (using password: YES) 2020-02-25T08:48:14.663126Z 543 [Note] Access denied for user 'fogmaster'@'localhost' (using password: YES) 2020-02-25T08:48:14.663459Z 544 [Note] Access denied for user 'fogmaster'@'localhost' (using password: YES)
Thank you for your help.
Fog install logs : fog_error_1.5.7.958.log
-
Running installfog.sh without the -y option makes install end well but i have blank page in GUI or error 500.
Here are the install logs :
févr. 25 11:13:12 fogserver systemd[1]: Starting The PHP 7.2 FastCGI Process Manager... févr. 25 11:13:12 fogserver systemd[1]: Started The PHP 7.2 FastCGI Process Manager. mysql: [Warning] Using a password on the command line interface can be insecure. './undionly.kkpxe' -> '/tftpboot/./undionly.kkpxe' './intel.kpxe' -> '/tftpboot/./intel.kpxe' './ipxe.usb' -> '/tftpboot/./ipxe.usb' './undionly.kpxe' -> '/tftpboot/./undionly.kpxe' './realtek.kpxe' -> '/tftpboot/./realtek.kpxe' './undionly.pxe' -> '/tftpboot/./undionly.pxe' './ipxe.iso' -> '/tftpboot/./ipxe.iso' './realtek.pxe' -> '/tftpboot/./realtek.pxe' './boot.txt' -> '/tftpboot/./boot.txt' './i386-efi/snponly.efi' -> '/tftpboot/./i386-efi/snponly.efi' './i386-efi/ncm--ecm--axge.efi' -> '/tftpboot/./i386-efi/ncm--ecm--axge.efi' './i386-efi/snp.efi' -> '/tftpboot/./i386-efi/snp.efi' './i386-efi/ipxe.efi' -> '/tftpboot/./i386-efi/ipxe.efi' './i386-efi/realtek.efi' -> '/tftpboot/./i386-efi/realtek.efi' './i386-efi/intel.efi' -> '/tftpboot/./i386-efi/intel.efi' './intel.kkpxe' -> '/tftpboot/./intel.kkpxe' './snponly.efi' -> '/tftpboot/./snponly.efi' './ipxe.kkpxe' -> '/tftpboot/./ipxe.kkpxe' './memdisk' -> '/tftpboot/./memdisk' './ncm--ecm--axge.efi' -> '/tftpboot/./ncm--ecm--axge.efi' './realtek.kkpxe' -> '/tftpboot/./realtek.kkpxe' './snp.efi' -> '/tftpboot/./snp.efi' './ipxe.kpxe' -> '/tftpboot/./ipxe.kpxe' './10secdelay/undionly.kkpxe' -> '/tftpboot/./10secdelay/undionly.kkpxe' './10secdelay/intel.kpxe' -> '/tftpboot/./10secdelay/intel.kpxe' './10secdelay/ipxe.usb' -> '/tftpboot/./10secdelay/ipxe.usb' './10secdelay/undionly.kpxe' -> '/tftpboot/./10secdelay/undionly.kpxe' './10secdelay/realtek.kpxe' -> '/tftpboot/./10secdelay/realtek.kpxe' './10secdelay/undionly.pxe' -> '/tftpboot/./10secdelay/undionly.pxe' './10secdelay/ipxe.iso' -> '/tftpboot/./10secdelay/ipxe.iso' './10secdelay/realtek.pxe' -> '/tftpboot/./10secdelay/realtek.pxe' './10secdelay/i386-efi/snponly.efi' -> '/tftpboot/./10secdelay/i386-efi/snponly.efi' cp: cannot create regular file '/tftpboot/./10secdelay/i386-efi/snponly.efi': No such file or directory './10secdelay/i386-efi/ncm--ecm--axge.efi' -> '/tftpboot/./10secdelay/i386-efi/ncm--ecm--axge.efi' cp: cannot create regular file '/tftpboot/./10secdelay/i386-efi/ncm--ecm--axge.efi': No such file or directory './10secdelay/i386-efi/snp.efi' -> '/tftpboot/./10secdelay/i386-efi/snp.efi' cp: cannot create regular file '/tftpboot/./10secdelay/i386-efi/snp.efi': No such file or directory './10secdelay/i386-efi/ipxe.efi' -> '/tftpboot/./10secdelay/i386-efi/ipxe.efi' cp: cannot create regular file '/tftpboot/./10secdelay/i386-efi/ipxe.efi': No such file or directory './10secdelay/i386-efi/realtek.efi' -> '/tftpboot/./10secdelay/i386-efi/realtek.efi' cp: cannot create regular file '/tftpboot/./10secdelay/i386-efi/realtek.efi': No such file or directory './10secdelay/i386-efi/intel.efi' -> '/tftpboot/./10secdelay/i386-efi/intel.efi' cp: cannot create regular file '/tftpboot/./10secdelay/i386-efi/intel.efi': No such file or directory './10secdelay/intel.kkpxe' -> '/tftpboot/./10secdelay/intel.kkpxe' './10secdelay/snponly.efi' -> '/tftpboot/./10secdelay/snponly.efi' './10secdelay/ipxe.kkpxe' -> '/tftpboot/./10secdelay/ipxe.kkpxe' './10secdelay/memdisk' -> '/tftpboot/./10secdelay/memdisk' './10secdelay/ncm--ecm--axge.efi' -> '/tftpboot/./10secdelay/ncm--ecm--axge.efi' './10secdelay/realtek.kkpxe' -> '/tftpboot/./10secdelay/realtek.kkpxe' './10secdelay/snp.efi' -> '/tftpboot/./10secdelay/snp.efi' './10secdelay/ipxe.kpxe' -> '/tftpboot/./10secdelay/ipxe.kpxe' './10secdelay/intel.pxe' -> '/tftpboot/./10secdelay/intel.pxe' './10secdelay/ipxe.lkrn' -> '/tftpboot/./10secdelay/ipxe.lkrn' './10secdelay/ipxe.pxe' -> '/tftpboot/./10secdelay/ipxe.pxe' './10secdelay/ipxe.efi' -> '/tftpboot/./10secdelay/ipxe.efi' './10secdelay/arm64-efi/snponly.efi' -> '/tftpboot/./10secdelay/arm64-efi/snponly.efi' cp: cannot create regular file '/tftpboot/./10secdelay/arm64-efi/snponly.efi': No such file or directory './10secdelay/arm64-efi/ncm--ecm--axge.efi' -> '/tftpboot/./10secdelay/arm64-efi/ncm--ecm--axge.efi' cp: cannot create regular file '/tftpboot/./10secdelay/arm64-efi/ncm--ecm--axge.efi': No such file or directory './10secdelay/arm64-efi/snp.efi' -> '/tftpboot/./10secdelay/arm64-efi/snp.efi' cp: cannot create regular file '/tftpboot/./10secdelay/arm64-efi/snp.efi': No such file or directory './10secdelay/arm64-efi/ipxe.efi' -> '/tftpboot/./10secdelay/arm64-efi/ipxe.efi' cp: cannot create regular file '/tftpboot/./10secdelay/arm64-efi/ipxe.efi': No such file or directory './10secdelay/arm64-efi/realtek.efi' -> '/tftpboot/./10secdelay/arm64-efi/realtek.efi' cp: cannot create regular file '/tftpboot/./10secdelay/arm64-efi/realtek.efi': No such file or directory './10secdelay/arm64-efi/intel.efi' -> '/tftpboot/./10secdelay/arm64-efi/intel.efi' cp: cannot create regular file '/tftpboot/./10secdelay/arm64-efi/intel.efi': No such file or directory './10secdelay/ipxe.krn' -> '/tftpboot/./10secdelay/ipxe.krn' './10secdelay/realtek.efi' -> '/tftpboot/./10secdelay/realtek.efi' './10secdelay/intel.efi' -> '/tftpboot/./10secdelay/intel.efi' './intel.pxe' -> '/tftpboot/./intel.pxe' './ipxe.lkrn' -> '/tftpboot/./ipxe.lkrn' './ipxe.pxe' -> '/tftpboot/./ipxe.pxe' './ipxe.efi' -> '/tftpboot/./ipxe.efi' './arm64-efi/snponly.efi' -> '/tftpboot/./arm64-efi/snponly.efi' './arm64-efi/ncm--ecm--axge.efi' -> '/tftpboot/./arm64-efi/ncm--ecm--axge.efi' './arm64-efi/snp.efi' -> '/tftpboot/./arm64-efi/snp.efi' './arm64-efi/ipxe.efi' -> '/tftpboot/./arm64-efi/ipxe.efi' './arm64-efi/realtek.efi' -> '/tftpboot/./arm64-efi/realtek.efi' './arm64-efi/intel.efi' -> '/tftpboot/./arm64-efi/intel.efi' './ipxe.krn' -> '/tftpboot/./ipxe.krn' './realtek.efi' -> '/tftpboot/./realtek.efi' './intel.efi' -> '/tftpboot/./intel.efi' ● tftpd-hpa.service - LSB: HPA's tftp server Loaded: loaded (/etc/init.d/tftpd-hpa; generated) Active: active (running) since Tue 2020-02-25 11:13:18 CET; 6ms ago Docs: man:systemd-sysv-generator(8) Process: 14828 ExecStop=/etc/init.d/tftpd-hpa stop (code=exited, status=0/SUCCESS) Process: 14836 ExecStart=/etc/init.d/tftpd-hpa start (code=exited, status=0/SUCCESS) Tasks: 1 (limit: 4681) CGroup: /system.slice/tftpd-hpa.service └─14845 /usr/sbin/in.tftpd --listen --user root --address :69 -s /tftpboot févr. 25 11:13:18 fogserver systemd[1]: Starting LSB: HPA's tftp server... févr. 25 11:13:18 fogserver tftpd-hpa[14836]: * Starting HPA's tftpd in.tftpd févr. 25 11:13:18 fogserver tftpd-hpa[14836]: ...done. févr. 25 11:13:18 fogserver systemd[1]: Started LSB: HPA's tftp server. ● vsftpd.service - vsftpd FTP server Loaded: loaded (/etc/systemd/system/vsftpd.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-02-25 11:13:18 CET; 8ms ago Process: 14865 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited, status=0/SUCCESS) Main PID: 14866 (vsftpd) Tasks: 1 (limit: 4681) CGroup: /system.slice/vsftpd.service └─14866 /usr/sbin/vsftpd /etc/vsftpd.conf févr. 25 11:13:18 fogserver systemd[1]: Starting vsftpd FTP server... févr. 25 11:13:18 fogserver systemd[1]: Started vsftpd FTP server. 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... /usr/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: The unit file, source configuration file or drop-ins of FOGMulticastManager.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit file, source configuration file or drop-ins of FOGImageReplicator.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit file, source configuration file or drop-ins of FOGSnapinReplicator.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit file, source configuration file or drop-ins of FOGScheduler.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit file, source configuration file or drop-ins of FOGPingHosts.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit file, source configuration file or drop-ins of FOGSnapinHash.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit file, source configuration file or drop-ins of FOGImageSize.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: Stopping rpcbind.service, but it can still be activated by: rpcbind.socket ● rpcbind.service - RPC bind portmap service Loaded: loaded (/lib/systemd/system/rpcbind.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-02-25 11:13:23 CET; 10ms ago Docs: man:rpcbind(8) Main PID: 16418 (rpcbind) Tasks: 1 (limit: 4681) CGroup: /system.slice/rpcbind.service └─16418 /sbin/rpcbind -f -w févr. 25 11:13:23 fogserver systemd[1]: Starting RPC bind portmap service... févr. 25 11:13:23 fogserver systemd[1]: Started RPC bind portmap service. ● nfs-server.service - NFS server and services Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled) Active: active (exited) since Tue 2020-02-25 11:13:23 CET; 10ms ago Process: 16429 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS) Process: 16428 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS) Process: 16427 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS) Process: 16440 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS) Process: 16439 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS) Main PID: 16440 (code=exited, status=0/SUCCESS) févr. 25 11:13:23 fogserver systemd[1]: Starting NFS server and services... févr. 25 11:13:23 fogserver systemd[1]: Started NFS server and services.
and here are apache logs :
[Tue Feb 25 12:05:47.145208 2020] [proxy_fcgi:error] [pid 4312] [client 10.121.84.13:55570] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught ReflectionException: Class locationdeletemassitems does not exist in /var/www/html/fog/lib/fog/fogbase.class.php:479\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogbase.class.php(479): ReflectionClass->__construct('locationdeletem...')\n#1 /var/www/html/fog/lib/fog/fogbase.class.php(2539): FOGBase::getClass('locationdeletem...')\n#2 /var/www/html/fog/lib/fog/eventmanager.class.php(240): FOGBase::startClassFromFiles(Array, -9)\n#3 /var/www/html/fog/lib/fog/loadglobals.class.php(56): EventManager->load()\n#4 /var/www/html/fog/lib/fog/loadglobals.class.php(78): LoadGlobals::_init()\n#5 /var/www/html/fog/commons/base.inc.php(49): LoadGlobals->__construct()\n#6 /var/www/html/fog/management/index.php(22): require('/var/www/html/f...')\n#7 {main}\n thrown in /var/www/html/fog/lib/fog/fogbase.class.php on line 479\n'
-
Found and fixed in latest.
-
@Tom-Elliott Fast as always. Thank you !
-
This post is deleted!