Hello Jeimerson,

it looks that something is already listening on the port 3306.

Can you check with netstat ?

Regards

Fabrice



Le 2018-05-16 à 04:35, Jeimerson C. Chaves via PacketFence-users a écrit :
Hello, I am configuring the Cluster, as it appears in how to, but,
after configuring mysql, it restarts and does not run anymore. Well,
you're trying to run on the VIP IP.
Follow log.

May 16 08:25:57 pfence01 mysqld_safe: mysqld from pid file
/var/lib/mysql/pfence01.pid ended
May 16 08:25:58 pfence01 mysqld_safe: Starting mysqld daemon with
databases from /var/lib/mysql
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a
future release.
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] /usr/sbin/mysqld (mysqld 10.1.21-MariaDB) starting as process
5868 ...
May 16 08:25:58 pfence01 mysqld: 2018-05-16 08:25:58 7f104b06f900
InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED.
This option may be removed in future releases, together with the
option innodb_use_sys_malloc and with the InnoDB's internal memory
allocator.
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Using mutexes to ref count buffer pool pages
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: The InnoDB memory heap is disabled
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory
barrier
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Compressed tables use zlib 1.2.7
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Using Linux native AIO
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Using generic crc32 instructions
May 16 08:25:58 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Initializing buffer pool, size = 500.0M
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:58 139707954952448
[Note] InnoDB: Completed initialization of buffer pool
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[Note] InnoDB: Highest supported file format is Barracuda.
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[Note] InnoDB: 128 rollback segment(s) are active.
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[Note] InnoDB: Waiting for purge to start
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1
started; log sequence number 2188830
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139706826196736
[Note] InnoDB: Dumping buffer pool(s) not yet started
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[Note] Plugin 'FEEDBACK' is disabled.
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[Note] Server socket created on IP: '10.161.16.20'.
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[ERROR] Can't start server: Bind on TCP/IP port. Got error: 99: Cannot
assign requested address
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[ERROR] Do you already have another mysqld server running on port:
3306 ?
May 16 08:25:59 pfence01 mysqld: 2018-05-16  8:25:59 139707954952448
[ERROR] Aborting
May 16 08:25:59 pfence01 mysqld:
^C
[root@pfence01 ~]# tailf /usr/local/pf/logs/packetfence.log
May 16 08:24:57 pfence01 packetfence: FATAL -e(647): unable to connect
to database: Access denied for user 'pf'@'localhost' (using password:
YES) at -e line 1.
  (pf::db::db_connect)
May 16 08:24:59 pfence01 packetfence: WARN -e(647): Problem trying to
run command: LANG=C sudo /sbin/iptables -S | grep input-management-if
called from manager::iptables::isAlive. Child exited with non-zero
value 1 (pf::util::pf_run)
May 16 08:25:00 pfence01 packetfence: WARN -e(647): Problem trying to
run command: LANG=C sudo /sbin/iptables -S | grep input-management-if
called from manager::iptables::isAlive. Child exited with non-zero
value 1 (pf::util::pf_run)
May 16 08:25:00 pfence01 packetfence: INFO -e(647): saving existing
iptables to /usr/local/pf/var/iptables.bak
(pf::iptables::iptables_save)
May 16 08:25:00 pfence01 packetfence: WARN -e(647): We are using IPSET
(pf::ipset::iptables_generate)
May 16 08:25:00 pfence01 packetfence: INFO -e(647): flushing iptables
(pf::ipset::iptables_flush_mangle)
May 16 08:25:01 pfence01 packetfence: INFO -e(647): Adding Forward
rules to allow connections to the OAuth2 Providers and passthrough.
(pf::iptables::generate_passthrough_rules)
May 16 08:25:01 pfence01 packetfence: INFO -e(647): Adding NAT
Masquerade statement. (pf::iptables::generate_passthrough_rules)
May 16 08:25:01 pfence01 packetfence: INFO -e(647): restoring iptables
from /usr/local/pf/var/conf/iptables.conf
(pf::iptables::iptables_restore)

Tks.


Com os melhores cumprimentos.

Jeimerson Chaves

Aviso de Confidencialidade: Este e-mail e quaisquer ficheiros
informáticos com ele transmitidos são confidenciais, podem conter
informação privilegiada e destinam-se ao conhecimento e uso exclusivo
da pessoa ou entidade a quem são dirigidos, não podendo o conteúdo dos
mesmos ser alterado. Caso tenha recebido este e-mail indevidamente,
queira informar de imediato o remetente e proceder à destruição da
mensagem e de eventuais cópias.

Confidentiality Warning: This e-mail and any files transmitted with it
are confidential and may be privileged and are intended solely for the
use of the individual or entity to whom they are addressed. Their
contents may not be altered. lf you are not the intended recipient of
this communication please notify the sender and delete and destroy all
copies immediately.


------------------------------------------------------------------------------
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-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
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-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to