2014-09-06 - Re: [GRASE-Hotspot] Re: Nightly Build

Header Data

From: Mohammad Javad <pe***t@gmail.com>
Message Hash: fb25355ec0aded7801bae96d6901f5c645c7235e21a33d112adce90d09d83f8e
Message ID: <CAL7r4-XdjjMRnixkDFYkXBrHYkvEam9ToTf_WeDPHt1atjKpjg@mail.gmail.com>
Reply To: <CAESLx0J0Qzz-1_es1B24tK_A57TWJMHXogtB+vT_Ybn_GPbj7w@mail.gmail.com>
UTC Datetime: 2014-09-06 00:43:32 UTC
Raw Date: Sat, 06 Sep 2014 12:13:32 +0430

Raw message

Thank you Tim. It solved the problem i now can login. But I'm still not
able to surf the web. I can ping like 8.8.8.8 and i can lookup internet
hosts, I'm also able to open Ubuntu software center but i just can't open
webpages. I tried apt-get update on my Ubuntu desktop client and it says
unable to connect to ...... . I'm guessing it doesn't let me make http
connections.
What should i do now?
Thanks again
On Sep 6, 2014 11:52 AM, "Timothy White" <ti***8@gmail.com> wrote:

> I've uploaded a new nightly that should fix that.
>
> Try installing it and check the cron script again.
>
> Tim
>
>
> On Sat, Sep 6, 2014 at 4:35 PM, Mohammad Javad Ra'adi <
> pe***t@gmail.com> wrote:
>
>> i got this error in my apache log file after i ran cron.php file:
>>
>> [Sat Sep 06 11:00:02.066620 2014] [:error] [pid 2131] [client
>> 127.0.0.1:45866] PHP Fatal error:  Uncaught exception 'PDOException'
>> with message 'SQLSTATE[42000]: Syntax error or access violation: 1091 Can't
>> DROP 'ServiceType'; check that column/key exists' in
>> /usr/share/grase/src/Grase/Database/Upgrade.php:364\nStack trace:\n#0
>> /usr/share/grase/src/Grase/Database/Upgrade.php(364): PDO->exec('?
>>      ...')\n#1 /usr/share/grase/src/Grase/Database/Upgrade.php(101):
>> Grase\\Database\\Upgrade->fixPostAuthTable()\n#2
>> /usr/share/grase/www/radmin/cron.php(53):
>> Grase\\Database\\Upgrade->upgradeDatabase(Object(Grase\\Database\\Radmin))\n#3
>> {main}\n  thrown in /usr/share/grase/src/Grase/Database/Upgrade.php on line
>> 364
>>
>>
>> thank you tim
>>
>> On Saturday, September 6, 2014 10:52:13 AM UTC+4:30, timwhite88 wrote:
>>>
>>> This sounds like the cron function didn't run at package install time.
>>> Just goto localhost/grase/radmin/cron.php (replace localhost with the
>>> correct server ip) and check for any fatal errors when the Cron script
>>> tries to run.
>>>
>>> Tim
>>>
>>>
>>> On Sat, Sep 6, 2014 at 4:17 PM, Mohammad Javad Ra'adi <
>>> pe***.@gmail.com> wrote:
>>>
>>>> There was no fatal PHP error in appache log file but i found this on
>>>> radius log file:
>>>> Error: rlm_sql (sql) in sql_postauth: Database query error - Unknown
>>>> column 'ServiceType' in 'field list'
>>>> i get this line every time i try to login with a voucher.
>>>> what should i do?
>>>>
>>>> On Saturday, September 6, 2014 10:18:48 AM UTC+4:30, timwhite88 wrote:
>>>>
>>>>> On Sat, Sep 6, 2014 at 3:13 PM, Mohammad Javad <pe***.@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I tried everything from the beginning and yes i was able to see
>>>>>> groups and creating new groups was fine. But I'm not able to login on the
>>>>>> client side. It says: "login failed due to sever error. Please try again".
>>>>>> What should i do? where can i see the log files?
>>>>>> Thanks tim
>>>>>>
>>>>>> First thing would be to check for fatal PHP errors in the apache
>>>>> error log.
>>>>> Otherwise, check in the freeradius radius.log and see if that helps.
>>>>> Normally that error suggests that freeradius isn't running, or the perl
>>>>> module has errored. (So check that freeradius is actually running).
>>>>>
>>>>> Tim
>>>>>
>>>>  --
>>>> 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.
>>>> To post to this group, send email to gr***.@grasehotspot.org.
>>>> Visit this group at http://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/baae000b-d5c3-
>>>> 4794-a256-5d81e796ea51%40grasehotspot.org
>>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/baae000b-d5c3-4794-a256-5d81e796ea51%40grasehotspot.org?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>  --
>> 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***e@grasehotspot.org.
>> To post to this group, send email to gr***t@grasehotspot.org.
>> Visit this group at
>> http://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/5e7709a7-f00a-4600-8392-3668366b3ccf%40grasehotspot.org
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/5e7709a7-f00a-4600-8392-3668366b3ccf%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>
>  --
> 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***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://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/CAESLx0J0Qzz-1_es1B24tK_A57TWJMHXogtB%2BvT_Ybn_GPbj7w%40mail.gmail.com
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0J0Qzz-1_es1B24tK_A57TWJMHXogtB%2BvT_Ybn_GPbj7w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

Thread