There is a queue log file in /usr/local/etc/freeside (or wherever your FS configs are stored).  It's called queuelog.DBI:Pg:dbname=freeside or something similar.<div>The job should be processed as soon as it's generated, provided the job queue server isn't busy running another job.</div>
<div>You can also enable mysql query logging and see if anything is actually sent to the database.</div><div><br></div><div>Vlad<br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 9:18 AM, Tim Roberts <span dir="ltr"><<a href="mailto:trr.usa@gmail.com" target="_blank">trr.usa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The last thing in the job queue was this:<div><br></div><div><table cellspacing="0" cellpadding="0" style="text-align:start;background-color:rgb(248,248,248);font-family:Arial,Verdana,Helvetica,sans-serif;border:1px solid rgb(204,204,204)">

<tbody><tr><td bgcolor="#ffffff" style="font-family:Arial,Verdana,Helvetica,sans-serif;padding-left:3px;padding-right:3px;padding-bottom:2px;border:none;empty-cells:show">73</td><td bgcolor="#ffffff" style="font-family:Arial,Verdana,Helvetica,sans-serif;padding-left:3px;padding-right:3px;padding-bottom:2px;border:none;empty-cells:show">

FS::part_export::sqlradius::sqlradius_insert</td><td bgcolor="#ffffff" style="font-family:Arial,Verdana,Helvetica,sans-serif;padding-left:3px;padding-right:3px;padding-bottom:2px;border:none;empty-cells:show">
DBI:mysql:dbname=radius;host=10.72.72.21 slave_user 6uldv85 check 6666 Password wueJDWrI</td><td bgcolor="#ffffff" style="font-family:Arial,Verdana,Helvetica,sans-serif;padding-left:3px;padding-right:3px;padding-bottom:2px;border:none;empty-cells:show">

Fri Nov 9 04:43:44 2012</td><td bgcolor="#ffffff" style="font-family:Arial,Verdana,Helvetica,sans-serif;padding-left:3px;padding-right:3px;padding-bottom:2px;border:none;empty-cells:show">failed: Access denied for user 'slave_user'@'10.72.72.20' (using password: YES) at /usr/local/share/perl/5.10.1/FS/part_export/<a href="http://sqlradius.pm" target="_blank">sqlradius.pm</a> line 534. (  <a href="http://10.72.72.20/freeside//misc/queue.cgi?jobnum=73&action=new" style="border-style:none" target="_blank">retry</a> | <a href="http://10.72.72.20/freeside//misc/queue.cgi?jobnum=73&action=del" style="border-style:none" target="_blank">remove</a> )<br>

<br></td></tr></tbody></table><br>With the above attempt, I intentionally set the password to the database wrong when using slave_user account just to see if I could get an error. In which I did. When I set it to the correct credentials, I get nothing in this job queue or any errors. It just acts like it went out and did the work only the user isnt showing up in the MYSQL radius DB under usergroups or anywhere else I can find. Will the job queue show successful things or only pending jobs and failures? Do exports run at certain times or immediately after submitting? </div>

<div><br></div><div>Thank you very much for the quick reply and sorry for asking dumm@ss questions. <div><div class="h5"><br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 9:53 AM, vlad <span dir="ltr"><<a href="mailto:stereomind@gmail.com" target="_blank">stereomind@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do you see the job being created and processed when you provision an account? (Tools/Job Queue)<div><br></div><div>Does the job complete successfully?</div>

<div><div><br></div><div><br></div><div><br></div><div>We're doing pretty much exactly the same thing with PPPoE and Mikrotik. I ended up writing a set of perl/shell scripts called by shellcommands to handle suspension, provisioning etc.. This way, I could add fancy stuff like auto-kick suspended users after changing their group (ssh into mikrotik, find their session and kill it). </div>



<div><br></div><div>In theory, that can be replicated with sqlradius and shellcommands exports, but I've not bothered since the setup works fine as is.</div><div><br></div><div><br></div><div>Vlad</div><div><br></div>



<div><br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 8:03 AM, Tim Roberts <span dir="ltr"><<a href="mailto:trr.usa@gmail.com" target="_blank">trr.usa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Newbie...I am fumbling my way through getting a Freeside server to export RADIUS info to our existing MYSQL/FreeRadius servers that are in production with another billing software. <div><br></div><div>I am using the VMWare Freeside downloaded 10/31/2012. I have not upgraded anything on it so its pretty much as is from the website. Our existing MYSQL servers are 5.077 on CentOS 6.</div>




<div><br></div><div>I partially used this guide to fumble through:</div><div><a href="http://www.420.am/cgi-bin/wiki.pl?action=browse&diff=2&id=How_To_Install_Freeradius_W/Mysql_On_The_Signup_Server_Using_Debian_For_The_Linux_Challenged" target="_blank">http://www.420.am/cgi-bin/wiki.pl?action=browse&diff=2&id=How_To_Install_Freeradius_W/Mysql_On_The_Signup_Server_Using_Debian_For_The_Linux_Challenged</a></div>




<div><br></div><div>Since we already have FreeRadius running and an existing MYSQL database, I ignored those items.</div><div><br></div><div>When I started my way to provision a service that has an export tied to it, I was receiving helpful error messages only a novice who has no clue would see. Those were related to my DB connect string, wrong password to the database, wrong database name, etc...Now I receive no errors when I provision so it seems it thinks its connecting out to my DB but nothing shows up in my usergroup table in my remote MYSQL server.</div>




<div><br></div><div>Ill try to describe what I have setup. Sorry for improper terms. I came from a RODOPI world and this is similar but also like learning another language to me.</div><div><br></div><div>I created a service definition - type = svc_acct</div>




<div>I left everything the defaults except domain where I selected default and selected my domain name (which I dont care whether it shows up or not in the DB, will adapt if need be)</div><div>I later came back after reading the above how to for the challenged like me and changed UID, GID to default as suggested.</div>




<div>I created an export - <span style="font-size:medium;font-family:'Times New Roman'">sqlradius-real-time export to sql-backed RADIUS</span></div><div><span><font face="Times New Roman" size="3">I finally got my datasource, username, pass, group table right so it stopped barfing on provisioning.</font></span></div>




<div><span><font face="Times New Roman" size="3">I tied this export to the svc_acct definition</font></span></div><div><span><font face="Times New Roman" size="3">I made a sample package and tied this definition to it as a primary</font></span></div>




<div><span><font face="Times New Roman" size="3">I order the service with a sample customer and then when I provision, all seems well now. Prior I was getting this after provisioning::</font></span></div>
<div><span style="font-family:Arial,Verdana,Helvetica,sans-serif;font-size:medium;background-color:rgb(248,248,248)">failed: Access denied for user 'slave_user'@'10.72.72.20' (using password: YES) at /usr/local/share/perl/5.10.1/FS/part_export/<a href="http://sqlradius.pm" target="_blank">sqlradius.pm</a> line 534.</span></div>




<div><font face="Times New Roman" size="3">I have several usernames in my radius database and I thought the slave_user had all permissions to it so I used that account. After seeing that error, I changed to the "radius" username that our current billing server and freeradius servers use. I dont see the error anymore but there still isnt anything showing up in the usergroups table when I export.</font></div>




<div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">My questions:</font></div><div><font face="Times New Roman" size="3"><br></font></div><div><font face="Times New Roman" size="3">1.) anyone willing to toss me a bone and give me some hints where to start looking from here?</font></div>




<div><font face="Times New Roman" size="3">2.) is the export realtime or does it queue up in a job somewhere I can look at? </font></div><div><br></div><div>We dont use dialup. we use Canopy modems set in pppoe which use Microtik PPPOE servers which use FreeRADIUS/MYSQL to authenticate. All users get a valid username and password, but users that are suspended get a a group called "Hold" in the database. The Microtiks give users in the group "hold" a different IP block that our gateways hijack port 80 and forward them to a "pay yer bill" website. I know I will have to address this next (or possibly now which is why I mention it). For now, I thought I would at least take a stab at getting Freeside to dump a username and password in the database and go from there.</div>




<div><br></div><div>Thanks in advance,<span><font color="#888888"><span><font color="#888888"><br>-- <br>Tim Roberts<br><a href="mailto:trr.usa@gmail.com" target="_blank">trr.usa@gmail.com</a><br>
</font></span></font></span></div><span><font color="#888888">
<br>_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<a href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users" target="_blank">http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
<br></font></span></blockquote></div><br></div>
</div>
<br>_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz" target="_blank">freeside-users@freeside.biz</a><br>
<a href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users" target="_blank">http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Tim Roberts<br><a href="mailto:trr.usa@gmail.com" target="_blank">trr.usa@gmail.com</a><br>
</font></span></div>
<br>_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a><br>
<a href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users" target="_blank">http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
<br></blockquote></div><br></div>