2019-01-30 - Re: [GRASE-Hotspot] Error When Installing Grase Hotspot in Docker

Header Data

From: “sunny.p.geronimo” <su***o@gmail.com>
Message Hash: 2708e33e9fc9a3c615303fb2cee6e1e93fda860a206182384e5bbc92594b6fd7
Message ID: <edda66e6-217e-4ce6-a4ae-d8339abf9591@grasehotspot.org>
Reply To: <CAESLx0KiPrH8FGxz0VRj2Ue=_rx92t400=MxX4KPEs9UtvVhJg@mail.gmail.com>
UTC Datetime: 2019-01-30 06:47:00 UTC
Raw Date: Wed, 30 Jan 2019 05:47:00 -0800

Raw message

Hello Tim,

I see. I thought I could run Grase in docker because currently it's only 
compatible with Debian 7/ Ubuntu 14.04. I'm planning to install the docker 
in my Debian 9 PC. I guess I will stick to Debian 7 for now.  Keep up the 
good work.

Regards,
Sunny

On Wednesday, January 30, 2019 at 6:23:15 PM UTC+8, timwhite88 wrote:
>
> Hi Sunny
>
> There is lots of work before Grase can be deployed in Docker. Lots of 
> interconnecting parts. Currently, I have a docker image that is used for 
> the online demo (https://github.com/GraseHotspot/Demo-Docker) which 
> cheats a little. It's good to run the demo, but won't work for production. 
> Once we get microservices happening, we can dockerise Grase nicely.
>
> Regards
>
> Tim
>
> On Wed, 30 Jan 2019 at 13:18, sunny.p.geronimo <su***.@gmail.com 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I'm trying to install the grasehotspot in Docker. I used the official 
>> image of Debian 7, Debian 7 Slim, and Ubuntu 14.04.  They all have the same 
>> error.  Please see below
>>
>> dbconfig-common: writing config to 
>> /etc/dbconfig-common/grase-conf-freeradius.conf
>>
>> Creating config file /etc/dbconfig-common/grase-conf-freeradius.conf with 
>> new version
>>
>> Creating config file /etc/grase/radius.conf with new version
>> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
>> '/var/run/mysqld/mysqld.sock' (2).
>> unable to connect to mysql server.
>> error encountered creating user:
>> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
>> '/var/run/mysqld/mysqld.sock' (2)
>> An error occurred while installing the database:
>>
>> ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
>> '/var/run/mysqld/mysqld.sock' (2)
>>
>> If at this point you choose "retry", you will be prompted with all the 
>> configuration questions once more and another
>> attempt will be made at performing the operation. "retry (skip 
>> questions)" will immediately attempt the operation again,
>> skipping all questions.  If you choose "abort", the operation will fail 
>> and you will need to downgrade, reinstall,
>> reconfigure this package, or otherwise manually intervene to continue 
>> using it.  If you choose "ignore", the operation
>> will continue, ignoring further errors from dbconfig-common.
>>
>>   1. abort  2. retry  3. retry (skip questions)  4. ignore
>>
>> Even I tried to retry I still get the same error.  I didn't encounter any 
>> error when installing the system in the physical PC.
>>
>> Appreciate your help.
>>
>> Regards,
>> Sunny
>>
>> -- 
>> This mailing list is for the Grase Hotspot Project 
>> http://grasehotspot.org
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to gr***.@grasehotspot.org <javascript:>.
>> To post to this group, send email to gr***.@grasehotspot.org 
>> <javascript:>.
>> Visit this group at 
>> https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/70a5fed8-699d-4ca0-99d6-16d3878c8b62%40grasehotspot.org 
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/70a5fed8-699d-4ca0-99d6-16d3878c8b62%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>

Thread