[isf-wifidog] Auth server setup

Max Horváth max.horvath at freenet.de
Jeu 15 Sep 06:53:31 EDT 2005


Okay,

problem fixed.

Unfortuntly Wifidog auth server doesn't like eAcclerator.

But there is a chance to speed up PHP scripts at least a little bit  
(not having to completely disable eAccelerator):

Change the following line in php.ini:

eaccelerator.optimizer="1"

to:

eaccelerator.optimizer="0"

Do the maindevelopers have any clue which parts of Wifidog auth  
server could be responsible for the conflict?

eAccelerator does a great job by speeding up the execution of PHP  
script which results in more users to be able to surf a homepage.

Cheers, Max!

Am 15.09.2005 um 10:45 schrieb Max Horváth:

> Well, I'm talking about the auth server.
>
> It's running on a Debian Sarge stable server ...
>
> Apache 2.0.54 prefork (Debian package)
> PHP 5.0.5 (compiled because there is no official PHP5 package for  
> Sarge)
> eAccelerator 0.9.3 (compiled, too)
>
> it never happened to me before that a PHP script segfaulted.
>
> Cheers, Max!
>
> Am 15.09.2005 um 03:57 schrieb Philippe April:
>
>
>> If Wifidog segfaults, I really doubt it has to do with Apache + PHP.
>>
>> Tell me, which firmware are you using?
>> Where did you get it?
>>
>> How did you install wifidog (compiled, installed binary package)?
>> Where did you get it?
>>
>> That'll help a lot :)
>>
>> Philippe April
>> GnuPG http://key.philippeapril.com
>>
>> On 14-Sep-05, at 5:58 PM, Max Horváth wrote:
>>
>>
>>
>>> Hi,
>>>
>>> I got a huge problem regarding a new installation of wifidog on a  
>>> new server.
>>>
>>> Following setup:
>>>
>>> Apache 2.0.54
>>> PHP 5.0.5
>>> PostgreSQL 7.4.7
>>>
>>> After installing Wifidog I can't access it.
>>>
>>> The network connection gets reset as soon as I try to access a page.
>>>
>>> No PHP error gets displayed and also no log in the error log of PHP.
>>>
>>> Then I found this in the error log of Apache:
>>>
>>> [Wed Sep 14 21:47:29 2005] [notice] child pid 9755 exit signal  
>>> Segmentation fault (11)
>>>
>>> Anyone has a clue what happened?
>>>
>>> Thanks and cheers, Max!
>>>
>>> Am 12.09.2005 um 23:08 schrieb Pascal Leclerc:
>>>
>>>
>>>
>>>
>>>> It's a really bad security protection (my fault). It work in  
>>>> Redhat but
>>>> not in Debian (because of the way ls output informations). I'm  
>>>> currently
>>>> updating the script to follow the last changes the others  
>>>> developers did
>>>> last week and I will put a better security authentication.
>>>>
>>>> To continue with your installation you can edit install.php to  
>>>> bypass the
>>>> bad validation:
>>>>
>>>> On line 45 you can see : $auth = false;
>>>>
>>>> Replace "false" by "true" : $auth = true;
>>>>
>>>> Don't forget to put "false" after, rename the file or put  
>>>> authenticationon
>>>> it (htaccess) to disallow anybody to use it.
>>>>
>>>> If you need more help, ask and I will help you
>>>>
>>>>    Pascal
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> I'm in the process of setting up the auth server, but on step  
>>>>> one it
>>>>> says to
>>>>>
>>>>>
>>>>>
>>>>> Security : For now, a really simple password protection is in  
>>>>> place. To
>>>>> find the password type this in command line :
>>>>>
>>>>>   ls -ld /var/www/wifidog/wifidog | awk '{print $6$7$8}'
>>>>>
>>>>>
>>>>>
>>>>>   (No username needed)
>>>>>
>>>>> When you are ready click next
>>>>>
>>>>>
>>>>>
>>>>> when I click next it brings up a login
>>>>>
>>>>>
>>>>>
>>>>> I leave the username blank and type in the password
>>>>> (2005-09-0810:39/var/www/wifidog)
>>>>>
>>>>> and nothing.
>>>>>
>>>>> I've tried a lot of different combinations, recreating the  
>>>>> folders and
>>>>> using the new info, and nothing
>>>>>
>>>>> seems to work.
>>>>>
>>>>> Has anyone ran into this?  Is there a quick way around it?  Am  
>>>>> I doing
>>>>> something wrong?
>>>>>
>>>>>
>>>>>
>>>>> Auth ver. 1.0.0_m1
>>>>>
>>>>> on debian
>>>>>
>>>>>
>>>>> Thanks for any help,
>>>>>
>>>>>
>>>>>
>>>>> Dan Holton
>>>>> IT Administrator
>>>>>
>>>>> Callahan & Associates, Inc.
>>>>> www.CreditUnions.com <BLOCKED::http://www.creditunions.com/>  |
>>>>> www.Callahan.com <BLOCKED::http://www.callahan.com/>
>>>>> Cooperative Knowledge for the Credit Union Community
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> WiFiDog mailing list
>>>> WiFiDog at listes.ilesansfil.org
>>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> WiFiDog mailing list
>>> WiFiDog at listes.ilesansfil.org
>>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>>
>>>
>>
>> _______________________________________________
>> WiFiDog mailing list
>> WiFiDog at listes.ilesansfil.org
>> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>>
>>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>



More information about the WiFiDog mailing list