Re: [PacketFence-users] web configurator - I dun goofed

2016-10-13 Thread Jason Skretta

I think I ran into this also when I was doing a setup on PF 5.5.2 once.  From 
some notes I have:



Did the installation with YUM and when that was complete then tried going to

https://:1443/configurator

but was unable to load the page.



Used SSH to log into the box, become root, then I ran the command 
/etc/init.d/mysqld start

  (I suppose you could use "ps" to check if there are any mysql processes 
running before trying this ? )

MySQL spit out some output and talked about setting up the PW for the root 
user..


so then when the cmd prompt came back (I got two [  OK  ] indicators) I did 
these:


/usr/bin/mysqladmin -u root password 'newpass'

/usr/bin/mysqladmin -u root -h  password 'newpass'


and there was no output after either command, but it looked like it worked fine 
(no errors anyway).

So then I did this, per the suggestion in the original "mysqld start" output:


/usr/bin/mysql_secure_installation


Since I already setup the root PW, I said N to that question, but Y on the rest.

Once all that finished, I was able to go to


https://:1443/configurator


and it seemed to work OK from there.  I was able to complete the "Step 3 - 
Database Configuration" portion on the configurator with no problem.




So this is what worked for me.  Other people may have better or more 
appropriate suggestions.


Jason Skretta
Systems Support Specialist
Ames Laboratory   www.ameslab.gov
jskre...@ameslab.gov








On 10/13/2016 11:55 AM, Sallee, Jake wrote:
>
> I need to get to the web configurator ... but I kinda messed up.
>
> I went through the normal install procedure (Install OS -> install updates -> 
> install PF)
>
> Here is where I goofed: I rebooted the server because it installed a new 
> kernel.  Now I can't get to the web configurator.
>
> I tried making sure the packetfence-config and packetfence services are 
> started (they are) but the server is not listening on port 1443.
>
> The only service that is running is the httpd.admin service (all the other 
> services fail to start) and when I try to start the pf services i get an 
> error starting mysql ... since ... you know ... I haven't set it up yet.
>
> How do I proceed?
>
> 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
>
> --
> 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] web configurator - I dun goofed

2016-10-13 Thread Derek Wuelfrath
Jake, my man !

Can you check if you have the β€˜/usr/local/pf/conf/currently-at’ file and what 
is the content ?

Cheers!
-dw.

β€”
Derek Wuelfrath
de...@inverse.ca 
> On Oct 13, 2016, at 12:55, Sallee, Jake  wrote:
> 
> I need to get to the web configurator ... but I kinda messed up.
> 
> I went through the normal install procedure (Install OS -> install updates -> 
> install PF)
> 
> Here is where I goofed: I rebooted the server because it installed a new 
> kernel.  Now I can't get to the web configurator.
> 
> I tried making sure the packetfence-config and packetfence services are 
> started (they are) but the server is not listening on port 1443.
> 
> The only service that is running is the httpd.admin service (all the other 
> services fail to start) and when I try to start the pf services i get an 
> error starting mysql ... since ... you know ... I haven't set it up yet.
> 
> How do I proceed? 

--
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] web configurator - I dun goofed

2016-10-13 Thread Antoine Amacher
Hello Jake,

It is expected to have only the httpd.admin and packetfence-config start 
after a fresh install.

With the admin start the server should listen on 1443 tho.

To be certain could you do: netstat -nlp | grep 1443 and also make sure 
iptables is disable. If this is a centos7, systemctl stop firewalld.

If you encounter issues and you don't have any configuration set, you 
could do a yum reinstall. Which will reinstall the package and start the 
expected services to access the configurator.

Thanks


On 10/13/2016 12:55 PM, Sallee, Jake wrote:
> I need to get to the web configurator ... but I kinda messed up.
>
> I went through the normal install procedure (Install OS -> install updates -> 
> install PF)
>
> Here is where I goofed: I rebooted the server because it installed a new 
> kernel.  Now I can't get to the web configurator.
>
> I tried making sure the packetfence-config and packetfence services are 
> started (they are) but the server is not listening on port 1443.
>
> The only service that is running is the httpd.admin service (all the other 
> services fail to start) and when I try to start the pf services i get an 
> error starting mysql ... since ... you know ... I haven't set it up yet.
>
> How do I proceed?
>
> 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
>
> --
> 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] web configurator - I dun goofed

2016-10-13 Thread Sallee, Jake
I need to get to the web configurator ... but I kinda messed up.

I went through the normal install procedure (Install OS -> install updates -> 
install PF)

Here is where I goofed: I rebooted the server because it installed a new 
kernel.  Now I can't get to the web configurator.

I tried making sure the packetfence-config and packetfence services are started 
(they are) but the server is not listening on port 1443.

The only service that is running is the httpd.admin service (all the other 
services fail to start) and when I try to start the pf services i get an error 
starting mysql ... since ... you know ... I haven't set it up yet.

How do I proceed? 

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

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