Re: [PacketFence-users] Cluster - no dhcp

2017-12-13 Thread Luís Torres via PacketFence-users
 

Hi mates, 

recovered the all db with this:


/usr/local/pf/bin/pfcmd service pf stop
systemctl stop
packetfence-mariadb
rm -fr /var/lib/mysql/* 

mysql_install_db
--user=mysql 

mysqld_safe --user=mysql &
mysql_secure_installation
Kill
-9 (all process from "mysqld_safe --user=mysql &" ) 

systemctl restart
packetfence-mariadb 

/usr/local/pf/bin/pfcmd service httpd.admin start


https://10.252.2.140:1443/configurator/database 

Em 2017-12-13 01:01,
Durand fabrice via PacketFence-users escreveu: 

> Ok try : 
> 
> pfcmd
configreload hard pfcmd service dhcpd restart
> 
> Le 2017-12-12 à
19:39, Luís Torres via PacketFence-users a écrit : 
> 
>> Still is : 
>>

>> wsrep_cluster_size | 3 
>> 
>> wsrep_cluster_status | Primary ( both
3 servers are with this status , is it normal?) 
>> 
>>
wsrep_incoming_addresses |
10.252.2.141:3306,10.252.2.142:3306,10.252.2.140:3306 
>> 
>> Em
2017-12-13 00:09, Durand fabrice via PacketFence-users escreveu: 
>>

>>> Looks that your cluster is not a cluster anymore, can you do that:

>>> 
>>> mysql -upf -p -e "show status like 'wsrep%'" and check
wsrep_cluster_size if it's equal to 3.
>>> 
>>> Regards
>>> Fabrice
>>>

>>> Le 2017-12-12 à 18:58, Luís Torres via PacketFence-users a écrit :

>>> 
 Both of 3 are not showing even the dhcp 
 
 Em
2017-12-12 23:50, Tomasz Karczewski via PacketFence-users escreveu:

 
> If you have packetfence 7.3.0 check configuration > system
conifg > 
> services > dhcpd. It need to be checked.
> 
> W
dniu 2017-12-12 20:22, Luís Torres via PacketFence-users
napisał(a):
> 
>> Hi mates, manage to recover the cluster but
now the dhcp wont start. Gives me the error: /usr/local/pf/bin/pfcmd
service dhcpd restart service|command dhcpd|already stopped Service
'dhcpd' is not managed by PacketFence. Therefore, no action will be
performed What could be? Regards LT
> 
>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]



--

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

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


 ___

PacketFence-users mailing list

PacketFence-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
>>>

>>>
--
>>>
Check out the vibrant tech community on one of the world's most
>>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>>> 
>>>
___
>>> PacketFence-users
mailing list
>>> PacketFence-users@lists.sourceforge.net
>>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
>>

>>
--
>>
Check out the vibrant tech community on one of the world's most
>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>> 
>>
___
>> PacketFence-users
mailing list
>> PacketFence-users@lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
> 
>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
> 
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]




Links:
--
[1] http://sdm.link/slashdot
[2]
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


Re: [PacketFence-users] Cluster - no dhcp

2017-12-13 Thread Luís Torres via PacketFence-users
 

Same thing... 

since this cluster is not live yet, theres a
procdure to recover a node? 

Cause I tried: 

/usr/local/pf/bin/pfcmd
service pf stop
 systemctl stop packetfence-mariadb
systemctl restart
packetfence-config
/usr/local/pf/bin/pfcmd configreload hard
 rm -fr
/var/lib/mysql/*
/usr/local/pf/bin/pfcmd generatemariadbconfig 

but it
stucks in here _systemctl start packetfence-mariadb _with the error: 

_
_ 

_unable to connect to database: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock'_ 

_ _ 

_LT_ 

_ _ 

_ _


Em 2017-12-13 01:01, Durand fabrice via PacketFence-users escreveu:


> Ok try : 
> 
> pfcmd configreload hard pfcmd service dhcpd restart
>

> Le 2017-12-12 à 19:39, Luís Torres via PacketFence-users a écrit : 
>

>> Still is : 
>> 
>> wsrep_cluster_size | 3 
>> 
>>
wsrep_cluster_status | Primary ( both 3 servers are with this status ,
is it normal?) 
>> 
>> wsrep_incoming_addresses |
10.252.2.141:3306,10.252.2.142:3306,10.252.2.140:3306 
>> 
>> Em
2017-12-13 00:09, Durand fabrice via PacketFence-users escreveu: 
>>

>>> Looks that your cluster is not a cluster anymore, can you do that:

>>> 
>>> mysql -upf -p -e "show status like 'wsrep%'" and check
wsrep_cluster_size if it's equal to 3.
>>> 
>>> Regards
>>> Fabrice
>>>

>>> Le 2017-12-12 à 18:58, Luís Torres via PacketFence-users a écrit :

>>> 
 Both of 3 are not showing even the dhcp 
 
 Em
2017-12-12 23:50, Tomasz Karczewski via PacketFence-users escreveu:

 
> If you have packetfence 7.3.0 check configuration > system
conifg > 
> services > dhcpd. It need to be checked.
> 
> W
dniu 2017-12-12 20:22, Luís Torres via PacketFence-users
napisał(a):
> 
>> Hi mates, manage to recover the cluster but
now the dhcp wont start. Gives me the error: /usr/local/pf/bin/pfcmd
service dhcpd restart service|command dhcpd|already stopped Service
'dhcpd' is not managed by PacketFence. Therefore, no action will be
performed What could be? Regards LT
> 
>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]



--

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

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


 ___

PacketFence-users mailing list

PacketFence-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
>>>

>>>
--
>>>
Check out the vibrant tech community on one of the world's most
>>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>>> 
>>>
___
>>> PacketFence-users
mailing list
>>> PacketFence-users@lists.sourceforge.net
>>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
>>

>>
--
>>
Check out the vibrant tech community on one of the world's most
>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>> 
>>
___
>> PacketFence-users
mailing list
>> PacketFence-users@lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
> 
>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
> 
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]




Links:
--
[1] http://sdm.link/slashdot
[2]
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


Re: [PacketFence-users] Cluster - no dhcp

2017-12-12 Thread Durand fabrice via PacketFence-users

Ok try :

pfcmd configreload hard

pfcmd service dhcpd restart

Le 2017-12-12 à 19:39, Luís Torres via PacketFence-users a écrit :


Still is :

wsrep_cluster_size           | 3

 wsrep_cluster_status         | Primary ( both 3 servers are with this 
status , is it normal?)


 wsrep_incoming_addresses     | 
10.252.2.141:3306,10.252.2.142:3306,10.252.2.140:3306


Em 2017-12-13 00:09, Durand fabrice via PacketFence-users escreveu:


Looks that your cluster is not a cluster anymore, can you do that:

mysql -upf -p -e "show status like 'wsrep%'"

and check wsrep_cluster_size if it's equal to 3.

Regards
Fabrice

Le 2017-12-12 à 18:58, Luís Torres via PacketFence-users a écrit :


Both of 3 are not showing even the dhcp

Em 2017-12-12 23:50, Tomasz Karczewski via PacketFence-users escreveu:

If you have packetfence 7.3.0 check configuration > system conifg >
services > dhcpd. It need to be checked.

W dniu 2017-12-12 20:22, Luís Torres via PacketFence-users napisał(a):

Hi mates, manage to recover the cluster but now the dhcp
wont start. Gives me the error: /usr/local/pf/bin/pfcmd
service dhcpd restart service|command dhcpd|already stopped
Service 'dhcpd' is not managed by PacketFence. Therefore, no
action will be performed What could be? Regards LT


--
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



--
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


--
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


Re: [PacketFence-users] Cluster - no dhcp

2017-12-12 Thread Luís Torres via PacketFence-users
 

Still is : 

wsrep_cluster_size | 3 

 wsrep_cluster_status |
Primary ( both 3 servers are with this status , is it normal?) 


wsrep_incoming_addresses |
10.252.2.141:3306,10.252.2.142:3306,10.252.2.140:3306 

Em 2017-12-13
00:09, Durand fabrice via PacketFence-users escreveu: 

> Looks that
your cluster is not a cluster anymore, can you do that: 
> 
> mysql -upf
-p -e "show status like 'wsrep%'" and check wsrep_cluster_size if it's
equal to 3.
> 
> Regards
> Fabrice
> 
> Le 2017-12-12 à 18:58, Luís
Torres via PacketFence-users a écrit : 
> 
>> Both of 3 are not showing
even the dhcp 
>> 
>> Em 2017-12-12 23:50, Tomasz Karczewski via
PacketFence-users escreveu: 
>> 
>>> If you have packetfence 7.3.0 check
configuration > system conifg > 
>>> services > dhcpd. It need to be
checked.
>>> 
>>> W dniu 2017-12-12 20:22, Luís Torres via
PacketFence-users napisał(a):
>>> 
 Hi mates, manage to recover the
cluster but now the dhcp wont start. Gives me the error:
/usr/local/pf/bin/pfcmd service dhcpd restart service|command
dhcpd|already stopped Service 'dhcpd' is not managed by PacketFence.
Therefore, no action will be performed What could be? Regards LT
>>>

>>>
--
>>>
Check out the vibrant tech community on one of the world's most
>>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>>>
___
>>> PacketFence-users
mailing list
>>> PacketFence-users@lists.sourceforge.net
>>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
>>

>>
--
>>
Check out the vibrant tech community on one of the world's most
>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>> 
>>
___
>> PacketFence-users
mailing list
>> PacketFence-users@lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
> 
>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
> 
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]




Links:
--
[1] http://sdm.link/slashdot
[2]
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


Re: [PacketFence-users] Cluster - no dhcp

2017-12-12 Thread Durand fabrice via PacketFence-users

Looks that your cluster is not a cluster anymore, can you do that:

mysql -upf -p -e "show status like 'wsrep%'"

and check wsrep_cluster_size if it's equal to 3.

Regards
Fabrice

Le 2017-12-12 à 18:58, Luís Torres via PacketFence-users a écrit :


Both of 3 are not showing even the dhcp

Em 2017-12-12 23:50, Tomasz Karczewski via PacketFence-users escreveu:


If you have packetfence 7.3.0 check configuration > system conifg >
services > dhcpd. It need to be checked.

W dniu 2017-12-12 20:22, Luís Torres via PacketFence-users napisał(a):
Hi mates, manage to recover the cluster but now the dhcp wont start. 
Gives me the error: /usr/local/pf/bin/pfcmd service dhcpd restart 
service|command dhcpd|already stopped Service 'dhcpd' is not managed 
by PacketFence. Therefore, no action will be performed What could 
be? Regards LT

--
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


--
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


Re: [PacketFence-users] Cluster - no dhcp

2017-12-12 Thread Luís Torres via PacketFence-users
 

Both of 3 are not showing even the dhcp 

Em 2017-12-12 23:50,
Tomasz Karczewski via PacketFence-users escreveu: 

> If you have
packetfence 7.3.0 check configuration > system conifg > 
> services >
dhcpd. It need to be checked.
> 
> W dniu 2017-12-12 20:22, Luís Torres
via PacketFence-users napisał(a):
> 
>> Hi mates, manage to recover the
cluster but now the dhcp wont start. Gives me the error:
/usr/local/pf/bin/pfcmd service dhcpd restart service|command
dhcpd|already stopped Service 'dhcpd' is not managed by PacketFence.
Therefore, no action will be performed What could be? Regards LT
> 
>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]




Links:
--
[1] http://sdm.link/slashdot
[2]
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


Re: [PacketFence-users] Cluster - no dhcp

2017-12-12 Thread Luís Torres via PacketFence-users
 

Normally I got 2 dhcp working on a 3 cluster. But since I had some
routing probs with the master machine ( this onde assumed the dhcp ) I
made some routed networks changes and after I few restarts, none of the
dhcp are working. 

Im using all 3 machines on hyperV 

LT 

Em
2017-12-12 19:52, Fabrice Durand via PacketFence-users escreveu: 

>
Just on one of them, right ? 
> 
> If it's the case then it's normal. 
>

> Le 2017-12-12 à 14:22, Luís Torres via PacketFence-users a écrit : 
>

>> Hi mates, 
>> 
>> manage to recover the cluster but now the dhcp
wont start. Gives me the error: 
>> 
>> /usr/local/pf/bin/pfcmd service
dhcpd restart
>> service|command
>> dhcpd|already stopped
>> Service
'dhcpd' is not managed by PacketFence. Therefore, no action will be
performed 
>> 
>> What could be? 
>> 
>> Regards 
>> 
>> LT 
>> 
>>
--
>>
Check out the vibrant tech community on one of the world's most
>>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
>> 
>>
___
>> PacketFence-users
mailing list
>> PacketFence-users@lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]
> 
>
-- 
> Fabrice Durand
> fdur...@inverse.ca :: +1.514.447.4918 (x135) ::
www.inverse.ca [3]
> Inverse inc. :: Leaders behind SOGo
(http://www.sogo.nu [4]) and PacketFence (http://packetfence.org [5]) 
>

>
--
>
Check out the vibrant tech community on one of the world's most
>
engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]
> 
>
___
> PacketFence-users
mailing list
> PacketFence-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/packetfence-users [2]




Links:
--
[1] http://sdm.link/slashdot
[2]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
[3]
http://www.inverse.ca
[4] http://www.sogo.nu
[5] 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-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Cluster - no dhcp

2017-12-12 Thread Fabrice Durand via PacketFence-users
Just on one of them, right ?

If it's the case then it's normal.


Le 2017-12-12 à 14:22, Luís Torres via PacketFence-users a écrit :
>
> Hi mates,
>
>  
>
> manage to recover the cluster but now the dhcp wont start. Gives me
> the error:
>
>  
>
> /usr/local/pf/bin/pfcmd service dhcpd restart
> service|command
> dhcpd|already stopped
> Service 'dhcpd' is not managed by PacketFence. Therefore, no action
> will be performed
>
>  
>
> What could be?
>
>  
>
> Regards
>
> LT
>
>  
>
>
> --
> 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

-- 
Fabrice Durand
fdur...@inverse.ca ::  +1.514.447.4918 (x135) ::  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-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users