kevin@p-serv-01:~/docker/cacti-test$ docker-compose up Creating network "cacti-test_default" with the default driver Creating volume "cacti-test_cacti-db" with default driver Creating volume "cacti-test_cacti-backups" with default driver Creating volume "cacti-test_cacti-data" with default driver Creating volume "cacti-test_cacti-spine" with default driver Creating cacti_db ... done Creating cacti ... done Attaching to cacti_db, cacti cacti_db | 2020-04-17 19:17:16-07:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.22+maria~bionic started. cacti | 2020-04-17_19:17 [Note] Setting server timezone settings to 'America/Los_Angeles' cacti_db | 2020-04-17 19:17:17-07:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' cacti_db | 2020-04-17 19:17:17-07:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.22+maria~bionic started. cacti_db | 2020-04-17 19:17:17-07:00 [Note] [Entrypoint]: Initializing database files cacti_db | 2020-04-17 19:17:18 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ cacti | 2020-04-17_19:17 [PHP-SNMP] Insalling php-snmp since ENV variable 'PHP_SNMP' is set to 1 cacti | error: rpmdb: damaged header #173 retrieved -- skipping. cacti | error: rpmdbNextIterator: skipping h# 173 blob size(4836): BAD, 8 + 16 * il(70) + dl(3708) cacti_db | cacti_db | cacti_db | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER ! cacti_db | To do so, start the server, then issue the following commands: cacti_db | cacti_db | '/usr/bin/mysqladmin' -u root password 'new-password' cacti_db | '/usr/bin/mysqladmin' -u root -h password 'new-password' cacti_db | cacti_db | Alternatively you can run: cacti_db | '/usr/bin/mysql_secure_installation' cacti_db | cacti_db | which will also give you the option of removing the test cacti_db | databases and anonymous user created by default. This is cacti_db | strongly recommended for production servers. cacti_db | cacti_db | See the MariaDB Knowledgebase at http://mariadb.com/kb or the cacti_db | MySQL manual for more instructions. cacti_db | cacti_db | Please report any problems at http://mariadb.org/jira cacti_db | cacti_db | The latest information about MariaDB is available at http://mariadb.org/. cacti_db | You can find additional information about the MySQL part at: cacti_db | http://dev.mysql.com cacti_db | Consider joining MariaDB's strong and vibrant community: cacti_db | https://mariadb.org/get-involved/ cacti_db | cacti_db | 2020-04-17 19:17:23-07:00 [Note] [Entrypoint]: Database files initialized cacti_db | 2020-04-17 19:17:23-07:00 [Note] [Entrypoint]: Starting temporary server cacti_db | 2020-04-17 19:17:23-07:00 [Note] [Entrypoint]: Waiting for server startup cacti_db | 2020-04-17 19:17:23 0 [Note] mysqld (mysqld 10.3.22-MariaDB-1:10.3.22+maria~bionic) starting as process 169 ... cacti_db | 2020-04-17 19:17:23 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Using Linux native AIO cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Uses event mutexes cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Number of pools: 1 cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Using SSE2 crc32 instructions cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 9, chunk size = 113.778M cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Completed initialization of buffer pool cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: 128 out of 128 rollback segments are active. cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Creating shared tablespace for temporary tables cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. cacti_db | 2020-04-17 19:17:23 0 [Note] InnoDB: Waiting for purge to start cacti_db | 2020-04-17 19:17:24 0 [Note] InnoDB: 10.3.22 started; log sequence number 1625448; transaction id 21 cacti_db | 2020-04-17 19:17:24 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool cacti_db | 2020-04-17 19:17:24 0 [Note] Plugin 'FEEDBACK' is disabled. cacti_db | 2020-04-17 19:17:24 0 [Warning] 'user' entry 'root@db' ignored in --skip-name-resolve mode. cacti_db | 2020-04-17 19:17:24 0 [Warning] 'user' entry '@db' ignored in --skip-name-resolve mode. cacti_db | 2020-04-17 19:17:24 0 [Warning] 'proxies_priv' entry '@% root@db' ignored in --skip-name-resolve mode. cacti_db | 2020-04-17 19:17:24 0 [Note] InnoDB: Buffer pool(s) load completed at 200417 19:17:24 cacti_db | 2020-04-17 19:17:24 0 [Note] Reading of all Master_info entries succeeded cacti_db | 2020-04-17 19:17:24 0 [Note] Added new Master_info '' to hash table cacti_db | 2020-04-17 19:17:24 0 [Note] mysqld: ready for connections. cacti_db | Version: '10.3.22-MariaDB-1:10.3.22+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution cacti_db | 2020-04-17 19:17:24-07:00 [Note] [Entrypoint]: Temporary server started. cacti | CentOS-8 - AppStream 1.2 MB/s | 6.8 MB 00:05 cacti_db | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it. cacti_db | 2020-04-17 19:17:26 10 [Warning] 'proxies_priv' entry '@% root@db' ignored in --skip-name-resolve mode. cacti_db | cacti_db | 2020-04-17 19:17:26-07:00 [Note] [Entrypoint]: Stopping temporary server cacti_db | 2020-04-17 19:17:26 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown cacti_db | 2020-04-17 19:17:26 0 [Note] Event Scheduler: Purging the queue. 0 events cacti_db | 2020-04-17 19:17:26 0 [Note] InnoDB: FTS optimize thread exiting. cacti_db | 2020-04-17 19:17:26 0 [Note] InnoDB: Starting shutdown... cacti_db | 2020-04-17 19:17:26 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool cacti_db | 2020-04-17 19:17:26 0 [Note] InnoDB: Buffer pool(s) dump completed at 200417 19:17:26 cacti | CentOS-8 - Base 5.0 MB/s | 6.0 MB 00:01 cacti | CentOS-8 - Extras 13 kB/s | 5.5 kB 00:00 cacti | CentOS-8 - PowerTools 1.9 MB/s | 2.0 MB 00:01 cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Shutdown completed; log sequence number 1625457; transaction id 24 cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" cacti_db | 2020-04-17 19:17:31 0 [Note] mysqld: Shutdown complete cacti_db | cacti_db | 2020-04-17 19:17:31-07:00 [Note] [Entrypoint]: Temporary server stopped cacti_db | cacti_db | 2020-04-17 19:17:31-07:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up. cacti_db | cacti_db | 2020-04-17 19:17:31 0 [Note] mysqld (mysqld 10.3.22-MariaDB-1:10.3.22+maria~bionic) starting as process 1 ... cacti_db | 2020-04-17 19:17:31 0 [Warning] The parameter innodb_file_format is deprecated and has no effect. It may be removed in future releases. See https://mariadb.com/kb/en/library/xtradbinnodb-file-format/ cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Using Linux native AIO cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Uses event mutexes cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Number of pools: 1 cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Using SSE2 crc32 instructions cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 9, chunk size = 113.778M cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Completed initialization of buffer pool cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority(). cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active. cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Waiting for purge to start cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: 10.3.22 started; log sequence number 1625457; transaction id 21 cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool cacti_db | 2020-04-17 19:17:31 0 [Note] Plugin 'FEEDBACK' is disabled. cacti_db | 2020-04-17 19:17:31 0 [Note] Server socket created on IP: '::'. cacti_db | 2020-04-17 19:17:31 0 [Warning] 'proxies_priv' entry '@% root@db' ignored in --skip-name-resolve mode. cacti_db | 2020-04-17 19:17:31 0 [Note] InnoDB: Buffer pool(s) load completed at 200417 19:17:31 cacti_db | 2020-04-17 19:17:31 0 [Note] Reading of all Master_info entries succeeded cacti_db | 2020-04-17 19:17:31 0 [Note] Added new Master_info '' to hash table cacti_db | 2020-04-17 19:17:31 0 [Note] mysqld: ready for connections. cacti_db | Version: '10.3.22-MariaDB-1:10.3.22+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution cacti | Extra Packages for Enterprise Linux 8 - x86_64 1.9 MB/s | 6.3 MB 00:03 cacti | Package php-snmp-7.2.11-2.module_el8.1.0+209+03b9a8ff.x86_64 is already installed. cacti | Dependencies resolved. cacti | Nothing to do. cacti | Complete! cacti | error: rpmdb: damaged header #173 retrieved -- skipping. cacti | 38 files removed cacti | 2020-04-17_19:17 [New Install] Lock file does not exist - new install. cacti | 2020-04-17_19:17 [New Install] Extracting and installing Cacti files to /cacti. cacti | 2020-04-17_19:17 [New Install] Extracting and installing Spine files to /spine. cacti | INFO: Starting Spine build process cacti | INFO: Removing cache directories cacti | INFO: Running auto-tools to verify buildability cacti | aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4' cacti | aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4' cacti | aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4' cacti | aclocal: installing 'm4/ltversion.m4' from '/usr/share/aclocal/ltversion.m4' cacti | aclocal: installing 'm4/lt~obsolete.m4' from '/usr/share/aclocal/lt~obsolete.m4' cacti | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. cacti | libtoolize: linking file 'config/ltmain.sh' cacti | configure.ac:79: installing 'config/compile' cacti | configure.ac:7: installing 'config/config.guess' cacti | configure.ac:7: installing 'config/config.sub' cacti | configure.ac:12: installing 'config/install-sh' cacti | configure.ac:12: installing 'config/missing' cacti | Makefile.am: installing 'config/depcomp' cacti | libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. cacti | libtoolize: copying file 'config/ltmain.sh' cacti | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. cacti | libtoolize: copying file 'm4/libtool.m4' cacti | libtoolize: copying file 'm4/ltoptions.m4' cacti | libtoolize: copying file 'm4/ltsugar.m4' cacti | libtoolize: copying file 'm4/ltversion.m4' cacti | libtoolize: copying file 'm4/lt~obsolete.m4' cacti | configure.ac:79: installing 'config/compile' cacti | configure.ac:12: installing 'config/missing' cacti | Makefile.am: installing 'config/depcomp' cacti | INFO: Spine bootstrap process completed cacti | cacti | These instructions assume the default install location for spine cacti | of /usr/local/spine. If you choose to use another prefix, make cacti | sure you update the commands as required for that new path. cacti | cacti | To compile and install Spine using MySQL versions 5.5 or higher cacti | please do the following: cacti | cacti | ./configure cacti | make cacti | make install cacti | chown root:root /usr/local/spine/bin/spine cacti | chmod +s /usr/local/spine/bin/spine cacti | cacti | To compile and install Spine using MySQL versions previous to 5.5 cacti | please do the following: cacti | cacti | ./configure --with-reentrant cacti | make cacti | make install cacti | chown root:root /usr/local/spine/bin/spine cacti | chmod +s /usr/local/spine/bin/spine cacti | cacti | checking build system type... x86_64-pc-linux-gnu cacti | checking host system type... x86_64-pc-linux-gnu cacti | checking for a BSD-compatible install... /usr/bin/install -c cacti | checking whether build environment is sane... yes cacti | checking for a thread-safe mkdir -p... /usr/bin/mkdir -p cacti | checking for gawk... gawk cacti | checking whether make sets $(MAKE)... yes cacti | checking whether make supports nested variables... yes cacti | checking for gawk... (cached) gawk cacti | checking for gcc... gcc cacti | checking whether the C compiler works... yes cacti | checking for C compiler default output file name... a.out cacti | checking for suffix of executables... cacti | checking whether we are cross compiling... no cacti | checking for suffix of object files... o cacti | checking whether we are using the GNU C compiler... yes cacti | checking whether gcc accepts -g... yes cacti | checking for gcc option to accept ISO C89... none needed cacti | checking whether gcc understands -c and -o together... yes cacti | checking whether make supports the include directive... yes (GNU style) cacti | checking dependency style of gcc... gcc3 cacti | checking how to run the C preprocessor... gcc -E cacti | checking whether ln -s works... yes cacti | checking how to print strings... printf cacti | checking for a sed that does not truncate output... /usr/bin/sed cacti | checking for grep that handles long lines and -e... /usr/bin/grep cacti | checking for egrep... /usr/bin/grep -E cacti | checking for fgrep... /usr/bin/grep -F cacti | checking for ld used by gcc... /usr/bin/ld cacti | checking if the linker (/usr/bin/ld) is GNU ld... yes cacti | checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B cacti | checking the name lister (/usr/bin/nm -B) interface... BSD nm cacti | checking the maximum length of command line arguments... 1572864 cacti | checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop cacti | checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop cacti | checking for /usr/bin/ld option to reload object files... -r cacti | checking for objdump... objdump cacti | checking how to recognize dependent libraries... pass_all cacti | checking for dlltool... no cacti | checking how to associate runtime and link libraries... printf %s\n cacti | checking for ar... ar cacti | checking for archiver @FILE support... @ cacti | checking for strip... strip cacti | checking for ranlib... ranlib cacti | checking command to parse /usr/bin/nm -B output from gcc object... ok cacti | checking for sysroot... no cacti | checking for a working dd... /usr/bin/dd cacti | checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 cacti | checking for mt... no cacti | checking if : is a manifest tool... no cacti | checking for ANSI C header files... yes cacti | checking for sys/types.h... yes cacti | checking for sys/stat.h... yes cacti | checking for stdlib.h... yes cacti | checking for string.h... yes cacti | checking for memory.h... yes cacti | checking for strings.h... yes cacti | checking for inttypes.h... yes cacti | checking for stdint.h... yes cacti | checking for unistd.h... yes cacti | checking for dlfcn.h... yes cacti | checking for objdir... .libs cacti | checking if gcc supports -fno-rtti -fno-exceptions... no cacti | checking for gcc option to produce PIC... -fPIC -DPIC cacti | checking if gcc PIC flag -fPIC -DPIC works... yes cacti | checking if gcc static flag -static works... no cacti | checking if gcc supports -c -o file.o... yes cacti | checking if gcc supports -c -o file.o... (cached) yes cacti | checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes cacti | checking whether -lc should be explicitly linked in... no cacti | checking dynamic linker characteristics... GNU/Linux ld.so cacti | checking how to hardcode library paths into programs... immediate cacti | checking whether stripping libraries is possible... yes cacti | checking if libtool supports shared libraries... yes cacti | checking whether to build shared libraries... yes cacti | checking whether to build static libraries... yes cacti | checking whether to enable -Wall... no cacti | checking for help2man... /usr/bin/help2man cacti | checking for help2man... /usr/bin/help2man cacti | checking for socket in -lsocket... no cacti | checking for floor in -lm... yes cacti | checking for dlclose in -ldl... yes cacti | checking for pthread_exit in -lpthread... yes cacti | checking for deflate in -lz... yes cacti | checking for kstat_close in -lkstat... no cacti | checking for CRYPTO_realloc in -lcrypto... yes cacti | checking for library containing clock_gettime... none required cacti | checking for ANSI C header files... (cached) yes cacti | checking sys/socket.h usability... yes cacti | checking sys/socket.h presence... yes cacti | checking for sys/socket.h... yes cacti | checking sys/select.h usability... yes cacti | checking sys/select.h presence... yes cacti | checking for sys/select.h... yes cacti | checking sys/wait.h usability... yes cacti | checking sys/wait.h presence... yes cacti | checking for sys/wait.h... yes cacti | checking sys/time.h usability... yes cacti | checking sys/time.h presence... yes cacti | checking for sys/time.h... yes cacti | checking assert.h usability... yes cacti | checking assert.h presence... yes cacti | checking for assert.h... yes cacti | checking ctype.h usability... yes cacti | checking ctype.h presence... yes cacti | checking for ctype.h... yes cacti | checking errno.h usability... yes cacti | checking errno.h presence... yes cacti | checking for errno.h... yes cacti | checking signal.h usability... yes cacti | checking signal.h presence... yes cacti | checking for signal.h... yes cacti | checking math.h usability... yes cacti | checking math.h presence... yes cacti | checking for math.h... yes cacti | checking malloc.h usability... yes cacti | checking malloc.h presence... yes cacti | checking for malloc.h... yes cacti | checking netdb.h usability... yes cacti | checking netdb.h presence... yes cacti | checking for netdb.h... yes cacti | checking for signal.h... (cached) yes cacti | checking stdarg.h usability... yes cacti | checking stdarg.h presence... yes cacti | checking for stdarg.h... yes cacti | checking stdio.h usability... yes cacti | checking stdio.h presence... yes cacti | checking for stdio.h... yes cacti | checking syslog.h usability... yes cacti | checking syslog.h presence... yes cacti | checking for syslog.h... yes cacti | checking execinfo.h usability... yes cacti | checking execinfo.h presence... yes cacti | checking for execinfo.h... yes cacti | checking for netinet/in_systm.h... yes cacti | checking for netinet/in.h... yes cacti | checking for netinet/ip.h... yes cacti | checking for netinet/ip_icmp.h... yes cacti | checking for unsigned long long... yes cacti | checking for long long... yes cacti | checking for an ANSI C-conforming const... yes cacti | checking for size_t... yes cacti | checking whether time.h and sys/time.h may both be included... yes cacti | checking whether struct tm is in sys/time.h or time.h... time.h cacti | checking return type of signal handlers... void cacti | checking for malloc... yes cacti | checking for calloc... yes cacti | checking for gettimeofday... yes cacti | checking for strerror... yes cacti | checking for strtoll... yes cacti | checking priv.h usability... no cacti | checking priv.h presence... no cacti | checking for priv.h... no cacti | checking whether we are using Solaris privileges... no cacti | checking sys/capability.h usability... no cacti | checking sys/capability.h presence... no cacti | checking for sys/capability.h... no cacti | checking whether we are using Linux Capabilities... no cacti | checking for mysql_init in -lmysqlclient... yes cacti | checking if Net-SNMP needs crypto support... yes cacti | checking for snmp_timeout in -lnetsnmp... yes cacti | checking for the spine results buffer size... 2048 bytes cacti | checking for the maximum simultaneous spine scripts... 20 cacti | checking for the maximum MySQL buffer size... 131072 cacti | checking whether we are using traditional popen... no cacti | checking whether to verify net-snmp library vs header versions... no cacti | checking if we can support backtracing... no cacti | checking that generated files are newer than configure... done cacti | configure: creating ./config.status cacti | config.status: creating Makefile cacti | config.status: creating config/config.h cacti | config.status: executing depfiles commands cacti | config.status: executing libtool commands cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT sql.o -MD -MP -MF .deps/sql.Tpo -c -o sql.o sql.c cacti | sql.c: In function 'db_escape': cacti | sql.c:388:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncpy(input_trimmed, input, input_size); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | sql.c:382:15: note: length computed here cacti | input_size = strlen(input); cacti | ^~~~~~~~~~~~~ cacti | mv -f .deps/sql.Tpo .deps/sql.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT spine.o -MD -MP -MF .deps/spine.Tpo -c -o spine.o spine.c cacti | mv -f .deps/spine.Tpo .deps/spine.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c cacti | util.c: In function 'spine_log': cacti | util.c:1174:3: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] cacti | strncat(flogmessage, "\n", 1); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | util.c: In function 'strncopy': cacti | util.c:1474:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncpy(dst, src, len); cacti | ^~~~~~~~~~~~~~~~~~~~~~ cacti | util.c:1469:8: note: length computed here cacti | len = strlen(src); cacti | ^~~~~~~~~~~ cacti | mv -f .deps/util.Tpo .deps/util.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c cacti | snmp.c: In function 'snmp_host_init': cacti | snmp.c:189:2: warning: 'remote_port' is deprecated [-Wdeprecated-declarations] cacti | session.remote_port = snmp_port; cacti | ^~~~~~~ cacti | In file included from /usr/include/net-snmp/utilities.h:16, cacti | from common.h:138, cacti | from snmp.c:34: cacti | /usr/include/net-snmp/types.h:345:21: note: declared here cacti | u_short remote_port NETSNMP_ATTRIBUTE_DEPRECATED; cacti | ^~~~~~~~~~~ cacti | mv -f .deps/snmp.Tpo .deps/snmp.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT locks.o -MD -MP -MF .deps/locks.Tpo -c -o locks.o locks.c cacti | mv -f .deps/locks.Tpo .deps/locks.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT poller.o -MD -MP -MF .deps/poller.Tpo -c -o poller.o poller.c cacti | poller.c: In function 'poll_host': cacti | poller.c:1520:3: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query3, query8, strlen(query8)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1530:4: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query12, query11, strlen(query11)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1555:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query3, posuffix, strlen(posuffix)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1562:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query3, query8, strlen(query8)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1567:6: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query12, posuffix, strlen(posuffix)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1572:6: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query12, query11, strlen(query11)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1589:4: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query3, result_string, strlen(result_string)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1592:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query12, result_string, strlen(result_string)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1603:4: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query3, posuffix, strlen(posuffix)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | poller.c:1611:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] cacti | strncat(query12, posuffix, strlen(posuffix)); cacti | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cacti | mv -f .deps/poller.Tpo .deps/poller.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT nft_popen.o -MD -MP -MF .deps/nft_popen.Tpo -c -o nft_popen.o nft_popen.c cacti | mv -f .deps/nft_popen.Tpo .deps/nft_popen.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT php.o -MD -MP -MF .deps/php.Tpo -c -o php.o php.c cacti | mv -f .deps/php.Tpo .deps/php.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT ping.o -MD -MP -MF .deps/ping.Tpo -c -o ping.o ping.c cacti | mv -f .deps/ping.Tpo .deps/ping.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT keywords.o -MD -MP -MF .deps/keywords.Tpo -c -o keywords.o keywords.c cacti | mv -f .deps/keywords.Tpo .deps/keywords.Po cacti | gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c cacti | mv -f .deps/error.Tpo .deps/error.Po cacti | /bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -L/usr/lib64 -L/usr/lib64 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient_r -lm -ldl -lmysqlclient -lm -ldl -lcrypto -lz -lpthread -ldl -lm -lpthread -lssl cacti | libtool: link: gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -L/usr/lib64 -lnetsnmp -lmysqlclient_r -lmysqlclient -lcrypto -lz -ldl -lm -lpthread -lssl cacti | /usr/bin/help2man --output=spine.1 --name='Data Collector for Cacti' --no-info --version-option='--version' ./spine cacti | make[1]: Entering directory '/tmp/cacti-spine-1.2.11' cacti | /usr/bin/mkdir -p '/spine/bin' cacti | /bin/sh ./libtool --mode=install /usr/bin/install -c spine '/spine/bin' cacti | libtool: install: /usr/bin/install -c spine /spine/bin/spine cacti | /usr/bin/mkdir -p '/spine/etc' cacti | /usr/bin/install -c -m 644 spine.conf.dist '/spine/etc' cacti | /usr/bin/mkdir -p '/spine/share/man/man1' cacti | /usr/bin/install -c -m 644 spine.1 '/spine/share/man/man1' cacti | make[1]: Leaving directory '/tmp/cacti-spine-1.2.11' cacti | 2020-04-17_19:18 [New Install] Copying templated configurations to Spine, Apache, and Cacti. cacti | 2020-04-17_19:18 [New Install] Applying enviromental variables to configurations. cacti | 2020-04-17_19:18 [New Install] Waiting for database to respond, if this hangs please check MySQL connections are allowed and functional. cacti | 2020-04-17_19:18 [New Install] Database is up! - configuring DB located at db:3306 (this can take a few minutes). cacti | 2020-04-17_19:18 [New Install] Container has been instructed to create new Database on remote system. cacti | 2020-04-17_19:18 [New Install] CREATE DATABASE cacti_master /*\!40100 DEFAULT CHARACTER SET utf8 */; cacti | 2020-04-17_19:18 [New Install] GRANT ALL ON cacti_master.* TO 'cactiuser' IDENTIFIED BY '*******'; cacti | 2020-04-17_19:18 [New Install] GRANT SUPER ON *.* TO 'cactiuser'@'%'; cacti | 2020-04-17_19:18 [New Install] GRANT SELECT ON mysql.time_zone_name TO 'cactiuser' IDENTIFIED BY '*******'; cacti | 2020-04-17_19:18 [New Install] Merging vanilla cacti.sql file to database. cacti | 2020-04-17_19:18 [New Install] Installing supporting template files. cacti | 2020-04-17_19:18 [New Install] Installing plugins. cacti | 2020-04-17_19:18 [New Install] Installing template file /templates/cacti_host_template_cacti_stats.xml cacti | 2020-04-17_19:18 [New Install] Installing template file /templates/cacti_host_template_cisco_router.xml cacti | 2020-04-17_19:18 [New Install] Installing template file /templates/cacti_host_template_f5_bigip_v11.xml cacti | 2020-04-17_19:18 [New Install] Installing template file /templates/cacti_host_template_juniper_networks.xml cacti | 2020-04-17_19:18 [New Install] Importing settings file /settings/boost.sql cacti | 2020-04-17_19:18 [New Install] Importing settings file /settings/data_source_profiles.sql cacti | 2020-04-17_19:18 [New Install] Importing settings file /settings/poller.sql cacti | 2020-04-17_19:18 [New Install] Importing settings file /settings/spine.sql cacti | 2020-04-17_19:18 [New Install] Removing temp Cacti and Spine installation files. cacti | 2020-04-17_19:18 [New Install] Creating lock file, db setup complete. cacti | 2020-04-17_19:18 [Apache] Validating httpd cacti configuration is present. cacti | 2020-04-17_19:18 [Apache] /etc/httpd/conf.d/cacti.conf exist, nothing to do. cacti | 2020-04-17_19:18 [Apache] Missing HTTPS certs, generating self-signed one's. cacti | Generating a RSA private key cacti | ....................++++ cacti | ...........................++++ cacti | writing new private key to '/etc/ssl/certs/cacti.key' cacti | ----- cacti | 2020-04-17_19:18 [Note] Setting cacti file permissions. cacti | 2020-04-17_19:18 [Note] Starting crond service. cacti | 2020-04-17_19:18 [Note] Starting snmpd service. cacti | 2020-04-17_19:18 [Note] Starting php-fpm service. cacti | 2020-04-17_19:18 [Note] Starting httpd service. cacti | [17-Apr-2020 19:18:31] ERROR: [pool www] failed to read the ACL of the socket '/run/php-fpm/www.sock': Operation not supported (95) cacti | [17-Apr-2020 19:18:31] ERROR: FPM initialization failed