Description of problem: There appear to be missing components or missing dependencies in the freeradius-mysql package which is preventing it from launching Version-Release number of selected component (if applicable): freeradius-mysql-1.0.1-2.RHEL3.2 freeradius-1.0.1-2.RHEL3.2 How reproducible: Always Steps to Reproduce: 1. rpm -ivh freeradius-1.0.1-2.RHEL3.2 2. rpm -ivh freeradius-mysql-1.0.1-2.RHEL3.2 3. edit /etc/raddb/radiusd.conf and enable SQL components 4. Then launch manually with '/usr/sbin/radiusd -X' Actual results: <full log attached> rlm_sql (sql): Could not link driver rlm_sql_mysql: file not found rlm_sql (sql): Make sure it (and all its dependent libraries!) are in the search path of your system's ld. radiusd.conf[14]: sql: Module instantiation failed. Expected results: Should communicate with MySQL Additional info: Works fine on a RHEL4 server (installed RHEL4's freeradius rpms and copied content of /etc/raddb to RHEL4 server). Possible NB: The machine has no development libraries/tools, it's supposed to be a pure MySQL/Apache/FreeRadius box.
Created attachment 130376 [details] Full output from '/usr/sbin/radiusd -X'
Please "strace -f -o log radiusd -X"
Created attachment 130622 [details] Radius Startup information (strace -f -o log radiusd -X)
Attached output from 'strace -f -o log radiusd -X' but it doesn't look much different from original output logged without running strace. The system this is running on does not have any development tools on it, would this create a problem?
This Bugzilla listing appears to match my problem exactly, except that I've not re-compiled original packages: Bugzilla ID: 161907 Bugzilla Summary: Could not link driver rlm_sql_mysql: file not found Link: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=161907
Uargh, herewith the information you wanted from 'strace' (full log attached): 30873 open("/usr/lib/rlm_sql_mysql.la", O_RDONLY) = -1 ENOENT (No such file or directory) 30873 open("/lib/rlm_sql_mysql.la", O_RDONLY) = -1 ENOENT (No such file or directory) 30873 open("/usr/lib/rlm_sql_mysql.la", O_RDONLY) = -1 ENOENT (No such file or directory) 30873 open("rlm_sql_mysql.la", O_RDONLY) = -1 EACCES (Permission denied)
Created attachment 130623 [details] Strace output (strace -f -o log radiusd -X)
Comment on attachment 130622 [details] Radius Startup information (strace -f -o log radiusd -X) Attached wrong information
*** This bug has been marked as a duplicate of 161907 ***