Menu

#57 500 Internal Server Error occurs when logging in

v1.0_(example)
open
nobody
None
1
2025-06-25
2017-02-20
Anonymous
No

Hi All,

I have installed Daloradius with FreeRADIUS by following this guide - http://computingforgeeks.com/installing-freeradius-and-daloradius-centos-7/.

For some reason, when I login it gives me a 500 Internal Server Error when trying to display http://52.xxx.xxx.55/daloradius/dologin.php.

I am currently running PHP 7.0.15:
[centos@radius1 ~]$ sudo php -v
PHP 7.0.15 (cli) (built: Jan 18 2017 13:40:47) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies

And I am running Apache 2.4.6:
[centos@radius1 ~]$ httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 14 2016 18:04:44

With daloRADIUS 0.9-9. Is there anything that I can do to resolve this?

Thanks.
Christopher H.

Discussion

  • Anonymous

    Anonymous - 2017-02-20

    I have resolved the error. I checked the error logs at /var/log/httpd/error_log, and it gave me an error:

    PHP Fatal error: Uncaught Error: Class 'DB' not found

    I then ran the command that I found at https://sourceforge.net/p/daloradius/mailman/message/540592/ which is below:

    pear install DB

    And it resolved the issue. Hope this helps someone else out!

    Thanks,
    Christopher H.

     
  • Anonymous

    Anonymous - 2019-04-09

    After 2 long hours of search and struggle finally here and got problem solved....Thanks

     
  • Anonymous

    Anonymous - 2020-06-09

    actually this is a huge help. Thanks for posting this!

     
  • Anonymous

    Anonymous - 2020-09-16

    This solved my issue too

    pear install DB

     
  • Anonymous

    Anonymous - 2021-01-04

    Thank you this saved me time, thanks for the tip

     
  • Anonymous

    Anonymous - 2021-04-23

    ПОМОГЛО! Спасибо! :)

     
  • Anonymous

    Anonymous - 2023-10-10
    Post awaiting moderation.
  • Anonymous

    Anonymous - 2025-06-25
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB