Re: [PacketFence-users] Unable to view the web configuration page after installation

2017-07-13 Thread Louis Munro via PacketFence-users


> On Jul 13, 2017, at 10:04, Muralidhar Bg  wrote:
> 
> 
> I got a website could not be reached screen (same as my initial email)

Is the httpd process running on that port?
Is DNS resolution working properly?
Is there a firewall in the way?
What about routing?

Are your TCP packets even making it to the VM?
Do you see any request for your IP in logs/httpd.admin.access?

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 )--
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] Unable to view the web configuration page after installation

2017-07-13 Thread Muralidhar Bg via PacketFence-users
Hi,

I tried installing like you suggested.

1. Launched centos AWS instance
2. Disabled all that needs to be disabled
3. Installed using package manager
4. Tried opening the web configurator

I got a website could not be reached screen (same as my initial email)

Regards,
Muralidhar

On Wed, Jul 12, 2017 at 5:38 PM, Louis Munro via PacketFence-users <
packetfence-users@lists.sourceforge.net> wrote:

>
> Hi,
>
> On Jul 12, 2017, at 02:57, Muralidhar BG 
> wrote:
>
>>
>>
>> Where in the documentation does it say that?
>>
>>
> Link: https://packetfence.org/doc/PacketFence_Administration_
> Guide.html#_system_requirements
>
> Under section 3.1:
> "In this guide, we assume that all those components are running on the
> same server (i.e., "localhost" or "127.0.0.1") that PacketFence will be
> installed on.
>
>
>
> Mmm...
> That is somewhat ambiguous, I admit.
> This is meant to indicate that while in some configuration the services
> may be decoupled and run on separate servers/VMs, for the purposes of the
> guide they are assumed to all run on the same host.
> You are not meant to install them. Installing the packetfence package will
> take care of that as you have found.
>
>
>
>
>> What I have observed is that if I do not install these dependencies
>> before have the packetfence package installs them. But then again I get an
>> error message with mysql after installation (as mentioned in my initial
>> email)
>>
>>
>> That is the point of using a package manager such as yum.
>>
>>
> I understand how a package manager works. But the problem I am facing is
> starting the mysql instace once packetfence is installed. I used the
> command:
>
> $ sudo systemctl start mysqld
>
> I got the following error: Failed to start mysqld.service: Unit is masked.
>
> What is the first thing I need to do right after installing packetfence to
> view the web configuration page?
>
>
>
> You don't have to start mysql.
> Just start configuring by logging on to the configurator web app at
> https://$HOST:1443/ 
>
> See section 9 here:
> https://packetfence.org/doc/PacketFence_Administration_
> Guide.html#_configuration
>
>
> Don't overthink this.
> You are meant to just install the packetfence package.
> Systemd will start the required services on it's own.
>
>
> 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)
>
> 
> --
> 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] Unable to view the web configuration page after installation

2017-07-12 Thread Louis Munro via PacketFence-users

Hi,

> On Jul 12, 2017, at 02:57, Muralidhar BG  
> wrote:
> 
> 
> Where in the documentation does it say that?
> 
> 
> Link: 
> https://packetfence.org/doc/PacketFence_Administration_Guide.html#_system_requirements
>  
> 
> 
> Under section 3.1: 
> "In this guide, we assume that all those components are running on the same 
> server (i.e., "localhost" or "127.0.0.1") that PacketFence will be installed 
> on.


Mmm...
That is somewhat ambiguous, I admit.
This is meant to indicate that while in some configuration the services may be 
decoupled and run on separate servers/VMs, for the purposes of the guide they 
are assumed to all run on the same host.
You are not meant to install them. Installing the packetfence package will take 
care of that as you have found.



>> 
>> What I have observed is that if I do not install these dependencies before 
>> have the packetfence package installs them. But then again I get an error 
>> message with mysql after installation (as mentioned in my initial email)
> 
> That is the point of using a package manager such as yum.
> 
> 
> I understand how a package manager works. But the problem I am facing is 
> starting the mysql instace once packetfence is installed. I used the command:
> 
> $ sudo systemctl start mysqld
> 
> I got the following error: Failed to start mysqld.service: Unit is masked.
> 
> What is the first thing I need to do right after installing packetfence to 
> view the web configuration page?


You don't have to start mysql.
Just start configuring by logging on to the configurator web app at 
https://$HOST:1443/ 

See section 9 here: 
https://packetfence.org/doc/PacketFence_Administration_Guide.html#_configuration
 



Don't overthink this.
You are meant to just install the packetfence package.
Systemd will start the required services on it's own.


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 )--
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] Unable to view the web configuration page after installation

2017-07-12 Thread Muralidhar BG via PacketFence-users
On Tue, Jul 11, 2017 at 5:20 PM, Louis Munro  wrote:

>
>
> On Jul 11, 2017, at 00:38, Muralidhar BG via PacketFence-users <
> packetfence-users@lists.sourceforge.net> wrote:
>
> Hello,
>
> I want to understand something. According to the documentation I should
> have apache, dhcp, mysql (or mariadb) and freeradius installed and
> configured before trying to install packetfence. If I install packetfence
> after installing these dependencies I get an error message (during
> installtion) relating to mysql stating there is a conflict.
>
>
>
> Where in the documentation does it say that?
>
>
Link:
https://packetfence.org/doc/PacketFence_Administration_Guide.html#_system_requirements

Under section 3.1:
"In this guide, we assume that all those components are running on the same
server (i.e., "localhost" or "127.0.0.1") that PacketFence will be
installed on.

Good understanding of those underlying component and GNU/Linux is required
to install PacketFence. If you miss some of those required components,
please refer to the appropriate documentation and proceed with the
installation of these requirements before continuing with this guide."

>
> What I have observed is that if I do not install these dependencies before
> have the packetfence package installs them. But then again I get an error
> message with mysql after installation (as mentioned in my initial email)
>
>
> That is the point of using a package manager such as yum.
>
>
I understand how a package manager works. But the problem I am facing is
starting the mysql instace once packetfence is installed. I used the
command:

$ sudo systemctl start mysqld

I got the following error: Failed to start mysqld.service: Unit is masked.

What is the first thing I need to do right after installing packetfence to
view the web configuration page?

>
>
> PS: packetfence expects Firewall, SELinux, AppArmor, resolvconf to be
> disabled. But once I launch an centos instance in Amazon in does not have
> firewall, AppArmor and resolvconf. Is that okay?
>
>
> I haven't tried it on an Amazon instance.
> I assume it depends on what AMI you chose.
>
> The bottom line is that SELinux interferes with some of the fancier
> features of PF, and PF intends to manage the firewall rules by hand (e.g.
> using the iptables command and not firewalld).
>
>
> 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)
>



-- 
Regards,
*Muralidhar B.G,*
*Backend Developer,*
www.cumulations.com | M: +91 9886851676
--
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] Unable to view the web configuration page after installation

2017-07-11 Thread Louis Munro via PacketFence-users


> On Jul 11, 2017, at 00:38, Muralidhar BG via PacketFence-users 
>  wrote:
> 
> Hello,
> 
> I want to understand something. According to the documentation I should have 
> apache, dhcp, mysql (or mariadb) and freeradius installed and configured 
> before trying to install packetfence. If I install packetfence after 
> installing these dependencies I get an error message (during installtion) 
> relating to mysql stating there is a conflict.


Where in the documentation does it say that?

> 
> What I have observed is that if I do not install these dependencies before 
> have the packetfence package installs them. But then again I get an error 
> message with mysql after installation (as mentioned in my initial email)

That is the point of using a package manager such as yum.


> 
> PS: packetfence expects Firewall, SELinux, AppArmor, resolvconf to be 
> disabled. But once I launch an centos instance in Amazon in does not have 
> firewall, AppArmor and resolvconf. Is that okay?

I haven't tried it on an Amazon instance.
I assume it depends on what AMI you chose.

The bottom line is that SELinux interferes with some of the fancier features of 
PF, and PF intends to manage the firewall rules by hand (e.g. using the 
iptables command and not firewalld).


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 )--
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] Unable to view the web configuration page after installation

2017-07-11 Thread Muralidhar BG via PacketFence-users
Hello,

I want to understand something. According to the documentation I should
have apache, dhcp, mysql (or mariadb) and freeradius installed and
configured before trying to install packetfence. If I install packetfence
after installing these dependencies I get an error message (during
installtion) relating to mysql stating there is a conflict.

What I have observed is that if I do not install these dependencies before
have the packetfence package installs them. But then again I get an error
message with mysql after installation (as mentioned in my initial email)

PS: packetfence expects Firewall, SELinux, AppArmor, resolvconf to be
disabled. But once I launch an centos instance in Amazon in does not have
firewall, AppArmor and resolvconf. Is that okay?

Thanks

On Mon, Jul 10, 2017 at 7:27 PM, Antoine Amacher via PacketFence-users <
packetfence-users@lists.sourceforge.net> wrote:

> Hello,
>
> The httpd and haproxy process are not running.
>
> Try this:
>
> /usr/local/pf/bin/pfcmd service httpd.admin start
>
> Thanks
>
> On 07/10/2017 01:13 AM, Muralidhar Bg via PacketFence-users wrote:
>
> Hi,
>
> I installed packetfence following the instructions on
> https://packetfence.org/doc/PacketFence_Administration_Guide.html
>
> After installation I tried opening the https://@ip_of_packetfence:144
> 3/configurator page on my server
>
> I get "unable to connect" error on the browser.
>
> Also find the status of packetfence as given below
> $ /usr/local/pf/bin/pfcmd service pf status
> carbon-cache|1|0
> carbon-relay|1|0
> collectd|1|0
> dhcpd|0|0
> haproxy|1|0
> httpd.aaa|1|0
> httpd.admin|1|0
> httpd.collector|0|0
> httpd.dispatcher|1|0
> httpd.graphite|1|0
> httpd.parking|1|0
> httpd.portal|1|0
> httpd.proxy|0|0
> httpd.webservices|1|0
> iptables|1|0
> keepalived|0|0
> p0f|1|0
> pfbandwidthd|0|0
> pfdetect||0
> pfdhcplistener|1|0
> pfdns|0|0
> pffilter|1|0
> pfmon|1|0
> pfqueue|1|0
> pfsetvlan|0|0
> pfsso|1|0
> radiusd-acct|1|0
> radiusd-auth|1|0
> radsniff|1|0
> redis_ntlm_cache|0|0
> redis_queue|1|0
> routes|0|-1
> snmptrapd|0|0
> statsd|1|0
> winbindd|0|0
>
> On further investigation I found out that mysql is not working as well
> (error as give below):
>
> $ ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
>
> mysql and the rest of the dependencies were installed by running the
> packetfence installation command. I am running centOS 7 on my server.
> Please help!
>
>
>
> --
> 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 
> listPacketFence-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
> --
> Antoine amacheraamac...@inverse.ca  ::  www.inverse.ca
> +1.514.447.4918 x130  :: +1 (866) 353-6153 x130
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
> (www.packetfence.org)
>
>
> 
> --
> 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
>
>


-- 
Regards,
*Muralidhar B.G,*
*Backend Developer,*
www.cumulations.com | M: +91 9886851676
--
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] Unable to view the web configuration page after installation

2017-07-10 Thread Antoine Amacher via PacketFence-users

Hello,

The httpd and haproxy process are not running.

Try this:

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

Thanks


On 07/10/2017 01:13 AM, Muralidhar Bg via PacketFence-users wrote:

Hi,

I installed packetfence following the instructions on 
https://packetfence.org/doc/PacketFence_Administration_Guide.html 



After installation I tried opening the 
https://@ip_of_packetfence:1443/configurator 
 page on my server


I get "unable to connect" error on the browser.

Also find the status of packetfence as given below
$ /usr/local/pf/bin/pfcmd service pf status
carbon-cache|1|0
carbon-relay|1|0
collectd|1|0
dhcpd|0|0
haproxy|1|0
httpd.aaa|1|0
httpd.admin|1|0
httpd.collector|0|0
httpd.dispatcher|1|0
httpd.graphite|1|0
httpd.parking|1|0
httpd.portal|1|0
httpd.proxy|0|0
httpd.webservices|1|0
iptables|1|0
keepalived|0|0
p0f|1|0
pfbandwidthd|0|0
pfdetect||0
pfdhcplistener|1|0
pfdns|0|0
pffilter|1|0
pfmon|1|0
pfqueue|1|0
pfsetvlan|0|0
pfsso|1|0
radiusd-acct|1|0
radiusd-auth|1|0
radsniff|1|0
redis_ntlm_cache|0|0
redis_queue|1|0
routes|0|-1
snmptrapd|0|0
statsd|1|0
winbindd|0|0

On further investigation I found out that mysql is not working as well 
(error as give below):


$ ERROR 2002 (HY000): Can't connect to local MySQL server through 
socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")


mysql and the rest of the dependencies were installed by running the 
packetfence installation command. I am running centOS 7 on my server. 
Please help!




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


--
Antoine Amacher
aamac...@inverse.ca  ::  www.inverse.ca
+1.514.447.4918 x130  :: +1 (866) 353-6153 x130
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

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


[PacketFence-users] Unable to view the web configuration page after installation

2017-07-10 Thread Muralidhar Bg via PacketFence-users
Hi,

I installed packetfence following the instructions on
https://packetfence.org/doc/PacketFence_Administration_Guide.html

After installation I tried opening the https://@ip_of_packetfence:
1443/configurator page on my server

I get "unable to connect" error on the browser.

Also find the status of packetfence as given below
$ /usr/local/pf/bin/pfcmd service pf status
carbon-cache|1|0
carbon-relay|1|0
collectd|1|0
dhcpd|0|0
haproxy|1|0
httpd.aaa|1|0
httpd.admin|1|0
httpd.collector|0|0
httpd.dispatcher|1|0
httpd.graphite|1|0
httpd.parking|1|0
httpd.portal|1|0
httpd.proxy|0|0
httpd.webservices|1|0
iptables|1|0
keepalived|0|0
p0f|1|0
pfbandwidthd|0|0
pfdetect||0
pfdhcplistener|1|0
pfdns|0|0
pffilter|1|0
pfmon|1|0
pfqueue|1|0
pfsetvlan|0|0
pfsso|1|0
radiusd-acct|1|0
radiusd-auth|1|0
radsniff|1|0
redis_ntlm_cache|0|0
redis_queue|1|0
routes|0|-1
snmptrapd|0|0
statsd|1|0
winbindd|0|0

On further investigation I found out that mysql is not working as well
(error as give below):

$ ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2 "No such file or directory")

mysql and the rest of the dependencies were installed by running the
packetfence installation command. I am running centOS 7 on my server.
Please help!
--
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