Hello Rob,

Are you able to manually log in the DB as pf and root?

Is this happening every time before reaching step4 on the configurator?

Please make sure the pf password are right in conf/pf.conf and conf/pfconfig.conf

If you need to retest it and your PacketFence *IS NOT* in production, you could log as root in the database and run the following:

drop database pf;
drop database pf_graphite;

After that rerun the configurator and it will ask you to setup a password for the user pf. To make sure everything is working fine try a simple password which is not affected by keyboard map, for instance a series of number. I'll let you know how to change it after if needed.

Thanks

On 10/21/2016 06:56 AM, B McLellan wrote:
Thanks Holger,

MySQL is definitely up and listening on 3306. I can login fine from the console. There are no special chars in the password which may cause issues (i did have this issue initially with the default root password due the @ and " being switched on my UK keyboard ;-) ). The fact that this is happening on both a ZEN deploy and an install from deb indicates to me that there's either a bug in the latest version of something about my environment that PF doesn't like.

Rob

On 21 October 2016 at 10:47, <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    are you sure, the database is up at all? And you are using the
    same character sets, when typing blind into the web-interface as
    when setting it up in the console?

    This sort of error is seldom for Americans, but for people from
    the rest of the world one has to take care of this…

    Bye,

    Holger

    *Von:*B McLellan [mailto:[email protected]
    <mailto:[email protected]>]
    *Gesendet:* Donnerstag, 20. Oktober 2016 13:24
    *An:* [email protected]
    <mailto:[email protected]>
    *Betreff:* [PacketFence-users] MySQL login fails

    Hi,

    I'm trying to run the initial config on a new packetfence install
    and I get as far as step 4 'Packetfence' but clicking the continue
    button does not progress to the next step. In
    /usr/local/pf/logs/packetfence.log I see

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

    This doesn't make sense as I'm sure the password I supplied is
    correct. I've even tried restarting mysql with --skip-grant-tables
    to be sure that auth isn't causing an issue.

    This has happened on and a Debian Jessie install using the deb
    package and on a ZEN deployment. Has anyone else seen this
    behaviour? Am I doing something stupid in the setup?

    Bob


    
------------------------------------------------------------------------------
    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
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/packetfence-users
    <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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

--
Antoine Amacher
[email protected]  ::  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
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to