+ PKG_PATH=/nfs/packages/SmartOS/2021Q4/x86_64/All + /opt/tools/sbin/pkg_add -K /opt/local/pkg digest-20211023 help2man-1.48.5 gcc10-10.3.0 cwrappers-20180325 libtool-base-2.4.6nb3 checkperms-1.12 cacti-1.2.11nb7 mariadb-client-10.6.7 net-snmp-5.8nb3 gcc10-libs-10.3.0 libiconv-1.14nb3: copying /opt/local/share/examples/libiconv/charset.alias to /opt/local/lib/charset.alias gettext-lib-0.21: copying /opt/local/share/examples/gettext/locale.alias to /opt/local/lib/locale/locale.alias help2man-1.48.5: registering info file /opt/local/info/help2man-de.info help2man-1.48.5: registering info file /opt/local/info/help2man-es.info help2man-1.48.5: registering info file /opt/local/info/help2man-fr.info help2man-1.48.5: registering info file /opt/local/info/help2man-pl.info help2man-1.48.5: registering info file /opt/local/info/help2man-pt_BR.info help2man-1.48.5: registering info file /opt/local/info/help2man-sr.info help2man-1.48.5: registering info file /opt/local/info/help2man-sv.info help2man-1.48.5: registering info file /opt/local/info/help2man-uk.info help2man-1.48.5: registering info file /opt/local/info/help2man-zh_CN.info help2man-1.48.5: registering info file /opt/local/info/help2man.info binutils-2.37: registering info file /opt/local/info/as.info binutils-2.37: registering info file /opt/local/info/bfd.info binutils-2.37: registering info file /opt/local/info/binutils.info binutils-2.37: registering info file /opt/local/info/gprof.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/cpp.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/cppinternals.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/gcc.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/gccgo.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/gccinstall.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/gccint.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/gfortran.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/libgomp.info gcc10-10.3.0: registering info file /opt/local/gcc10/info/libquadmath.info pkg_add: package `cwrappers-20180325' already recorded as installed xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.etc.sgml to /opt/local/etc/sgml/catalog xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.etc.xml to /opt/local/etc/xml/catalog xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.share.sgml to /opt/local/share/sgml/catalog xmlcatmgr-2.2nb1: copying /opt/local/share/examples/xmlcatmgr/catalog.share.xml to /opt/local/share/xml/catalog openssl-1.1.1q: copying /opt/local/share/examples/openssl/openssl.cnf to /opt/local/etc/openssl/openssl.cnf readline-8.1: registering info file /opt/local/info/history.info readline-8.1: registering info file /opt/local/info/readline.info readline-8.1: registering info file /opt/local/info/rluserman.info php-7.4.28: copying /opt/local/share/examples/php/php.ini-production to /opt/local/etc/php.ini php74-zlib-7.4.28nb1: copying /opt/local/share/examples/php/zlib.ini to /opt/local/etc/php.d/zlib.ini php74-mbstring-7.4.28: copying /opt/local/share/examples/php/mbstring.ini to /opt/local/etc/php.d/mbstring.ini php74-pdo-7.4.28: copying /opt/local/share/examples/php/pdo.ini to /opt/local/etc/php.d/pdo.ini php74-pdo_mysql-7.4.28nb2: copying /opt/local/share/examples/php/pdo_mysql.ini to /opt/local/etc/php.d/pdo_mysql.ini =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable -r svc:/pkgsrc/snmp:default /usr/sbin/svcadm enable -r svc:/pkgsrc/snmp:snmptrapd Use svcs(1) to check on service status. See smf(5) for more information. The PKG_SKIP_SMF variable was set or automatic import of SMF manifests failed. You must import the SMF manifest manually with: /usr/sbin/svccfg import /opt/local/lib/svc/manifest/snmp.xml =========================================================================== php74-snmp-7.4.28nb1: copying /opt/local/share/examples/php/snmp.ini to /opt/local/etc/php.d/snmp.ini php74-sockets-7.4.28: copying /opt/local/share/examples/php/sockets.ini to /opt/local/etc/php.d/sockets.ini gmp-6.2.1nb2: registering info file /opt/local/info/gmp.info php74-gmp-7.4.28: copying /opt/local/share/examples/php/gmp.ini to /opt/local/etc/php.d/gmp.ini =========================================================================== $NetBSD: MESSAGE,v 1.1 2019/12/15 17:56:34 taca Exp $ To process PHP scripts, you will need a PHP-enabled HTTP server. You may either configure the HTTP server to use the PHP CGI binary located in /opt/local/libexec/cgi-bin/php or you may install a PHP module for your HTTP server, e.g. www/ap-php. =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/zlib.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=zlib.so =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/mbstring.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=mbstring.so =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/pdo.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=pdo.so =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/pdo_mysql.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=pdo_mysql.so =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.1.1.1 2002/10/24 08:29:33 jlam Exp $ If you do not have an existing snmpd.conf configuration file, you may generate one using snmpconf(1), e.g.: /opt/local/bin/snmpconf -g basic_setup The resulting config file should be placed in: /opt/local/etc/snmpd.conf =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/snmp.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=snmp.so =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/sockets.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=sockets.so =========================================================================== ===============================================php74-posix-7.4.28: copying /opt/local/share/examples/php/posix.ini to /opt/local/etc/php.d/posix.ini cyrus-sasl-2.1.27nb2: Creating user ``cyrus'' passwd: password information changed for cyrus openldap-client-2.6.0: copying /opt/local/share/examples/openldap/ldap.conf to /opt/local/etc/openldap/ldap.conf php74-ldap-7.4.28nb1: copying /opt/local/share/examples/php/ldap.ini to /opt/local/etc/php.d/ldap.ini php74-gettext-7.4.28: copying /opt/local/share/examples/php/gettext.ini to /opt/local/etc/php.d/gettext.ini libffi-3.4.2nb1: registering info file /opt/local/info/libffi.info apache-2.4.52: Creating group ``www'' apache-2.4.52: Creating user ``www'' passwd: password information changed for www apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-autoindex.conf to /opt/local/etc/httpd/httpd-autoindex.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-dav.conf to /opt/local/etc/httpd/httpd-dav.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-default.conf to /opt/local/etc/httpd/httpd-default.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-info.conf to /opt/local/etc/httpd/httpd-info.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-languages.conf to /opt/local/etc/httpd/httpd-languages.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-manual.conf to /opt/local/etc/httpd/httpd-manual.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-mpm.conf to /opt/local/etc/httpd/httpd-mpm.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-multilang-errordoc.conf to /opt/local/etc/httpd/httpd-multilang-errordoc.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-ssl.conf to /opt/local/etc/httpd/httpd-ssl.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-userdir.conf to /opt/local/etc/httpd/httpd-userdir.conf apache-2.4.52: copying /opt/local/share/examples/httpd/extra/httpd-vhosts.conf to /opt/local/etc/httpd/httpd-vhosts.conf apache-2.4.52: copying /opt/local/share/examples/httpd/httpd.conf to /opt/local/etc/httpd/httpd.conf apache-2.4.52: copying /opt/local/share/examples/httpd/magic to /opt/local/etc/httpd/magic apache-2.4.52: copying /opt/local/share/examples/httpd/mime.types to /opt/local/etc/httpd/mime.types apache-2.4.52: setting permissions on /opt/local/sbin/suexec (o=root, g=www, m=4510) =========================================================================== This package has SMF support. You may use svcadm(1M) to 'enable', 'disable' or 'restart' services. To enable the instance(s) for this package, run: /usr/sbin/svcadm enable -r svc:/pkgsrc/apache:default Use svcs(1) to check on service status. See smf(5) for more information. The PKG_SKIP_SMF variable was set or automatic import of SMF manifests failed. You must import the SMF manifest manually with: /usr/sbin/svccfg import /opt/local/lib/svc/manifest/apache.xml projadd: Validation error on line 6, User "mysql" does not exist projadd: Validation error on line 6, Group "mysql" does not exist =========================================================================== php74-json-7.4.28: copying /opt/local/share/examples/php/json.ini to /opt/local/etc/php.d/json.ini ============================ $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/gmp.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=gmp.so =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/posix.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=posix.so =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.4 2017/07/26 09:21:10 hauke Exp $ cyrus-sasl-2.1.27nb2 by default does *not* install any authentication plugin modules. Until the necessary authentication plugin modules are installed, e.g. security/cy2-crammd5 or security/cy2-gssapi, you will probably get errors about "no appropriate mechs available". The configuration files for applications using the sasl2 libraries used to be in /opt/local/lib/sasl2/, but are now expected in /opt/local/etc/sasl2/. You need to move them after upgrading the pkg. cyrus-sasl-2.1.27nb2 will use the following directory as the default path to its plugin modules: /opt/local/lib/sasl2 The search path for plugin modules can be customized by setting the SASL_PATH variable to a colon-delimted list of directories in the shell environment. To allow plaintext authentication without using the auxprop mechanism, the package security/cyrus-saslauthd should be installed. =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/ldap.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=ldap.so =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/gettext.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load directive: extension=gettext.so =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.2 2014/02/22 17:28:34 ryoon Exp $ After apache-2.4.3, --enable-mpms-shared='event worker prefork' is passed to configure script, then these multi-process model is built and you can select the model in configuraton file. The mod_cgi.so module conflicts with non-prefork multi-process model, and mod_cgi.so module is not built anymore. You can use mod_cgid.so module instead. =========================================================================== =========================================================================== $NetBSD: MESSAGE.module,v 1.5 2016/10/18 19:09:10 jdolecek Exp $ By default, example module configuration file was copied to following location, and module should be auto-loaded: /opt/local/etc/php.d/json.ini If you use custom /opt/local/etc/php.ini, or nonstandard module configuration file location, you might need to add explicit load diredejavu-ttf-2.37: copying /opt/local/share/examples/dejavu-ttf/fontconfig-conf.d/20-unhint-small-dejavu-sans-mono.conf to /opt/local/etc/fontconfig/conf.d/20-unhint-small-dejavu-sans-mono.conf dejavu-ttf-2.37: copying /opt/local/share/examples/dejavu-ttf/fontconfig-conf.d/20-unhint-small-dejavu-sans.conf to /opt/local/etc/fontconfig/conf.d/20-unhint-small-dejavu-sans.conf dejavu-ttf-2.37: copying /opt/local/share/examples/dejavu-ttf/fontconfig-conf.d/20-unhint-small-dejavu-serif.conf to /opt/local/etc/fontconfig/conf.d/20-unhint-small-dejavu-serif.conf dejavu-ttf-2.37: copying /opt/local/share/examples/dejavu-ttf/fontconfig-conf.d/57-dejavu-sans-mono.conf to /opt/local/etc/fontconfig/conf.d/57-dejavu-sans-mono.conf dejavu-ttf-2.37: copying /opt/local/share/examples/dejavu-ttf/fontconfig-conf.d/57-dejavu-sans.conf to /opt/local/etc/fontconfig/conf.d/57-dejavu-sans.conf dejavu-ttf-2.37: copying /opt/local/share/examples/dejavu-ttf/fontconfig-conf.d/57-dejavu-serif.conf to /opt/local/etc/fontconfig/conf.d/57-dejavu-serif.conf dejavu-ttf-2.37: updating font database in /opt/local/share/fonts/X11/TTF (ttf) dejavu-ttf-2.37: updating font database in /opt/local/share/fonts/X11/TTF (x11) No schema files found: doing nothing. fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/10-hinting-full.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-full.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/10-hinting-medium.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-medium.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/10-hinting-none.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-none.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/10-hinting-slight.conf to /opt/local/etc/fontconfig/conf.d/10-hinting-slight.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf to /opt/local/etc/fontconfig/conf.d/10-scale-bitmap-fonts.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/20-unhint-small-vera.conf to /opt/local/etc/fontconfig/conf.d/20-unhint-small-vera.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/30-metric-aliases.conf to /opt/local/etc/fontconfig/conf.d/30-metric-aliases.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/30-pkgsrc-aliases.conf to /opt/local/etc/fontconfig/conf.d/30-pkgsrc-aliases.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/40-nonlatin.conf to /opt/local/etc/fontconfig/conf.d/40-nonlatin.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/45-latin.conf to /opt/local/etc/fontconfig/conf.d/45-latin.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/49-sansserif.conf to /opt/local/etc/fontconfig/conf.d/49-sansserif.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/50-user.conf to /opt/local/etc/fontconfig/conf.d/50-user.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/51-local.conf to /opt/local/etc/fontconfig/conf.d/51-local.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/60-latin.conf to /opt/local/etc/fontconfig/conf.d/60-latin.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/65-fonts-persian.conf to /opt/local/etc/fontconfig/conf.d/65-fonts-persian.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/65-nonlatin.conf to /opt/local/etc/fontconfig/conf.d/65-nonlatin.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/69-unifont.conf to /opt/local/etc/fontconfig/conf.d/69-unifont.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/70-no-bitmap-webfonts.conf to /opt/local/etc/fontconfig/conf.d/70-no-bitmap-webfonts.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/80-delicious.conf to /opt/local/etc/fontconfig/conf.d/80-delicious.conf fontconfig-2.13.1nb5: copying /opt/local/share/fontconfig/conf.avail/90-synthetic.conf to /opt/local/etc/fontconfig/conf.d/90-synthetic.conf fontconfig-2.13.1nb5: copying /opt/local/share/examples/fontconfig/conf.d/README to /opt/local/etc/fontconfig/conf.d/README fontconfig-2.13.1nb5: copying /opt/local/share/examples/fontconfig/fonts.conf to /opt/local/etc/fontconfig/fonts.conf rrdtool-1.7.2nb10: Creating group ``rrdcached'' UX: groupadd: rrdcached name too long. rrdtool-1.7.2nb10: Creating user ``rrdcached'' UX: /usr/sbin/useradd: rrdcached name too long. UX: /usr/sbin/useradd: rrdcached name too long. passwd: password information changed for rrdcached cacti-1.2.11nb7: Creating group ``cacti'' cacti-1.2.11nb7: Creating user ``cacti'' passwd: password information changed for cacti cacti-1.2.11nb7: copying /opt/local/share/cacti/rra/.htaccess to /var/db/cacti-rra/.htaccess cacti-1.2.11nb7: copying /opt/local/share/cacti/log/.htaccess to /var/log/cacti/.htaccess cacti-1.2.11nb7: copying /opt/local/share/examples/cacti/httpd-cacti.conf to /opt/local/etc/httpd/httpd-cacti.conf cacti-1.2.11nb7: copying /opt/local/share/examples/cacti/config.php to /opt/local/share/cacti/include/config.php libunistring-0.9.10nb1: registering info file /opt/local/info/libunistring.info libidn2-2.3.2: registering info file /opt/local/info/libidn2.info pkg_add: package `net-snmp-5.8nb3' was already installed as dependency, now marked as installed manually pkg_add: package `gcc10-libs-10.3.0' was already installed as dependency, now marked as installed manually ctive: extension=json.so =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.7 2019/04/29 16:09:05 hauke Exp $ To get cacti up and running, you have to complete these steps: - Install & Configure MySQL database server. Add a 'cacti' database and 'cactiuser' user to MySQL and create the cacti database layout (/opt/local/share/cacti/cacti.sql) to MySQL: mysql> CREATE DATABASE cacti; mysql> GRANT ALL PRIVILEGES ON cacti.* TO 'cactiuser'@'localhost' -> IDENTIFIED BY 'cactiuser'; mysql> GRANT SELECT ON mysql.time_zone_name TO 'cactiuser'@'localhost'; mysql> FLUSH PRIVILEGES; mysql> USE cacti; mysql> SOURCE /opt/local/share/cacti/cacti.sql; If you haven't already imported your MySQL timezone data, you need to run mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql The Cacti Setup Assistant will ask you to set or adjust database parameters in my.cnf. - Install & Configure an Apache webserver. Append this to Apache webserver's "httpd.conf", and restart the server. Include etc/httpd/httpd-cacti.conf - For older PHP installations that do not support /opt/local/etc/php.d/, you will need to manually add these lines to enable php extensions required by cacti in /opt/local/etc/php.ini extension=gmp.so extension=ldap.so extension=gettext.so extension=pdo.so extension=pdo_mysql.so extension=snmp.so extension=sockets.so extension=zlib.so extension=mbstring.so extension=posix.so You will want to adjust the following parameters in php.ini memory_limit = 400M (minimum) max_execution_time = 60 (seconds, minimum) date.timezone - Add the following lines to cacti's crontab # Invoke poller.php to collect SNMP statistics. */5 * * * * /opt/local/bin/cacti-poller and make sure /opt/local/bin is in PATH. Please read the documentation under /opt/local/share/cacti/docs/ for more information about configuring and starting cacti. If you have updated from a version older than 0.8.8h, note that the rrd and log directories are now under /var. Old logs and database files need to be moved manually, and you have to update the log path in "Console:Settings:Paths:Logging". Note: During the web setup of v1.2.3, you may get stuck on the page "Critical Binary Locations" because of a missing "Cacti Log Path" entry. Even after entering the proper /var/log/cacti/cacti.log, installation may not continue. In this case, using a different browser may help, see . =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.3 2020/10/05 23:22:04 gdt Exp $ To interoperate with older kerberos realms, you may need to set allow_weak_crypto = true in the [libdefaults] section of your krb5.conf file ===========================================================================