Saturday, July 10, 2010

Solving RadiusManager Web Interface

I asked Fausi: After following the installation manual, the admin.php page still showing blank page instead of the login page. Why is that?

His Answer: I'm not a wizard to magically answer your problem... let me check your server.

After checking the server here is some information...

The linux:

[root@localhost html]# uname -a
Linux localhost.localdomain 2.6.27.5-117.fc10.i686 #1 SMP
Tue Nov 18 12:19:59 EST 2008 i686 i686 i386 GNU/Linux

I try to see what is happening in the /var/log/httpd/access_log...

XX.XX.XX.XXX - - [18/Jun/2011:23:12:03 +0800]
"GET /radiusmanager/admin.php HTTP/1.1" 500 - "-" "Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.9.0.19)Gecko/2010040118
Ubuntu/8.10 (intrepid) Firefox/3.0.19"

so, I can see it is getting 500 error... seems like the server is misconfigured or something.

This RadiusManager is using ionCube to encode the page. Therefore, I think the httpd server haven't configured to use enough memory to parse the file.

What I do to fix this is simply edit the /etc/httpd/conf.d/php.conf and add this line at the bottom...

php_value memory_limit 500M

save the file and restart the httpd server:

[root@localhost html]# service httpd restart


Now, I can see the RadiusManager page. That's all Siamak. Have fun using linux!

No comments:

Post a Comment