2017-03-09 - Re: [GRASE-Hotspot] Grase crashed after power issues.
Header Data
From: David Wilson <da***e@argyle.com.au>
Message Hash: c530879f91cb4b4f298c6f0ffaca6f3057f993fcdebef80ad4a64e3a13544821
Message ID: <615B9DD4-9DA9-434E-A485-D6C1E3073A3C@argyle.com.au>
Reply To: <CAESLx0LbE7WSH6ENWwChU6N-Ss1rkk6CaTh-hs+b4m4fKQCE7Q@mail.gmail.com>
UTC Datetime: 2017-03-09 04:46:34 UTC
Raw Date: Thu, 09 Mar 2017 22:46:34 +1100
Raw message
Hi Tim,
Yeah - I’ve kept my databases but Im not sure I am accessing them correctly.
I can log into the databases from the command line - so db username and password are known and valid.
But I can’t log into grade admin with admin username and password - Unless I’ve totally stuffed it up and got the wrong password - but it seems strange cause I log in here quite regularly.
I have set details in /etc/grase/radius.conf and /etc/grase/radmin.conf
would that be the only placed I need to config db settings?
Or is there a way to set a known password in the db so that I can verify if it is working and I just somehow changed the admin password.
Dave
> On 9 Mar 2017, at 10:08 pm, Timothy White <ti***8@gmail.com> wrote:
>
> Hi Dave
>
> Glad you worked out the missing repository. Hopefully you haven't deleted your databases with the purge commands. If you have, look in /var/backups/grase (I think that's the right location) for the nightly database dumps.
>
> Regards
>
> Tim
>
> On Thu, Mar 9, 2017 at 8:32 PM, David Wilson <da***e@argyle.com.au <mailto:da***e@argyle.com.au>> wrote:
> Doh….
>
> Just realised that the update commented out the Grase Repository.
>
> Installing now.
>
>
> dave
>
>
>
>> On 9 Mar 2017, at 9:25 pm, David Wilson <da***e@argyle.com.au <mailto:da***e@argyle.com.au>> wrote:
>>
>> Hi
>>
>> Need some urgent help.
>> We have a grade server running very well for quite some time, but earlier today there were major power issues causing surges and outages for several hours.
>> The server, router and everything are on UPS’s but because there were so many outages and so frequently, the systems went up and down a few times.
>>
>> Anyway - the OS seems stable and working reasonably well but I could not log into Grase.
>> Was getting admin login screen but no further.
>> If i tried logging it it would just re-display the login page.
>> Initially I though I had miss-typed the password but then I noticed that any wrong combination of username / password would display the Red error.
>> But the correct combination would simply red display the login page without the error - but I still could not get in.
>>
>> It was a while since it was all updated and everyone was off-air anyway so i run some updates.
>> OS is now fully up to date Welcome to Ubuntu 14.04.5 LTS
>>
>> I tried to take a look around and found
>>
>> ubuntu@wifi:/usr/share/grase/www/radmin$ ls -l
>> total 4
>> drwxrwxrwx 2 root www-data 4096 Mar 9 19:13 templates_c
>> ubuntu@wifi:/usr/share/grase/www/radmin$
>>
>>
>> That does not look good - so I want to reinstall totally.
>> This is where I am stuck.
>>
>> I tried
>>
>> sudo apt-get install --reinstall grase-www-portal
>> got
>>
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Package grase-www-portal is not available, but is referred to by another package.
>> This may mean that the package is missing, has been obsoleted, or
>> is only available from another source
>> However the following packages replace it:
>> grase-conf-apache2
>>
>>
>> So I purged all three packages
>>
>> sudo apt-get purge grase-www-portal
>> sudo apt-get purge grase-conf-freeradius
>> sudo apt-get purge grase-conf-openvpn
>>
>> Reboot then tried re-installing
>>
>> sudo apt-get install grase-www-portal grase-conf-freeradius grase-conf-openvpn
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Package grase-www-portal is not available, but is referred to by another package.
>> This may mean that the package is missing, has been obsoleted, or
>> is only available from another source
>> However the following packages replace it:
>> grase-conf-apache2
>>
>> E: Package 'grase-www-portal' has no installation candidate
>> E: Unable to locate package grase-conf-freeradius
>> E: Unable to locate package grase-conf-openvpn
>>
>>
>>
>> So I am stuck - I can’t seem t be able to find the package.
>>
>>
>> Dave
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <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***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
>> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
>> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <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/9753C18E-33A7-4CD3-9EBD-35A4C9B9435A%40argyle.com.au <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/9753C18E-33A7-4CD3-9EBD-35A4C9B9435A%40argyle.com.au?utm_medium=email&utm_source=footer>.
>
>
> --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <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***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <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/419658CF-CB32-4B2A-99E0-01B33B059E23%40argyle.com.au <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/419658CF-CB32-4B2A-99E0-01B33B059E23%40argyle.com.au?utm_medium=email&utm_source=footer>.
>
>
> --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org <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***e@grasehotspot.org <mailto:gr***e@grasehotspot.org>.
> To post to this group, send email to gr***t@grasehotspot.org <mailto:gr***t@grasehotspot.org>.
> Visit this group at https://groups.google.com/a/grasehotspot.org/group/grase-hotspot/ <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/CAESLx0LbE7WSH6ENWwChU6N-Ss1rkk6CaTh-hs%2Bb4m4fKQCE7Q%40mail.gmail.com <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0LbE7WSH6ENWwChU6N-Ss1rkk6CaTh-hs%2Bb4m4fKQCE7Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Thread
-
Return to March 2017
- Return to “Bryan <br***9@gmail.com>”
- Return to “David Wilson <da***e@argyle.com.au>”
- Return to “José Borges <jo***s@algardata.pt>”
-
Return to “Timothy White <ti***8@gmail.com>”
- 2017-03-09 (Thu, 09 Mar 2017 21:25:15 +1100) - Grase crashed after power issues. - David Wilson <da***e@argyle.com.au>
- 2017-03-09 (Thu, 09 Mar 2017 21:32:04 +1100) - Re: [GRASE-Hotspot] Grase crashed after power issues. - David Wilson <da***e@argyle.com.au>
- 2017-03-09 (Thu, 09 Mar 2017 21:08:07 +1000) - Re: [GRASE-Hotspot] Grase crashed after power issues. - Timothy White <ti***8@gmail.com>
- 2017-03-09 (Thu, 09 Mar 2017 03:38:12 -0800) - Re: [GRASE-Hotspot] Grase crashed after power issues. - José Borges <jo***s@algardata.pt>
- 2017-03-09 (Thu, 09 Mar 2017 22:46:34 +1100) - Re: [GRASE-Hotspot] Grase crashed after power issues. - David Wilson <da***e@argyle.com.au>
- 2017-03-09 (Thu, 09 Mar 2017 23:33:32 +1100) - Re: [GRASE-Hotspot] Grase crashed after power issues. - David Wilson <da***e@argyle.com.au>
- 2017-03-09 (Thu, 09 Mar 2017 21:08:07 +1000) - Re: [GRASE-Hotspot] Grase crashed after power issues. - Timothy White <ti***8@gmail.com>
- 2017-03-20 (Mon, 20 Mar 2017 18:30:14 -0700) - Re: Grase crashed after power issues. - Bryan <br***9@gmail.com>
- 2017-03-21 (Tue, 21 Mar 2017 02:44:01 -0700) - Re: Grase crashed after power issues. - José Borges <jo***s@algardata.pt>
- 2017-03-22 (Wed, 22 Mar 2017 18:54:34 -0700) - Re: Grase crashed after power issues. - Bryan <br***9@gmail.com>
- 2017-03-27 (Mon, 27 Mar 2017 08:52:22 -0700) - Re: Grase crashed after power issues. - José Borges <jo***s@algardata.pt>
- 2017-03-22 (Wed, 22 Mar 2017 18:54:34 -0700) - Re: Grase crashed after power issues. - Bryan <br***9@gmail.com>
- 2017-03-21 (Tue, 21 Mar 2017 02:44:01 -0700) - Re: Grase crashed after power issues. - José Borges <jo***s@algardata.pt>
- 2017-03-09 (Thu, 09 Mar 2017 21:32:04 +1100) - Re: [GRASE-Hotspot] Grase crashed after power issues. - David Wilson <da***e@argyle.com.au>