> but if I go to justhttps://secondarypf:1443 I still get sent to the
> configuration wizard, despite the pf.conf being populated. Is there a
> variable on the server somewhere that needs to be changed so that it knows
> that the configuration has been done?
Make sure you have a /usr/local/pf/conf/currently-at file that contains the
same version as /usr/local/pf/conf/pf-release contains.
Cheers!
dw.
--
Derek Wuelfrath
[email protected] :: www.inverse.ca
+1.514.447.4918 (x110) :: +1.866.353.6153 (x110)
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)
On May 2, 2014, at 9:15 AM, Morris, Andi <[email protected]> wrote:
> On this note, I know I can access the admin panel by browsing to
> https://secondarypf:1443/admin on the secondary server, but if I go to
> justhttps://secondarypf:1443 I still get sent to the configuration wizard,
> despite the pf.conf being populated. Is there a variable on the server
> somewhere that needs to be changed so that it knows that the configuration
> has been done?
>
> Cheers,
> Andi
>
> From: Morris, Andi [mailto:[email protected]]
> Sent: 02 May 2014 13:36
> To: '[email protected]'
> Subject: Re: [PacketFence-users] Change web interface admin password via CLI
>
> Rather interestingly I’ve just discovered that the admin password is now
> stored within the mysql database in a temporary_password table. The
> instructions in the FAQs are out of date.
> Viewing this table on my secondary server shows (obviously I’ve changed the
> password here):
>
> mysql> select * from temporary_password;
> +-------+--------------+---------------------+---------------------+-----------------+--------------+----------+---------+---------------------+
> | pid | password | valid_from | expiration |
> access_duration | access_level | category | sponsor | unregdate |
> +-------+--------------+---------------------+---------------------+-----------------+--------------+----------+---------+---------------------+
> | admin | password | 2014-05-01 16:31:26 | 2038-01-01 00:00:00 | 9999D
> | ALL | 1 | 0 | 0000-00-00 00:00:00 |
> +-------+--------------+---------------------+---------------------+-----------------+--------------+----------+---------+---------------------+
> 1 row in set (0.00 sec)
>
> So, the password IS there.
>
> So, after a little brain wave I realised that packetfence might not have the
> credentials to access the pf database on the secondary server, which are
> stored in pf.conf
>
> I copied over the pf.conf file from primary to secondary, changing the
> hostname and IP addresses and I can now access it all with no issues.
>
> Cheers,
> Andi
> From: Morris, Andi [mailto:[email protected]]
> Sent: 02 May 2014 12:33
> To: '[email protected]'
> Subject: Re: [PacketFence-users] Change web interface admin password via CLI
>
> I should have said that I also cannot get in using the default password of
> ‘admin’
>
> From: Morris, Andi [mailto:[email protected]]
> Sent: 02 May 2014 12:17
> To: [email protected]
> Subject: [PacketFence-users] Change web interface admin password via CLI
>
> Hi all,
> When setting up a HA pair of Packetfence servers everything goes well up
> until the configuration of the separate servers. With the primary the active
> server I log in and run through the configurator as usual with no problems.
> Now because my mysql database replicates to the secondary server using DRBD
> running the configurator on the secondary will not work, so I just go to
> https://secondarypf:1443/admin, however because I haven’t run the
> configurator I cannot login to the admin interface with the username and
> password I setup for the primary server……a bit of a catch 22.
>
> What’s the best way of getting the second server configured with the web
> interface admin password?
>
> As an aside, is there a good way of replicating the entire config, replacing
> the hostname and IP addresses where applicable?
>
> Cheers,
> Andi
>
> -------------------------------------
> Andi Morris
> IT Security Officer
> Cardiff Metropolitan University
> T: 02920 205720
> E: [email protected]
> --------------------------------------
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs_______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users