Syed Jahanzaib Personal Blog to Share Knowledge !

February 28, 2014

Radius Manager 4.1, Patch-5 Deployment [4.1.5]

Filed under: Radius Manager — Tags: , , — Syed Jahanzaib / Pinochio~:) @ 11:11 AM



DMASOFTLAB released patch 5 for Radius Manager 4.1 version. [Release Date: 10 Feb, 2014]



-default service (srvid 0) find users issue problem fixed
-verification code and mobile number fixed in ACP / edit user
-invalid menu.css reference removed (buyiasmain_tpl.htm, adminmainblank_tpl.htm)
-traffic summary per NAS issue fixed
-connection allowed bug fixed
-multiple email address problem fixed in edit and new user forms
-privileged sim-use edit problem fixed
-enhanced syslog alerts [Helped a lot in troubleshooting now]
-swapped SMS / email alerts fixed (ACP / edit user)
-self registration welcome SMS / email issue fixed
-upon user removal accounting details are also deleted from rm_radacct
-duplicate batch billing problem fixed
-auto renewal uses unit fields instead of initial fields
-expired online time yellow color problem fixed in ACP / List users view
-password recovery updates radcheck for regular users only
-hotspot MAC account password change problem fixed (UCP)
-corrected user name in password recovery email
-bulk SMS custom tag issue fixed
-convert card prefixes to lower case in radcheck
-self registration displays user name, password
-zero gigawords issue fixed with a non Mikrotik NAS
-search users leading and trailing space issue fixed
-SMS, email expiry alerts issue fixed
-grace period account disable bug fixed
-negative deposit addition problem fixed [Good news for Alex]
-IAS duplicate mobile number problem fixed
-card generator issue fixed (PIN length > 10)
-next service issue fixed **** This bug was quite annoying and wasted many hours in useless troubleshoot 😦 Jz
-properly logout grace period expired users
-rmauth IAS and card setup crash fixed
-increased CTS logging capacity (rmconntrack DELAY_KEY_WRITE option)






Deployment is fairly simple.
First download the radiusmanager-4.1-cumulative_patch.tgz
Extract it any temp folder

mkdir /temp
cd /temp
tar zxvf /temp/radiusmanager-4.1-cumulative_patch.tgz
cd radiusmanager-4.1-cumulative_patch/


You may see following contents

root@rm:/temp/radiusmanager-4.1-cumulative_patch# ls
bin  raddb  readme.txt  www


Begin Deployment … Let’s Start


1. Copy PHP files to /var/www/html/radiusmanager (Fedora) or /var/www/radiusmanager [Debian, Oh yeah, That’s my Boy ;)] directory.

For Ubuntu
cp -vrf  www/radiusmanager/*  /var/www/radiusmanager

For Fedora
cp -vrf  www/radiusmanager/*  /var/www/html/radiusmanager

2. Chmod all binaries to 755:

chmod 755 bin/rm*

3. Stop rmpoller and copy the binaries to /usr/local/bin directory, overwriting the old versions.

service rmpoller stop
rm /usr/local/bin/rmconntrack # This line Requires ONLY if you get error of text busy

cp bin/* /usr/local/bin

4. Copy acct_users to /usr/local/etc/raddb directory.

cp raddb/acct_users /usr/local/etc/raddb

5. Change permission of acct_users by chmod:

chmod 640 /usr/local/etc/raddb/acct_users
chown root.root /usr/local/etc/raddb/acct_users

7. Restart radiusd and rm poller

service radiusd restart
service rmpoller start




Now relogin to ACP, and hopefully you see the 4.1.5 😀
As showed in the image below …



Quick Copy Paste for Ubuntu [well tested with 12.4.x]

mkdir /temp
cd /temp
tar zxvf /temp/radiusmanager-4.1-cumulative_patch.tgz
cd /temp/radiusmanager-4.1-cumulative_patch/
cp -vrf  www/radiusmanager/*  /var/www/radiusmanager
chmod 755 bin/rm*
service rmpoller stop
cp bin/* /usr/local/bin
cp raddb/acct_users /usr/local/etc/raddb
chmod 640 /usr/local/etc/raddb/acct_users
chown root.root /usr/local/etc/raddb/acct_users
service radiusd restart
service rmpoller start


Syed Jahanzaib



  1. Do u have cracked version of it for v4?


    Comment by srijit — February 28, 2014 @ 11:28 AM

  2. i followed the procedure- i dint get any error but i still see ver 4.1.2


    Comment by Day-Day Ahmed — February 28, 2014 @ 3:11 PM

    • Which means you have to copied the contents in WWW folder to /var/www/radiusmanager/ folder (for ubuntu)
      try copying all file and folders inside the www folder to target radius manager main

      For Ubuntu
      cp -vr www/radiusmanager/* /var/www/radiusmanager

      For Fedora

      cp -vr www/radiusmanager/* /var/www/html/radiusmaanger


      Comment by Syed Jahanzaib / Pinochio~:) — February 28, 2014 @ 3:31 PM

  3. Great! it worked 🙂


    Comment by Day-Day Ahmed — February 28, 2014 @ 3:41 PM

  4. i have noticed Day & Night bandwidth have stopped to work. i dont know what i have broken.


    Comment by Day-Day Ahmed — February 28, 2014 @ 10:12 PM

  5. still blank pages show ….
    no patched…..


    Comment by smn4all — March 1, 2014 @ 3:01 PM

  6. -next service issue fixed **** This bug was quite annoying and wasted many hours in useless troubleshoot 😦 Jz

    Clearly wasted a few days on this one : /


    Comment by andyanthoine — March 3, 2014 @ 1:50 AM

  7. Dear Syed, how to configure proxy server with nginx on ubuntu server 12.04 i’ve installed nginx on ubuntu server 12.04

    On Fri, Feb 28, 2014 at 1:12 PM, Syed Jahanzaib Personnel Blog to Share Knowledge ! wrote:

    > Syed Jahanzaib / Pinochio~:) posted: ” DMASOFTLAB released patch 5 for > Radius Manager 4.1 version. [Release Date: 10 Feb, 2014] FIXES, > IMPROVEMENTS: -default service (srvid 0) find users issue problem fixed > -verification code and mobile number fixed in ACP / edit user -invalid > menu.css”


    Comment by operatorglobalnet — March 3, 2014 @ 2:18 PM

  8. What is meant by “duplicate batch billing problem fixed” in the latest patch ? We are still on V4.0.4, and we are having some duplicates on some users, perhaps an upgrade will solve this. BTW, fine blog, been following it for a few years and it’s been a great help in setting up our ISP.


    Comment by Internet JBM — June 18, 2014 @ 1:15 AM

  9. hello, I try to run “cd radiusmanager-4.1-cumulative_patch.tgz/” and I get the following “bash: cd: radiusmanager-4.1-cumulative_patch.tgz/ :No such file or directory” , which I do?


    Comment by George Castro — September 14, 2014 @ 3:29 AM

  10. Hello sir, I have a new wisp and I use RB750routerboard. I am using hotspot to provide internet service. Can u give me a appropriate script for my router board. I have an ADSL and a dedicated connection. I need to load balance them and provide smooth browsing speed to my client through outdoor AP. Please help me
    Thanking you


    Comment by Fuad Kamal — November 9, 2014 @ 1:57 AM

  11. A Hello , Question if possible , but will be released the patch 4.1.6


    Comment by serena — May 21, 2015 @ 5:06 AM

  12. hi

    patch 4.1.6

    ” CentOS:

    chown apache sagepay_cfg.php system_cfg.php ” sagepay_cfg.php ” www\radiusmanager ” not found in the folder

    [root@rm04 ~]# chown apache sagepay_cfg.php system_cfg.php
    chown: cannot access `sagepay_cfg.php’: No such file or directory
    chown: cannot access `system_cfg.php’: No such file or directory

    3. Chmod the new configuration files:

    chmod 600 sagepay_cfg.php system_cfg.php

    [root@rm04 ~]# chmod 600 sagepay_cfg.php system_cfg.php
    chmod: cannot access `sagepay_cfg.php’: No such file or directory
    chmod: cannot access `system_cfg.php’: No such file or directory

    4 – mysql -u radius -pradius123 radius >>> Ok no problem

    help mee


    Comment by Kaan — May 22, 2015 @ 1:04 AM

  13. Hello Sir . Thank you for your help . I often sow a problem on Nas and Radius communication every time I add or remove Nas . I mean that every thing was ok and what I reset the mikrotik and reconfigure it , no client is able to connect with radius . This problem I faced even when I was using userman on Mikrotik . I cannot understand hat happened. Please can you help me ? Thank you .


    Comment by gjergji — May 24, 2015 @ 3:59 PM

  14. Hello Sir,
    I have a problem with restore backup . at first i have radius manager 4.0.4 and have backup of mysql it. but now i have radius managare 4.1.5 when restore my backup say
    Unknown column ‘disableexpcont’ in ‘field list’
    please help me for fix this problem , Thank you


    Comment by lezan — June 21, 2015 @ 12:50 PM

    • Have you found the solution for this?


      Comment by Artan — January 21, 2016 @ 4:37 PM

  15. Hello Syed , United Nations Information if You Have patch 4.1.6 for servers within my director , I Was The user , and I saw What the fix of the new patch would solve .
    Can you help me? or To have the upgrade script to rate, users issue problem FIX


    Comment by serena — July 21, 2015 @ 2:39 PM

  16. Hello sir,
    I followed your method and my radiusmanager get patched successfully. But now it stops authenticating users. Running radius in debug mode we got an error.
    “cfg.c, line186: entry not found in file /etc/radiusmanager.cfg: api_pause

    Plz Help in solving this issue. Thank you.


    Comment by Amit Beniwal — July 26, 2015 @ 11:47 AM

  17. for sagepay error

    $sql = “ALTER TABLE `rm_settings` ADD `pm_sagepay` TINYINT NOT NULL AFTER `pm_netcash`;”;


    Comment by surambili — December 27, 2015 @ 3:08 AM

  18. It will always make me laugh when somebody ask for cracked version for this radius . we should always buy this . not for moral reason but its cheap .


    Comment by Nikem — October 14, 2016 @ 8:24 PM

  19. CTS is enabled and running also because in db data is available but when we are trying to get report from DMA ACP its showing not found please suggest thanks .


    Comment by Ijaz Zahid — April 6, 2017 @ 1:21 AM

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: