* Starting and checking status of web services................Failed! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! The installer was not able to run all the way to the end as !! !! something has caused it to fail. The following few lines are !! !! from the error log file which might help us figure out what's !! !! wrong. Please add this information when reporting an error. !! !! As well you might want to take a look at the full error log !! !! in /home/szerver/fogproject-stable/bin/error_logs/fog_error_1.5.10.1593.log !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ├─22127 php-fpm: pool www └─22129 php-fpm: pool www Aug 19 11:42:09 szerver systemd[1]: Starting The PHP 7.2 FastCGI Process Manager... Aug 19 11:42:09 szerver systemd[1]: Started The PHP 7.2 FastCGI Process Manager. root@szerver:/home/szerver/fogproject-stable/bin# ^C root@szerver:/home/szerver/fogproject-stable/bin# sudo nano /home/szerver/fogproject-stable/bin/error_logs/fog_error_1.5.10.1593.log GNU nano 2.9.3 /home/szerver/fogproject-stable/bin/error_logs/fog_error_1.5.10.1593.log /usr/bin/lsb_release /bin/systemctl systemd ln: failed to create symbolic link '/lib/systemd/system/mysql.service': File exists ln: failed to create symbolic link '/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 /sbin/iptables dpkg-query: no packages found matching mysql-server Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.58.0-2ubuntu3.24). 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. Testing DNS name resolution (neverssl.com)... OK Testing HTTP connection (http://neverssl.com)... OK Testing HTTPS connection (https://github.com)... OK 'universe' distribution component is already enabled for all sources. Hit:1 http://hu.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://hu.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://hu.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://hu.archive.ubuntu.com/ubuntu bionic-security InRelease Ign:5 https://ookla.bintray.com/debian generic InRelease Err:6 https://ookla.bintray.com/debian generic Release Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP$ Hit:7 https://packagecloud.io/ookla/speedtest-cli/ubuntu bionic InRelease Reading package lists... E: The repository 'https://ookla.bintray.com/debian generic Release' does not have a Release file. ii apache2 2.4.29-1ubuntu4.27 amd64 Apache HTTP Server ii bc 1.07.1-2 amd64 GNU bc arbitrary precision calculator language ii build-essential 12.4ubuntu1 amd64 Informational list of build-essential packages ii cpp 4:7.4.0-1ubuntu2.3 amd64 GNU C preprocessor (cpp) ii curl 7.58.0-2ubuntu3.24 amd64 command line tool for transferring data with URL syntax ii g++ 4:7.4.0-1ubuntu2.3 amd64 GNU C++ compiler ii gawk 1:4.1.4+dfsg-1build1 amd64 GNU awk, a pattern scanning and processing language ii gcc 4:7.4.0-1ubuntu2.3 amd64 GNU C compiler ii genisoimage 9:1.1.11-3ubuntu2 amd64 Creates ISO-9660 CD-ROM filesystem images ii git 1:2.17.1-1ubuntu0.18 amd64 fast, scalable, distributed revision control system ii gzip 1.6-5ubuntu1.2 amd64 GNU compression utilities ii htmldoc 1.9.2-1ubuntu0.2 amd64 HTML processor that generates indexed HTML, PS, and PDF ii isolinux 3:6.03+dfsg1-2 all collection of bootloaders (ISO 9660 bootloader) ii lftp 4.8.1-1ubuntu0.2 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs ii libapache2-mod-php 1:7.2+60ubuntu1 all server-side, HTML-embedded scripting language (Apache 2 module) (default) ii libc6:amd64 2.27-3ubuntu1.6 amd64 GNU C Library: Shared libraries ii libcurl4:amd64 7.58.0-2ubuntu3.24 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) ii liblzma-dev:amd64 5.2.2-1.3ubuntu0.1 amd64 XZ-format compression library - development files ii m4 1.4.18-1 amd64 macro processing language mariadb-client-10.1 mariadb-client-core-10.1 mariadb-client ii mariadb-client 1:10.1.48-0ubuntu0.18.04.1 all MariaDB database client (metapackage depending on the latest version) ii mariadb-client 1:10.1.48-0ubuntu0.18.04.1 all MariaDB database client (metapackage depending on the latest version) mariadb-server-core-10.1 mariadb-server-10.1 mariadb-server ii mariadb-server 1:10.1.48-0ubuntu0.18.04.1 all MariaDB database server (metapackage depending on the latest version) ii mariadb-server 1:10.1.48-0ubuntu0.18.04.1 all MariaDB database server (metapackage depending on the latest version) ii net-tools 1.60+git20161116.90da8a0-1ubuntu1 amd64 NET-3 networking toolkit ii nfs-kernel-server 1:1.3.4-2.1ubuntu5.5 amd64 support for NFS kernel server ii openssh-server 1:7.6p1-4ubuntu0.7 amd64 secure shell (SSH) server, for secure access from remote machines ii php 1:7.2+60ubuntu1 all server-side, HTML-embedded scripting language (default) ii php-bcmath 1:7.2+60ubuntu1 all Bcmath module for PHP [default] ii php-cli 1:7.2+60ubuntu1 all command-line interpreter for the PHP scripting language (default) ii php-curl 1:7.2+60ubuntu1 all CURL module for PHP [default] ii php-fpm 1:7.2+60ubuntu1 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default) ii php-gd 1:7.2+60ubuntu1 all GD module for PHP [default] php-json php-json-schema ii php-json 1:7.2+60ubuntu1 all JSON module for PHP [default] ii php-ldap 1:7.2+60ubuntu1 all LDAP module for PHP [default] ii php-mbstring 1:7.2+60ubuntu1 all MBSTRING module for PHP [default] php-mysql ii php-mysql 1:7.2+60ubuntu1 all MySQL module for PHP [default] php-mysql ii php-mysql 1:7.2+60ubuntu1 all MySQL module for PHP [default] ii tar 1.29b-2ubuntu0.4 amd64 GNU version of the tar archiving utility ii tftpd-hpa 5.2+20150808-1ubuntu3 amd64 HPA's tftp server ii tftp-hpa 5.2+20150808-1ubuntu3 amd64 HPA's tftp client ii unzip 6.0-21ubuntu1.2 amd64 De-archiver for .zip files ii vsftpd 3.0.3-9build1 amd64 lightweight, efficient FTP server written for security ii wget 1.19.4-1ubuntu2.2 amd64 retrieves files from the web ii zlib1g:amd64 1:1.2.11.dfsg-0ubuntu2.2 amd64 compression library - runtime Reading package lists... Building dependency tree... Reading state information... bc is already the newest version (1.07.1-2). build-essential is already the newest version (12.4ubuntu1). gawk is already the newest version (1:4.1.4+dfsg-1build1). genisoimage is already the newest version (9:1.1.11-3ubuntu2). isolinux is already the newest version (3:6.03+dfsg1-2). libapache2-mod-php is already the newest version (1:7.2+60ubuntu1). m4 is already the newest version (1.4.18-1). net-tools is already the newest version (1.60+git20161116.90da8a0-1ubuntu1). php is already the newest version (1:7.2+60ubuntu1). php-cli is already the newest version (1:7.2+60ubuntu1). php-curl is already the newest version (1:7.2+60ubuntu1). php-gd is already the newest version (1:7.2+60ubuntu1). php-ldap is already the newest version (1:7.2+60ubuntu1). php-mysql is already the newest version (1:7.2+60ubuntu1). tftp-hpa is already the newest version (5.2+20150808-1ubuntu3). tftpd-hpa is already the newest version (5.2+20150808-1ubuntu3). vsftpd is already the newest version (3.0.3-9build1). php-bcmath is already the newest version (1:7.2+60ubuntu1). php-fpm is already the newest version (1:7.2+60ubuntu1). php-json is already the newest version (1:7.2+60ubuntu1). php-mbstring is already the newest version (1:7.2+60ubuntu1). apache2 is already the newest version (2.4.29-1ubuntu4.27). cpp is already the newest version (4:7.4.0-1ubuntu2.3). curl is already the newest version (7.58.0-2ubuntu3.24). g++ is already the newest version (4:7.4.0-1ubuntu2.3). gcc is already the newest version (4:7.4.0-1ubuntu2.3). git is already the newest version (1:2.17.1-1ubuntu0.18). gzip is already the newest version (1.6-5ubuntu1.2). lftp is already the newest version (4.8.1-1ubuntu0.2). libc6 is already the newest version (2.27-3ubuntu1.6). libcurl4 is already the newest version (7.58.0-2ubuntu3.24). liblzma-dev is already the newest version (5.2.2-1.3ubuntu0.1). nfs-kernel-server is already the newest version (1:1.3.4-2.1ubuntu5.5). openssh-server is already the newest version (1:7.6p1-4ubuntu0.7). tar is already the newest version (1.29b-2ubuntu0.4). unzip is already the newest version (6.0-21ubuntu1.2). wget is already the newest version (1.19.4-1ubuntu2.2). zlib1g is already the newest version (1:1.2.11.dfsg-0ubuntu2.2). htmldoc is already the newest version (1.9.2-1ubuntu0.2). mariadb-client is already the newest version (1:10.1.48-0ubuntu0.18.04.1). mariadb-server is already the newest version (1:10.1.48-0ubuntu0.18.04.1). Calculating upgrade... The following packages have been kept back: base-files grub-common grub-pc grub-pc-bin grub2-common python3-update-manager ubuntu-advantage-tools ubuntu-server update-manager-core 0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. ii apache2 2.4.29-1ubuntu4.27 amd64 Apache HTTP Server ii bc 1.07.1-2 amd64 GNU bc arbitrary precision calculator language ii build-essential 12.4ubuntu1 amd64 Informational list of build-essential packages ii cpp 4:7.4.0-1ubuntu2.3 amd64 GNU C preprocessor (cpp) ii curl 7.58.0-2ubuntu3.24 amd64 command line tool for transferring data with URL syntax ii g++ 4:7.4.0-1ubuntu2.3 amd64 GNU C++ compiler ii gawk 1:4.1.4+dfsg-1build1 amd64 GNU awk, a pattern scanning and processing language ii gcc 4:7.4.0-1ubuntu2.3 amd64 GNU C compiler ii genisoimage 9:1.1.11-3ubuntu2 amd64 Creates ISO-9660 CD-ROM filesystem images ii git 1:2.17.1-1ubuntu0.18 amd64 fast, scalable, distributed revision control system ii gzip 1.6-5ubuntu1.2 amd64 GNU compression utilities ii htmldoc 1.9.2-1ubuntu0.2 amd64 HTML processor that generates indexed HTML, PS, and PDF ii isolinux 3:6.03+dfsg1-2 all collection of bootloaders (ISO 9660 bootloader) ii lftp 4.8.1-1ubuntu0.2 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs ii libapache2-mod-php 1:7.2+60ubuntu1 all server-side, HTML-embedded scripting language (Apache 2 module) (default) ii libc6:amd64 2.27-3ubuntu1.6 amd64 GNU C Library: Shared libraries ii libcurl4:amd64 7.58.0-2ubuntu3.24 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) ii liblzma-dev:amd64 5.2.2-1.3ubuntu0.1 amd64 XZ-format compression library - development files ii m4 1.4.18-1 amd64 macro processing language ii mariadb-client 1:10.1.48-0ubuntu0.18.04.1 all MariaDB database client (metapackage depending on the latest version) ii mariadb-server 1:10.1.48-0ubuntu0.18.04.1 all MariaDB database server (metapackage depending on the latest version) ii net-tools 1.60+git20161116.90da8a0-1ubuntu1 amd64 NET-3 networking toolkit ii nfs-kernel-server 1:1.3.4-2.1ubuntu5.5 amd64 support for NFS kernel server ii openssh-server 1:7.6p1-4ubuntu0.7 amd64 secure shell (SSH) server, for secure access from remote machines ii php 1:7.2+60ubuntu1 all server-side, HTML-embedded scripting language (default) ii php-bcmath 1:7.2+60ubuntu1 all Bcmath module for PHP [default] ii php-cli 1:7.2+60ubuntu1 all command-line interpreter for the PHP scripting language (default) ii php-curl 1:7.2+60ubuntu1 all CURL module for PHP [default] ii php-fpm 1:7.2+60ubuntu1 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default) ii php-gd 1:7.2+60ubuntu1 all GD module for PHP [default] ii php-json 1:7.2+60ubuntu1 all JSON module for PHP [default] ii php-ldap 1:7.2+60ubuntu1 all LDAP module for PHP [default] ii php-mbstring 1:7.2+60ubuntu1 all MBSTRING module for PHP [default] ii php-mysql 1:7.2+60ubuntu1 all MySQL module for PHP [default] ii tar 1.29b-2ubuntu0.4 amd64 GNU version of the tar archiving utility ii tftpd-hpa 5.2+20150808-1ubuntu3 amd64 HPA's tftp server ii tftp-hpa 5.2+20150808-1ubuntu3 amd64 HPA's tftp client ii unzip 6.0-21ubuntu1.2 amd64 De-archiver for .zip files ii vsftpd 3.0.3-9build1 amd64 lightweight, efficient FTP server written for security ii wget 1.19.4-1ubuntu2.2 amd64 retrieves files from the web ii zlib1g:amd64 1:1.2.11.dfsg-0ubuntu2.2 amd64 compression library - runtime Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully find: ‘/home//fog_web_1.5.10.1593.BACKUP/management/other/’: No such file or directory init.xz: OK init_32.xz: OK bzImage: OK bzImage32: OK FOGService.msi: OK SmartInstaller.exe: OK 'bzImage' -> '/var/www/html/fog//service/ipxe/bzImage' 'bzImage32' -> '/var/www/html/fog//service/ipxe/bzImage32' 'init.xz' -> '/var/www/html/fog//service/ipxe/init.xz' 'init_32.xz' -> '/var/www/html/fog//service/ipxe/init_32.xz' 'FOGService.msi' -> '/var/www/html/fog//client/FOGService.msi' 'SmartInstaller.exe' -> '/var/www/html/fog//client/SmartInstaller.exe' mysqlnd Generating RSA private key, 4096 bit long modulus (2 primes) ............................................................................++++ .................................................................++++ e is 65537 (0x010001) Can't load /root/.rnd into RNG 139879072940480:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit$ ............................................++++ ............................................................................................................................................................................................$ e is 65537 (0x010001) You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- 192.168.2.150 []:Signature ok subject=CN = 192.168.2.150 Getting CA Private Key Site 001-fog disabled. To activate the new configuration, you need to run: systemctl reload apache2 Enabling site 000-default. To activate the new configuration, you need to run: systemctl reload apache2 renamed '/etc/apache2/sites-available/001-fog.conf' -> '/etc/apache2/sites-available/001-fog.conf.1724067551' Files /etc/apache2/sites-available/001-fog.conf and /etc/apache2/sites-available/001-fog.conf.1724067551 differ ln: failed to create symbolic link '/var/www/html/fog/fog': File exists ERROR: Module php does not exist! Considering dependency proxy for proxy_fcgi: Module proxy already enabled Module proxy_fcgi already enabled Module setenvif already enabled Considering dependency mime for ssl: Module mime already enabled Considering dependency socache_shmcb for ssl: Module socache_shmcb already enabled Module ssl already enabled Enabling site 001-fog. To activate the new configuration, you need to run: systemctl reload apache2 Site 000-default disabled. To activate the new configuration, you need to run: systemctl reload apache2 Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Mon 2024-08-19 11:42:09 UTC; 12ms ago Process: 22095 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Aug 19 11:42:09 szerver apachectl[22095]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally $ Aug 19 11:42:09 szerver apachectl[22095]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 Aug 19 11:42:09 szerver apachectl[22095]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 Aug 19 11:42:09 szerver apachectl[22095]: no listening sockets available, shutting down Aug 19 11:42:09 szerver apachectl[22095]: AH00015: Unable to open logs Aug 19 11:42:09 szerver apachectl[22095]: Action 'start' failed. Aug 19 11:42:09 szerver apachectl[22095]: The Apache error log may have more information. Aug 19 11:42:09 szerver systemd[1]: apache2.service: Control process exited, code=exited status=1 Aug 19 11:42:09 szerver systemd[1]: apache2.service: Failed with result 'exit-code'. Aug 19 11:42:09 szerver systemd[1]: Failed to start The Apache HTTP Server. ● php7.2-fpm.service - The PHP 7.2 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.2-fpm.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2024-08-19 11:42:09 UTC; 246ms ago Docs: man:php-fpm7.2(8) Main PID: 22097 (php-fpm7.2) Status: "Ready to handle connections" Tasks: 6 (limit: 3208) CGroup: /system.slice/php7.2-fpm.service ├─22097 php-fpm: master process (/etc/php/7.2/fpm/php-fpm.conf) ├─22122 php-fpm: pool www ├─22124 php-fpm: pool www ├─22125 php-fpm: pool www Aug 19 11:42:09 szerver systemd[1]: Starting The PHP 7.2 FastCGI Process Manager... Aug 19 11:42:09 szerver systemd[1]: Started The PHP 7.2 FastCGI Process Manager.