Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Antoine Amacher

How are you trying to reach the admin page?

What does the following command give you as a result?

ps -edf | grep httpd.admin

Try to manually disable iptables before reaching the page:

service iptables off

Thanks,

On 01/08/2016 01:38 PM, Jason Maher wrote:


I cant drop either database because it claims it doesn’t exist.

Neither does the file conf/currently-at

I don’t think I can reach the admin section because the web page 
doesn’t start up due to all the erros.


*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 12:15 PM
*To:* packetfence-users@lists.sourceforge.net
*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

The easiest way here will be to recreate your database.

Connect as root in mysql and do:

drop database pf;
drop database pf_graphite;

You also need to remove a file with:

rm conf/currently-at

After that restart PacketFence, and when you try to reach the admin 
you will be redirected to the configurator, you will need to re-do it.


Thanks,

On 01/08/2016 01:07 PM, Jason Maher wrote:

Looks like the user isn’t present.  How do I go about creating one?

mysql> use mysql;

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Database changed

mysql> select * from user where User="pf" \G

Empty set (0.00 sec)

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 11:50 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to
change the password of the user pf.

On 01/08/2016 12:38 PM, Jason Maher wrote:

Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p

Enter password:

ERROR 1045 (28000): Access denied for user 'pf'@'localhost'
(using password: YES)

musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 473

Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All
rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.

mysql>

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 11:33 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies
trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,

On 01/08/2016 12:12 PM, Jason Maher wrote:

I updated this file with the correct password… now I only
have these errors left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo
/etc/init.d/packetfence start

[sudo] password for musl:

* Starting packetfence service|command

httpd.admin|already started

redis_queue|already started

Checking configuration sanity...

Could not write namespace config::PfDefault to L2 cache !
This is bad.

Could not write namespace config::Documentation to L2
cache ! This is bad.

Could not write namespace config::Cluster to L2 cache !
This is bad.

Could not write namespace config::PfDefault to L2 cache !
This is bad.

Could not write namespace config::Documentation to L2
cache ! This is bad.

Could not write namespace config::Cluster to L2 cache !
This is bad.

unable to connect to database: Access denied for user
'pf'@'localhost' (using password: YES) at
/usr/local/pf/lib/pf/version.pm line 42.

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Antoine Amacher

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to change 
the password of the user pf.


On 01/08/2016 12:38 PM, Jason Maher wrote:


Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p

Enter password:

ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using 
password: YES)


musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 473

Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights 
reserved.


Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.


mysql>

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 11:33 AM
*To:* packetfence-users@lists.sourceforge.net
*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,

On 01/08/2016 12:12 PM, Jason Maher wrote:

I updated this file with the correct password… now I only have
these errors left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo
/etc/init.d/packetfence start

[sudo] password for musl:

* Starting packetfence service|command

httpd.admin|already started

redis_queue|already started

Checking configuration sanity...

Could not write namespace config::PfDefault to L2 cache ! This is bad.

Could not write namespace config::Documentation to L2 cache ! This
is bad.

Could not write namespace config::Cluster to L2 cache ! This is bad.

Could not write namespace config::PfDefault to L2 cache ! This is bad.

Could not write namespace config::Documentation to L2 cache ! This
is bad.

Could not write namespace config::Cluster to L2 cache ! This is bad.

unable to connect to database: Access denied for user
'pf'@'localhost' (using password: YES) at
/usr/local/pf/lib/pf/version.pm line 42.

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 10:40 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Can you verify that the password in conf/pfconfig.conf for the
user pf is the one you setup during the configurator?

Thank you

On 01/08/2016 11:12 AM, Jason Maher wrote:

Yes it is and yes I have.

Uptime: 68221 Threads: 1  Questions: 106  Slow queries: 0 
Opens: 48 Flush tables: 1  Open tables: 41  Queries per second

avg: 0.001

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 8:10 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies
trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,

On 01/07/2016 05:57 PM, Jason Maher wrote:

Next problem…. Im receiving these errors.

musl@PacketFence:/usr/local/pf/conf$ sudo
/etc/init.d/packetfence restart

* Stopping packetfence service|command

carbon-cache|already stopped

carbon-relay|already stopped

collectd|already stopped

dhcpd|already stopped

haproxy|already stopped

httpd.aaa|already stopped

httpd.admin|stop

httpd.graphite|already stopped

httpd.portal|already stopped

httpd.proxy|already stopped

httpd.webservices|already stopped

iptables|already stopped

p0f|already stopped

pfbandwidthd|already stopped

pfdetect|already stopped

pfdns|already stopped

pfmon|already stopped

pfqueue|already stopped

pfsetvlan|already stopped

radiusd-acct|already stopped

radiusd|already stopped

radsniff3|already stopped

redis_queue|stop

snmptrapd|already stopped

snort|already stopped

statsd|already 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
I cant drop either database because it claims it doesn't exist.

Neither does the file conf/currently-at

I don't think I can reach the admin section because the web page doesn't start 
up due to all the erros.


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:15 PM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

The easiest way here will be to recreate your database.

Connect as root in mysql and do:

drop database pf;
drop database pf_graphite;

You also need to remove a file with:

rm conf/currently-at

After that restart PacketFence, and when you try to reach the admin you will be 
redirected to the configurator, you will need to re-do it.

Thanks,
On 01/08/2016 01:07 PM, Jason Maher wrote:
Looks like the user isn't present.  How do I go about creating one?

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from user where User="pf" \G
Empty set (0.00 sec)


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:50 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to change the 
password of the user pf.
On 01/08/2016 12:38 PM, Jason Maher wrote:
Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p
Enter password:
ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
YES)
musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 473
Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:33 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,
On 01/08/2016 12:12 PM, Jason Maher wrote:
I updated this file with the correct password... now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 'pf'@'localhost' (using 
password: YES) at /usr/local/pf/lib/pf/version.pm line 42.

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 10:40 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Can you verify that the password in conf/pfconfig.conf for the user pf is the 
one you setup during the configurator?

Thank you
On 01/08/2016 11:12 AM, Jason Maher wrote:
Yes it is and yes I have.

Uptime: 68221  Threads: 1  Questions: 106  Slow queries: 0  Opens: 48  Flush 
tables: 1  Open tables: 41  Queries per second avg: 0.001

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 8:10 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Antoine Amacher

The easiest way here will be to recreate your database.

Connect as root in mysql and do:

drop database pf;
drop database pf_graphite;

You also need to remove a file with:

rm conf/currently-at

After that restart PacketFence, and when you try to reach the admin you 
will be redirected to the configurator, you will need to re-do it.


Thanks,

On 01/08/2016 01:07 PM, Jason Maher wrote:


Looks like the user isn’t present.  How do I go about creating one?

mysql> use mysql;

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Database changed

mysql> select * from user where User="pf" \G

Empty set (0.00 sec)

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 11:50 AM
*To:* packetfence-users@lists.sourceforge.net
*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to 
change the password of the user pf.


On 01/08/2016 12:38 PM, Jason Maher wrote:

Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p

Enter password:

ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using
password: YES)

musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 473

Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights
reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.

mysql>

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 11:33 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,

On 01/08/2016 12:12 PM, Jason Maher wrote:

I updated this file with the correct password… now I only have
these errors left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo
/etc/init.d/packetfence start

[sudo] password for musl:

* Starting packetfence service|command

httpd.admin|already started

redis_queue|already started

Checking configuration sanity...

Could not write namespace config::PfDefault to L2 cache ! This
is bad.

Could not write namespace config::Documentation to L2 cache !
This is bad.

Could not write namespace config::Cluster to L2 cache ! This
is bad.

Could not write namespace config::PfDefault to L2 cache ! This
is bad.

Could not write namespace config::Documentation to L2 cache !
This is bad.

Could not write namespace config::Cluster to L2 cache ! This
is bad.

unable to connect to database: Access denied for user
'pf'@'localhost' (using password: YES) at
/usr/local/pf/lib/pf/version.pm line 42.

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 10:40 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies
trouble

Can you verify that the password in conf/pfconfig.conf for the
user pf is the one you setup during the configurator?

Thank you

On 01/08/2016 11:12 AM, Jason Maher wrote:

Yes it is and yes I have.

Uptime: 68221 Threads: 1  Questions: 106  Slow queries: 0 
Opens: 48  Flush tables: 1  Open tables: 41  Queries per

second avg: 0.001

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 8:10 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Antoine Amacher
Jason,

https://@YOUR_PF_MANAGEMENT_IP:1443

Will lead you to the configurator.

On 01/08/2016 03:48 PM, Jason Maher wrote:
> How do I run the web based configurator post install?
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
>
> -Original Message-
> From: Sallee, Jake [mailto:jake.sal...@umhb.edu]
> Sent: Friday, January 08, 2016 1:08 PM
> To: packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> Did you run the web-based configurator? It is the first step after you 
> install.  No PF user and no PF data base sounds like you may have missed that 
> step.
>
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
> WWW.UMHB.EDU
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
> 
> From: Antoine Amacher [aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 12:48 PM
> To: packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> How are you trying to reach the admin page?
>
> What does the following command give you as a result?
>
> ps -edf | grep httpd.admin
>
> Try to manually disable iptables before reaching the page:
>
> service iptables off
>
> Thanks,
>
> On 01/08/2016 01:38 PM, Jason Maher wrote:
> I cant drop either database because it claims it doesn't exist.
>
> Neither does the file conf/currently-at
>
> I don't think I can reach the admin section because the web page doesn't 
> start up due to all the erros.
>
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
> From: Antoine Amacher [mailto:aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 12:15 PM
> To: 
> packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> The easiest way here will be to recreate your database.
>
> Connect as root in mysql and do:
>
> drop database pf;
> drop database pf_graphite;
>
> You also need to remove a file with:
>
> rm conf/currently-at
>
> After that restart PacketFence, and when you try to reach the admin you will 
> be redirected to the configurator, you will need to re-do it.
>
> Thanks,
> On 01/08/2016 01:07 PM, Jason Maher wrote:
> Looks like the user isn't present.  How do I go about creating one?
>
> mysql> use mysql;
> Reading table information for completion of table and column names You can 
> turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> select * from user where User="pf" \G
> Empty set (0.00 sec)
>
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
> From: Antoine Amacher [mailto:aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 11:50 AM
> To: 
> packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> Is the user pf existing in the database, while logged as root, do:
>
> use mysql;
> select * from user where User="pf" \G
>
> If the user is present and is still doesn't work you could try to change the 
> password of the user pf.
> On 01/08/2016 12:38 PM, Jason Maher wrote:
> Looks like root worked but pf did not.
>
> musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p Enter password:
> ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
> YES) musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 473
> Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)
>
> Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
>
> Oracle is a registered trademark of Oracle Corporation and/or its affiliates. 
> Other names may be trademarks of their respective owners.
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
>
> mysql>
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
> From: Antoine Amacher [mailto:aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 11:33 AM
> To: 
> packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> Are you able to connect to the database?
>
> with for instance:
> mysql -u pf -p
> or
> mysql -u root -p
>
> Thanks,
> On 01/08/2016 12:12 PM, Jason Maher wrote:
> I updated this file with the correct password... now I only have these errors 
> left.
>
> ^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start 
> [sudo] password for musl:
> * Starting packetfence
>service|command
> httpd.admin|already started
> 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
How do I run the web based configurator post install?

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420



-Original Message-
From: Sallee, Jake [mailto:jake.sal...@umhb.edu]
Sent: Friday, January 08, 2016 1:08 PM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Did you run the web-based configurator? It is the first step after you install. 
 No PF user and no PF data base sounds like you may have missed that step.

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
WWW.UMHB.EDU

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221

From: Antoine Amacher [aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:48 PM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

How are you trying to reach the admin page?

What does the following command give you as a result?

ps -edf | grep httpd.admin

Try to manually disable iptables before reaching the page:

service iptables off

Thanks,

On 01/08/2016 01:38 PM, Jason Maher wrote:
I cant drop either database because it claims it doesn't exist.

Neither does the file conf/currently-at

I don't think I can reach the admin section because the web page doesn't start 
up due to all the erros.


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:15 PM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

The easiest way here will be to recreate your database.

Connect as root in mysql and do:

drop database pf;
drop database pf_graphite;

You also need to remove a file with:

rm conf/currently-at

After that restart PacketFence, and when you try to reach the admin you will be 
redirected to the configurator, you will need to re-do it.

Thanks,
On 01/08/2016 01:07 PM, Jason Maher wrote:
Looks like the user isn't present.  How do I go about creating one?

mysql> use mysql;
Reading table information for completion of table and column names You can turn 
off this feature to get a quicker startup with -A

Database changed
mysql> select * from user where User="pf" \G
Empty set (0.00 sec)


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:50 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to change the 
password of the user pf.
On 01/08/2016 12:38 PM, Jason Maher wrote:
Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p Enter password:
ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
YES) musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 473
Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. 
Other names may be trademarks of their respective owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:33 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,
On 01/08/2016 12:12 PM, Jason Maher wrote:
I updated this file with the correct password... now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start 
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
musl@PacketFence:/usr/local/pf/conf$ ps -edf | grep httpd.admin
root  2995 1  0 12:32 ?00:00:08 /usr/sbin/apache2 -f 
/usr/local/pf/conf/httpd.conf.d/httpd.admin -Ddebian
pf2996  2995  0 12:32 ?00:00:00 /usr/sbin/apache2 -f 
/usr/local/pf/conf/httpd.conf.d/httpd.admin -Ddebian
pf2997  2995  0 12:32 ?00:00:00 /usr/sbin/apache2 -f 
/usr/local/pf/conf/httpd.conf.d/httpd.admin -Ddebian
musl  3194  1848  0 14:47 pts/100:00:00 grep --color=auto httpd.admin

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:49 PM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

How are you trying to reach the admin page?

What does the following command give you as a result?

ps -edf | grep httpd.admin

Try to manually disable iptables before reaching the page:

service iptables off

Thanks,
On 01/08/2016 01:38 PM, Jason Maher wrote:
I cant drop either database because it claims it doesn't exist.

Neither does the file conf/currently-at

I don't think I can reach the admin section because the web page doesn't start 
up due to all the erros.


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:15 PM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

The easiest way here will be to recreate your database.

Connect as root in mysql and do:

drop database pf;
drop database pf_graphite;

You also need to remove a file with:

rm conf/currently-at

After that restart PacketFence, and when you try to reach the admin you will be 
redirected to the configurator, you will need to re-do it.

Thanks,
On 01/08/2016 01:07 PM, Jason Maher wrote:
Looks like the user isn't present.  How do I go about creating one?

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from user where User="pf" \G
Empty set (0.00 sec)


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:50 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to change the 
password of the user pf.
On 01/08/2016 12:38 PM, Jason Maher wrote:
Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p
Enter password:
ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
YES)
musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 473
Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:33 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,
On 01/08/2016 12:12 PM, Jason Maher wrote:
I updated this file with the correct password... now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
Looks like the user isn't present.  How do I go about creating one?

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from user where User="pf" \G
Empty set (0.00 sec)


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:50 AM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to change the 
password of the user pf.
On 01/08/2016 12:38 PM, Jason Maher wrote:
Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p
Enter password:
ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
YES)
musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 473
Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:33 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,
On 01/08/2016 12:12 PM, Jason Maher wrote:
I updated this file with the correct password... now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 'pf'@'localhost' (using 
password: YES) at /usr/local/pf/lib/pf/version.pm line 42.

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 10:40 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Can you verify that the password in conf/pfconfig.conf for the user pf is the 
one you setup during the configurator?

Thank you
On 01/08/2016 11:12 AM, Jason Maher wrote:
Yes it is and yes I have.

Uptime: 68221  Threads: 1  Questions: 106  Slow queries: 0  Opens: 48  Flush 
tables: 1  Open tables: 41  Queries per second avg: 0.001

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 8:10 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,
On 01/07/2016 05:57 PM, Jason Maher wrote:
Next problem Im receiving these errors.


musl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence restart
* Stopping packetfence  
service|command
carbon-cache|already stopped
carbon-relay|already stopped
collectd|already stopped
dhcpd|already stopped
haproxy|already stopped
httpd.aaa|already stopped
httpd.admin|stop
httpd.graphite|already stopped
httpd.portal|already stopped
httpd.proxy|already stopped
httpd.webservices|already stopped
iptables|already stopped
p0f|already stopped
pfbandwidthd|already stopped
pfdetect|already stopped
pfdns|already stopped
pfmon|already stopped
pfqueue|already stopped
pfsetvlan|already stopped
radiusd-acct|already stopped
radiusd|already stopped
radsniff3|already stopped

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Sallee, Jake
Did you run the web-based configurator? It is the first step after you install. 
 No PF user and no PF data base sounds like you may have missed that step.

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
WWW.UMHB.EDU

900 College St.
Belton, Texas
76513

Fone: 254-295-4658
Phax: 254-295-4221

From: Antoine Amacher [aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:48 PM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

How are you trying to reach the admin page?

What does the following command give you as a result?

ps -edf | grep httpd.admin

Try to manually disable iptables before reaching the page:

service iptables off

Thanks,

On 01/08/2016 01:38 PM, Jason Maher wrote:
I cant drop either database because it claims it doesn’t exist.

Neither does the file conf/currently-at

I don’t think I can reach the admin section because the web page doesn’t start 
up due to all the erros.


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 12:15 PM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

The easiest way here will be to recreate your database.

Connect as root in mysql and do:

drop database pf;
drop database pf_graphite;

You also need to remove a file with:

rm conf/currently-at

After that restart PacketFence, and when you try to reach the admin you will be 
redirected to the configurator, you will need to re-do it.

Thanks,
On 01/08/2016 01:07 PM, Jason Maher wrote:
Looks like the user isn’t present.  How do I go about creating one?

mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from user where User="pf" \G
Empty set (0.00 sec)


Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:50 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Is the user pf existing in the database, while logged as root, do:

use mysql;
select * from user where User="pf" \G

If the user is present and is still doesn't work you could try to change the 
password of the user pf.
On 01/08/2016 12:38 PM, Jason Maher wrote:
Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p
Enter password:
ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
YES)
musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 473
Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:33 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,
On 01/08/2016 12:12 PM, Jason Maher wrote:
I updated this file with the correct password… now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 'pf'@'localhost' (using 
password: YES) at /usr/local/pf/lib/pf/version.pm line 42.

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
Ok this worked... ill get back to you guys next week when im further along.

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420



-Original Message-
From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 2:53 PM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

https://@YOUR_PF_MANAGEMENT_IP:1443

Will lead you to the configurator.

On 01/08/2016 03:48 PM, Jason Maher wrote:
> How do I run the web based configurator post install?
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
>
> -Original Message-
> From: Sallee, Jake [mailto:jake.sal...@umhb.edu]
> Sent: Friday, January 08, 2016 1:08 PM
> To: packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> Did you run the web-based configurator? It is the first step after you 
> install.  No PF user and no PF data base sounds like you may have missed that 
> step.
>
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
> WWW.UMHB.EDU
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
> 
> From: Antoine Amacher [aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 12:48 PM
> To: packetfence-users@lists.sourceforge.net
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> How are you trying to reach the admin page?
>
> What does the following command give you as a result?
>
> ps -edf | grep httpd.admin
>
> Try to manually disable iptables before reaching the page:
>
> service iptables off
>
> Thanks,
>
> On 01/08/2016 01:38 PM, Jason Maher wrote:
> I cant drop either database because it claims it doesn't exist.
>
> Neither does the file conf/currently-at
>
> I don't think I can reach the admin section because the web page doesn't 
> start up due to all the erros.
>
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
> From: Antoine Amacher [mailto:aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 12:15 PM
> To:
> packetfence-users@lists.sourceforge.net .sourceforge.net>
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> The easiest way here will be to recreate your database.
>
> Connect as root in mysql and do:
>
> drop database pf;
> drop database pf_graphite;
>
> You also need to remove a file with:
>
> rm conf/currently-at
>
> After that restart PacketFence, and when you try to reach the admin you will 
> be redirected to the configurator, you will need to re-do it.
>
> Thanks,
> On 01/08/2016 01:07 PM, Jason Maher wrote:
> Looks like the user isn't present.  How do I go about creating one?
>
> mysql> use mysql;
> Reading table information for completion of table and column names You
> can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql> select * from user where User="pf" \G
> Empty set (0.00 sec)
>
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
> From: Antoine Amacher [mailto:aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 11:50 AM
> To:
> packetfence-users@lists.sourceforge.net .sourceforge.net>
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> Is the user pf existing in the database, while logged as root, do:
>
> use mysql;
> select * from user where User="pf" \G
>
> If the user is present and is still doesn't work you could try to change the 
> password of the user pf.
> On 01/08/2016 12:38 PM, Jason Maher wrote:
> Looks like root worked but pf did not.
>
> musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p Enter password:
> ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
> YES) musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 473
> Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)
>
> Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
>
> Oracle is a registered trademark of Oracle Corporation and/or its affiliates. 
> Other names may be trademarks of their respective owners.
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
>
> mysql>
>
> Jason A. Maher
> Network Engineer
> Multi-State Lottery
> P: 515-453-1408
> F: 515-453-1420
>
>
> From: Antoine Amacher [mailto:aamac...@inverse.ca]
> Sent: Friday, January 08, 2016 11:33 AM
> To:
> packetfence-users@lists.sourceforge.net .sourceforge.net>
> Subject: Re: [PacketFence-users] Packetfence Dependencies trouble
>
> Are you able to connect to the database?
>
> with for instance:
> mysql -u pf -p
> or
> mysql -u root -p
>
> Thanks,
> On 01/08/2016 12:12 PM, 

Re: [PacketFence-users] 5.0.2 is out

2016-01-08 Thread Morris, Andi
Hi again,
I've found the bug and the fix on github. I'm not familiar with github at all 
though, can anyone please advise me how I can patch the files?

https://github.com/inverse-inc/packetfence/commit/d9c88a93aa11348d33d350e0871a3880e21126f1

Cheers,
Andi

From: Morris, Andi [mailto:amor...@cardiffmet.ac.uk]
Sent: 07 January 2016 16:07
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] 5.0.2 is out

Hi all,
Sorry to bump a very old thread, but I'm running version 5.0.1 and am in no 
position to upgrade my current production system at the moment. I've also just 
started utilising violations in anger, and have found that users clicking the 
Enable Network button do not get put back on the main network, which I presume 
is the "Fixed broken violation release process" patch mentioned below.

Am I able to get just that patch to apply to my system? I presume if I run the 
/usr/local/pf/addons/pf-maint.pl now I would end up getting lots of extra 
patches that I've not tested on my setup here.

Cheers,
Andi

From: Louis Munro [mailto:lmu...@inverse.ca]
Sent: 04 May 2015 17:06
To: 
packetfence-annou...@lists.sourceforge.net;
 
packetfence-users@lists.sourceforge.net;
 
packetfence-de...@lists.sourceforge.net
Subject: [PacketFence-devel] 5.0.2 is out

Hello list members,

We just released a minor update.
PF 5.0.2 is out.


This release is a bug fix only. No new features were introduced.

Enhancements


  *   Added availables options (submit unknowns and update database) to the 
Fingerbank Settings page.
  *   PacketFence will now leave clients.conf.inc empty if cluster mode is 
disabled.

Bug Fixes


  *   PacketFence will longer unregister a device in pending state if the 
device is hitting the portal more than once while in "pending" state.
  *   Fixed broken violation release process.
  *   Fixed multiple lines returning from pfconfig.
  *   Fixed undefined variables in portal template files.
  *   Fixed provisioners OS detection with Fingerbank.


If you are already running 5.0.1 you may get the same code and fixes by running 
the /usr/local/pf/addons/pf-maint.pl script which will apply the same patches.

This release is merely a convenience for people upgrading from earlier releases 
or installing from scratch.


See https://github.com/inverse-inc/packetfence/blob/stable/NEWS.asciidoc for 
details

Best regards from Inverse,
--
Louis Munro
lmu...@inverse.ca  ::  
www.inverse.ca
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and 
PacketFence (www.packetfence.org)



[Cardiff Metropolitan University - 150 years of nurturing 
talent]
--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] 5.0.2 is out

2016-01-08 Thread Morris, Andi
Thanks very much Fabrice.

From: Durand fabrice [mailto:fdur...@inverse.ca]
Sent: 08 January 2016 12:48
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] 5.0.2 is out

Hello Andi,

cd /usr/local/pf
wget 
https://github.com/inverse-inc/packetfence/commit/d9c88a93aa11348d33d350e0871a3880e21126f1.diff
patch -p1 --dry-run < d9c88a93aa11348d33d350e0871a3880e21126f1.diff
all is ok, there is no conflict ?
patch -p1 < d9c88a93aa11348d33d350e0871a3880e21126f1.diff

bin/pfcmd service httpd.portal restart



Regards
Fabrice
Le 2016-01-08 07:06, Morris, Andi a écrit :
Hi again,
I've found the bug and the fix on github. I'm not familiar with github at all 
though, can anyone please advise me how I can patch the files?

https://github.com/inverse-inc/packetfence/commit/d9c88a93aa11348d33d350e0871a3880e21126f1

Cheers,
Andi

From: Morris, Andi [mailto:amor...@cardiffmet.ac.uk]
Sent: 07 January 2016 16:07
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] 5.0.2 is out

Hi all,
Sorry to bump a very old thread, but I'm running version 5.0.1 and am in no 
position to upgrade my current production system at the moment. I've also just 
started utilising violations in anger, and have found that users clicking the 
Enable Network button do not get put back on the main network, which I presume 
is the "Fixed broken violation release process" patch mentioned below.

Am I able to get just that patch to apply to my system? I presume if I run the 
/usr/local/pf/addons/pf-maint.pl now I would end up getting lots of extra 
patches that I've not tested on my setup here.

Cheers,
Andi

From: Louis Munro [mailto:lmu...@inverse.ca]
Sent: 04 May 2015 17:06
To: 
packetfence-annou...@lists.sourceforge.net;
 
packetfence-users@lists.sourceforge.net;
 
packetfence-de...@lists.sourceforge.net
Subject: [PacketFence-devel] 5.0.2 is out

Hello list members,

We just released a minor update.
PF 5.0.2 is out.


This release is a bug fix only. No new features were introduced.

Enhancements


  *   Added availables options (submit unknowns and update database) to the 
Fingerbank Settings page.
  *   PacketFence will now leave clients.conf.inc empty if cluster mode is 
disabled.

Bug Fixes


  *   PacketFence will longer unregister a device in pending state if the 
device is hitting the portal more than once while in "pending" state.
  *   Fixed broken violation release process.
  *   Fixed multiple lines returning from pfconfig.
  *   Fixed undefined variables in portal template files.
  *   Fixed provisioners OS detection with Fingerbank.


If you are already running 5.0.1 you may get the same code and fixes by running 
the /usr/local/pf/addons/pf-maint.pl script which will apply the same patches.

This release is merely a convenience for people upgrading from earlier releases 
or installing from scratch.


See https://github.com/inverse-inc/packetfence/blob/stable/NEWS.asciidoc for 
details

Best regards from Inverse,
--
Louis Munro
lmu...@inverse.ca  ::  
www.inverse.ca
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and 
PacketFence (www.packetfence.org)



[Image removed by sender. Cardiff Metropolitan University - 150 years of
  nurturing talent]




--




___

PacketFence-users mailing list

PacketFence-users@lists.sourceforge.net

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

--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] 5.0.2 is out

2016-01-08 Thread Durand fabrice

Hello Andi,

cd /usr/local/pf
wget 
https://github.com/inverse-inc/packetfence/commit/d9c88a93aa11348d33d350e0871a3880e21126f1.diff

patch -p1 --dry-run < d9c88a93aa11348d33d350e0871a3880e21126f1.diff
all is ok, there is no conflict ?
patch -p1 < d9c88a93aa11348d33d350e0871a3880e21126f1.diff

bin/pfcmd service httpd.portal restart



Regards
Fabrice

Le 2016-01-08 07:06, Morris, Andi a écrit :


Hi again,

I’ve found the bug and the fix on github. I’m not familiar with github 
at all though, can anyone please advise me how I can patch the files?


https://github.com/inverse-inc/packetfence/commit/d9c88a93aa11348d33d350e0871a3880e21126f1

Cheers,

Andi

*From:*Morris, Andi [mailto:amor...@cardiffmet.ac.uk]
*Sent:* 07 January 2016 16:07
*To:* packetfence-users@lists.sourceforge.net
*Subject:* Re: [PacketFence-users] 5.0.2 is out

Hi all,

Sorry to bump a very old thread, but I’m running version 5.0.1 and am 
in no position to upgrade my current production system at the moment. 
I’ve also just started utilising violations in anger, and have found 
that users clicking the Enable Network button do not get put back on 
the main network, which I presume is the “Fixed broken violation 
release process” patch mentioned below.


Am I able to get just that patch to apply to my system? I presume if I 
run the /usr/local/pf/addons/pf-maint.pl now I would end up getting 
lots of extra patches that I’ve not tested on my setup here.


Cheers,

Andi

*From:*Louis Munro [mailto:lmu...@inverse.ca]
*Sent:* 04 May 2015 17:06
*To:* packetfence-annou...@lists.sourceforge.net 
; 
packetfence-users@lists.sourceforge.net 
; 
packetfence-de...@lists.sourceforge.net 


*Subject:* [PacketFence-devel] 5.0.2 is out

Hello list members,

We just released a minor update.
PF 5.0.2 is out.

This release is a bug fix only. No new features were introduced.

*Enhancements*

  * Added availables options (submit unknowns and update database) to
the Fingerbank Settings page.
  * PacketFence will now leave clients.conf.inc empty if cluster mode
is disabled.


*Bug Fixes*

  * PacketFence will longer unregister a device in pending state if
the device is hitting the portal more than once while in "pending"
state.
  * Fixed broken violation release process.
  * Fixed multiple lines returning from pfconfig.
  * Fixed undefined variables in portal template files.
  * Fixed provisioners OS detection with Fingerbank.


If you are already running 5.0.1 you may get the same code and fixes 
by running the /usr/local/pf/addons/pf-maint.pl script which will 
apply the same patches.


This release is merely a convenience for people upgrading from earlier 
releases or installing from scratch.



See 
https://github.com/inverse-inc/packetfence/blob/stable/NEWS.asciidoc for 
details


Best regards from Inverse,

--

Louis Munro
lmu...@inverse.ca   :: www.inverse.ca 


+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu ) 
and PacketFence (www.packetfence.org )





Cardiff Metropolitan University - 150 years of nurturing talent 





--


___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Installing packetfence on ubuntu 14.04 LTS

2016-01-08 Thread Charm Quark
Dear Louis,

Thank for your prompt response, if that is the case I think I will try
and package it myself or just down grade the OS. :)


Best Regards

Anselm

On Mon, Jan 4, 2016 at 5:52 PM, Louis Munro  wrote:
> Dear Charm Quark,
>
> As you may have surmised, PacketFence on Ubuntu 14.04 is not officially
> supported.
> That means we do not provide the packages it’s complaining about.
>
> Your options are to package them yourself, or to find a repository that does
> provide a packaged version.
>
> The message you referred to was on the “devel” mailing list.
> That’s a hint that any such endeavour is experimental...
>
> Regards,
> --
> Louis Munro
> lmu...@inverse.ca  ::  www.inverse.ca
> +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
> (www.packetfence.org)
>
> On Jan 4, 2016, at 8:05 , Charm Quark  wrote:
>
> Dear Team,
>
> I tried to follow these instructions, that were given by Fabrice, bellow.
>
> http://sourceforge.net/p/packetfence/mailman/message/33476264/
>
> But it does not seem to work as I keep getting  this error
>
> The following packages have unmet dependencies:
> packetfence : Depends: libtemplate-autofilter-perl but it is not installable
>   Depends: libcrypt-openssl-pkcs12-perl but it is not
> installable
>   Depends: libcrypt-openssl-pkcs10-perl but it is not
> installable
>   Depends: libfile-tempdir-perl but it is not installable
>   Depends: sscep but it is not installable
>   Depends: libhtml-formhandler-perl (= 0.40013-2) but it
> is not going to be installed
>   Depends: libcache-memcached-libmemcached-perl but it is
> not installable
>   Depends: haproxy (>= 1.5) but 1.4.24-2ubuntu0.4 is to
> be installed
>   Depends: python-django (>= 1.7) but 1.6.1-2ubuntu0.11
> is to be installed
>   Depends: freeradius-radsniff (>= 3.0) but it is not
> installable
>   PreDepends: packetfence-config (>= 5.4.0-201510051317)
> but it is not going to be installed
>   PreDepends: fingerbank (>= 1.0.4) but it is not installable
>   PreDepends: libnet-wmiclient-perl but it is not installable
>   PreDepends: libwmiclient1 but it is not installable
>   PreDepends: wmi-client but it is not installable
> E: Unable to correct problems, you have held broken packages.
>
> Please advice.
>
> Best Regards
>
> Anselm
>
> --
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
>
> --
>
> ___
> PacketFence-users mailing list
> PacketFence-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>

--
___
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users


Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Antoine Amacher
Can you verify that the password in conf/pfconfig.conf for the user pf 
is the one you setup during the configurator?


Thank you

On 01/08/2016 11:12 AM, Jason Maher wrote:


Yes it is and yes I have.

Uptime: 68221 Threads: 1  Questions: 106  Slow queries: 0  Opens: 48 
Flush tables: 1  Open tables: 41  Queries per second avg: 0.001


*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 8:10 AM
*To:* packetfence-users@lists.sourceforge.net
*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,

On 01/07/2016 05:57 PM, Jason Maher wrote:

Next problem…. Im receiving these errors.

musl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence
restart

* Stopping packetfence service|command

carbon-cache|already stopped

carbon-relay|already stopped

collectd|already stopped

dhcpd|already stopped

haproxy|already stopped

httpd.aaa|already stopped

httpd.admin|stop

httpd.graphite|already stopped

httpd.portal|already stopped

httpd.proxy|already stopped

httpd.webservices|already stopped

iptables|already stopped

p0f|already stopped

pfbandwidthd|already stopped

pfdetect|already stopped

pfdns|already stopped

pfmon|already stopped

pfqueue|already stopped

pfsetvlan|already stopped

radiusd-acct|already stopped

radiusd|already stopped

radsniff3|already stopped

redis_queue|stop

snmptrapd|already stopped

snort|already stopped

statsd|already stopped

suricata|already stopped

keepalived|already stopped

* Starting packetfence service|command

Could not write namespace config::PfDefault to L2 cache ! This is bad.

Could not write namespace config::Documentation to L2 cache ! This
is bad.

Could not write namespace config::Cluster to L2 cache ! This is bad.

Could not write namespace config::Pf to L2 cache ! This is bad.

Could not write namespace interfaces to L2 cache ! This is bad.

Could not write namespace config::Network to L2 cache ! This is bad.

Could not write namespace config::Authentication to L2 cache !
This is bad.

Could not write namespace config::Switch to L2 cache ! This is bad.

Could not write namespace config::Domain to L2 cache ! This is bad.

Could not write namespace resource::fqdn to L2 cache ! This is bad.

Could not write namespace config::AdminRoles to L2 cache ! This is
bad.

Could not write namespace config::ApacheFilters to L2 cache ! This
is bad.

Could not write namespace config::Authentication to L2 cache !
This is bad.

Could not write namespace resource::authentication_config_hash to
L2 cache ! This is bad.

Could not write namespace resource::authentication_lookup to L2
cache ! This is bad.

Could not write namespace resource::authentication_sources to L2
cache ! This is bad.

Could not write namespace config::Profiles to L2 cache ! This is bad.

Could not write namespace resource::guest_self_registration to L2
cache ! This is bad.

Could not write namespace config::BillingTiers to L2 cache ! This
is bad.

Could not write namespace config::Cluster to L2 cache ! This is bad.

Could not write namespace config::Pf to L2 cache ! This is bad.

Could not write namespace resource::CaptivePortal to L2 cache !
This is bad.

Could not write namespace resource::Database to L2 cache ! This is
bad.

Could not write namespace resource::fqdn to L2 cache ! This is bad.

Could not write namespace config::Pfdetect to L2 cache ! This is bad.

Could not write namespace interfaces to L2 cache ! This is bad.

Could not write namespace interfaces::listen_ints to L2 cache !
This is bad.

Could not write namespace interfaces::dhcplistener_ints to L2
cache ! This is bad.

Could not write namespace interfaces::ha_ints to L2 cache ! This
is bad.

Could not write namespace interfaces::internal_nets to L2 cache !
This is bad.

Could not write namespace interfaces::inline_enforcement_nets to
L2 cache ! This is bad.

Could not write namespace interfaces::vlan_enforcement_nets to L2
cache ! This is bad.

Could not write namespace interfaces::monitor_int to L2 cache !
This is bad.

Could not write namespace interfaces::management_network to L2
cache ! This is bad.

Could not write namespace interfaces::portal_ints to L2 cache !
This is bad.

Could not write namespace interfaces::inline_nets to L2 cache !
This is bad.

Could not write namespace interfaces::routed_isolation_nets to L2
cache ! This is bad.

Could not write namespace interfaces::routed_registration_nets to
L2 cache ! This is bad.


Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
Yes it is and yes I have.

Uptime: 68221  Threads: 1  Questions: 106  Slow queries: 0  Opens: 48  Flush 
tables: 1  Open tables: 41  Queries per second avg: 0.001

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 8:10 AM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,
On 01/07/2016 05:57 PM, Jason Maher wrote:
Next problem Im receiving these errors.


musl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence restart
* Stopping packetfence  
service|command
carbon-cache|already stopped
carbon-relay|already stopped
collectd|already stopped
dhcpd|already stopped
haproxy|already stopped
httpd.aaa|already stopped
httpd.admin|stop
httpd.graphite|already stopped
httpd.portal|already stopped
httpd.proxy|already stopped
httpd.webservices|already stopped
iptables|already stopped
p0f|already stopped
pfbandwidthd|already stopped
pfdetect|already stopped
pfdns|already stopped
pfmon|already stopped
pfqueue|already stopped
pfsetvlan|already stopped
radiusd-acct|already stopped
radiusd|already stopped
radsniff3|already stopped
redis_queue|stop
snmptrapd|already stopped
snort|already stopped
statsd|already stopped
suricata|already stopped
keepalived|already stopped
* Starting packetfence  
service|command
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::Pf to L2 cache ! This is bad.
Could not write namespace interfaces to L2 cache ! This is bad.
Could not write namespace config::Network to L2 cache ! This is bad.
Could not write namespace config::Authentication to L2 cache ! This is bad.
Could not write namespace config::Switch to L2 cache ! This is bad.
Could not write namespace config::Domain to L2 cache ! This is bad.
Could not write namespace resource::fqdn to L2 cache ! This is bad.
Could not write namespace config::AdminRoles to L2 cache ! This is bad.
Could not write namespace config::ApacheFilters to L2 cache ! This is bad.
Could not write namespace config::Authentication to L2 cache ! This is bad.
Could not write namespace resource::authentication_config_hash to L2 cache ! 
This is bad.
Could not write namespace resource::authentication_lookup to L2 cache ! This is 
bad.
Could not write namespace resource::authentication_sources to L2 cache ! This 
is bad.
Could not write namespace config::Profiles to L2 cache ! This is bad.
Could not write namespace resource::guest_self_registration to L2 cache ! This 
is bad.
Could not write namespace config::BillingTiers to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::Pf to L2 cache ! This is bad.
Could not write namespace resource::CaptivePortal to L2 cache ! This is bad.
Could not write namespace resource::Database to L2 cache ! This is bad.
Could not write namespace resource::fqdn to L2 cache ! This is bad.
Could not write namespace config::Pfdetect to L2 cache ! This is bad.
Could not write namespace interfaces to L2 cache ! This is bad.
Could not write namespace interfaces::listen_ints to L2 cache ! This is bad.
Could not write namespace interfaces::dhcplistener_ints to L2 cache ! This is 
bad.
Could not write namespace interfaces::ha_ints to L2 cache ! This is bad.
Could not write namespace interfaces::internal_nets to L2 cache ! This is bad.
Could not write namespace interfaces::inline_enforcement_nets to L2 cache ! 
This is bad.
Could not write namespace interfaces::vlan_enforcement_nets to L2 cache ! This 
is bad.
Could not write namespace interfaces::monitor_int to L2 cache ! This is bad.
Could not write namespace interfaces::management_network to L2 cache ! This is 
bad.
Could not write namespace interfaces::portal_ints to L2 cache ! This is bad.
Could not write namespace interfaces::inline_nets to L2 cache ! This is bad.
Could not write namespace interfaces::routed_isolation_nets to L2 cache ! This 
is bad.
Could not write namespace interfaces::routed_registration_nets to L2 cache ! 
This is bad.
Could not write namespace resource::cluster_servers to L2 cache ! This is bad.
Could not write namespace resource::cluster_hosts to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Domain to L2 cache ! This is bad.
Could not write namespace resource::domain_dns_servers to L2 cache ! This is 
bad.
Could not write namespace config::Firewall_SSO to L2 cache 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Antoine Amacher

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,

On 01/08/2016 12:12 PM, Jason Maher wrote:


I updated this file with the correct password… now I only have these 
errors left.


^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start

[sudo] password for musl:

* Starting packetfence service|command

httpd.admin|already started

redis_queue|already started

Checking configuration sanity...

Could not write namespace config::PfDefault to L2 cache ! This is bad.

Could not write namespace config::Documentation to L2 cache ! This is bad.

Could not write namespace config::Cluster to L2 cache ! This is bad.

Could not write namespace config::PfDefault to L2 cache ! This is bad.

Could not write namespace config::Documentation to L2 cache ! This is bad.

Could not write namespace config::Cluster to L2 cache ! This is bad.

unable to connect to database: Access denied for user 'pf'@'localhost' 
(using password: YES) at /usr/local/pf/lib/pf/version.pm line 42.


*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 10:40 AM
*To:* packetfence-users@lists.sourceforge.net
*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Can you verify that the password in conf/pfconfig.conf for the user pf 
is the one you setup during the configurator?


Thank you

On 01/08/2016 11:12 AM, Jason Maher wrote:

Yes it is and yes I have.

Uptime: 68221 Threads: 1  Questions: 106  Slow queries: 0  Opens:
48 Flush tables: 1  Open tables: 41  Queries per second avg: 0.001

*Jason A. Maher*

*Network Engineer*

*Multi-State Lottery*

*P: 515-453-1408*

*F: 515-453-1420*

*From:*Antoine Amacher [mailto:aamac...@inverse.ca]
*Sent:* Friday, January 08, 2016 8:10 AM
*To:* packetfence-users@lists.sourceforge.net

*Subject:* Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,

On 01/07/2016 05:57 PM, Jason Maher wrote:

Next problem…. Im receiving these errors.

musl@PacketFence:/usr/local/pf/conf$ sudo
/etc/init.d/packetfence restart

* Stopping packetfence service|command

carbon-cache|already stopped

carbon-relay|already stopped

collectd|already stopped

dhcpd|already stopped

haproxy|already stopped

httpd.aaa|already stopped

httpd.admin|stop

httpd.graphite|already stopped

httpd.portal|already stopped

httpd.proxy|already stopped

httpd.webservices|already stopped

iptables|already stopped

p0f|already stopped

pfbandwidthd|already stopped

pfdetect|already stopped

pfdns|already stopped

pfmon|already stopped

pfqueue|already stopped

pfsetvlan|already stopped

radiusd-acct|already stopped

radiusd|already stopped

radsniff3|already stopped

redis_queue|stop

snmptrapd|already stopped

snort|already stopped

statsd|already stopped

suricata|already stopped

keepalived|already stopped

* Starting packetfence service|command

Could not write namespace config::PfDefault to L2 cache ! This
is bad.

Could not write namespace config::Documentation to L2 cache !
This is bad.

Could not write namespace config::Cluster to L2 cache ! This
is bad.

Could not write namespace config::Pf to L2 cache ! This is bad.

Could not write namespace interfaces to L2 cache ! This is bad.

Could not write namespace config::Network to L2 cache ! This
is bad.

Could not write namespace config::Authentication to L2 cache !
This is bad.

Could not write namespace config::Switch to L2 cache ! This is
bad.

Could not write namespace config::Domain to L2 cache ! This is
bad.

Could not write namespace resource::fqdn to L2 cache ! This is
bad.

Could not write namespace config::AdminRoles to L2 cache !
This is bad.

Could not write namespace config::ApacheFilters to L2 cache !
This is bad.

Could not write namespace config::Authentication to L2 cache !
This is bad.

Could not write namespace resource::authentication_config_hash
to L2 cache ! This is bad.

Could not write namespace resource::authentication_lookup to
L2 cache ! This is bad.

Could not write namespace resource::authentication_sources to
L2 cache ! This is bad.

Could not write namespace config::Profiles to L2 cache ! This
is bad.

Could not write namespace 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
I updated this file with the correct password... now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 'pf'@'localhost' (using 
password: YES) at /usr/local/pf/lib/pf/version.pm line 42.

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 10:40 AM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Can you verify that the password in conf/pfconfig.conf for the user pf is the 
one you setup during the configurator?

Thank you
On 01/08/2016 11:12 AM, Jason Maher wrote:
Yes it is and yes I have.

Uptime: 68221  Threads: 1  Questions: 106  Slow queries: 0  Opens: 48  Flush 
tables: 1  Open tables: 41  Queries per second avg: 0.001

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 8:10 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,
On 01/07/2016 05:57 PM, Jason Maher wrote:
Next problem Im receiving these errors.


musl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence restart
* Stopping packetfence  
service|command
carbon-cache|already stopped
carbon-relay|already stopped
collectd|already stopped
dhcpd|already stopped
haproxy|already stopped
httpd.aaa|already stopped
httpd.admin|stop
httpd.graphite|already stopped
httpd.portal|already stopped
httpd.proxy|already stopped
httpd.webservices|already stopped
iptables|already stopped
p0f|already stopped
pfbandwidthd|already stopped
pfdetect|already stopped
pfdns|already stopped
pfmon|already stopped
pfqueue|already stopped
pfsetvlan|already stopped
radiusd-acct|already stopped
radiusd|already stopped
radsniff3|already stopped
redis_queue|stop
snmptrapd|already stopped
snort|already stopped
statsd|already stopped
suricata|already stopped
keepalived|already stopped
* Starting packetfence  
service|command
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::Pf to L2 cache ! This is bad.
Could not write namespace interfaces to L2 cache ! This is bad.
Could not write namespace config::Network to L2 cache ! This is bad.
Could not write namespace config::Authentication to L2 cache ! This is bad.
Could not write namespace config::Switch to L2 cache ! This is bad.
Could not write namespace config::Domain to L2 cache ! This is bad.
Could not write namespace resource::fqdn to L2 cache ! This is bad.
Could not write namespace config::AdminRoles to L2 cache ! This is bad.
Could not write namespace config::ApacheFilters to L2 cache ! This is bad.
Could not write namespace config::Authentication to L2 cache ! This is bad.
Could not write namespace resource::authentication_config_hash to L2 cache ! 
This is bad.
Could not write namespace resource::authentication_lookup to L2 cache ! This is 
bad.
Could not write namespace resource::authentication_sources to L2 cache ! This 
is bad.
Could not write namespace config::Profiles to L2 cache ! This is bad.
Could not write namespace resource::guest_self_registration to L2 cache ! This 
is bad.
Could not write namespace config::BillingTiers to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::Pf to L2 cache ! This is bad.
Could not write namespace resource::CaptivePortal to L2 cache ! This is bad.
Could not write namespace resource::Database to L2 cache ! This is bad.
Could not write namespace resource::fqdn to L2 cache ! This is bad.
Could not write namespace config::Pfdetect to L2 cache ! This is 

Re: [PacketFence-users] Packetfence Dependencies trouble

2016-01-08 Thread Jason Maher
Looks like root worked but pf did not.

musl@PacketFence:/usr/local/pf/conf$ mysql -u pf -p
Enter password:
ERROR 1045 (28000): Access denied for user 'pf'@'localhost' (using password: 
YES)
musl@PacketFence:/usr/local/pf/conf$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 473
Server version: 5.5.46-0ubuntu0.12.04.2 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 11:33 AM
To: packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Are you able to connect to the database?

with for instance:
mysql -u pf -p
or
mysql -u root -p

Thanks,
On 01/08/2016 12:12 PM, Jason Maher wrote:
I updated this file with the correct password... now I only have these errors 
left.

^Cmusl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence start
[sudo] password for musl:
* Starting packetfence  
 service|command
httpd.admin|already started
redis_queue|already started
Checking configuration sanity...
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
unable to connect to database: Access denied for user 'pf'@'localhost' (using 
password: YES) at /usr/local/pf/lib/pf/version.pm line 42.

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 10:40 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Can you verify that the password in conf/pfconfig.conf for the user pf is the 
one you setup during the configurator?

Thank you
On 01/08/2016 11:12 AM, Jason Maher wrote:
Yes it is and yes I have.

Uptime: 68221  Threads: 1  Questions: 106  Slow queries: 0  Opens: 48  Flush 
tables: 1  Open tables: 41  Queries per second avg: 0.001

Jason A. Maher
Network Engineer
Multi-State Lottery
P: 515-453-1408
F: 515-453-1420


From: Antoine Amacher [mailto:aamac...@inverse.ca]
Sent: Friday, January 08, 2016 8:10 AM
To: 
packetfence-users@lists.sourceforge.net
Subject: Re: [PacketFence-users] Packetfence Dependencies trouble

Jason,

Is mysql running?

Did you went through the configurator already?

Thanks,
On 01/07/2016 05:57 PM, Jason Maher wrote:
Next problem Im receiving these errors.


musl@PacketFence:/usr/local/pf/conf$ sudo /etc/init.d/packetfence restart
* Stopping packetfence  
service|command
carbon-cache|already stopped
carbon-relay|already stopped
collectd|already stopped
dhcpd|already stopped
haproxy|already stopped
httpd.aaa|already stopped
httpd.admin|stop
httpd.graphite|already stopped
httpd.portal|already stopped
httpd.proxy|already stopped
httpd.webservices|already stopped
iptables|already stopped
p0f|already stopped
pfbandwidthd|already stopped
pfdetect|already stopped
pfdns|already stopped
pfmon|already stopped
pfqueue|already stopped
pfsetvlan|already stopped
radiusd-acct|already stopped
radiusd|already stopped
radsniff3|already stopped
redis_queue|stop
snmptrapd|already stopped
snort|already stopped
statsd|already stopped
suricata|already stopped
keepalived|already stopped
* Starting packetfence  
service|command
Could not write namespace config::PfDefault to L2 cache ! This is bad.
Could not write namespace config::Documentation to L2 cache ! This is bad.
Could not write namespace config::Cluster to L2 cache ! This is bad.
Could not write namespace config::Pf to L2 cache ! This is bad.
Could not write namespace interfaces to L2 cache ! This is bad.
Could not write namespace config::Network to L2 cache ! This is bad.
Could not write namespace config::Authentication to L2 cache ! This is bad.
Could not write namespace config::Switch to L2 cache ! This is bad.
Could not write namespace config::Domain to L2 cache ! This is bad.
Could not