How to install Radius Manager 4 in Ubuntu Server 13.04 [With Video]

[hmtad name=”Adsense Unit 3″ align=”floatright”]

Inspired from Mr. Syed Jahanzaib’s blog, I also tried and installed Radius Manager 4.04 successfully in my Ubuntu Server 13.04. Here I provide you with a step by step working of the installations along with a video tutorial for better understanding and clarity.

For your reference, I have also attached the original Radius Manager Installation Manual and User Manual.

Radius Manager 4.04 Installation Manual & User Manual : Download

First of all you need proper license file for running radius manager. Since this is a commercial software,we’ll be using a trial license for the demonstration./

How to find your MAC address for your Ubuntu Server 13.04?

  1. SSH into your Server
  2. Type : ifconfig
  3. The interfaces along with their respective MAC address will be shown. Note them down as you need them in the next stage.

How to get License files – lic.txt and mod.txt for radius manager 4?

  1. Email to requesting for Radius Manager Trial
  2. They will reply you asking you to send your personal informations like First Name, Last Name, Business Email, Address etc.
    [Note : You must use your business email only. Gmail, Yahoo etc will not work]
  3. Then they will mail you the Customer ID and an auto generated password.
  4. Then login using your credentials @
  5. Then under my softwares click Radius Manager.
  6. In type of license Click Trial -> Give the MAC address of the PC in which you want to install Radius Manager -> Tick Terms -> Submit.
  7. Then under license keys, you will see the MAC and generated lic.txt and mod.txt files. Download them in your PC.

How to install Radius Manager 4 in Ubuntu Server 13.04 – 32 bit Edition?

  1. Install the required package and dependencies
    apt-get install mc wget rcconf make gcc mysql-server mysql-client libmysqlclient15-dev libperl-dev curl php5 php5-mysql php5-cli php5-curl php5-mcrypt php5-gd php5- 
    snmp freeradius-mysql apache2 apache2.2-common php5-cli
  2. Download and install libtool 1.x from
    dpkg -i libltdl3_1.5.24-1ubuntu1_i386.deb
    dpkg -i libltdl3-dev_1.5.24-1ubuntu1_i386.deb
  3. Lets now proceed with ioncube installation.Find your php version using php -v and download respective ioncube loader from Then proceed with the installation.
    tar -zxvf ioncube_loaders_lin_x86.tar.gz
    mkdir /usr/local/ioncube/
    mv ioncube/* /usr/local/ioncube/
  4. Edit php.ini in two locations and add the ioncube extension location
    nano /etc/php5/cli/php.ini
  5. Install Free Radius
    gzip -d freeradius-server-2.1.8-dmamod-3.tar.gz
    tar xvf freeradius-server-2.1.8-dmamod-3.tar
    cd freeradius-server-2.1.8
    make install

    If you get error then perform the following steps:

    nano src/modules/rlm_eap/Makefile

    add the follwing -lfreeradius-radius-2.1.8

    $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(RLM_LDFLAGS) -lfreeradius-radius-2.1.8 -o radeapclient radeapclient.lo $(CLIENTLIBS) $(LIBS) $(OPENSSL_LIBS)
    make install
  6. Check installation using
    radiusd -X

    If you get error then perform the following steps. Change the version number in the file appropriately and execute these commands:

    ln -s /usr/local/lib/ /usr/lib/
    ln -s /usr/local/lib/ /usr/lib/
    ln -s /usr/local/lib/ /usr/lib/
  7. Apply correct permissions :
    chown www-data /usr/local/etc/raddb
    chown www-data /usr/local/etc/raddb/clients.conf
  8. Create database and users
    mysql -u root -p password

    Where password is your password.

    CREATE DATABASE conntrack;
    CREATE USER ‘radius’@’localhost’ IDENTIFIED BY ‘radius123’;
    CREATE USER ‘conntrack’@’localhost’ IDENTIFIED BY ‘conn123’;
    GRANT ALL ON radius.* TO radius@localhost;
    GRANT ALL ON conntrack.* TO conntrack@localhost;
  9. Now lets proceed with the installation of radius manager. Download radius manager tarball package.
    tar -zxvf syaQTbkcAWL9gdWv
    cd radiusmanager-4.0.4
    chmod 755
  10. Follow the onscreen instructions and after installation make sure the database is populated.
  11. Trasfer the lic.txt file and mod.txt file received from DMA Soft Labs to radiusmanager root directory
  12. Login to radius manager @ http://YourIP/radiusmanager. Default user:pass = admin:1111
  13. Now here if you get blank page or server error, double check your php.ini file and check ioncube path. Correct if wrong but if you still get error, then edit nano /etc/php5/cli/php.ini and change php memory to 16 Mb from 8 mb (memory_limit = 16M)
For queries post a comment 😉

Video Tutorial

Enjoyed this post? Share it!

  • Aşk Yakar

    RADIUS server: NOT RUNNING 🙁

    radius -X
    error 🙁 help me
    Failed binding to authentication address * port 1812: Address already in use

    /usr/local/etc/raddb/radiusd.conf[240]: Error binding to port for port 1812

    • ps aux | grep free
      ps ax | grep radius

      check for the process already running.
      kill -9 PID

      then start radius again

      • Aşk Yakar

        Thank you.
        is now running.
        re-started the system every time I need to make this process?

        • It is only required once if your installation is ok.

          • Aşk Yakar

            system is rebooted after the start radius server web interface.
            above then kill proceses.
            sought running.

            Thanks Best Regards

          • apt-get remove freeradius

          • ubuntu

            Hello Srijit!
            My problem is with radius server…
            On red color when i go in home page of rm is RDIUS server: not runing
            how to fix this?

          • ubuntu

            oot@ubuntu:/home/luri/Downloads# tail /var/log/apache2/error.log[Mon Dec 23 14:44:12.403420 2013] [core:notice] [pid 3516] AH00094: Command line: ‘/usr/sbin/apache2’
            [Mon Dec 23 14:45:19.255408 2013] [:error] [pid 3521] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:22.892779 2013] [:error] [pid 3523] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:24.228220 2013] [:error] [pid 3522] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:25.329137 2013] [:error] [pid 3524] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:27.175105 2013] [:error] [pid 3520] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:29.304308 2013] [:error] [pid 3521] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:30.530670 2013] [:error] [pid 3548] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:32.318957 2013] [:error] [pid 3523] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0
            [Mon Dec 23 14:45:33.880183 2013] [:error] [pid 3522] [client] PHP Fatal error: The encoded file /var/www/radiusmanager/admin.php requires a license file lic.txt. in Unknown on line 0

  • Lukoki Christian

    License error, mod.txt is corrupt when trying access my radiusmanager

    • Check mod.txt file. Download again from their portal and check.

      • Iffrit

        Same problem here, downloaded the file again but same error appears. Have you found a solution that works?

      • Iffrit

        Same problem here, downloaded the file again but same error appears. Have you found a solution that works?

  • Lukoki Christian

    the same message appears

    • You should contact their customer support.

    • walo

      Failed loading /usr/local/ioncube/ioncube/ /usr/local/ioncube/ioncube/ cannot open shared object file: No such file or directory

      can some please help me

  • Krst Mrv


  • Krst Mrv


    The following error is particularly 4.1.1 update?

    “License error, mod.txt is corrupt”

    • Mensur Hadzic


      I am install 4.1.6

      and I get blank page

      Log on my server ( PHP Fatal error: nThe encoded file /var/www/html/radiusmanager/admin.phpnrequires a license file lic.txt.n in Unknown on line 0)
      any idea?

      • U donot have correct license file. Apply for trial or buy license.

        • Mensur Hadzic

          I think license cant expire. I have tree license and tried one install to new machine.

          • It expires after 1 month I think. COnfirm it by visiting account portal. Applicable for only trail license.

          • Mensur Hadzic

            License was purchased 7 years ago, and has worked on the 4.0 version. Now I installed on a CentOS 6.6 RM 4.1.6 and I have that message in the error log file.

      • Jatin Vamja

        please sent me setup of rma 4.1.5 or 4.1.6


  • GIVI360

    hi sriji

    I installed everything perfect , i had one problem .. when i want to open my radius


    that told me (could not connect to localhost)

    i read some blogs and doing some search . i found that i need to fix the passwords in


    and i did that but still same error

    and sometimes show me blank page

    i checked the php.ini

    PHP 5.3.2-1ubuntu4.18 with Suhosin-Patch (cli) (built: Sep 12 2012 19:33:42)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd. <<===

    that's mean no errors with ion cube

    so i repeat and plz help

    how can i fix ( Could not connect to host )


  • GIVI360

    thanks dude , i had another problem ,,
    .. i can’t access http://serverip/radiusmanager/admin.php ,,, and i can’t connect with any user from radiusmanager but i can access with user from MT , when i try to connect to my ACP radius .. squid block me ?? plz help

    • I don’t know your Network topology. So, its difficult to predict why u are not allowed to access RM ACP.

  • GIVI360

    thank you for replay ,
    is :
    MT 1100AHx2 for loadbalance eth1 connected to another MT1100AHx2 the second one using DHCP Client to gain ip address .. Etc the second MT act as PPPoE Server with eth2
    eth9 is DMA RM and eth10 as proxy squid for caching .
    i just need to access ACP While i’m connected to internet using pppoe was created with RM .. that’s the only problem i’v got …
    so sirji i will be thankfull if u help me out with this …
    thank you for your time ..

  • GIVI360

    cause i’m planning to give RM to some resellers …

  • Ifran Xion

    I got stuck in from no. 8
    actually i didnt follow the query…
    i made two users manually as well as the database.. giving both users full permissions…
    but after i download the radiusmanager from your cloud server.. the link u gave.. then when i do the ./ and go back to phpmyadmin to check… i find the tables blank.. plz help me.. 🙁

    • Did u set permission for correctly??

      • Ifran Xion

        thanks a lot for replying… i did it on ubuntu 64 bit… thats the reasons the problem maybe… and yes the permisson was ok.. lets see now im doing it on Ubuntu 32bit Server.. edition…. if i face any problem ill let u knw..

        Thanks again brother 🙂

        • Ok. No problem.

          • Ifran Xion

            btw bro.. do u have any ideas with ZFS or HDFS (Hadoop File System)… i hope that ull post video tutorials regarding that 🙂

          • Bro i don’t know about it. I’m looking forward towards learning it too. Do tell me if you get some tutorial source. Thanks 🙂

          • Ifran Xion

            i do have them… 🙂
            mind if i add u in facebook ?

          • Not at all .

          • Ifran Xion

            i have sent u a message on ur facebook page :

  • pankaj

    hi from where to get apache2 apache2.2-common

  • pankaj

    my php verson is 5.5.3 but its not listed is ioncube loader i have 5.4

  • pankaj

    why i am getting this error. Please provide guide line for the solution of this problem thanks in advance

    • if u r copy pasting my syntax then manually give the ” ‘ ” signs.

      • pankaj

        will this make any difference

  • Inder Pal Meel

    Looking for freelancer for developing customized FreeRadius manager script.

  • Ivica Vukovic

    hello i have problem

    make[6]: Leaving directory `/root/freeradius-server-2.2.0/src/modules/rlm_logintime’
    Making install in rlm_mschap…
    /usr/bin/make -w -C rlm_mschap install
    make[6]: Entering directory `/root/freeradius-server-2.2.0/src/modules/rlm_mschap’
    make[7]: Entering directory `/root/freeradius-server-2.2.0/src/modules/rlm_mschap’
    /root/freeradius-server-2.2.0/install-sh -c -d -m 755 /usr/local/bin
    /root/freeradius-server-2.2.0/libtool –mode=install /root/freeradius-server-2.2.0/install-sh -c -m 755
    smbencrypt /usr/local/bin
    /root/freeradius-server-2.2.0/install-sh -c -m 755 smbencrypt /usr/local/bin/smbencrypt
    install: smbencrypt does not exist
    make[7]: *** [smbencrypt-install] Error 1
    make[7]: Leaving directory `/root/freeradius-server-2.2.0/src/modules/rlm_mschap’
    make[6]: *** [install] Error 2
    make[6]: Leaving directory `/root/freeradius-server-2.2.0/src/modules/rlm_mschap’
    make[5]: *** [rlm_mschap] Error 2
    make[5]: Leaving directory `/root/freeradius-server-2.2.0/src/modules’
    make[4]: *** [install] Error 2
    make[4]: Leaving directory `/root/freeradius-server-2.2.0/src/modules’
    make[3]: *** [modules] Error 2
    make[3]: Leaving directory `/root/freeradius-server-2.2.0/src’
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/root/freeradius-server-2.2.0/src’
    make[1]: *** [src] Error 2
    make[1]: Leaving directory `/root/freeradius-server-2.2.0′
    make: *** [install] Error 2
    root@mama:~/freeradius-server-2.2.0# ^C
    Ubunutu 13.10 Server ! Can you help me

  • Ifran Xion

    Any one knows how to crack this Radius Manager 4? i have seen some ppl running older version.. doing the crack.. but dont know.. how to….

    • Syed Jahanzaib

      there is no real crack for it. some people are using it by cloning working MAC address and using the license file 🙂 ,, its not cracked 😮

  • Teja Pasumarthi

    when i try run
    php /var/www/html/radiusmanager/admin.php
    getting this error
    PHP Fatal error: The file /var/www/html/radiusmanager/admin.php was encoded by the ionCube Encoder for PHP 4 and cannot run under PHP 5.5.
    Please ask the provider of the script to provide a version encoded with the ionCube Encoder for either PHP 5.3 or PHP 5.4 or PHP 5.5. in Unknown on line 0
    any solution
    thank u

    • You are using wrong php or ioncube version. Please consult manual for compatible php version or use Cent OS

  • Ogunniyi Jeremiah Tosin

    please I still get a blank page when i go to

  • Semih Demir

    dude i did all the setups, but it comes a blank page when I log in
    What is the problem

  • delinfo

    radiusd: error while loading shared libraries: wrong ELF class:


  • Be Strong

    I have this in browsing

    You don’t have permission to access /radiusmanager/admin.php on this server.

    • Check proper permissions. [chmod !!]

      • Be Strong

        how can i check?

  • Jatin Vamja

    please sent me setup of rma 4.1.5 or 4.1.6


  • Pingback: How to install Radius Manager 4 in CentOS 7 [with Video] - Srijit Banerjee's Blog()

  • Dushko Ristovski

    You don’t have permission to access /radiusmanager/admin.php on this server.
    Apache/2.4.7 (Ubuntu) Server at Port 80

    What is this? Everything i did is from the video?

    What is wrong?

  • ramanji neyuluk

    sir is it possible

    i have dma radius manager in central office and 200 km long mikrotik in different locations and different bandwidth how can i connect them radius manager

  • ahmed

    my lic.txt and mod.txt not working or some thing i have an empty page
    whoever same files is already working in another server
    i am traying to collect alot of servers in one esxi server so i changed my machine mac address to be the same with the server already running
    i traied so many times all gone ok put empty page
    so can you help me for installing version 4.0.4 or 4.1.6
    best regards

  • Ridi qoku

    Hello everything is ok but the it says radius server not runing
    i am using Centos 6.7

    please any solution

  • pisu

    Dear sir This is my problem , Please tell me . How to action

  • Zeeshan Mushtaq

    hello bro in install radiusmanager and my radiusmanager is notworking

    chack my screen print and please reply me

    • Zeeshan Mushtaq

      my screen print

      • Problem with your database.. Check db server configs!

        • Zeeshan Mushtaq

          plese help me

        • Zeeshan Mushtaq

          im no iada radius manger database

        • Zeeshan Mushtaq

          please send me cmds in the probable

  • Pingback: How To Install Internet Download Manager On Ubuntu – Tips and Trick()

  • Pingback: How To Install Internet Download Manager Ubuntu – Tips and Trick()

  • suresh kumar

    centos 6.6 minimal for dma radius server install step by step
    plz send

  • Naakatey DE Naazih

    plx upload Radius Manager . VMware file and link plx