Author |
|
Zhang
Joined: 25 Jul 2006 Posts: 6 Location: Taiwan
|
Posted: Tue 25 Jul '06 13:44 Post subject: Question for mod_auth_radius-1.5.7 |
|
|
Hello, all
I'm a colleger in Taiwan.
In a project, We have to use FreeRADIUS with Apache for authentication.
I downloaded mod_auth_radius-1.5.7 and did all steps in the Readme First text file.
However, after I entered the User-Name and User Password in the pop up textbox , showed a error message like the following:
I also checked my FreeRADIUS which received Access-Request and sent Access-Accept normally after I entered User-Name and User Password by Apache.
So, Apache crashed might right after FreeRADIUS sent out the Access-Accept.
This error has confused me for a long time. I am going to crazy.
Can anyone help me ? Thanks.
-------------------------------------------------------------------------------------
In fact, Steffen has already help me a lot but I still can't solve this problem. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Jul '06 14:38 Post subject: |
|
|
This error message is because you haven't installed theC++ 2005 Redistributable Package. It is needed needed, caused by the different compiler.
englisch
chinese (simple) |
|
Back to top |
|
Zhang
Joined: 25 Jul 2006 Posts: 6 Location: Taiwan
|
Posted: Tue 25 Jul '06 14:53 Post subject: |
|
|
Thnaks for your response but I had installed the C++ 2005 Redistributable Package. Is there something others needed? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 25 Jul '06 15:07 Post subject: |
|
|
You can try to remove the httpd.exe.manifest from you Apache2/bin folder, who knows it helps.
Anything in the windows event.log ?
Please send me by mail the drwatson.log .
Steffen |
|
Back to top |
|
Zhang
Joined: 25 Jul 2006 Posts: 6 Location: Taiwan
|
Posted: Tue 25 Jul '06 15:50 Post subject: |
|
|
I tried to remove the httpd.exe.mainifest from the folder.
However, it makes no difference, and the following is a segment of my error.log from starting Apache to crashing and exiting :
------------------------------------------------------------------------------------
[Tue Jul 25 20:49:27 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Tue Jul 25 20:49:27 2006] [notice] Server built: May 4 2006 17:42:19
[Tue Jul 25 20:49:27 2006] [notice] Parent: Created child process 3340
[Tue Jul 25 20:49:27 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Jul 25 20:49:27 2006] [notice] Child 3340: Child process is running
[Tue Jul 25 20:49:27 2006] [notice] Child 3340: Acquired the start mutex.
[Tue Jul 25 20:49:27 2006] [notice] Child 3340: Starting 250 worker threads.
[Tue Jul 25 20:49:27 2006] [notice] Child 3340: Listening on port 80.
[Tue Jul 25 20:50:04 2006] [notice] Parent: child process exited with status 3221225485 -- Restarting.
[Tue Jul 25 20:50:04 2006] [notice] Apache/2.2.2 (Win32) configured -- resuming normal operations
[Tue Jul 25 20:50:04 2006] [notice] Server built: May 4 2006 17:42:19
[Tue Jul 25 20:50:04 2006] [notice] Parent: Created child process 2152
[Tue Jul 25 20:50:05 2006] [notice] Disabled use of AcceptEx() WinSock2 API
[Tue Jul 25 20:50:05 2006] [notice] Child 2152: Child process is running
[Tue Jul 25 20:50:05 2006] [notice] Child 2152: Acquired the start mutex.
[Tue Jul 25 20:50:05 2006] [notice] Child 2152: Starting 250 worker threads.
[Tue Jul 25 20:50:05 2006] [notice] Child 2152: Listening on port 80.
[Tue Jul 25 20:50:13 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Jul 25 20:50:13 2006] [notice] Child 2152: Exit event signaled. Child process is ending.
[Tue Jul 25 20:50:14 2006] [notice] Child 2152: Released the start mutex
[Tue Jul 25 20:50:14 2006] [notice] Child 2152: Waiting for 250 worker threads to exit.
[Tue Jul 25 20:50:14 2006] [notice] Child 2152: All worker threads have exited.
[Tue Jul 25 20:50:14 2006] [notice] Child 2152: Child process is exiting
------------------------------------------------------------------------------------- |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Jul '06 16:31 Post subject: |
|
|
I had[i] child process exited with status 3221225485 -- Restarting[I]. too Was an PHP error. Don't know if had exactly the same error number. Comment all modules in php.ini out. Maybe that helps. And by incommenting one module after each other you may find what issue.
If it is not a PHP bug. I would download apache from this page and reinstall as shown on http://www.apachelounge.com/viewtopic.php?t=570
Did you download Apache from here? if not, maybe the version you have is not compatibel with the radius module from here.
(just brainstorming) |
|
Back to top |
|
Zhang
Joined: 25 Jul 2006 Posts: 6 Location: Taiwan
|
Posted: Tue 25 Jul '06 16:49 Post subject: |
|
|
I downloaded Apache 2.2.2 from here and I have not yet installed PHP module.
More early, I ues AppServ 2.5.6 which includes Apache 2.2.2 and PHP 5.1.4 but still had the same problem.
Thanks your suggestions, I will keep trying. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 25 Jul '06 19:45 Post subject: |
|
|
As test I installed also a Radius server.
And.. I get the same error as you, so it seems not to be working with the new Auth mechanism in 2.2.2
I tried also with 2.0.58 and that it is working.
I pulled down the download here.
Steffen |
|
Back to top |
|
Zhang
Joined: 25 Jul 2006 Posts: 6 Location: Taiwan
|
Posted: Wed 26 Jul '06 6:51 Post subject: |
|
|
Steffen, thanks you very much. You really do me a big favor.
I tried to installed Apache 2.0.58 but I got a syntax error which said can't not load the mod_auth_radius.so when I started Apache.
Is there something different in setting the http.conf from Apache 2.2.2 ? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 26 Jul '06 12:06 Post subject: |
|
|
Modules for 2.2 are not compatible with 2.0.
Try the module for 2.0 at Removed
Steffen |
|
Back to top |
|
Zhang
Joined: 25 Jul 2006 Posts: 6 Location: Taiwan
|
Posted: Wed 26 Jul '06 12:49 Post subject: |
|
|
I downloaded the module 2.0 and it really works.
Thanks for everyone's help, especially Steffen. Thanks you very much. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 26 Jul '06 13:09 Post subject: |
|
|
Good to hear, I spended quite some time on your issue, so you are always welcome to make a Paypal donation to keep this site Alive.
Steffen |
|
Back to top |
|