Discussion:
[PacketFence-users] PF do not start after upgrade
SALVIGNOL Gregory
2017-05-17 12:36:54 UTC
Permalink
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d# service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d# service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d# apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d# apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg







Thanks a lot everyone.
Antoine Amacher
2017-05-17 13:35:17 UTC
Permalink
Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing
mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks
Post by SALVIGNOL Gregory
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get
upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status
packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start
(code=killed, signal=TERM)
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start
operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
When I try to restart packetfence-config, I get this
packetfence-config restart|
packetfence-config status|
|● packetfence-config.service - PacketFence Config Service|
| Loaded: loaded (/lib/systemd/system/packetfence-config.service;
enabled)|
| Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14
CEST; 1min 58s ago|
| Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited,
status=255)|
|Main PID: 10637 (code=exited, status=255)|
||
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service
entere...e.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service
holdoff tim...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config
Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config
Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start
reque...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence
Config Service.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service
entere...e.|
|Hint: Some lines were ellipsized, use -l to show in full.|
Also, I get now a weird message when i run an "apt-get upgrade"
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.|
|Les paquets suivants contiennent des dépendances non satisfaites :|
|E: Dépendances manquantes. Essayez d'utiliser l'option -f.|
Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as
mysql-server ones. What may be the consequences if I apply a "Y" to
the prompt? May I lose all my databases, and PacketFence
configurations? Thx for your help :-)
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et ne sont plus
nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core collectd-utils
conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common freeradius-config
freeradius-ldap freeradius-mysql freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1
libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl
libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2
libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl
libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl
libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl
libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl libc-ares2
libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl
libcarp-assert-perl libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl
libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl libclass-factory-util-perl
libclass-gomor-perl libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl
libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl libclass-throwable-perl
libclass-tiny-perl libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl
libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl
libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl
libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl libdatetime-format-oracle-perl
libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl
libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl
libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl libemail-mime-encodings-perl
libemail-mime-perl libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6
libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl
libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl libfile-remove-perl
libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl libfile-which-perl
libfilesys-notify-simple-perl libfreeradius3|
| libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl
libgraph-perl libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl
libhash-multivalue-perl libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10
libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl
libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl libio-lockedfile-perl
libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl
libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery
libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl libjson-maybexs-perl
libkrb5-26-heimdal liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl liblinux-distribution-perl
liblinux-fd-perl liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl libload-perl
liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl liblog-dispatch-perl
liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02
liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl
libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl libmime-lite-perl
libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl
libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl
libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl
libnet-frame-perl libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl
libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl
libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl
libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8
libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl libpath-isdev-perl
libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl
libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5
libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal librole-tiny-perl
librose-datetime-perl librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl libsereal-decoder-perl
libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl libstring-camelcase-perl
libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl
libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl
libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl
libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl
libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl libtext-recordparser-perl
libtext-reform-perl libtext-simpletable-perl|
| libtext-tabulardisplay-perl libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl
libtime-duration-perl libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl
libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl libupsclient4
liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0
libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl
libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra
owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper
packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic python-django
python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson python-sqlparse
python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync samba
samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5
packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront
utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
May you have any clues about this issue ? I tried several actions
found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg
Thanks a lot everyone.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
***@inverse.ca :: www.inverse.ca
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
SALVIGNOL Gregory
2017-05-17 13:49:45 UTC
Permalink
Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg








Thanks a lot everyone.





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
SALVIGNOL Gregory
2017-05-18 08:29:24 UTC
Permalink
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg







Thanks a lot everyone.




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
Fabrice Durand
2017-05-18 12:09:22 UTC
Permalink
Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice
Post by SALVIGNOL Gregory
Hi everyone,
When I send a " apt-get -f install" in order to try to fix PF service
start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.
What may be the consequences if I apply "Y" to the prompt?
May I lose all my databases, and PacketFence configurations?
Do you know what I have to backup before this operation in order to not lose everything?
Thx for your help :-)
Greg
------------------------------------------
install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et ne sont plus
nécessaires :|
| ||apache2-mpm-prefork arping attr collectd collectd-core collectd-utils
conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common freeradius-config
freeradius-ldap freeradius-mysql freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1
libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl
libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2
libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl
libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl
libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl
libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl libc-ares2
libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl
libcarp-assert-perl libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl
libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl libclass-factory-util-perl
libclass-gomor-perl libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl
libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl libclass-throwable-perl
libclass-tiny-perl libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl
libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl
libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl
libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl libdatetime-format-oracle-perl
libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl
libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl
libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl libemail-mime-encodings-perl
libemail-mime-perl libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6
libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl
libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl libfile-remove-perl
libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl libfile-which-perl
libfilesys-notify-simple-perl libfreeradius3|
| libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl
libgraph-perl libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl
libhash-multivalue-perl libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10
libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl
libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl libio-lockedfile-perl
libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl
libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery
libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl libjson-maybexs-perl
libkrb5-26-heimdal liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
| ||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
| ||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl liblinux-distribution-perl
liblinux-fd-perl liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl libload-perl
liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl liblog-dispatch-perl
liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02
liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl
libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl libmime-lite-perl
libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl
libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl
libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl
libnet-frame-perl libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl
libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl
libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl
libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8
libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl libpath-isdev-perl
libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl
libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5
libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal librole-tiny-perl
librose-datetime-perl librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl libsereal-decoder-perl
libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl libstring-camelcase-perl
libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl
libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl
libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl
libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl
libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl libtext-recordparser-perl
libtext-reform-perl libtext-simpletable-perl|
| libtext-tabulardisplay-perl libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl
libtime-duration-perl libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl
libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl libupsclient4
liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0
libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl
libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra
owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper
packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic python-django
python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson python-sqlparse
python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync samba
samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
| ||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5
packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
| ||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils libfreeradius3|
| ||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront
utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
---------------------------
*De :*SALVIGNOL Gregory
*Envoyé :* mercredi 17 mai 2017 15:50
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Antoine,
No, in fact we just executed an “apt-get update”, followed by an
“apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more
accessible. From this point, we tried to restart PF services with no
success.
That’s why I’m going to try the update to PF v7 according to the doc
page you sent me. But I really have no clue if this may work or not.
Regards
Greg
*Envoyé :* mercredi 17 mai 2017 15:35
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Greg,
You tried to upgrade to 7.0.0? correct?
Did you follow the instruction related to Debian in the UPGRADE guide?
There is a specific step for removing mysql-server-5.5 and installing
mariadb-10.1 since we had issues with a "normal" update path.
Have a look here, that should resolve your issue.
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
Thanks
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get
upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get
upgrade command today.
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status
packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop
(code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start
(code=killed, signal=TERM)
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to
connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start
operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
When I try to restart packetfence-config, I get this
packetfence-config restart|
packetfence-config status|
|● packetfence-config.service - PacketFence Config Service|
| Loaded: loaded (/lib/systemd/system/packetfence-config.service;
enabled)|
| Active: failed (Result: start-limit) since mer. 2017-05-17
10:54:14 CEST; 1min 58s ago|
| Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig
(code=exited, status=255)|
|Main PID: 10637 (code=exited, status=255)|
| |
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service
holdoff tim...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config
Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config
Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service
start reque...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence
Config Service.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
|Hint: Some lines were ellipsized, use -l to show in full.|
Also, I get now a weird message when i run an "apt-get upgrade"
upgrade|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.|
|Les paquets suivants contiennent des dépendances non satisfaites :|
|E: Dépendances manquantes. Essayez d'utiliser l'option -f.|
Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well
as mysql-server ones. What may be the consequences if I apply a
"Y" to the prompt? May I lose all my databases, and PacketFence
configurations? Thx for your help :-)
-f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et ne sont
plus nécessaires :|
| ||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common freeradius-config
freeradius-ldap freeradius-mysql freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common keepalived
libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl
libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl
libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl
libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl libc-ares2
libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl libclass-factory-util-perl
libclass-gomor-perl libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl
libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl libdatetime-format-oracle-perl
libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl
libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl libemail-mime-encodings-perl
libemail-mime-perl libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6
libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl libfile-remove-perl
libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl libfile-which-perl
libfilesys-notify-simple-perl libfreeradius3|
| libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl
libgraph-perl libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl
libhash-multivalue-perl libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10
libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl
libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery
libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl libjson-maybexs-perl
libkrb5-26-heimdal liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
| ||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
| ||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl liblinux-distribution-perl
liblinux-fd-perl liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl libload-perl
liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl liblog-dispatch-perl
liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02
liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl libmime-lite-perl
libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl
libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl
libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl
libnet-frame-perl libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl
libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl
libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8
libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl libpath-isdev-perl
libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl
libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5
libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal librole-tiny-perl
librose-datetime-perl librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl libsereal-decoder-perl
libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl
libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl
libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl
libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl libtext-recordparser-perl
libtext-reform-perl libtext-simpletable-perl|
| libtext-tabulardisplay-perl libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl
libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl libupsclient4
liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0
libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl
libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic
python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson python-sqlparse
python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync samba
samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
| ||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
| ||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils libfreeradius3|
| ||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à
jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires
seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
May you have any clues about this issue ? I tried several actions
found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg
Thanks a lot everyone.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
***@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
SALVIGNOL Gregory
2017-05-18 12:30:00 UTC
Permalink
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne - France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg








Thanks a lot everyone.





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
Antoine Amacher
2017-05-18 13:45:46 UTC
Permalink
Hi Gregory,

All you have to do is the following, this example has been done while
upgrading 6.5.1 to 7.0.0


Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will
not be enough. You will need to help apt through the upgrade by manually
removing some packages and installing some others. The need to ensure
you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete
the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have
installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I
sent earlier

Thanks
Post by SALVIGNOL Gregory
Hi Fabrice,
No, I didn’t.
The files needed for the manual upgrade are not present, PF is still
in v6.5 and I didn’t find files related to v7.0 (like files for DB
update, etc.)
So it seems that our “apt-get upgrade” didn’t update packetfence
packages. So, I don’t get why PF refuses to start.
Regards
Greg
*isa*
**
*Grégory SALVIGNOL*
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
*Institut des Sciences Analytiques – **UMR 5280*
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr <http://www.isa-lyon.fr/>
*Envoyé :* jeudi 18 mai 2017 14:09
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Gregory,
did you try what Antoine told you ?
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade
Regards
Fabrice
Hi everyone,
When I send a " apt-get -f install" in order to try to fix PF
service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well
as mysql-server ones.
What may be the consequences if I apply "Y" to the prompt?
May I lose all my databases, and PacketFence configurations?
Do you know what I have to backup before this operation in order
to not lose everything?
Thx for your help :-)
Greg
------------------------------------------
-f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et ne sont
plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common freeradius-config
freeradius-ldap freeradius-mysql freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common keepalived
libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl
libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl
libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl
libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl libc-ares2
libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl libclass-factory-util-perl
libclass-gomor-perl libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl
libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl libdatetime-format-oracle-perl
libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl
libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl libemail-mime-encodings-perl
libemail-mime-perl libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6
libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl libfile-remove-perl
libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl libfile-which-perl
libfilesys-notify-simple-perl libfreeradius3|
| libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl
libgraph-perl libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl
libhash-multivalue-perl libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10
libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl
libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery
libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl libjson-maybexs-perl
libkrb5-26-heimdal liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl liblinux-distribution-perl
liblinux-fd-perl liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl libload-perl
liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl liblog-dispatch-perl
liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02
liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl libmime-lite-perl
libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl
libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl
libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl
libnet-frame-perl libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl
libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl
libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8
libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl libpath-isdev-perl
libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl
libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5
libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal librole-tiny-perl
librose-datetime-perl librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl libsereal-decoder-perl
libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl
libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl
libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl
libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl libtext-recordparser-perl
libtext-reform-perl libtext-simpletable-perl|
| libtext-tabulardisplay-perl libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl
libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl libupsclient4
liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0
libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl
libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic
python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson python-sqlparse
python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync samba
samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à
jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires
seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
---------------------------
*De :*SALVIGNOL Gregory
*Envoyé :* mercredi 17 mai 2017 15:50
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Antoine,
No, in fact we just executed an “apt-get update”, followed by an
“apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more
accessible. From this point, we tried to restart PF services with
no success.
That’s why I’m going to try the update to PF v7 according to the
doc page you sent me. But I really have no clue if this may work
or not.
Regards
Greg
*Envoyé :* mercredi 17 mai 2017 15:35
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Greg,
You tried to upgrade to 7.0.0? correct?
Did you follow the instruction related to Debian in the UPGRADE guide?
There is a specific step for removing mysql-server-5.5 and
installing mariadb-10.1 since we had issues with a "normal" update
path.
Have a look here, that should resolve your issue.
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
Thanks
Hello,
I meet an issue with PacketFence on a Debian 8 after an
“apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get
upgrade command today.
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status
packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16
16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf
stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf
start (code=killed, signal=TERM)
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed
to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start
operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start
PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service
entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar.
2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
When I try to restart packetfence-config, I get this
service packetfence-config restart|
service packetfence-config status|
|● packetfence-config.service - PacketFence Config Service|
| Loaded: loaded
(/lib/systemd/system/packetfence-config.service; enabled)|
| Active: failed (Result: start-limit) since mer. 2017-05-17
10:54:14 CEST; 1min 58s ago|
| Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig
(code=exited, status=255)|
|Main PID: 10637 (code=exited, status=255)|
||
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
packetfence-config.service holdoff tim...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence
Config Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence
Config Service...|
packetfence-config.service start reque...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start
PacketFence Config Service.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
|Hint: Some lines were ellipsized, use -l to show in full.|
Also, I get now a weird message when i run an "apt-get upgrade"
apt-get upgrade|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Vous pouvez lancer « apt-get -f install » pour corriger ces
problÚmes.|
|Les paquets suivants contiennent des dépendances non satisfaites :|
|E: Dépendances manquantes. Essayez d'utiliser l'option -f.|
Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as
well as mysql-server ones. What may be the consequences if I
apply a "Y" to the prompt? May I lose all my databases, and
PacketFence configurations? Thx for your help :-)
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et ne
sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common freeradius-config
freeradius-ldap freeradius-mysql freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common keepalived
libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl
libasa-perl libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl libc-ares2
libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl libclass-factory-util-perl
libclass-gomor-perl libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl libdatetime-locale-perl
libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl libemail-mime-encodings-perl
libemail-mime-perl libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl
libesmtp6 libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl libfile-remove-perl
libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl libfile-which-perl
libfilesys-notify-simple-perl libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl
libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal
libhiredis0.10 libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery
libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl libjson-maybexs-perl
libkrb5-26-heimdal liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl liblinux-distribution-perl
liblinux-fd-perl liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl libload-perl
liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl liblog-dispatch-perl
liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02
liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl libmime-lite-perl
libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl
libnet-frame-perl libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl
libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8
libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl libpath-isdev-perl
libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1
libreadline5 libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl
libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl libthread-conveyor-perl
libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0
libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic
python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson python-sqlparse
python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync samba
samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non
mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires
seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
May you have any clues about this issue ? I tried several
actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg
Thanks a lot everyone.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
***@inverse.ca :: www.inverse.ca
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
SALVIGNOL Gregory
2017-05-18 14:21:45 UTC
Permalink
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg









Thanks a lot everyone.






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
Antoine Amacher
2017-05-18 14:37:56 UTC
Permalink
We use the --force on the dpkg -r. So if your --dry-run doesn't work
it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a
moment where 6.5 is still installed and we have to remove mysql to
install mariadb and the package can not handle a state without either
installed.

So that's why we manually "update" mysql to mariadb before upgrading the
PacketFence package.

Thanks
Post by SALVIGNOL Gregory
Thank you for your reply, Antoine.
I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5
mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
libmysqlclient18
---------------------------------------
mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà
installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
mariadb-common dépend de mysql-common.
problÚme de dépendance - suppression ignorée
packetfence dépend de mysql-server | mariadb-server |
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.
problÚme de dépendance - suppression ignorée
mysql-server dépend de mysql-server-5.5.
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
problÚme de dépendance - suppression ignorée
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------
*Envoyé :* jeudi 18 mai 2017 15:46
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hi Gregory,
All you have to do is the following, this example has been done while
upgrading 6.5.1 to 7.0.0
Debian upgrade
The requirement for MariaDB 10.1 means that a simple "apt upgrade"
will not be enough. You will need to help apt through the upgrade by
manually removing some packages and installing some others. The need
to ensure you have backups cannot be overstated.
Make sure the apt database is up to date
apt update
Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)
dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
Install the newer Mariadb-10.1 packages
apt install libmariadbclient18 libmysqlclient18 mariadb-common
mariadb-server-10.1 galera-3 gawk mariadb-client-10.1
mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1
mysql-common
Finally, upgrade the rest of the packages
apt full-upgrade
Note that "full-upgrade" may also affect other packages you might have
installed on the system if you had other software than PacketFence on it.
After you have done this you can follow the rest of the UPGRADE guide I sent earlier
Thanks
Hi Fabrice,
No, I didn’t.
The files needed for the manual upgrade are not present, PF is
still in v6.5 and I didn’t find files related to v7.0 (like files
for DB update, etc.)
So it seems that our “apt-get upgrade” didn’t update packetfence
packages. So, I don’t get why PF refuses to start.
Regards
Greg
*isa*
**
*Grégory SALVIGNOL*
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
*Institut des Sciences Analytiques – **UMR 5280*
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr <http://www.isa-lyon.fr/>
*Envoyé :* jeudi 18 mai 2017 14:09
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Gregory,
did you try what Antoine told you ?
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade
Regards
Fabrice
Hi everyone,
When I send a " apt-get -f install" in order to try to fix PF
service start failures, I get this (see below).
It seems that the command will remove packetfence package, as
well as mysql-server ones.
What may be the consequences if I apply "Y" to the prompt?
May I lose all my databases, and PacketFence configurations?
Do you know what I have to backup before this operation in
order to not lose everything?
Thx for your help :-)
Greg
------------------------------------------
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et ne
sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common freeradius-config
freeradius-ldap freeradius-mysql freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common keepalived
libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl
libasa-perl libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl libc-ares2
libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl libclass-factory-util-perl
libclass-gomor-perl libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl libdatetime-locale-perl
libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl libemail-mime-encodings-perl
libemail-mime-perl libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl
libesmtp6 libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl libfile-remove-perl
libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl libfile-which-perl
libfilesys-notify-simple-perl libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl
libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal
libhiredis0.10 libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery
libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl libjson-maybexs-perl
libkrb5-26-heimdal liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl liblinux-distribution-perl
liblinux-fd-perl liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl libload-perl
liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl liblog-dispatch-perl
liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02
liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl libmime-lite-perl
libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl
libnet-frame-perl libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl
libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8
libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl libpath-isdev-perl
libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1
libreadline5 libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl
libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl libthread-conveyor-perl
libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0
libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic
python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson python-sqlparse
python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync samba
samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql freeradius-redis
freeradius-rest freeradius-utils libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non
mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires
seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
---------------------------
*De :*SALVIGNOL Gregory
*Envoyé :* mercredi 17 mai 2017 15:50
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Antoine,
No, in fact we just executed an “apt-get update”, followed by
an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more
accessible. From this point, we tried to restart PF services
with no success.
That’s why I’m going to try the update to PF v7 according to
the doc page you sent me. But I really have no clue if this
may work or not.
Regards
Greg
*Envoyé :* mercredi 17 mai 2017 15:35
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Greg,
You tried to upgrade to 7.0.0? correct?
Did you follow the instruction related to Debian in the UPGRADE guide?
There is a specific step for removing mysql-server-5.5 and
installing mariadb-10.1 since we had issues with a "normal"
update path.
Have a look here, that should resolve your issue.
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
Thanks
Hello,
I meet an issue with PacketFence on a Debian 8 after an
“apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the
apt-get upgrade command today.
# service packetfence start
# Job for packetfence.service failed. See 'systemctl
status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded
(/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16
16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service
pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service
pf start (code=killed, signal=TERM)
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669]
Failed to connect to config service for namespace
interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service
start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start
PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit
packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at
mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer
'ia_addr' insert (-1)
When I try to restart packetfence-config, I get this
service packetfence-config restart|
service packetfence-config status|
|● packetfence-config.service - PacketFence Config Service|
| Loaded: loaded
(/lib/systemd/system/packetfence-config.service; enabled)|
| Active: failed (Result: start-limit) since mer.
2017-05-17 10:54:14 CEST; 1min 58s ago|
| Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig
(code=exited, status=255)|
|Main PID: 10637 (code=exited, status=255)|
||
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
packetfence-config.service holdoff tim...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence
Config Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence
Config Service...|
packetfence-config.service start reque...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start
PacketFence Config Service.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
|Hint: Some lines were ellipsized, use -l to show in full.|
Also, I get now a weird message when i run an "apt-get upgrade"
apt-get upgrade|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Vous pouvez lancer « apt-get -f install » pour corriger
ces problÚmes.|
|Les paquets suivants contiennent des dépendances non
satisfaites :|
|E: Dépendances manquantes. Essayez d'utiliser l'option -f.|
Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package,
as well as mysql-server ones. What may be the consequences
if I apply a "Y" to the prompt? May I lose all my
databases, and PacketFence configurations? Thx for your
help :-)
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et
ne sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common
freeradius-config freeradius-ldap freeradius-mysql
freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common
keepalived libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl
libapache-logformat-compiler-perl libapache-session-perl
libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl
libasa-perl libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl
libc-ares2 libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl
libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl
libcatalystx-component-traits-perl libcgi-compile-perl
libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl
libclass-c3-componentised-perl libclass-container-perl|
| libclass-data-inheritable-perl
libclass-factory-util-perl libclass-gomor-perl
libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl
libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl
libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl libdatetime-locale-perl
libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl
libemail-mime-encodings-perl libemail-mime-perl
libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl
libesmtp6 libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl
libfile-remove-perl libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl
libfile-which-perl libfilesys-notify-simple-perl
libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl
libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal
libhiredis0.10 libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas
libjs-jquery libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl
libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl
liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl
liblinux-distribution-perl liblinux-fd-perl
liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl
libload-perl liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl
liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2
liblvm2cmd2.02 liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl
libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl
libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl
libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl
libnet-frame-layer-ipv6-perl libnet-frame-perl
libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl
libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8
libowcapi-2.9-8 libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl
libpath-isdev-perl libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1
libreadline5 libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl
librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl
libtest-warn-perl libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl libthread-conveyor-perl
libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1
libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic
python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson
python-sqlparse python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync
samba samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan
winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1
packetfence-doc packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial
subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2
non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque
supplémentaires seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
May you have any clues about this issue ? I tried several
actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg
Thanks a lot everyone.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
***@inverse.ca :: www.inverse.ca
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
SALVIGNOL Gregory
2017-05-18 15:13:45 UTC
Permalink
Ok, thank you, Antoine.

I followed your instructions, and all seems to run well (no more warnings on packages conflicts)
I just finished the “apt full-upgrade” and packetfence v7.0.0-1 package is installed.

I’ll proceed to the upgrade’s next steps tomorrow morning.

Thx again !
Greg

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 16:38
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


We use the --force on the dpkg -r. So if your --dry-run doesn't work it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a moment where 6.5 is still installed and we have to remove mysql to install mariadb and the package can not handle a state without either installed.

So that's why we manually "update" mysql to mariadb before upgrading the PacketFence package.

Thanks

On 05/18/2017 10:21 AM, SALVIGNOL Gregory wrote:
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg










Thanks a lot everyone.







------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
SALVIGNOL Gregory
2017-05-19 09:12:36 UTC
Permalink
Hello,

I proceeded to the PF v6.5.0 -> v7.0 update according to the doc: https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

So, when I now start PF service with a “systemctl start packetfence”, I get this message:


***@SRV-WIFI:/usr/local/pf# systemctl -l status packetfence
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=exited, status=255)

mai 19 11:51:14 SRV-WIFI packetfence[13819]: INFO pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
mai 19 11:51:22 SRV-WIFI packetfence[13819]: ERROR pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Can't get any result from DB while trying to check for database schema version (pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence database schema version '6.5.0' does not match the current installed version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.


So it seems, I have a problem with my database schema version still in v6.5.0
However, I made the database update, here is the log:


***@SRV-WIFI:/usr/local/pf# mysql -u root -p PacketFence -v < /usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
Enter password:
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
RENAME TABLE iplog TO ip4log
--------------

--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time (mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------

--------------
DROP TRIGGER IF EXISTS iplog_insert_in_iplog_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip4log_insert_in_ip4log_history_before_update_trigger BEFORE UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
RENAME TABLE iplog_history TO ip4log_history
--------------

--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX ip4log_history_mac_end_time (mac,end_time)
--------------

--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------

--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------

--------------
DROP TRIGGER IF EXISTS ip6log_insert_in_ip6log_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip6log_insert_in_ip6log_history_before_update_trigger BEFORE UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------

--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT "0000-00-00 00:00:00"
--------------

--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------

--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------

--------------
DROP PROCEDURE IF EXISTS acct_update
--------------

ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted
***@SRV-WIFI:/usr/local/pf# cd /usr/local/pf


On the last line we can see an error “ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?

Thx for your reply :-)
Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 16:38
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


We use the --force on the dpkg -r. So if your --dry-run doesn't work it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a moment where 6.5 is still installed and we have to remove mysql to install mariadb and the package can not handle a state without either installed.

So that's why we manually "update" mysql to mariadb before upgrading the PacketFence package.

Thanks

On 05/18/2017 10:21 AM, SALVIGNOL Gregory wrote:
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg










Thanks a lot everyone.







------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
SALVIGNOL Gregory
2017-05-22 08:42:38 UTC
Permalink
Hello everyone,

PF is now up-to-date in v7.0. Database update is OK, and was missing a “mysql_upgrade” command to finalize.

However, captive portal and admin interface are not accessible because I can not start 2 services anymore:

- httpd.portal

- httpd.webservices

Here are the logs for each service:


***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal restart
service|command
httpd.portal|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.portal|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal status
service|shouldBeStarted|pid
httpd.portal|1|0
***@SRV-WIFI:/home/admin_srvwifi#



***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices restart
service|command
httpd.webservices|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.webservices|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices status
service|shouldBeStarted|pid
httpd.webservices|1|0
***@SRV-WIFI:/home/admin_srvwifi#


I get a “WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf”.
Could this warning be the cause of the service failure?
Below is the corresponding parameter in my “/usr/local/pf/conf/pf.conf”

# general.hostname
#
# Hostname of PacketFence system. This is concatenated with the domain in Apache rewriting rules and therefore must be resolvable by clients.
hostname=wifi-umr5280

#
# general.dnsservers
#
# Comma-delimited list of DNS servers. Passthroughs are created to allow queries to these servers from even "trapped" nodes.
dnsservers=192.168.1.20,192.168.1.13

#
# general.timezone
#
# System's timezone in string format. Supported list:
# http://www.php.net/manual/en/timezones.php
timezone=Europe/Paris


Thank you for any clues about how to restart these 2 services :-)
Best regards.
Greg


De : SALVIGNOL Gregory
Envoyé : vendredi 19 mai 2017 11:13
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello,

I proceeded to the PF v6.5.0 -> v7.0 update according to the doc: https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

So, when I now start PF service with a “systemctl start packetfence”, I get this message:


***@SRV-WIFI:/usr/local/pf# systemctl -l status packetfence
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=exited, status=255)

mai 19 11:51:14 SRV-WIFI packetfence[13819]: INFO pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
mai 19 11:51:22 SRV-WIFI packetfence[13819]: ERROR pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Can't get any result from DB while trying to check for database schema version (pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence database schema version '6.5.0' does not match the current installed version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.


So it seems, I have a problem with my database schema version still in v6.5.0
However, I made the database update, here is the log:


***@SRV-WIFI:/usr/local/pf# mysql -u root -p PacketFence -v < /usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
Enter password:
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
RENAME TABLE iplog TO ip4log
--------------

--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time (mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------

--------------
DROP TRIGGER IF EXISTS iplog_insert_in_iplog_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip4log_insert_in_ip4log_history_before_update_trigger BEFORE UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
RENAME TABLE iplog_history TO ip4log_history
--------------

--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX ip4log_history_mac_end_time (mac,end_time)
--------------

--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------

--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------

--------------
DROP TRIGGER IF EXISTS ip6log_insert_in_ip6log_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip6log_insert_in_ip6log_history_before_update_trigger BEFORE UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------

--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT "0000-00-00 00:00:00"
--------------

--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------

--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------

--------------
DROP PROCEDURE IF EXISTS acct_update
--------------

ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted
***@SRV-WIFI:/usr/local/pf# cd /usr/local/pf


On the last line we can see an error “ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?

Thx for your reply :-)
Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 16:38
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


We use the --force on the dpkg -r. So if your --dry-run doesn't work it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a moment where 6.5 is still installed and we have to remove mysql to install mariadb and the package can not handle a state without either installed.

So that's why we manually "update" mysql to mariadb before upgrading the PacketFence package.

Thanks

On 05/18/2017 10:21 AM, SALVIGNOL Gregory wrote:
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg









Thanks a lot everyone.






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)



------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
Antoine Amacher
2017-05-23 13:22:48 UTC
Permalink
Hello Gregory,

This parameter have been removed in PF7 and I am pretty sure this should
have been removed if you applied the UPGRADE guide.

Executing this script:
/usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl should do the trick.

Please FULLY follow the UPGRADE guide.

Thanks
Post by SALVIGNOL Gregory
Hello everyone,
PF is now up-to-date in v7.0. Database update is OK, and was missing a
“mysql_upgrade” command to finalize.
However, captive portal and admin interface are not accessible because
-httpd.portal
-httpd.webservices
service|command
httpd.portal|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you
added the parameter yourself make sure it is present in
conf/documentation.conf
httpd.portal|start
service|shouldBeStarted|pid
httpd.portal|1|0
httpd.webservices restart
service|command
httpd.webservices|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you
added the parameter yourself make sure it is present in
conf/documentation.conf
httpd.webservices|start
service|shouldBeStarted|pid
httpd.webservices|1|0
I get a “WARNING - unknown configuration parameter general.dnsservers
if you added the parameter yourself make sure it is present in
conf/documentation.conf”.
Could this warning be the cause of the service failure?
Below is the corresponding parameter in my “/usr/local/pf/conf/pf.conf”
# general.hostname
#
# Hostname of PacketFence system. This is concatenated with the domain
in Apache rewriting rules and therefore must be resolvable by clients.
hostname=wifi-umr5280
#
# general.dnsservers
#
# Comma-delimited list of DNS servers. Passthroughs are created to
allow queries to these servers from even "trapped" nodes.
dnsservers=192.168.1.20,192.168.1.13
#
# general.timezone
#
# http://www.php.net/manual/en/timezones.php
timezone=Europe/Paris
Thank you for any clues about how to restart these 2 services :-)
Best regards.
Greg
*De :*SALVIGNOL Gregory
*Envoyé :* vendredi 19 mai 2017 11:13
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello,
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
So, when I now start PF service with a “systemctl start packetfence”,
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=exited, status=255)
<http://pfcmd.pl%2813819%29/>Instantiate profile default
(pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
<http://pfcmd.pl%2813819%29/>Can't get any result from DB while trying
to check for database schema version (pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown configuration
parameter general.dnsservers if you added the parameter yourself make
sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence
database schema version '6.5.0' does not match the current installed
version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE
guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control
process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
So it seems, I have a problem with my database schema version still in v6.5.0
/usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL PRIMARY
KEY AUTO_INCREMENT FIRST
--------------
--------------
RENAME TABLE iplog TO ip4log
--------------
--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time
(mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------
--------------
DROP TRIGGER IF EXISTS iplog_insert_in_iplog_history_before_update_trigger
--------------
--------------
CREATE TRIGGER ip4log_insert_in_ip4log_history_before_update_trigger
BEFORE UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip <http://old.ip/>, mac =
OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------
--------------
RENAME TABLE iplog_history TO ip4log_history
--------------
--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX
ip4log_history_mac_end_time (mac,end_time)
--------------
--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------
--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------
--------------
DROP TRIGGER IF EXISTS
ip6log_insert_in_ip6log_history_before_update_trigger
--------------
--------------
CREATE TRIGGER ip6log_insert_in_ip6log_history_before_update_trigger
BEFORE UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip <http://old.ip/>, mac =
OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------
--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------
--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------
--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------
--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT "0000-00-00 00:00:00"
--------------
--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------
--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------
--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------
--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------
--------------
DROP PROCEDURE IF EXISTS acct_update
--------------
ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table
is probably corrupted
Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?
Thx for your reply :-)
Best regards
Greg
*Envoyé :* jeudi 18 mai 2017 16:38
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
We use the --force on the dpkg -r. So if your --dry-run doesn't work
it's fine. Just copy the command as is.
The core issue is that when updating 6.5 to 7.0 on debian, there is a
moment where 6.5 is still installed and we have to remove mysql to
install mariadb and the package can not handle a state without either
installed.
So that's why we manually "update" mysql to mariadb before upgrading
the PacketFence package.
Thanks
Thank you for your reply, Antoine.
I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5
mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
libmysqlclient18
---------------------------------------
mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires
déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
mariadb-common dépend de mysql-common.
problÚme de dépendance - suppression ignorée
packetfence dépend de mysql-server | mariadb-server |
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de
mysql-server dépend de mysql-server-5.5.
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
problÚme de dépendance - suppression ignorée
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------
*Envoyé :* jeudi 18 mai 2017 15:46
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hi Gregory,
All you have to do is the following, this example has been done
while upgrading 6.5.1 to 7.0.0
Debian upgrade
The requirement for MariaDB 10.1 means that a simple "apt upgrade"
will not be enough. You will need to help apt through the upgrade
by manually removing some packages and installing some others. The
need to ensure you have backups cannot be overstated.
Make sure the apt database is up to date
apt update
Remove the MySQL 5.5 packages (do not purge them, as that would
delete the database)
dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
Install the newer Mariadb-10.1 packages
apt install libmariadbclient18 libmysqlclient18 mariadb-common
mariadb-server-10.1 galera-3 gawk mariadb-client-10.1
mariadb-server-core-10.1 rsync socat libmpfr4
mariadb-client-core-10.1 mysql-common
Finally, upgrade the rest of the packages
apt full-upgrade
Note that "full-upgrade" may also affect other packages you might
have installed on the system if you had other software than
PacketFence on it.
After you have done this you can follow the rest of the UPGRADE
guide I sent earlier
Thanks
Hi Fabrice,
No, I didn’t.
The files needed for the manual upgrade are not present, PF is
still in v6.5 and I didn’t find files related to v7.0 (like
files for DB update, etc.)
So it seems that our “apt-get upgrade” didn’t update
packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg
*isa*
**
*Grégory SALVIGNOL*
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
*Institut des Sciences Analytiques – **UMR 5280*
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr <http://www.isa-lyon.fr/>
*Envoyé :* jeudi 18 mai 2017 14:09
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Gregory,
did you try what Antoine told you ?
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade
Regards
Fabrice
Hi everyone,
When I send a " apt-get -f install" in order to try to fix
PF service start failures, I get this (see below).
It seems that the command will remove packetfence package,
as well as mysql-server ones.
What may be the consequences if I apply "Y" to the prompt?
May I lose all my databases, and PacketFence configurations?
Do you know what I have to backup before this operation in
order to not lose everything?
Thx for your help :-)
Greg
------------------------------------------
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement et
ne sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common
freeradius-config freeradius-ldap freeradius-mysql
freeradius-redis|
| freeradius-rest freeradius-utils galera-3 golang-1.7-go
golang-1.7-src graphite-carbon graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common
keepalived libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl
libapache-logformat-compiler-perl libapache-session-perl
libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl
libasa-perl libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl
libc-ares2 libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl
libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
| libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl libcatalyst-view-email-perl
libcatalyst-view-json-perl libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl
libcatalystx-component-traits-perl libcgi-compile-perl
libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl libcgi-session-driver-chi-perl
libcgi-session-perl|
| libcgi-session-serialize-yaml-perl libcgi-simple-perl
libcgi-struct-xs-perl libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl
libclass-c3-componentised-perl libclass-container-perl|
| libclass-data-inheritable-perl
libclass-factory-util-perl libclass-gomor-perl
libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl
libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl libclone-pp-perl
libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl
libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl libdate-calc-perl
libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl libdatetime-locale-perl
libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl
libemail-mime-encodings-perl libemail-mime-perl
libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl liberror-perl
libesmtp6 libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl
libfile-remove-perl libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl libfile-slurp-perl
libfile-slurp-tiny-perl libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl
libfile-which-perl libfilesys-notify-simple-perl
libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl
libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal
libhiredis0.10 libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl libindirect-perl
libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl libipset3
libiptables-chainmgr-perl libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas
libjs-jquery libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl
libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl
liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl
liblinux-distribution-perl liblinux-fd-perl
liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl
libload-perl liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl liblog-any-adapter-perl
liblog-any-perl liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl
liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2
liblvm2cmd2.02 liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl
libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl
libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl
libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl
libnet-frame-layer-ipv6-perl libnet-frame-perl
libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl
libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl libnet-route-perl
libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8
libowcapi-2.9-8 libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl
libpath-isdev-perl libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl libpod-coverage-perl
libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1
libreadline5 libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl
librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4 librrds-perl
libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl libsub-identify-perl
libsub-uplevel-perl libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl
libtest-warn-perl libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl libthread-conveyor-perl
libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3 libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1
libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy python-characteristic
python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson
python-sqlparse python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool rsync
samba samba-dsdb-modules samba-vfs-modules snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan
winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl
libfreeradius3 liblua5.3-0 libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1
packetfence-doc packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git mercurial
subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et 2
non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque
supplémentaires seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
---------------------------
*De :*SALVIGNOL Gregory
*Envoyé :* mercredi 17 mai 2017 15:50
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Antoine,
No, in fact we just executed an “apt-get update”, followed
by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no
more accessible. From this point, we tried to restart PF
services with no success.
That’s why I’m going to try the update to PF v7 according
to the doc page you sent me. But I really have no clue if
this may work or not.
Regards
Greg
*Envoyé :* mercredi 17 mai 2017 15:35
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Greg,
You tried to upgrade to 7.0.0? correct?
Did you follow the instruction related to Debian in the
UPGRADE guide?
There is a specific step for removing mysql-server-5.5 and
installing mariadb-10.1 since we had issues with a
"normal" update path.
Have a look here, that should resolve your issue.
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
Thanks
Hello,
I meet an issue with PacketFence on a Debian 8 after
an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the
apt-get upgrade command today.
# service packetfence start
# Job for packetfence.service failed. See 'systemctl
status packetfence.service' and 'journalctl -xn' for
details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded
(/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar.
2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd
service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd
service pf start (code=killed, signal=TERM)
[1494945083.34304] Failed to connect to config service
for namespace interfaces::management_network, retrying
[1494945083.4436] Failed to connect to config service
for namespace interfaces::management_network, retrying
[1494945083.54417] Failed to connect to config service
for namespace interfaces::management_network, retrying
[1494945083.64486] Failed to connect to config service
for namespace interfaces::management_network, retrying
[1494945083.74557] Failed to connect to config service
for namespace interfaces::management_network, retrying
[1494945083.84617] Failed to connect to config service
for namespace interfaces::management_network, retrying
[1494945083.94669] Failed to connect to config service
for namespace interfaces::management_network, retrying
packetfence.service start operation timed out.
Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start
PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit
packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at
mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
When I try to restart packetfence-config, I get this
service packetfence-config restart|
service packetfence-config status|
|● packetfence-config.service - PacketFence Config Service|
| Loaded: loaded
(/lib/systemd/system/packetfence-config.service; enabled)|
| Active: failed (Result: start-limit) since mer.
2017-05-17 10:54:14 CEST; 1min 58s ago|
| Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig
(code=exited, status=255)|
|Main PID: 10637 (code=exited, status=255)|
||
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
packetfence-config.service holdoff tim...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping
PacketFence Config Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Starting
PacketFence Config Service...|
packetfence-config.service start reque...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start
PacketFence Config Service.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
|Hint: Some lines were ellipsized, use -l to show in full.|
Also, I get now a weird message when i run an "apt-get
upgrade"
apt-get upgrade|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Vous pouvez lancer « apt-get -f install » pour
corriger ces problÚmes.|
|Les paquets suivants contiennent des dépendances non
satisfaites :|
|E: Dépendances manquantes. Essayez d'utiliser l'option
-f.|
Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence
package, as well as mysql-server ones. What may be the
consequences if I apply a "Y" to the prompt? May I
lose all my databases, and PacketFence configurations?
Thx for your help :-)
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement
et ne sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common
freeradius-config freeradius-ldap freeradius-mysql
freeradius-redis|
| freeradius-rest freeradius-utils galera-3
golang-1.7-go golang-1.7-src graphite-carbon
graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common
keepalived libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl
libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl
libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl
libasa-perl libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl
libc-ares2 libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl
libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
|
libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl
libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl
libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl
libcatalyst-view-email-perl libcatalyst-view-json-perl
libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl
libcatalystx-component-traits-perl libcgi-compile-perl
libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl
libcgi-session-driver-chi-perl libcgi-session-perl|
| libcgi-session-serialize-yaml-perl
libcgi-simple-perl libcgi-struct-xs-perl
libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl
libclass-c3-componentised-perl libclass-container-perl|
| libclass-data-inheritable-perl
libclass-factory-util-perl libclass-gomor-perl
libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl
libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl
libclone-pp-perl libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl
libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl
libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl
libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl
libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl
libemail-mime-encodings-perl libemail-mime-perl
libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl
liberror-perl libesmtp6 libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl
libfile-remove-perl libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl
libfile-slurp-perl libfile-slurp-tiny-perl
libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl
libfile-which-perl libfilesys-notify-simple-perl
libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl
libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal
libhiredis0.10 libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl
libindirect-perl libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl
libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl
libipset3 libiptables-chainmgr-perl
libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas
libjs-jquery libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl
libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl
liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl
liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl
liblinux-distribution-perl liblinux-fd-perl
liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl
libload-perl liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl
liblog-any-adapter-perl liblog-any-perl
liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl
liblog-dispatch-perl liblog-fast-perl
liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2
liblvm2cmd2.02 liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl
libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl
libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl
libmoosex-nonmoose-perl libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl
libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl
libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl
libnet-frame-layer-ipv6-perl libnet-frame-perl
libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl
libnet-ipv6addr-perl libnet-libdnet-perl
libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl
libnet-route-perl libnet-snmp-perl libnet-ssh2-perl
libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8
libowcapi-2.9-8 libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl
libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl
libpath-isdev-perl libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl
libpod-coverage-perl libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1
libreadline5 libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl
libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl
librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4
librrds-perl libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl
libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl
libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl
libsub-identify-perl libsub-uplevel-perl
libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl
libtest-warn-perl libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3
libtree-simple-perl libtree-simple-visitorfactory-perl
libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1
libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f
packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy
python-characteristic python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson
python-sqlparse python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool
rsync samba samba-dsdb-modules samba-vfs-modules snmp
snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan
winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les
supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl libfreeradius3 liblua5.3-0
libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1
packetfence-doc packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git
mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et
2 non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque
supplémentaires seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
May you have any clues about this issue ? I tried
several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg
Thanks a lot everyone.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
***@inverse.ca :: www.inverse.ca
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
SALVIGNOL Gregory
2017-05-24 10:41:35 UTC
Permalink
Hello,

Update, I found these lines in “/usr/local/pf/logs/httpd.webservices.error”:

May 24 13:06:27 SRV-WIFI httpd_webservices_err: [Wed May 24 13:06:27.889308 2017] [mpm_prefork:notice] [pid 3152] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.2k mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
May 24 13:06:27 SRV-WIFI httpd_webservices_err: [Wed May 24 13:06:27.898469 2017] [core:notice] [pid 3152] AH00094: Command line: '/usr/sbin/apache2 -f /usr/local/pf/var/conf/httpd.conf.d/httpd.webservices -D FOREGROUND -D debian'
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:28.998752 2017] [mpm_prefork:notice] [pid 3017] AH00170: caught SIGWINCH, shutting down gracefully
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:28.998617 2017] [mpm_prefork:emerg] [pid 3093] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:29.002897 2017] [mpm_prefork:emerg] [pid 3095] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:29.998988 2017] [core:alert] [pid 3017] AH00050: Child 3093 returned a Fatal error... Apache is exiting!
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.063939 2017] [mpm_prefork:notice] [pid 3152] AH00170: caught SIGWINCH, shutting down gracefully
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.063806 2017] [mpm_prefork:emerg] [pid 3200] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.064147 2017] [mpm_prefork:emerg] [pid 3198] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.066964 2017] [mpm_prefork:emerg] [pid 3201] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:36.064142 2017] [core:alert] [pid 3152] AH00050: Child 3198 returned a Fatal error... Apache is exiting!
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:36.064231 2017] [core:alert] [pid 3152] AH00050: Child 3200 returned a Fatal error... Apache is exiting!
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:36.064252 2017] [core:alert] [pid 3152] AH00050: Child 3201 returned a Fatal error... Apache is exiting!
May 24 13:09:42 SRV-WIFI httpd_webservices_err: [Wed May 24 13:09:42.077155 2017] [ssl:warn] [pid 4139] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

It seems Apache is exiting for some reasons.
Thx again
Greg




De : SALVIGNOL Gregory
Envoyé : mercredi 24 mai 2017 12:01
À : 'packetfence-***@lists.sourceforge.net'
Objet : RE: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

Sorry, I thought that the “/usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl script” was removing automatically the obsolete parameters. But in fact I had to edit manually the pf.conf file to remove the “general.dnsservers” parameter, the script only gives the information about what to edit/remove.
Otherwise, I followed all the other steps of the UPGRADE guide.

So, the warning related to the “Checking configuration sanity
” is now gone, but still “httpd.aaa”, “httpd.portal” and “httpd.webservices” services are down.
When we throw the commands below, all services start and get a PID, but after few seconds “httpd.aaa” “httpd.portal” and “httpd.webservices” always stop:

/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
service packetfence-config restart
/usr/local/pf/bin/pfcmd service pf restart

Also we get a “503 Service Unaivalable”error when connecting to the captive portal URL (https://wifi-umr5280.sca.cnrs.fr/captive-portal?destination_url=https://192.168.15.30/).
connecting to the admin portal URL (https://192.168.15.30:1443/admin) gives a “ERR_CONNECTION_REFUSED” (Chrome)

When I check both “/usr/local/pf/logs/httpd.portal.error” or “/usr/local/pf/logs/httpd.webservices.error”, All I get is:

May 24 10:50:31 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:31.659455 2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:31 SRV-WIFI httpd_portal_err-plocal5.err: [Wed May 24 10:50:31.660072 2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:53 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:53.634321 2017] [ssl:warn] [pid 25122] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

And:

May 24 10:50:14 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:14.469587 2017] [ssl:warn] [pid 24882] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:25 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:25.211973 2017] [ssl:warn] [pid 25001] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:34 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:34.344057 2017] [ssl:warn] [pid 25041] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

Apart of this SSL warn, I really don’t see why these services stop systematically when we try to start them :-/

Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mardi 23 mai 2017 15:23
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

This parameter have been removed in PF7 and I am pretty sure this should have been removed if you applied the UPGRADE guide.

Executing this script: /usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl should do the trick.

Please FULLY follow the UPGRADE guide.

Thanks

On 05/22/2017 04:42 AM, SALVIGNOL Gregory wrote:
Hello everyone,

PF is now up-to-date in v7.0. Database update is OK, and was missing a “mysql_upgrade” command to finalize.

However, captive portal and admin interface are not accessible because I can not start 2 services anymore:

- httpd.portal

- httpd.webservices

Here are the logs for each service:


***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal restart
service|command
httpd.portal|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.portal|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal status
service|shouldBeStarted|pid
httpd.portal|1|0
***@SRV-WIFI:/home/admin_srvwifi#



***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices restart
service|command
httpd.webservices|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.webservices|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices status
service|shouldBeStarted|pid
httpd.webservices|1|0
***@SRV-WIFI:/home/admin_srvwifi#


I get a “WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf”.
Could this warning be the cause of the service failure?
Below is the corresponding parameter in my “/usr/local/pf/conf/pf.conf”

# general.hostname
#
# Hostname of PacketFence system. This is concatenated with the domain in Apache rewriting rules and therefore must be resolvable by clients.
hostname=wifi-umr5280

#
# general.dnsservers
#
# Comma-delimited list of DNS servers. Passthroughs are created to allow queries to these servers from even "trapped" nodes.
dnsservers=192.168.1.20,192.168.1.13

#
# general.timezone
#
# System's timezone in string format. Supported list:
# http://www.php.net/manual/en/timezones.php
timezone=Europe/Paris


Thank you for any clues about how to restart these 2 services :-)
Best regards.
Greg


De : SALVIGNOL Gregory
Envoyé : vendredi 19 mai 2017 11:13
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello,

I proceeded to the PF v6.5.0 -> v7.0 update according to the doc: https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

So, when I now start PF service with a “systemctl start packetfence”, I get this message:


***@SRV-WIFI:/usr/local/pf# systemctl -l status packetfence
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=exited, status=255)

mai 19 11:51:14 SRV-WIFI packetfence[13819]: INFO pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
mai 19 11:51:22 SRV-WIFI packetfence[13819]: ERROR pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Can't get any result from DB while trying to check for database schema version (pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence database schema version '6.5.0' does not match the current installed version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.


So it seems, I have a problem with my database schema version still in v6.5.0
However, I made the database update, here is the log:


***@SRV-WIFI:/usr/local/pf# mysql -u root -p PacketFence -v < /usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
Enter password:
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
RENAME TABLE iplog TO ip4log
--------------

--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time (mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------

--------------
DROP TRIGGER IF EXISTS iplog_insert_in_iplog_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip4log_insert_in_ip4log_history_before_update_trigger BEFORE UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
RENAME TABLE iplog_history TO ip4log_history
--------------

--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX ip4log_history_mac_end_time (mac,end_time)
--------------

--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------

--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------

--------------
DROP TRIGGER IF EXISTS ip6log_insert_in_ip6log_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip6log_insert_in_ip6log_history_before_update_trigger BEFORE UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------

--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT "0000-00-00 00:00:00"
--------------

--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------

--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------

--------------
DROP PROCEDURE IF EXISTS acct_update
--------------

ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted
***@SRV-WIFI:/usr/local/pf# cd /usr/local/pf


On the last line we can see an error “ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?

Thx for your reply :-)
Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 16:38
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


We use the --force on the dpkg -r. So if your --dry-run doesn't work it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a moment where 6.5 is still installed and we have to remove mysql to install mariadb and the package can not handle a state without either installed.

So that's why we manually "update" mysql to mariadb before upgrading the PacketFence package.

Thanks

On 05/18/2017 10:21 AM, SALVIGNOL Gregory wrote:
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg









Thanks a lot everyone.






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)



------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)



------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
Antoine Amacher
2017-05-29 16:02:45 UTC
Permalink
Hello Gregory,

Could you send the /usr/local/pf/var/conf/httpd.conf.d/httpd.webservices
file?

Also make sure the /usr/local/pf/conf/httpd.conf.d/httpd.webservices.tt
and /usr/local/pf/conf/httpd.conf.d/httpd.webservices.tt.example are the
same.

Verify the files are similar also for httpd.portal and httpd.aaa, if
there is a difference try to copy the .tt.example as .tt.

Thanks
Post by SALVIGNOL Gregory
Hello,
Update, I found these lines in
May 24 13:06:27 SRV-WIFI httpd_webservices_err: [Wed May 24
Apache/2.4.10 (Debian) OpenSSL/1.0.2k mod_perl/2.0.9dev Perl/v5.20.2
configured -- resuming normal operations
May 24 13:06:27 SRV-WIFI httpd_webservices_err: [Wed May 24
'/usr/sbin/apache2 -f
/usr/local/pf/var/conf/httpd.conf.d/httpd.webservices -D FOREGROUND -D
debian'
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:28.998752 2017] [mpm_prefork:notice] [pid 3017] AH00170: caught
SIGWINCH, shutting down gracefully
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:28.998617 2017] [mpm_prefork:emerg] [pid 3093] (4)Appel systÚme
interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:29.002897 2017] [mpm_prefork:emerg] [pid 3095] (4)Appel systÚme
interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:29.998988 2017] [core:alert] [pid 3017] AH00050: Child 3093
returned a Fatal error... Apache is exiting!
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:35.063939 2017] [mpm_prefork:notice] [pid 3152] AH00170: caught
SIGWINCH, shutting down gracefully
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:35.063806 2017] [mpm_prefork:emerg] [pid 3200] (4)Appel systÚme
interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:35.064147 2017] [mpm_prefork:emerg] [pid 3198] (4)Appel systÚme
interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:35.066964 2017] [mpm_prefork:emerg] [pid 3201] (4)Appel systÚme
interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:36.064142 2017] [core:alert] [pid 3152] AH00050: Child 3198
returned a Fatal error... Apache is exiting!
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:36.064231 2017] [core:alert] [pid 3152] AH00050: Child 3200
returned a Fatal error... Apache is exiting!
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24
13:08:36.064252 2017] [core:alert] [pid 3152] AH00050: Child 3201
returned a Fatal error... Apache is exiting!
May 24 13:09:42 SRV-WIFI httpd_webservices_err: [Wed May 24
wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
It seems Apache is exiting for some reasons.
Thx again
Greg
*De :*SALVIGNOL Gregory
*Envoyé :* mercredi 24 mai 2017 12:01
*Objet :* RE: [PacketFence-users] PF do not start after upgrade
Hello Antoine,
Sorry, I thought that the
“/usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl script” was
removing automatically the obsolete parameters. But in fact I had to
edit manually the pf.conf file to remove the “general.dnsservers”
parameter, the script only gives the information about what to
edit/remove.
Otherwise, I followed all the other steps of the UPGRADE guide.
So, the warning related to the “Checking configuration sanity
” is now
gone, but still “httpd.aaa”, “httpd.portal” and “httpd.webservices”
services are down.
When we throw the commands below, all services start and get a PID,
but after few seconds “httpd.aaa” “httpd.portal” and
/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
service packetfence-config restart
/usr/local/pf/bin/pfcmd service pf restart
Also we get a “503 Service Unaivalable”error when connecting to the
captive portal URL
(https://wifi-umr5280.sca.cnrs.fr/captive-portal?destination_url=https://192.168.15.30/).
connecting to the admin portal URL (https://192.168.15.30:1443/admin)
gives a “ERR_CONNECTION_REFUSED” (Chrome)
When I check both “/usr/local/pf/logs/httpd.portal.error” or
May 24 10:50:31 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:31.659455
2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
May 24 10:50:31 SRV-WIFI httpd_portal_err-plocal5.err: [Wed May 24
wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
May 24 10:50:53 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:53.634321
2017] [ssl:warn] [pid 25122] AH01909: wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
May 24 10:50:14 SRV-WIFI httpd_webservices_err: [Wed May 24
wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
May 24 10:50:25 SRV-WIFI httpd_webservices_err: [Wed May 24
wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
May 24 10:50:34 SRV-WIFI httpd_webservices_err: [Wed May 24
wifi-umr5280.sca.cnrs.fr:443:0
<http://wifi-umr5280.sca.cnrs.fr:443:0/>server certificate does NOT
include an ID which matches the server name
Apart of this SSL warn, I really don’t see why these services stop
systematically when we try to start them :-/
Best regards
Greg
*Envoyé :* mardi 23 mai 2017 15:23
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Gregory,
This parameter have been removed in PF7 and I am pretty sure this
should have been removed if you applied the UPGRADE guide.
/usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl should do the trick.
Please FULLY follow the UPGRADE guide.
Thanks
Hello everyone,
PF is now up-to-date in v7.0. Database update is OK, and was
missing a “mysql_upgrade” command to finalize.
However, captive portal and admin interface are not accessible
-httpd.portal
-httpd.webservices
httpd.portal restart
service|command
httpd.portal|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if
you added the parameter yourself make sure it is present in
conf/documentation.conf
httpd.portal|start
httpd.portal status
service|shouldBeStarted|pid
httpd.portal|1|0
httpd.webservices restart
service|command
httpd.webservices|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if
you added the parameter yourself make sure it is present in
conf/documentation.conf
httpd.webservices|start
httpd.webservices status
service|shouldBeStarted|pid
httpd.webservices|1|0
I get a “WARNING - unknown configuration parameter
general.dnsservers if you added the parameter yourself make sure
it is present in conf/documentation.conf”.
Could this warning be the cause of the service failure?
Below is the corresponding parameter in my
“/usr/local/pf/conf/pf.conf”
# general.hostname
#
# Hostname of PacketFence system. This is concatenated with the
domain in Apache rewriting rules and therefore must be resolvable
by clients.
hostname=wifi-umr5280
#
# general.dnsservers
#
# Comma-delimited list of DNS servers. Passthroughs are created to
allow queries to these servers from even "trapped" nodes.
dnsservers=192.168.1.20,192.168.1.13
#
# general.timezone
#
# http://www.php.net/manual/en/timezones.php
timezone=Europe/Paris
Thank you for any clues about how to restart these 2 services :-)
Best regards.
Greg
*De :*SALVIGNOL Gregory
*Envoyé :* vendredi 19 mai 2017 11:13
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello,
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
So, when I now start PF service with a “systemctl start
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start
(code=exited, status=255)
<http://pfcmd.pl%2813819%29/>Instantiate profile default
(pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
mai 19 11:51:22 SRV-WIFI packetfence[13819]: ERROR
pfcmd.pl(13819): <http://pfcmd.pl%2813819%29/>Can't get any result
from DB while trying to check for database schema version
(pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown
configuration parameter general.dnsservers if you added the
parameter yourself make sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence
database schema version '6.5.0' does not match the current
installed version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE
guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control
process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
So it seems, I have a problem with my database schema version still in v6.5.0
/usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY
AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY
KEY AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY
KEY AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY
AUTO_INCREMENT FIRST
--------------
--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL
PRIMARY KEY AUTO_INCREMENT FIRST
--------------
--------------
RENAME TABLE iplog TO ip4log
--------------
--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time (mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------
--------------
DROP TRIGGER IF EXISTS
iplog_insert_in_iplog_history_before_update_trigger
--------------
--------------
CREATE TRIGGER
ip4log_insert_in_ip4log_history_before_update_trigger BEFORE
UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip <http://old.ip/>, mac =
OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------
--------------
RENAME TABLE iplog_history TO ip4log_history
--------------
--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX
ip4log_history_mac_end_time (mac,end_time)
--------------
--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------
--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------
--------------
DROP TRIGGER IF EXISTS
ip6log_insert_in_ip6log_history_before_update_trigger
--------------
--------------
CREATE TRIGGER
ip6log_insert_in_ip6log_history_before_update_trigger BEFORE
UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip <http://old.ip/>, mac =
OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------
--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------
--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------
--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------
--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT
"0000-00-00 00:00:00"
--------------
--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------
--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------
--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------
--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------
--------------
DROP PROCEDURE IF EXISTS acct_update
--------------
ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The
table is probably corrupted
On the last line we can see an error “ERROR 1728 (HY000) at line
177: Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?
Thx for your reply :-)
Best regards
Greg
*Envoyé :* jeudi 18 mai 2017 16:38
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
We use the --force on the dpkg -r. So if your --dry-run doesn't
work it's fine. Just copy the command as is.
The core issue is that when updating 6.5 to 7.0 on debian, there
is a moment where 6.5 is still installed and we have to remove
mysql to install mariadb and the package can not handle a state
without either installed.
So that's why we manually "update" mysql to mariadb before
upgrading the PacketFence package.
Thanks
Thank you for your reply, Antoine.
I just tried a dry run for the dpkg --dry-run -r
mysql-client-5.5 mysql-common mysql-server mysql-server-5.5
mysql-server-core-5.5 libmysqlclient18
---------------------------------------
mysql-client-5.5 mysql-common mysql-server mysql-server-5.5
mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et
répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de
mariadb-common dépend de mysql-common.
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de
packetfence dépend de mysql-server | mariadb-server |
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de
mysql-server dépend de mysql-server-5.5.
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5
(5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de
libdbd-mysql-perl dépend de libmysqlclient18 (>=
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
problÚme de dépendance - suppression ignorée
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------
*Envoyé :* jeudi 18 mai 2017 15:46
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hi Gregory,
All you have to do is the following, this example has been
done while upgrading 6.5.1 to 7.0.0
Debian upgrade
The requirement for MariaDB 10.1 means that a simple "apt
upgrade" will not be enough. You will need to help apt through
the upgrade by manually removing some packages and installing
some others. The need to ensure you have backups cannot be
overstated.
Make sure the apt database is up to date
apt update
Remove the MySQL 5.5 packages (do not purge them, as that
would delete the database)
dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
Install the newer Mariadb-10.1 packages
apt install libmariadbclient18 libmysqlclient18 mariadb-common
mariadb-server-10.1 galera-3 gawk mariadb-client-10.1
mariadb-server-core-10.1 rsync socat libmpfr4
mariadb-client-core-10.1 mysql-common
Finally, upgrade the rest of the packages
apt full-upgrade
Note that "full-upgrade" may also affect other packages you
might have installed on the system if you had other software
than PacketFence on it.
After you have done this you can follow the rest of the
UPGRADE guide I sent earlier
Thanks
Hi Fabrice,
No, I didn’t.
The files needed for the manual upgrade are not present,
PF is still in v6.5 and I didn’t find files related to
v7.0 (like files for DB update, etc.)
So it seems that our “apt-get upgrade” didn’t update
packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg
*isa*
**
*Grégory SALVIGNOL*
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
*Institut des Sciences Analytiques – **UMR 5280*
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr <http://www.isa-lyon.fr/>
*Envoyé :* jeudi 18 mai 2017 14:09
*Objet :* Re: [PacketFence-users] PF do not start after upgrade
Hello Gregory,
did you try what Antoine told you ?
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade
Regards
Fabrice
Hi everyone,
When I send a " apt-get -f install" in order to try to
fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence
package, as well as mysql-server ones.
What may be the consequences if I apply "Y" to the prompt?
May I lose all my databases, and PacketFence
configurations?
Do you know what I have to backup before this
operation in order to not lose everything?
Thx for your help :-)
Greg
------------------------------------------
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés automatiquement
et ne sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd collectd-core
collectd-utils conntrack dmeventd dpkg-distribution|
| fingerbank freeradius freeradius-common
freeradius-config freeradius-ldap freeradius-mysql
freeradius-redis|
| freeradius-rest freeradius-utils galera-3
golang-1.7-go golang-1.7-src graphite-carbon
graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common
keepalived libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl
libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl
libapparmor1|
| libappconfig-perl libapreq2-3 libarchive-zip-perl
libasa-perl libasn1-8-heimdal libasync-interrupt-perl|
| libauthen-htpasswd-perl libauthen-krb5-simple-perl
libauthen-pam-perl libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl
libc-ares2 libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl
libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
|
libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl
libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl
libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl
libcatalyst-view-email-perl libcatalyst-view-json-perl
libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl
libcatalystx-component-traits-perl libcgi-compile-perl
libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl
libcgi-session-driver-chi-perl libcgi-session-perl|
| libcgi-session-serialize-yaml-perl
libcgi-simple-perl libcgi-struct-xs-perl
libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl
libclass-c3-componentised-perl libclass-container-perl|
| libclass-data-inheritable-perl
libclass-factory-util-perl libclass-gomor-perl
libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl
libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl
libclone-pp-perl libcollectdclient1 libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl
libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl
libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl
libcrypt-random-seed-perl libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl
libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl
libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl libdbix-class-perl
libdbix-class-schema-loader-perl libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl
libemail-mime-encodings-perl libemail-mime-perl
libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl
liberror-perl libesmtp6 libev-perl libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl
libfile-remove-perl libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl
libfile-slurp-perl libfile-slurp-tiny-perl
libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl
libfile-which-perl libfilesys-notify-simple-perl
libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl
libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl libheimbase1-heimdal
libhiredis0.10 libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl
libindirect-perl libio-event-perl libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl
libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl
libipset3 libiptables-chainmgr-perl
libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas
libjs-jquery libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl
libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl
liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl
liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl
liblinux-distribution-perl liblinux-fd-perl
liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl
libload-perl liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl
liblog-any-adapter-perl liblog-any-perl
liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl
liblog-dispatch-perl liblog-fast-perl
liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2
liblvm2cmd2.02 liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl
libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl|
| libmime-types-perl libmodbus5 libmodule-find-perl
libmodule-implementation-perl libmodule-install-perl|
| libmodule-refresh-perl
libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl
libmoosex-nonmoose-perl libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl
libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl
libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl
libnet-frame-layer-ipv6-perl libnet-frame-perl
libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl
libnet-ipv6addr-perl libnet-libdnet-perl
libnet-libdnet6-perl|
| libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl
libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl
libnet-route-perl libnet-snmp-perl libnet-ssh2-perl
libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8
libowcapi-2.9-8 libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl
libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl
libpath-isdev-perl libpath-tiny-perl libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
| libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl
libpod-coverage-perl libpod-spell-perl libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1 librdkafka1
libreadline5 libreadonly-perl libreadonly-xs-perl|
| libredis-fast-perl libredis-perl
libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl
librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4
librrds-perl libsafe-isa-perl libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl
libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl
libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl
libsub-identify-perl libsub-uplevel-perl
libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl
libtest-warn-perl libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl libtext-autoformat-perl
libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl libthread-serialize-perl
libthread-tie-perl libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3
libtree-simple-perl libtree-simple-visitorfactory-perl
libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl libvarnishapi1
libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl libyaml-syck-perl
libyaml-tiny-perl libzip2 lvm2 mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f
packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy
python-characteristic python-django python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson
python-sqlparse python-twisted-bin python-twisted-core|
| python-whisper redis-server redis-tools rrdtool
rsync samba samba-dsdb-modules samba-vfs-modules snmp
snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan
winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les
supprimer.|
|Les paquets supplémentaires suivants seront installés : |
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl libfreeradius3 liblua5.3-0
libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1
packetfence-doc packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git
mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à enlever et
2 non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque
supplémentaires seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
---------------------------
*De :*SALVIGNOL Gregory
*Envoyé :* mercredi 17 mai 2017 15:50
*Objet :* Re: [PacketFence-users] PF do not start
after upgrade
Hello Antoine,
No, in fact we just executed an “apt-get update”,
followed by an “apt-get upgrade” on our Debian 8 which
is hosting PF.
After that, we noted that the PF admin interface was
no more accessible. From this point, we tried to
restart PF services with no success.
That’s why I’m going to try the update to PF v7
according to the doc page you sent me. But I really
have no clue if this may work or not.
Regards
Greg
*Envoyé :* mercredi 17 mai 2017 15:35
*Objet :* Re: [PacketFence-users] PF do not start
after upgrade
Hello Greg,
You tried to upgrade to 7.0.0? correct?
Did you follow the instruction related to Debian in
the UPGRADE guide?
There is a specific step for removing mysql-server-5.5
and installing mariadb-10.1 since we had issues with a
"normal" update path.
Have a look here, that should resolve your issue.
https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700
Thanks
Hello,
I meet an issue with PacketFence on a Debian 8
after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched
the apt-get upgrade command today.
# service packetfence start
# Job for packetfence.service failed. See
'systemctl status packetfence.service' and
'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded
(/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar.
2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd
service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd
service pf start (code=killed, signal=TERM)
[1494945083.34304] Failed to connect to config
service for namespace
interfaces::management_network, retrying
[1494945083.4436] Failed to connect to config
service for namespace
interfaces::management_network, retrying
[1494945083.54417] Failed to connect to config
service for namespace
interfaces::management_network, retrying
[1494945083.64486] Failed to connect to config
service for namespace
interfaces::management_network, retrying
[1494945083.74557] Failed to connect to config
service for namespace
interfaces::management_network, retrying
[1494945083.84617] Failed to connect to config
service for namespace
interfaces::management_network, retrying
[1494945083.94669] Failed to connect to config
service for namespace
interfaces::management_network, retrying
packetfence.service start operation timed out.
Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to
start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit
packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST,
end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on
subcontainer 'ia_addr' insert (-1)
When I try to restart packetfence-config, I get this
service packetfence-config restart|
service packetfence-config status|
|● packetfence-config.service - PacketFence Config
Service|
| Loaded: loaded
(/lib/systemd/system/packetfence-config.service;
enabled)|
| Active: failed (Result: start-limit) since mer.
2017-05-17 10:54:14 CEST; 1min 58s ago|
| Process: 10637
ExecStart=/usr/local/pf/sbin/pfconfig
(code=exited, status=255)|
|Main PID: 10637 (code=exited, status=255)|
||
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
packetfence-config.service holdoff tim...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping
PacketFence Config Service...|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Starting
PacketFence Config Service...|
packetfence-config.service start reque...t.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to
start PacketFence Config Service.|
|mai 17 10:54:14 SRV-WIFI systemd[1]: Unit
packetfence-config.service entere...e.|
|Hint: Some lines were ellipsized, use -l to show
in full.|
Also, I get now a weird message when i run an
"apt-get upgrade"
apt-get upgrade|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Vous pouvez lancer « apt-get -f install » pour
corriger ces problÚmes.|
|Les paquets suivants contiennent des dépendances
non satisfaites :|
|E: Dépendances manquantes. Essayez d'utiliser
l'option -f.|
Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence
package, as well as mysql-server ones. What may be
the consequences if I apply a "Y" to the prompt?
May I lose all my databases, and PacketFence
configurations? Thx for your help :-)
apt-get -f install|
|Lecture des listes de paquets... Fait|
|Construction de l'arbre des dépendances |
|Lecture des informations d'état... Fait|
|Correction des dépendances... Fait|
|Les paquets suivants ont été installés
automatiquement et ne sont plus nécessaires :|
|||apache2-mpm-prefork arping attr collectd
collectd-core collectd-utils conntrack dmeventd
dpkg-distribution|
| fingerbank freeradius freeradius-common
freeradius-config freeradius-ldap freeradius-mysql
freeradius-redis|
| freeradius-rest freeradius-utils galera-3
golang-1.7-go golang-1.7-src graphite-carbon
graphite-web haproxy|
| ipset ipvsadm isc-dhcp-server javascript-common
keepalived libaio1 libalgorithm-combinatorics-perl|
| libalgorithm-diff-perl libalgorithm-diff-xs-perl
libaliased-perl libanyevent-perl libapache-dbi-perl|
| libapache-htpasswd-perl
libapache-logformat-compiler-perl
libapache-session-perl libapache-ssllookup-perl|
| libapache2-mod-apreq2 libapache2-mod-evasive
libapache2-mod-perl2 libapache2-mod-proxy-html|
| libapache2-mod-qos libapache2-mod-wsgi
libapache2-reload-perl libapache2-request-perl
libapparmor1|
| libappconfig-perl libapreq2-3
libarchive-zip-perl libasa-perl libasn1-8-heimdal
libasync-interrupt-perl|
| libauthen-htpasswd-perl
libauthen-krb5-simple-perl libauthen-pam-perl
libauthen-radius-perl|
| libauthen-simple-pam-perl libauthen-simple-perl
libb-hooks-endofscope-perl libb-hooks-op-check-perl|
| libb-keywords-perl libbareword-filehandles-perl
libberkeleydb-perl libbit-vector-perl libboolean-perl|
| libbsd-resource-perl libbytes-random-secure-perl
libc-ares2 libcache-bdb-perl libcache-cache-perl|
| libcache-fastmmap-perl libcapture-tiny-perl
libcarp-assert-more-perl libcarp-assert-perl
libcarp-clan-perl|
| libcarp-perl libcatalyst-action-renderview-perl
libcatalyst-action-rest-perl|
|
libcatalyst-authentication-credential-authen-simple-perl
libcatalyst-authentication-credential-http-perl|
| libcatalyst-authentication-store-dbix-class-perl
libcatalyst-authentication-store-htpasswd-perl|
| libcatalyst-component-instancepercontext-perl
libcatalyst-controller-formbuilder-perl|
| libcatalyst-controller-html-formfu-perl
libcatalyst-devel-perl
libcatalyst-dispatchtype-regex-perl|
| libcatalyst-log-log4perl-perl
libcatalyst-model-dbi-perl
libcatalyst-model-dbic-schema-perl|
| libcatalyst-modules-perl libcatalyst-perl
libcatalyst-plugin-authentication-perl|
| libcatalyst-plugin-authorization-acl-perl
libcatalyst-plugin-authorization-roles-perl|
| libcatalyst-plugin-cache-perl
libcatalyst-plugin-cache-store-fastmmap-perl|
| libcatalyst-plugin-configloader-perl
libcatalyst-plugin-i18n-perl
libcatalyst-plugin-session-perl|
| libcatalyst-plugin-session-state-cookie-perl
libcatalyst-plugin-session-store-cache-perl|
| libcatalyst-plugin-session-store-dbi-perl
libcatalyst-plugin-session-store-dbic-perl|
| libcatalyst-plugin-session-store-delegate-perl
libcatalyst-plugin-session-store-fastmmap-perl|
| libcatalyst-plugin-session-store-file-perl
libcatalyst-plugin-stacktrace-perl|
| libcatalyst-plugin-static-simple-perl
libcatalyst-plugin-subrequest-perl
libcatalyst-plugin-unicode-perl|
| libcatalyst-view-csv-perl
libcatalyst-view-email-perl
libcatalyst-view-json-perl
libcatalyst-view-mason-perl|
| libcatalyst-view-tt-perl
libcatalystx-component-traits-perl
libcgi-compile-perl libcgi-emulate-psgi-perl|
| libcgi-formbuilder-perl
libcgi-session-driver-chi-perl libcgi-session-perl|
| libcgi-session-serialize-yaml-perl
libcgi-simple-perl libcgi-struct-xs-perl
libchi-driver-redis-perl|
| libchi-memoize-perl libchi-perl
libclass-accessor-chained-perl
libclass-accessor-grouped-perl|
| libclass-c3-adopt-next-perl
libclass-c3-componentised-perl
libclass-container-perl|
| libclass-data-inheritable-perl
libclass-factory-util-perl libclass-gomor-perl
libclass-inspector-perl|
| libclass-load-perl libclass-load-xs-perl
libclass-makemethods-perl
libclass-method-modifiers-perl|
| libclass-mix-perl libclass-singleton-perl
libclass-throwable-perl libclass-tiny-perl
libclass-unload-perl|
| libclass-xsaccessor-perl libclone-perl
libclone-pp-perl libcollectdclient1
libconfig-any-perl|
| libconfig-general-perl libconfig-inifiles-perl
libconfig-tiny-perl libconfuse-common libconfuse0|
| libconst-fast-perl libcontext-preserve-perl
libconvert-binhex-perl
libconvert-nls-date-format-perl|
| libcrypt-cbc-perl libcrypt-eksblowfish-perl
libcrypt-generatepassword-perl
libcrypt-openssl-bignum-perl|
| libcrypt-openssl-pkcs10-perl
libcrypt-openssl-pkcs12-perl
libcrypt-openssl-rsa-perl|
| libcrypt-openssl-x509-perl
libcrypt-passwdmd5-perl libcrypt-random-seed-perl
libcrypt-rc4-perl|
| libcrypt-rijndael-perl libcrypt-smbhash-perl
libcrypt-smime-perl libdata-clone-perl|
| libdata-dumper-concise-perl
libdata-messagepack-perl
libdata-messagepack-stream-perl libdata-page-perl|
| libdata-powerset-perl libdata-serializer-perl
libdata-serializer-sereal-perl
libdata-structure-util-perl|
| libdata-swap-perl libdata-visitor-perl
libdate-calc-perl libdate-calc-xs-perl
libdate-manip-perl|
| libdatetime-format-builder-perl
libdatetime-format-dateparse-perl
libdatetime-format-mysql-perl|
| libdatetime-format-natural-perl
libdatetime-format-oracle-perl
libdatetime-format-pg-perl|
| libdatetime-format-rfc3339-perl
libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl|
| libdatetime-timezone-perl libdbd-mysql-perl
libdbd-sqlite3-perl libdbi-perl libdbi1|
| libdbix-class-cursor-cached-perl
libdbix-class-perl
libdbix-class-schema-loader-perl
libdbix-connector-perl|
| libdevel-argnames-perl libdevel-caller-perl
libdevel-globaldestruction-perl libdevel-hide-perl|
| libdevel-lexalias-perl libdevel-partialdump-perl
libdevel-stacktrace-ashtml-perl
libdevel-stacktrace-perl|
| libdevel-symdump-perl libdevmapper-event1.02.1
libdigest-jhash-perl libdigest-md4-perl|
| libdigest-perl-md5-perl libdigest-sha1-perl
libdist-checkconflicts-perl libdpkg-perl libdumbnet1|
| libemail-abstract-perl libemail-address-perl
libemail-date-format-perl libemail-messageid-perl|
| libemail-mime-contenttype-perl
libemail-mime-encodings-perl libemail-mime-perl
libemail-sender-perl|
| libemail-simple-perl libemail-valid-perl
liberror-perl libesmtp6 libev-perl
libeval-closure-perl|
| libexception-class-perl libexporter-lite-perl
libextutils-autoinstall-perl libfcgi-procmanager-perl|
| libfile-changenotify-perl libfile-fcntllock-perl
libfile-flock-perl libfile-homedir-perl|
| libfile-modified-perl libfile-pushd-perl
libfile-remove-perl libfile-sharedir-perl|
| libfile-sharedir-projectdistdir-perl
libfile-slurp-perl libfile-slurp-tiny-perl
libfile-tail-perl|
| libfile-tempdir-perl libfile-touch-perl
libfile-which-perl libfilesys-notify-simple-perl
libfreeradius3|
| libftdi1 libganglia1 libgd-perl
libgetopt-long-descriptive-perl libgraph-perl
libgraphviz-perl libguard-perl|
| libhash-flatten-perl libhash-merge-perl
libhash-moreutils-perl libhash-multivalue-perl
libhcrypto4-heimdal|
| libhdb9-heimdal libheap-perl
libheimbase1-heimdal libhiredis0.10
libhtml-formfu-perl|
| libhtml-formhandler-perl libhtml-lint-perl
libhtml-mason-perl libhtml-scrubber-perl|
| libhtml-tokeparser-simple-perl libhttp-body-perl
libhttp-request-ascgi-perl libhttp-server-simple-perl|
| libhx509-5-heimdal libimport-into-perl
libindirect-perl libio-event-perl
libio-handle-util-perl|
| libio-interactive-perl libio-interface-perl
libio-lockedfile-perl libio-prompt-tiny-perl
libio-pty-perl|
| libio-sessiondata-perl libio-socket-timeout-perl
libio-stringy-perl libipc-run-perl libipc-run3-perl|
| libipc-shareable-perl libipc-sharelite-perl
libipset3 libiptables-chainmgr-perl
libiptables-parse-perl|
| libjcode-pm-perl libjemalloc1 libjs-excanvas
libjs-jquery libjs-jquery-flot libjs-prototype|
| libjs-scriptaculous libjson-any-perl
libjson-maybexs-perl libkrb5-26-heimdal
liblasso-perl liblasso3|
| liblexical-sealrequirehints-perl
liblingua-en-findnumber-perl
liblingua-en-inflect-number-perl|
|||liblingua-en-inflect-perl
liblingua-en-inflect-phrase-perl
liblingua-en-number-isordinal-perl|
|||liblingua-en-tagger-perl
liblingua-en-words2nums-perl
liblingua-pt-stemmer-perl liblingua-stem-perl|
| liblingua-stem-snowball-da-perl
liblinux-distribution-perl liblinux-fd-perl
liblinux-inotify2-perl|
| liblist-allutils-perl liblist-moreutils-perl
libload-perl liblocale-maketext-lexicon-perl|
| liblog-any-adapter-log4perl-perl
liblog-any-adapter-perl liblog-any-perl
liblog-dispatch-config-perl|
| liblog-dispatch-configurator-any-perl
liblog-dispatch-perl liblog-fast-perl
liblog-log4perl-perl|
| liblog-trace-perl liblua5.3-0 liblvm2app2.2
liblvm2cmd2.02 liblwp-useragent-determined-perl|
| libmail-sendmail-perl libmariadbclient18
libmath-random-isaac-perl
libmath-random-isaac-xs-perl|
| libmemcached11 libmemoize-expirelru-perl
libmime-lite-perl libmime-lite-tt-perl
libmime-tools-perl|
| libmime-types-perl libmodbus5
libmodule-find-perl libmodule-implementation-perl
libmodule-install-perl|
| libmodule-refresh-perl
libmodule-runtime-conflicts-perl
libmodule-runtime-perl libmodule-scandeps-perl|
| libmoo-perl libmoose-perl libmoosex-aliases-perl
libmoosex-attribute-chained-perl|
| libmoosex-emulate-class-accessor-fast-perl
libmoosex-getopt-perl libmoosex-markasmethods-perl|
| libmoosex-methodattributes-perl
libmoosex-nonmoose-perl
libmoosex-params-validate-perl|
| libmoosex-role-parameterized-perl
libmoosex-role-withoverloading-perl
libmoosex-semiaffordanceaccessor-perl|
| libmoosex-traits-pluggable-perl
libmoosex-types-common-perl
libmoosex-types-loadableclass-perl|
| libmoosex-types-perl
libmoox-types-mooselike-numeric-perl
libmoox-types-mooselike-perl|
| libmultidimensional-perl libmysqlclient18
libnamespace-autoclean-perl libnamespace-clean-perl|
| libnet-appliance-session-perl libnet-arp-perl
libnet-cisco-mse-rest-perl libnet-cli-interact-perl|
| libnet-dns-perl libnet-domain-tld-perl
libnet-frame-device-perl libnet-frame-dump-perl|
| libnet-frame-layer-icmpv6-perl
libnet-frame-layer-ipv6-perl libnet-frame-perl
libnet-frame-simple-perl|
| libnet-interface-perl libnet-ip-perl
libnet-ipv6addr-perl libnet-libdnet-perl
libnet-libdnet6-perl|
| libnet-nessus-rest-perl
libnet-nessus-xmlrpc-perl libnet-netmask-perl
libnet-oauth2-perl libnet-pcap-perl|
| libnet-radius-perl libnet-rawip-perl
libnet-route-perl libnet-snmp-perl
libnet-ssh2-perl libnet-syslog-perl|
| libnet-telnet-cisco-perl libnet-telnet-perl
libnet-wmiclient-perl libnet-write-perl libnet1|
| libnetaddr-ip-perl libnetpacket-perl
libnetwork-ipv4addr-perl libnuma1
libnumber-format-perl|
| libnumber-range-perl libobject-signature-perl
libole-storage-lite-perl libopenipmi0 liboping0|
| libossp-uuid-perl libossp-uuid16 libow-2.9-8
libowcapi-2.9-8 libpackage-deprecationmanager-perl|
| libpackage-stash-perl libpackage-stash-xs-perl
libpackage-variant-perl libpadwalker-perl
libpar-dist-perl|
| libparams-classify-perl libparams-validate-perl
libparse-nessus-nbe-perl libparse-recdescent-perl|
| libpath-class-perl libpath-finddev-perl
libpath-isdev-perl libpath-tiny-perl
libperl-critic-perl|
| libperl-version-perl libperlio-via-timeout-perl
libphp-serialization-perl|
|
libplack-middleware-fixmissingbodyinredirect-perl
libplack-middleware-methodoverride-perl|
| libplack-middleware-removeredundantbody-perl
libplack-middleware-reverseproxy-perl libplack-perl|
| libplack-test-externalserver-perl
libpod-coverage-perl libpod-spell-perl
libposix-2008-perl|
| libposix-strftime-compiler-perl libppi-perl
libppix-regexp-perl libppix-utilities-perl libpq5|
| libproc-processtable-perl librabbitmq1
librdkafka1 libreadline5 libreadonly-perl
libreadonly-xs-perl|
| libredis-fast-perl libredis-perl
libregexp-assemble-perl
libregexp-common-email-address-perl|
| libregexp-common-time-perl libroken18-heimdal
librole-tiny-perl librose-datetime-perl
librose-db-object-perl|
| librose-db-perl librose-object-perl librrd4
librrds-perl libsafe-isa-perl
libscalar-list-utils-perl|
| libscope-guard-perl libscope-upper-perl
libsereal-decoder-perl libsereal-encoder-perl
libserialport0|
| libset-object-perl libsigrok2 libsnmp-perl
libsnowball-norwegian-perl libsnowball-swedish-perl|
| libsoap-lite-perl libsort-naturally-perl
libspreadsheet-parseexcel-perl
libspreadsheet-writeexcel-perl|
| libsql-abstract-more-perl libsql-abstract-perl
libsql-reservedwords-perl libsql-translator-perl|
| libstream-buffered-perl libstrictures-perl
libstring-camelcase-perl libstring-escape-perl|
| libstring-format-perl
libstring-rewriteprefix-perl
libstring-toidentifier-en-perl|
| libsub-exporter-progressive-perl
libsub-identify-perl libsub-uplevel-perl
libsys-hostname-long-perl|
| libtask-weaken-perl libtemplate-autofilter-perl
libtemplate-perl libtemplate-provider-encoding-perl|
| libtemplate-timer-perl libterm-readkey-perl
libterm-readpassword-perl libterm-size-any-perl|
| libterm-size-perl-perl libtest-assertions-perl
libtest-deep-perl libtest-differences-perl|
| libtest-exception-perl libtest-leaktrace-perl
libtest-longstring-perl libtest-mockdbi-perl|
| libtest-mockobject-perl libtest-perl-critic-perl
libtest-pod-coverage-perl libtest-pod-perl|
| libtest-sharedfork-perl libtest-tcp-perl
libtest-warn-perl libtest-www-mechanize-catalyst-perl|
| libtest-www-mechanize-perl
libtext-autoformat-perl libtext-csv-perl
libtext-csv-xs-perl libtext-diff-perl|
| libtext-german-perl libtext-glob-perl
libtext-recordparser-perl libtext-reform-perl
libtext-simpletable-perl|
| libtext-tabulardisplay-perl
libthread-conveyor-monitored-perl
libthread-conveyor-perl libthread-pool-perl|
| libthread-pool-simple-perl
libthread-serialize-perl libthread-tie-perl
libthrowable-perl libtie-dxhash-perl|
| libtie-toobject-perl libtime-clock-perl
libtime-duration-parse-perl libtime-duration-perl
libtime-out-perl|
| libtime-period-perl libtokyotyrant3
libtree-simple-perl
libtree-simple-visitorfactory-perl libtry-tiny-perl|
| libunicode-map-perl libunicode-utf8-perl
libuniversal-can-perl libuniversal-exports-perl|
| libuniversal-isa-perl libuniversal-require-perl
libupsclient4 liburi-escape-xs-perl liburi-find-perl|
| libv8-3.14.5 libvariable-magic-perl
libvarnishapi1 libvirt0 libwind0-heimdal
libwmiclient1 libwww-curl-perl|
| libwww-mechanize-perl libwww-twilio-api-perl
libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl|
| libyaml-libyaml-perl libyaml-perl
libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2
mariadb-common|
| mariadb-server-core-10.1 mysql-common nodejs
openssl-blacklist-extra owfs-common p0f
packetfence-config|
| packetfence-doc packetfence-golang-daemon
packetfence-ntlm-wrapper packetfence-pfcmd-suid|
| packetfence-redis-cache perltidy
python-characteristic python-django
python-django-common|
| python-django-tagging python-mysqldb python-pam
python-pyasn1-modules python-pyparsing python-serial|
| python-service-identity python-simplejson
python-sqlparse python-twisted-bin
python-twisted-core|
| python-whisper redis-server redis-tools rrdtool
rsync samba samba-dsdb-modules samba-vfs-modules
snmp snmpd|
| snmptrapfmt socat sqlite3 sscep sudo tdb-tools
vlan winbind wmi-client|
|Veuillez utiliser « apt-get autoremove » pour les
supprimer.|
|Les paquets supplémentaires suivants seront
installés : |
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
golang-1.7-go|
| golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl libfreeradius3 liblua5.3-0
libmariadbclient18|
| libmysqlclient18 mariadb-server-core-10.1
packetfence-doc packetfence-golang-daemon|
|Paquets suggérés :|
| freeradius-postgresql freeradius-krb5 bzr git
mercurial subversion|
|Paquets recommandés :|
| g++ gcc libc6-dev pkg-config|
|Les paquets suivants seront ENLEVÉS :|
| mysql-client-5.5 mysql-server mysql-server-5.5
mysql-server-core-5.5 packetfence|
|Les NOUVEAUX paquets suivants seront installés :|
| golang-1.7-go golang-1.7-src libcrypt-cbc-perl
libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18|
| mariadb-server-core-10.1 packetfence-doc
packetfence-golang-daemon|
|Les paquets suivants seront mis à jour :|
|||freeradius freeradius-ldap freeradius-mysql
freeradius-redis freeradius-rest freeradius-utils
libfreeradius3|
|||libmysqlclient18|
|8 mis à jour, 9 nouvellement installés, 5 à
enlever et 2 non mis à jour.|
|2 partiellement installés ou enlevés.|
|Il est nécessaire de prendre 51,2 Mo dans les
archives.|
|AprÚs cette opération, 17,5 Mo d'espace disque
supplémentaires seront utilisés.|
|Souhaitez-vous continuer ? [O/n] n|
|Annulation.|
May you have any clues about this issue ? I tried
several actions found randomly on Google, with no
luck :-(
Thx again for your help :-)
Regards
Greg
Thanks a lot everyone.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu>) and PacketFence (www.packetfence.org <http://www.packetfence.org>)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher
***@inverse.ca :: www.inverse.ca
+1.514.447.4918 x130 :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)
SALVIGNOL Gregory
2017-05-30 13:27:15 UTC
Permalink
Hello Antoine,

We proceeded to the PacketFence v7.0.2 update, and all services are back again !
WiFi is back to its normal state.
I strongly thank you again for all this time you spent with me :-)

Have a good day
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : lundi 29 mai 2017 18:03
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

Could you send the /usr/local/pf/var/conf/httpd.conf.d/httpd.webservices file?

Also make sure the /usr/local/pf/conf/httpd.conf.d/httpd.webservices.tt and /usr/local/pf/conf/httpd.conf.d/httpd.webservices.tt.example are the same.

Verify the files are similar also for httpd.portal and httpd.aaa, if there is a difference try to copy the .tt.example as .tt.

Thanks

On 05/24/2017 06:41 AM, SALVIGNOL Gregory wrote:
Hello,

Update, I found these lines in “/usr/local/pf/logs/httpd.webservices.error”:

May 24 13:06:27 SRV-WIFI httpd_webservices_err: [Wed May 24 13:06:27.889308 2017] [mpm_prefork:notice] [pid 3152] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.2k mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
May 24 13:06:27 SRV-WIFI httpd_webservices_err: [Wed May 24 13:06:27.898469 2017] [core:notice] [pid 3152] AH00094: Command line: '/usr/sbin/apache2 -f /usr/local/pf/var/conf/httpd.conf.d/httpd.webservices -D FOREGROUND -D debian'
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:28.998752 2017] [mpm_prefork:notice] [pid 3017] AH00170: caught SIGWINCH, shutting down gracefully
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:28.998617 2017] [mpm_prefork:emerg] [pid 3093] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:29.002897 2017] [mpm_prefork:emerg] [pid 3095] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:29 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:29.998988 2017] [core:alert] [pid 3017] AH00050: Child 3093 returned a Fatal error... Apache is exiting!
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.063939 2017] [mpm_prefork:notice] [pid 3152] AH00170: caught SIGWINCH, shutting down gracefully
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.063806 2017] [mpm_prefork:emerg] [pid 3200] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.064147 2017] [mpm_prefork:emerg] [pid 3198] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:35 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:35.066964 2017] [mpm_prefork:emerg] [pid 3201] (4)Appel systÚme interrompu: AH00144: couldn't grab the accept mutex
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:36.064142 2017] [core:alert] [pid 3152] AH00050: Child 3198 returned a Fatal error... Apache is exiting!
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:36.064231 2017] [core:alert] [pid 3152] AH00050: Child 3200 returned a Fatal error... Apache is exiting!
May 24 13:08:36 SRV-WIFI httpd_webservices_err: [Wed May 24 13:08:36.064252 2017] [core:alert] [pid 3152] AH00050: Child 3201 returned a Fatal error... Apache is exiting!
May 24 13:09:42 SRV-WIFI httpd_webservices_err: [Wed May 24 13:09:42.077155 2017] [ssl:warn] [pid 4139] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

It seems Apache is exiting for some reasons.
Thx again
Greg




De : SALVIGNOL Gregory
Envoyé : mercredi 24 mai 2017 12:01
À : 'packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>'
Objet : RE: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

Sorry, I thought that the “/usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl script” was removing automatically the obsolete parameters. But in fact I had to edit manually the pf.conf file to remove the “general.dnsservers” parameter, the script only gives the information about what to edit/remove.
Otherwise, I followed all the other steps of the UPGRADE guide.

So, the warning related to the “Checking configuration sanity
” is now gone, but still “httpd.aaa”, “httpd.portal” and “httpd.webservices” services are down.
When we throw the commands below, all services start and get a PID, but after few seconds “httpd.aaa” “httpd.portal” and “httpd.webservices” always stop:

/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
service packetfence-config restart
/usr/local/pf/bin/pfcmd service pf restart

Also we get a “503 Service Unaivalable”error when connecting to the captive portal URL (https://wifi-umr5280.sca.cnrs.fr/captive-portal?destination_url=https://192.168.15.30/).
connecting to the admin portal URL (https://192.168.15.30:1443/admin) gives a “ERR_CONNECTION_REFUSED” (Chrome)

When I check both “/usr/local/pf/logs/httpd.portal.error” or “/usr/local/pf/logs/httpd.webservices.error”, All I get is:

May 24 10:50:31 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:31.659455 2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:31 SRV-WIFI httpd_portal_err-plocal5.err: [Wed May 24 10:50:31.660072 2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:53 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:53.634321 2017] [ssl:warn] [pid 25122] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

And:

May 24 10:50:14 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:14.469587 2017] [ssl:warn] [pid 24882] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:25 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:25.211973 2017] [ssl:warn] [pid 25001] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:34 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:34.344057 2017] [ssl:warn] [pid 25041] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

Apart of this SSL warn, I really don’t see why these services stop systematically when we try to start them :-/

Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mardi 23 mai 2017 15:23
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

This parameter have been removed in PF7 and I am pretty sure this should have been removed if you applied the UPGRADE guide.

Executing this script: /usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl should do the trick.

Please FULLY follow the UPGRADE guide.

Thanks

On 05/22/2017 04:42 AM, SALVIGNOL Gregory wrote:
Hello everyone,

PF is now up-to-date in v7.0. Database update is OK, and was missing a “mysql_upgrade” command to finalize.

However, captive portal and admin interface are not accessible because I can not start 2 services anymore:

- httpd.portal

- httpd.webservices

Here are the logs for each service:


***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal restart
service|command
httpd.portal|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.portal|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal status
service|shouldBeStarted|pid
httpd.portal|1|0
***@SRV-WIFI:/home/admin_srvwifi#



***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices restart
service|command
httpd.webservices|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.webservices|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices status
service|shouldBeStarted|pid
httpd.webservices|1|0
***@SRV-WIFI:/home/admin_srvwifi#


I get a “WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf”.
Could this warning be the cause of the service failure?
Below is the corresponding parameter in my “/usr/local/pf/conf/pf.conf”

# general.hostname
#
# Hostname of PacketFence system. This is concatenated with the domain in Apache rewriting rules and therefore must be resolvable by clients.
hostname=wifi-umr5280

#
# general.dnsservers
#
# Comma-delimited list of DNS servers. Passthroughs are created to allow queries to these servers from even "trapped" nodes.
dnsservers=192.168.1.20,192.168.1.13

#
# general.timezone
#
# System's timezone in string format. Supported list:
# http://www.php.net/manual/en/timezones.php
timezone=Europe/Paris


Thank you for any clues about how to restart these 2 services :-)
Best regards.
Greg


De : SALVIGNOL Gregory
Envoyé : vendredi 19 mai 2017 11:13
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello,

I proceeded to the PF v6.5.0 -> v7.0 update according to the doc: https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

So, when I now start PF service with a “systemctl start packetfence”, I get this message:


***@SRV-WIFI:/usr/local/pf# systemctl -l status packetfence
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=exited, status=255)

mai 19 11:51:14 SRV-WIFI packetfence[13819]: INFO pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
mai 19 11:51:22 SRV-WIFI packetfence[13819]: ERROR pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Can't get any result from DB while trying to check for database schema version (pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence database schema version '6.5.0' does not match the current installed version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.


So it seems, I have a problem with my database schema version still in v6.5.0
However, I made the database update, here is the log:


***@SRV-WIFI:/usr/local/pf# mysql -u root -p PacketFence -v < /usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
Enter password:
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
RENAME TABLE iplog TO ip4log
--------------

--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time (mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------

--------------
DROP TRIGGER IF EXISTS iplog_insert_in_iplog_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip4log_insert_in_ip4log_history_before_update_trigger BEFORE UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
RENAME TABLE iplog_history TO ip4log_history
--------------

--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX ip4log_history_mac_end_time (mac,end_time)
--------------

--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------

--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------

--------------
DROP TRIGGER IF EXISTS ip6log_insert_in_ip6log_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip6log_insert_in_ip6log_history_before_update_trigger BEFORE UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------

--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT "0000-00-00 00:00:00"
--------------

--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------

--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------

--------------
DROP PROCEDURE IF EXISTS acct_update
--------------

ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted
***@SRV-WIFI:/usr/local/pf# cd /usr/local/pf


On the last line we can see an error “ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?

Thx for your reply :-)
Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 16:38
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


We use the --force on the dpkg -r. So if your --dry-run doesn't work it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a moment where 6.5 is still installed and we have to remove mysql to install mariadb and the package can not handle a state without either installed.

So that's why we manually "update" mysql to mariadb before upgrading the PacketFence package.

Thanks

On 05/18/2017 10:21 AM, SALVIGNOL Gregory wrote:
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg










Thanks a lot everyone.







------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
SALVIGNOL Gregory
2017-05-24 10:00:48 UTC
Permalink
Hello Antoine,

Sorry, I thought that the “/usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl script” was removing automatically the obsolete parameters. But in fact I had to edit manually the pf.conf file to remove the “general.dnsservers” parameter, the script only gives the information about what to edit/remove.
Otherwise, I followed all the other steps of the UPGRADE guide.

So, the warning related to the “Checking configuration sanity
” is now gone, but still “httpd.aaa”, “httpd.portal” and “httpd.webservices” services are down.
When we throw the commands below, all services start and get a PID, but after few seconds “httpd.aaa” “httpd.portal” and “httpd.webservices” always stop:

/usr/local/pf/bin/pfcmd fixpermissions
/usr/local/pf/bin/pfcmd pfconfig clear_backend
service packetfence-config restart
/usr/local/pf/bin/pfcmd service pf restart
Also we get a “503 Service Unaivalable”error when connecting to the captive portal URL (https://wifi-umr5280.sca.cnrs.fr/captive-portal?destination_url=https://192.168.15.30/).
connecting to the admin portal URL (https://192.168.15.30:1443/admin) gives a “ERR_CONNECTION_REFUSED” (Chrome)

When I check both “/usr/local/pf/logs/httpd.portal.error” or “/usr/local/pf/logs/httpd.webservices.error”, All I get is:

May 24 10:50:31 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:31.659455 2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:31 SRV-WIFI httpd_portal_err-plocal5.err: [Wed May 24 10:50:31.660072 2017] [ssl:warn] [pid 25007] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:53 SRV-WIFI httpd_portal_err: [Wed May 24 10:50:53.634321 2017] [ssl:warn] [pid 25122] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

And:

May 24 10:50:14 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:14.469587 2017] [ssl:warn] [pid 24882] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:25 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:25.211973 2017] [ssl:warn] [pid 25001] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name
May 24 10:50:34 SRV-WIFI httpd_webservices_err: [Wed May 24 10:50:34.344057 2017] [ssl:warn] [pid 25041] AH01909: wifi-umr5280.sca.cnrs.fr:443:0<http://wifi-umr5280.sca.cnrs.fr:443:0/> server certificate does NOT include an ID which matches the server name

Apart of this SSL warn, I really don’t see why these services stop systematically when we try to start them :-/

Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mardi 23 mai 2017 15:23
À : packetfence-***@lists.sourceforge.net
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

This parameter have been removed in PF7 and I am pretty sure this should have been removed if you applied the UPGRADE guide.

Executing this script: /usr/local/pf/addons/upgrade/to-7.0-pf-conf-changes.pl should do the trick.

Please FULLY follow the UPGRADE guide.

Thanks

On 05/22/2017 04:42 AM, SALVIGNOL Gregory wrote:
Hello everyone,

PF is now up-to-date in v7.0. Database update is OK, and was missing a “mysql_upgrade” command to finalize.

However, captive portal and admin interface are not accessible because I can not start 2 services anymore:

- httpd.portal

- httpd.webservices

Here are the logs for each service:


***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal restart
service|command
httpd.portal|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.portal|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.portal status
service|shouldBeStarted|pid
httpd.portal|1|0
***@SRV-WIFI:/home/admin_srvwifi#



***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices restart
service|command
httpd.webservices|already stopped
Checking configuration sanity...
WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
httpd.webservices|start
***@SRV-WIFI:/home/admin_srvwifi# /usr/local/pf/bin/pfcmd service httpd.webservices status
service|shouldBeStarted|pid
httpd.webservices|1|0
***@SRV-WIFI:/home/admin_srvwifi#


I get a “WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf”.
Could this warning be the cause of the service failure?
Below is the corresponding parameter in my “/usr/local/pf/conf/pf.conf”

# general.hostname
#
# Hostname of PacketFence system. This is concatenated with the domain in Apache rewriting rules and therefore must be resolvable by clients.
hostname=wifi-umr5280

#
# general.dnsservers
#
# Comma-delimited list of DNS servers. Passthroughs are created to allow queries to these servers from even "trapped" nodes.
dnsservers=192.168.1.20,192.168.1.13

#
# general.timezone
#
# System's timezone in string format. Supported list:
# http://www.php.net/manual/en/timezones.php
timezone=Europe/Paris


Thank you for any clues about how to restart these 2 services :-)
Best regards.
Greg


De : SALVIGNOL Gregory
Envoyé : vendredi 19 mai 2017 11:13
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello,

I proceeded to the PF v6.5.0 -> v7.0 update according to the doc: https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

So, when I now start PF service with a “systemctl start packetfence”, I get this message:


***@SRV-WIFI:/usr/local/pf# systemctl -l status packetfence
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; disabled)
Active: failed (Result: exit-code) since ven. 2017-05-19 11:51:24 CEST; 38s ago
Process: 13819 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=exited, status=255)

mai 19 11:51:14 SRV-WIFI packetfence[13819]: INFO pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: httpd.admin|already started
mai 19 11:51:14 SRV-WIFI pfcmd[13819]: Checking configuration sanity...
mai 19 11:51:22 SRV-WIFI packetfence[13819]: ERROR pfcmd.pl(13819):<http://pfcmd.pl%2813819%29/> Can't get any result from DB while trying to check for database schema version (pf::version::version_check_db)
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: WARNING - unknown configuration parameter general.dnsservers if you added the parameter yourself make sure it is present in conf/documentation.conf
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: FATAL - The PacketFence database schema version '6.5.0' does not match the current installed version '7.0.0'
mai 19 11:51:23 SRV-WIFI pfcmd[13819]: Please refer to the UPGRADE guide on how to complete an upgrade of PacketFence
mai 19 11:51:24 SRV-WIFI systemd[1]: packetfence.service: control process exited, code=exited status=255
mai 19 11:51:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 19 11:51:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.


So it seems, I have a problem with my database schema version still in v6.5.0
However, I made the database update, here is the log:


***@SRV-WIFI:/usr/local/pf# mysql -u root -p PacketFence -v < /usr/local/pf/db/upgrade-6.5.0-7.0.0.sql
Enter password:
--------------
ALTER TABLE `radacct_log` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_history` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `iplog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
ALTER TABLE `locationlog_archive` ADD COLUMN `id` int NOT NULL PRIMARY KEY AUTO_INCREMENT FIRST
--------------

--------------
RENAME TABLE iplog TO ip4log
--------------

--------------
ALTER TABLE ip4log
DROP INDEX iplog_mac_end_time, ADD INDEX ip4log_mac_end_time (mac,end_time),
DROP INDEX iplog_end_time, ADD INDEX ip4log_end_time (end_time)
--------------

--------------
DROP TRIGGER IF EXISTS iplog_insert_in_iplog_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip4log_insert_in_ip4log_history_before_update_trigger BEFORE UPDATE ON ip4log
FOR EACH ROW
BEGIN
INSERT INTO ip4log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
RENAME TABLE iplog_history TO ip4log_history
--------------

--------------
ALTER TABLE ip4log_history
DROP INDEX iplog_history_mac_end_time, ADD INDEX ip4log_history_mac_end_time (mac,end_time)
--------------

--------------
RENAME TABLE iplog_archive TO ip4log_archive
--------------

--------------
CREATE TABLE ip6log (
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime default "0000-00-00 00:00:00",
PRIMARY KEY (ip),
KEY ip6log_mac_end_time (mac,end_time),
KEY ip6log_end_time (end_time)
) ENGINE=InnoDB
--------------

--------------
DROP TRIGGER IF EXISTS ip6log_insert_in_ip6log_history_before_update_trigger
--------------

--------------
CREATE TRIGGER ip6log_insert_in_ip6log_history_before_update_trigger BEFORE UPDATE ON ip6log
FOR EACH ROW
BEGIN
INSERT INTO ip6log_history SET ip = OLD.ip<http://old.ip/>, mac = OLD.mac, type = OLD.type, start_time = OLD.start_time, end_time = CASE
WHEN OLD.end_time = '0000-00-00 00:00:00' THEN NOW()
WHEN OLD.end_time > NOW() THEN NOW()
ELSE OLD.end_time
END;
END
--------------

--------------
CREATE TABLE ip6log_history (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY ip6log_history_mac_end_time (mac,end_time),
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE ip6log_archive (
id int NOT NULL PRIMARY KEY AUTO_INCREMENT,
mac varchar(17) NOT NULL,
ip varchar(45) NOT NULL,
type varchar(32) DEFAULT NULL,
start_time datetime NOT NULL,
end_time datetime NOT NULL,
KEY end_time (end_time),
KEY start_time (start_time)
) ENGINE=InnoDB
--------------

--------------
CREATE TABLE `chi_cache` (
`key` VARCHAR(767),
`value` LONGBLOB,
`expires_at` REAL,
PRIMARY KEY (`key`),
KEY chi_cache_expires_at (expires_at)
)
--------------

--------------
ALTER TABLE node ADD last_seen DATETIME NOT NULL DEFAULT "0000-00-00 00:00:00"
--------------

--------------
ALTER TABLE node ADD INDEX node_last_seen (last_seen)
--------------

--------------
ALTER table locationlog ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER table locationlog_archive ADD column ifDesc VARCHAR(255) DEFAULT NULL
--------------

--------------
ALTER TABLE node_category ADD UNIQUE INDEX node_category_name (name)
--------------

--------------
DROP PROCEDURE IF EXISTS acct_update
--------------

ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted
***@SRV-WIFI:/usr/local/pf# cd /usr/local/pf


On the last line we can see an error “ERROR 1728 (HY000) at line 177: Cannot load from mysql.proc. The table is probably corrupted”.
Is that the cause of the problem? Did I miss something?

Thx for your reply :-)
Best regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 16:38
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


We use the --force on the dpkg -r. So if your --dry-run doesn't work it's fine. Just copy the command as is.

The core issue is that when updating 6.5 to 7.0 on debian, there is a moment where 6.5 is still installed and we have to remove mysql to install mariadb and the package can not handle a state without either installed.

So that's why we manually "update" mysql to mariadb before upgrading the PacketFence package.

Thanks

On 05/18/2017 10:21 AM, SALVIGNOL Gregory wrote:
Thank you for your reply, Antoine.

I just tried a dry run for the dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
It returns me some errors:

---------------------------------------
***@SRV-WIFI:/usr/local/pf# dpkg --dry-run -r mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18
(Lecture de la base de données... 179199 fichiers et répertoires déjà installés.)
Supprimerait ou purgerait mysql-client-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de mysql-common :
mariadb-common dépend de mysql-common.

dpkg: erreur de traitement du paquet mysql-common (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server :
packetfence dépend de mysql-server | mariadb-server | mariadb-galera-server ; cependant :
Le paquet mysql-server doit être supprimé.
Le paquet mariadb-server n'est pas installé.
Le paquet mariadb-galera-server n'est pas installé.

dpkg: erreur de traitement du paquet mysql-server (--remove) :
problÚme de dépendance - suppression ignorée
dpkg: un problÚme de dépendance empêche la suppression de mysql-server-5.5 :
mysql-server dépend de mysql-server-5.5.

dpkg: erreur de traitement du paquet mysql-server-5.5 (--remove) :
problÚme de dépendance - suppression ignorée
Supprimerait ou purgerait mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
dpkg: un problÚme de dépendance empêche la suppression de libmysqlclient18:amd64 :
libdbd-mysql-perl dépend de libmysqlclient18 (>= 5.5.24+dfsg-1) ; cependant :
Le paquet libmysqlclient18:amd64 doit être supprimé.
python-mysqldb dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).
freeradius-mysql dépend de libmysqlclient18 (>= 5.5.24+dfsg-1).

dpkg: erreur de traitement du paquet libmysqlclient18:amd64 (--remove) :
problÚme de dépendance - suppression ignorée
Des erreurs ont été rencontrées pendant l'exécution :
mysql-common
mysql-server
mysql-server-5.5
libmysqlclient18:amd64
----------------------------------------

De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 15:46
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hi Gregory,

All you have to do is the following, this example has been done while upgrading 6.5.1 to 7.0.0

Debian upgrade

The requirement for MariaDB 10.1 means that a simple "apt upgrade" will not be enough. You will need to help apt through the upgrade by manually removing some packages and installing some others. The need to ensure you have backups cannot be overstated.

Make sure the apt database is up to date

apt update

Remove the MySQL 5.5 packages (do not purge them, as that would delete the database)

dpkg -r --force-all mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 libmysqlclient18

Install the newer Mariadb-10.1 packages

apt install libmariadbclient18 libmysqlclient18 mariadb-common mariadb-server-10.1 galera-3 gawk mariadb-client-10.1 mariadb-server-core-10.1 rsync socat libmpfr4 mariadb-client-core-10.1 mysql-common

Finally, upgrade the rest of the packages

apt full-upgrade

Note that "full-upgrade" may also affect other packages you might have installed on the system if you had other software than PacketFence on it.

After you have done this you can follow the rest of the UPGRADE guide I sent earlier

Thanks

On 05/18/2017 08:30 AM, SALVIGNOL Gregory wrote:
Hi Fabrice,

No, I didn’t.
The files needed for the manual upgrade are not present, PF is still in v6.5 and I didn’t find files related to v7.0 (like files for DB update, etc.)

So it seems that our “apt-get upgrade” didn’t update packetfence packages. So, I don’t get why PF refuses to start.
Regards
Greg


[isa]

Grégory SALVIGNOL
Co-responsable Service Informatique
Tél. +33 (0)4 37 42 36 07
Mail : ***@isa-lyon.fr<mailto:***@isa-lyon.fr>

Institut des Sciences Analytiques – UMR 5280
5 rue de la Doua - 69100 Villeurbanne- France
http://www.isa-lyon.fr<http://www.isa-lyon.fr/>

De : Fabrice Durand [mailto:***@inverse.ca]
Envoyé : jeudi 18 mai 2017 14:09
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Gregory,

did you try what Antoine told you ?

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#debian-upgrade

Regards

Fabrice



Le 2017-05-18 à 04:29, SALVIGNOL Gregory a écrit :
Hi everyone,



When I send a " apt-get -f install" in order to try to fix PF service start failures, I get this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones.

What may be the consequences if I apply "Y" to the prompt?

May I lose all my databases, and PacketFence configurations?

Do you know what I have to backup before this operation in order to not lose everything?

Thx for your help :-)

Greg

------------------------------------------

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

---------------------------

De : SALVIGNOL Gregory
Envoyé : mercredi 17 mai 2017 15:50
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade

Hello Antoine,

No, in fact we just executed an “apt-get update”, followed by an “apt-get upgrade” on our Debian 8 which is hosting PF.
After that, we noted that the PF admin interface was no more accessible. From this point, we tried to restart PF services with no success.

That’s why I’m going to try the update to PF v7 according to the doc page you sent me. But I really have no clue if this may work or not.

Regards
Greg


De : Antoine Amacher [mailto:***@inverse.ca]
Envoyé : mercredi 17 mai 2017 15:35
À : packetfence-***@lists.sourceforge.net<mailto:packetfence-***@lists.sourceforge.net>
Objet : Re: [PacketFence-users] PF do not start after upgrade


Hello Greg,

You tried to upgrade to 7.0.0? correct?

Did you follow the instruction related to Debian in the UPGRADE guide?

There is a specific step for removing mysql-server-5.5 and installing mariadb-10.1 since we had issues with a "normal" update path.

Have a look here, that should resolve your issue.

https://github.com/inverse-inc/packetfence/blob/devel/UPGRADE.asciidoc#upgrading-from-a-version-prior-to-700

Thanks

On 05/17/2017 08:36 AM, SALVIGNOL Gregory wrote:
Hello,
I meet an issue with PacketFence on a Debian 8 after an “apt-get upgrade” yesterday.
Packetfence was running nicely before we launched the apt-get upgrade command today.

PF failed to start, here is the log from terminal:
# service packetfence start
# Job for packetfence.service failed. See 'systemctl status packetfence.service' and 'journalctl -xn' for details.
# systemctl -l status packetfence.service
● packetfence.service - PacketFence Service
Loaded: loaded (/lib/systemd/system/packetfence.service; enabled)
Active: failed (Result: timeout) since mar. 2017-05-16 16:31:24 CEST; 19min ago
Process: 2653 ExecStop=/usr/local/pf/bin/pfcmd service pf stop (code=killed, signal=TERM)
Process: 7731 ExecStart=/usr/local/pf/bin/pfcmd service pf start (code=killed, signal=TERM)

mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.34304] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.4436] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.54417] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.64486] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.74557] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.84617] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:23 SRV-WIFI pfcmd[7731]: [1494945083.94669] Failed to connect to config service for namespace interfaces::management_network, retrying
mai 16 16:31:24 SRV-WIFI systemd[1]: packetfence.service start operation timed out. Terminating.
mai 16 16:31:24 SRV-WIFI systemd[1]: Failed to start PacketFence Service.
mai 16 16:31:24 SRV-WIFI systemd[1]: Unit packetfence.service entered failed state.
# journalctl -xn
-- Logs begin at mar. 2017-05-16 13:21:15 CEST, end at mar. 2017-05-16 16:51:53
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:50:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:23 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)
mai 16 16:51:53 SRV-WIFI snmpd[831]: error on subcontainer 'ia_addr' insert (-1)


When I try to restart packetfence-config, I get this

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config restart

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> service packetfence-config status

● packetfence-config.service - PacketFence Config Service

Loaded: loaded (/lib/systemd/system/packetfence-config.service; enabled)

Active: failed (Result: start-limit) since mer. 2017-05-17 10:54:14 CEST; 1min 58s ago

Process: 10637 ExecStart=/usr/local/pf/sbin/pfconfig (code=exited, status=255)

Main PID: 10637 (code=exited, status=255)



mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service holdoff tim...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Stopping PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: Starting PacketFence Config Service...

mai 17 10:54:14 SRV-WIFI systemd[1]: packetfence-config.service start reque...t.

mai 17 10:54:14 SRV-WIFI systemd[1]: Failed to start PacketFence Config Service.

mai 17 10:54:14 SRV-WIFI systemd[1]: Unit packetfence-config.service entere...e.

Hint: Some lines were ellipsized, use -l to show in full.


Also, I get now a weird message when i run an "apt-get upgrade"

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get upgrade

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Vous pouvez lancer « apt-get -f install » pour corriger ces problÚmes.

Les paquets suivants contiennent des dépendances non satisfaites :

E: Dépendances manquantes. Essayez d'utiliser l'option -f.



Then, " apt-get -f install" gives me this (see below).
It seems that the command will remove packetfence package, as well as mysql-server ones. What may be the consequences if I apply a "Y" to the prompt? May I lose all my databases, and PacketFence configurations? Thx for your help :-)

***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d#<mailto:***@SRV-WIFI:/usr/local/pf/var/conf/httpd.conf.d> apt-get -f install

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Correction des dépendances... Fait

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :

apache2-mpm-prefork arping attr collectd collectd-core collectd-utils conntrack dmeventd dpkg-distribution

fingerbank freeradius freeradius-common freeradius-config freeradius-ldap freeradius-mysql freeradius-redis

freeradius-rest freeradius-utils galera-3 golang-1.7-go golang-1.7-src graphite-carbon graphite-web haproxy

ipset ipvsadm isc-dhcp-server javascript-common keepalived libaio1 libalgorithm-combinatorics-perl

libalgorithm-diff-perl libalgorithm-diff-xs-perl libaliased-perl libanyevent-perl libapache-dbi-perl

libapache-htpasswd-perl libapache-logformat-compiler-perl libapache-session-perl libapache-ssllookup-perl

libapache2-mod-apreq2 libapache2-mod-evasive libapache2-mod-perl2 libapache2-mod-proxy-html

libapache2-mod-qos libapache2-mod-wsgi libapache2-reload-perl libapache2-request-perl libapparmor1

libappconfig-perl libapreq2-3 libarchive-zip-perl libasa-perl libasn1-8-heimdal libasync-interrupt-perl

libauthen-htpasswd-perl libauthen-krb5-simple-perl libauthen-pam-perl libauthen-radius-perl

libauthen-simple-pam-perl libauthen-simple-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl

libb-keywords-perl libbareword-filehandles-perl libberkeleydb-perl libbit-vector-perl libboolean-perl

libbsd-resource-perl libbytes-random-secure-perl libc-ares2 libcache-bdb-perl libcache-cache-perl

libcache-fastmmap-perl libcapture-tiny-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl

libcarp-perl libcatalyst-action-renderview-perl libcatalyst-action-rest-perl

libcatalyst-authentication-credential-authen-simple-perl libcatalyst-authentication-credential-http-perl

libcatalyst-authentication-store-dbix-class-perl libcatalyst-authentication-store-htpasswd-perl

libcatalyst-component-instancepercontext-perl libcatalyst-controller-formbuilder-perl

libcatalyst-controller-html-formfu-perl libcatalyst-devel-perl libcatalyst-dispatchtype-regex-perl

libcatalyst-log-log4perl-perl libcatalyst-model-dbi-perl libcatalyst-model-dbic-schema-perl

libcatalyst-modules-perl libcatalyst-perl libcatalyst-plugin-authentication-perl

libcatalyst-plugin-authorization-acl-perl libcatalyst-plugin-authorization-roles-perl

libcatalyst-plugin-cache-perl libcatalyst-plugin-cache-store-fastmmap-perl

libcatalyst-plugin-configloader-perl libcatalyst-plugin-i18n-perl libcatalyst-plugin-session-perl

libcatalyst-plugin-session-state-cookie-perl libcatalyst-plugin-session-store-cache-perl

libcatalyst-plugin-session-store-dbi-perl libcatalyst-plugin-session-store-dbic-perl

libcatalyst-plugin-session-store-delegate-perl libcatalyst-plugin-session-store-fastmmap-perl

libcatalyst-plugin-session-store-file-perl libcatalyst-plugin-stacktrace-perl

libcatalyst-plugin-static-simple-perl libcatalyst-plugin-subrequest-perl libcatalyst-plugin-unicode-perl

libcatalyst-view-csv-perl libcatalyst-view-email-perl libcatalyst-view-json-perl libcatalyst-view-mason-perl

libcatalyst-view-tt-perl libcatalystx-component-traits-perl libcgi-compile-perl libcgi-emulate-psgi-perl

libcgi-formbuilder-perl libcgi-session-driver-chi-perl libcgi-session-perl

libcgi-session-serialize-yaml-perl libcgi-simple-perl libcgi-struct-xs-perl libchi-driver-redis-perl

libchi-memoize-perl libchi-perl libclass-accessor-chained-perl libclass-accessor-grouped-perl

libclass-c3-adopt-next-perl libclass-c3-componentised-perl libclass-container-perl

libclass-data-inheritable-perl libclass-factory-util-perl libclass-gomor-perl libclass-inspector-perl

libclass-load-perl libclass-load-xs-perl libclass-makemethods-perl libclass-method-modifiers-perl

libclass-mix-perl libclass-singleton-perl libclass-throwable-perl libclass-tiny-perl libclass-unload-perl

libclass-xsaccessor-perl libclone-perl libclone-pp-perl libcollectdclient1 libconfig-any-perl

libconfig-general-perl libconfig-inifiles-perl libconfig-tiny-perl libconfuse-common libconfuse0

libconst-fast-perl libcontext-preserve-perl libconvert-binhex-perl libconvert-nls-date-format-perl

libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-generatepassword-perl libcrypt-openssl-bignum-perl

libcrypt-openssl-pkcs10-perl libcrypt-openssl-pkcs12-perl libcrypt-openssl-rsa-perl

libcrypt-openssl-x509-perl libcrypt-passwdmd5-perl libcrypt-random-seed-perl libcrypt-rc4-perl

libcrypt-rijndael-perl libcrypt-smbhash-perl libcrypt-smime-perl libdata-clone-perl

libdata-dumper-concise-perl libdata-messagepack-perl libdata-messagepack-stream-perl libdata-page-perl

libdata-powerset-perl libdata-serializer-perl libdata-serializer-sereal-perl libdata-structure-util-perl

libdata-swap-perl libdata-visitor-perl libdate-calc-perl libdate-calc-xs-perl libdate-manip-perl

libdatetime-format-builder-perl libdatetime-format-dateparse-perl libdatetime-format-mysql-perl

libdatetime-format-natural-perl libdatetime-format-oracle-perl libdatetime-format-pg-perl

libdatetime-format-rfc3339-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl

libdatetime-timezone-perl libdbd-mysql-perl libdbd-sqlite3-perl libdbi-perl libdbi1

libdbix-class-cursor-cached-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-connector-perl

libdevel-argnames-perl libdevel-caller-perl libdevel-globaldestruction-perl libdevel-hide-perl

libdevel-lexalias-perl libdevel-partialdump-perl libdevel-stacktrace-ashtml-perl libdevel-stacktrace-perl

libdevel-symdump-perl libdevmapper-event1.02.1 libdigest-jhash-perl libdigest-md4-perl

libdigest-perl-md5-perl libdigest-sha1-perl libdist-checkconflicts-perl libdpkg-perl libdumbnet1

libemail-abstract-perl libemail-address-perl libemail-date-format-perl libemail-messageid-perl

libemail-mime-contenttype-perl libemail-mime-encodings-perl libemail-mime-perl libemail-sender-perl

libemail-simple-perl libemail-valid-perl liberror-perl libesmtp6 libev-perl libeval-closure-perl

libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libfcgi-procmanager-perl

libfile-changenotify-perl libfile-fcntllock-perl libfile-flock-perl libfile-homedir-perl

libfile-modified-perl libfile-pushd-perl libfile-remove-perl libfile-sharedir-perl

libfile-sharedir-projectdistdir-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-tail-perl

libfile-tempdir-perl libfile-touch-perl libfile-which-perl libfilesys-notify-simple-perl libfreeradius3

libftdi1 libganglia1 libgd-perl libgetopt-long-descriptive-perl libgraph-perl libgraphviz-perl libguard-perl

libhash-flatten-perl libhash-merge-perl libhash-moreutils-perl libhash-multivalue-perl libhcrypto4-heimdal

libhdb9-heimdal libheap-perl libheimbase1-heimdal libhiredis0.10 libhtml-formfu-perl

libhtml-formhandler-perl libhtml-lint-perl libhtml-mason-perl libhtml-scrubber-perl

libhtml-tokeparser-simple-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl

libhx509-5-heimdal libimport-into-perl libindirect-perl libio-event-perl libio-handle-util-perl

libio-interactive-perl libio-interface-perl libio-lockedfile-perl libio-prompt-tiny-perl libio-pty-perl

libio-sessiondata-perl libio-socket-timeout-perl libio-stringy-perl libipc-run-perl libipc-run3-perl

libipc-shareable-perl libipc-sharelite-perl libipset3 libiptables-chainmgr-perl libiptables-parse-perl

libjcode-pm-perl libjemalloc1 libjs-excanvas libjs-jquery libjs-jquery-flot libjs-prototype

libjs-scriptaculous libjson-any-perl libjson-maybexs-perl libkrb5-26-heimdal liblasso-perl liblasso3

liblexical-sealrequirehints-perl liblingua-en-findnumber-perl liblingua-en-inflect-number-perl

liblingua-en-inflect-perl liblingua-en-inflect-phrase-perl liblingua-en-number-isordinal-perl

liblingua-en-tagger-perl liblingua-en-words2nums-perl liblingua-pt-stemmer-perl liblingua-stem-perl

liblingua-stem-snowball-da-perl liblinux-distribution-perl liblinux-fd-perl liblinux-inotify2-perl

liblist-allutils-perl liblist-moreutils-perl libload-perl liblocale-maketext-lexicon-perl

liblog-any-adapter-log4perl-perl liblog-any-adapter-perl liblog-any-perl liblog-dispatch-config-perl

liblog-dispatch-configurator-any-perl liblog-dispatch-perl liblog-fast-perl liblog-log4perl-perl

liblog-trace-perl liblua5.3-0 liblvm2app2.2 liblvm2cmd2.02 liblwp-useragent-determined-perl

libmail-sendmail-perl libmariadbclient18 libmath-random-isaac-perl libmath-random-isaac-xs-perl

libmemcached11 libmemoize-expirelru-perl libmime-lite-perl libmime-lite-tt-perl libmime-tools-perl

libmime-types-perl libmodbus5 libmodule-find-perl libmodule-implementation-perl libmodule-install-perl

libmodule-refresh-perl libmodule-runtime-conflicts-perl libmodule-runtime-perl libmodule-scandeps-perl

libmoo-perl libmoose-perl libmoosex-aliases-perl libmoosex-attribute-chained-perl

libmoosex-emulate-class-accessor-fast-perl libmoosex-getopt-perl libmoosex-markasmethods-perl

libmoosex-methodattributes-perl libmoosex-nonmoose-perl libmoosex-params-validate-perl

libmoosex-role-parameterized-perl libmoosex-role-withoverloading-perl libmoosex-semiaffordanceaccessor-perl

libmoosex-traits-pluggable-perl libmoosex-types-common-perl libmoosex-types-loadableclass-perl

libmoosex-types-perl libmoox-types-mooselike-numeric-perl libmoox-types-mooselike-perl

libmultidimensional-perl libmysqlclient18 libnamespace-autoclean-perl libnamespace-clean-perl

libnet-appliance-session-perl libnet-arp-perl libnet-cisco-mse-rest-perl libnet-cli-interact-perl

libnet-dns-perl libnet-domain-tld-perl libnet-frame-device-perl libnet-frame-dump-perl

libnet-frame-layer-icmpv6-perl libnet-frame-layer-ipv6-perl libnet-frame-perl libnet-frame-simple-perl

libnet-interface-perl libnet-ip-perl libnet-ipv6addr-perl libnet-libdnet-perl libnet-libdnet6-perl

libnet-nessus-rest-perl libnet-nessus-xmlrpc-perl libnet-netmask-perl libnet-oauth2-perl libnet-pcap-perl

libnet-radius-perl libnet-rawip-perl libnet-route-perl libnet-snmp-perl libnet-ssh2-perl libnet-syslog-perl

libnet-telnet-cisco-perl libnet-telnet-perl libnet-wmiclient-perl libnet-write-perl libnet1

libnetaddr-ip-perl libnetpacket-perl libnetwork-ipv4addr-perl libnuma1 libnumber-format-perl

libnumber-range-perl libobject-signature-perl libole-storage-lite-perl libopenipmi0 liboping0

libossp-uuid-perl libossp-uuid16 libow-2.9-8 libowcapi-2.9-8 libpackage-deprecationmanager-perl

libpackage-stash-perl libpackage-stash-xs-perl libpackage-variant-perl libpadwalker-perl libpar-dist-perl

libparams-classify-perl libparams-validate-perl libparse-nessus-nbe-perl libparse-recdescent-perl

libpath-class-perl libpath-finddev-perl libpath-isdev-perl libpath-tiny-perl libperl-critic-perl

libperl-version-perl libperlio-via-timeout-perl libphp-serialization-perl

libplack-middleware-fixmissingbodyinredirect-perl libplack-middleware-methodoverride-perl

libplack-middleware-removeredundantbody-perl libplack-middleware-reverseproxy-perl libplack-perl

libplack-test-externalserver-perl libpod-coverage-perl libpod-spell-perl libposix-2008-perl

libposix-strftime-compiler-perl libppi-perl libppix-regexp-perl libppix-utilities-perl libpq5

libproc-processtable-perl librabbitmq1 librdkafka1 libreadline5 libreadonly-perl libreadonly-xs-perl

libredis-fast-perl libredis-perl libregexp-assemble-perl libregexp-common-email-address-perl

libregexp-common-time-perl libroken18-heimdal librole-tiny-perl librose-datetime-perl librose-db-object-perl

librose-db-perl librose-object-perl librrd4 librrds-perl libsafe-isa-perl libscalar-list-utils-perl

libscope-guard-perl libscope-upper-perl libsereal-decoder-perl libsereal-encoder-perl libserialport0

libset-object-perl libsigrok2 libsnmp-perl libsnowball-norwegian-perl libsnowball-swedish-perl

libsoap-lite-perl libsort-naturally-perl libspreadsheet-parseexcel-perl libspreadsheet-writeexcel-perl

libsql-abstract-more-perl libsql-abstract-perl libsql-reservedwords-perl libsql-translator-perl

libstream-buffered-perl libstrictures-perl libstring-camelcase-perl libstring-escape-perl

libstring-format-perl libstring-rewriteprefix-perl libstring-toidentifier-en-perl

libsub-exporter-progressive-perl libsub-identify-perl libsub-uplevel-perl libsys-hostname-long-perl

libtask-weaken-perl libtemplate-autofilter-perl libtemplate-perl libtemplate-provider-encoding-perl

libtemplate-timer-perl libterm-readkey-perl libterm-readpassword-perl libterm-size-any-perl

libterm-size-perl-perl libtest-assertions-perl libtest-deep-perl libtest-differences-perl

libtest-exception-perl libtest-leaktrace-perl libtest-longstring-perl libtest-mockdbi-perl

libtest-mockobject-perl libtest-perl-critic-perl libtest-pod-coverage-perl libtest-pod-perl

libtest-sharedfork-perl libtest-tcp-perl libtest-warn-perl libtest-www-mechanize-catalyst-perl

libtest-www-mechanize-perl libtext-autoformat-perl libtext-csv-perl libtext-csv-xs-perl libtext-diff-perl

libtext-german-perl libtext-glob-perl libtext-recordparser-perl libtext-reform-perl libtext-simpletable-perl

libtext-tabulardisplay-perl libthread-conveyor-monitored-perl libthread-conveyor-perl libthread-pool-perl

libthread-pool-simple-perl libthread-serialize-perl libthread-tie-perl libthrowable-perl libtie-dxhash-perl

libtie-toobject-perl libtime-clock-perl libtime-duration-parse-perl libtime-duration-perl libtime-out-perl

libtime-period-perl libtokyotyrant3 libtree-simple-perl libtree-simple-visitorfactory-perl libtry-tiny-perl

libunicode-map-perl libunicode-utf8-perl libuniversal-can-perl libuniversal-exports-perl

libuniversal-isa-perl libuniversal-require-perl libupsclient4 liburi-escape-xs-perl liburi-find-perl

libv8-3.14.5 libvariable-magic-perl libvarnishapi1 libvirt0 libwind0-heimdal libwmiclient1 libwww-curl-perl

libwww-mechanize-perl libwww-twilio-api-perl libxmlrpc-lite-perl libxmlsec1 libxmlsec1-openssl

libyaml-libyaml-perl libyaml-perl libyaml-syck-perl libyaml-tiny-perl libzip2 lvm2 mariadb-common

mariadb-server-core-10.1 mysql-common nodejs openssl-blacklist-extra owfs-common p0f packetfence-config

packetfence-doc packetfence-golang-daemon packetfence-ntlm-wrapper packetfence-pfcmd-suid

packetfence-redis-cache perltidy python-characteristic python-django python-django-common

python-django-tagging python-mysqldb python-pam python-pyasn1-modules python-pyparsing python-serial

python-service-identity python-simplejson python-sqlparse python-twisted-bin python-twisted-core

python-whisper redis-server redis-tools rrdtool rsync samba samba-dsdb-modules samba-vfs-modules snmp snmpd

snmptrapfmt socat sqlite3 sscep sudo tdb-tools vlan winbind wmi-client

Veuillez utiliser « apt-get autoremove » pour les supprimer.

Les paquets supplémentaires suivants seront installés :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils golang-1.7-go

golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl libfreeradius3 liblua5.3-0 libmariadbclient18

libmysqlclient18 mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Paquets suggérés :

freeradius-postgresql freeradius-krb5 bzr git mercurial subversion

Paquets recommandés :

g++ gcc libc6-dev pkg-config

Les paquets suivants seront ENLEVÉS :

mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5 packetfence

Les NOUVEAUX paquets suivants seront installés :

golang-1.7-go golang-1.7-src libcrypt-cbc-perl libcrypt-rijndael-perl liblua5.3-0 libmariadbclient18

mariadb-server-core-10.1 packetfence-doc packetfence-golang-daemon

Les paquets suivants seront mis à jour :

freeradius freeradius-ldap freeradius-mysql freeradius-redis freeradius-rest freeradius-utils libfreeradius3

libmysqlclient18

8 mis à jour, 9 nouvellement installés, 5 à enlever et 2 non mis à jour.

2 partiellement installés ou enlevés.

Il est nécessaire de prendre 51,2 Mo dans les archives.

AprÚs cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés.

Souhaitez-vous continuer ? [O/n] n

Annulation.

May you have any clues about this issue ? I tried several actions found randomly on Google, with no luck :-(
Thx again for your help :-)
Regards
Greg










Thanks a lot everyone.







------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)






------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot






_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand

***@inverse.ca<mailto:***@inverse.ca> :: +1.514.447.4918 (x135) :: www.inverse.ca<http://www.inverse.ca>

Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence (http://packetfence.org)





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)




------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

PacketFence-***@lists.sourceforge.net<mailto:PacketFence-***@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Antoine Amacher

***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>

+1.514.447.4918 x130 :: +1 (866) 353-6153 x130

Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
Loading...