building 1.4 (CentOS 4.4) MYSQL 99% home [unclas]

Long along at escapewire.com
Wed Jan 17 03:57:01 CET 2007


>Probably a file or directory has the wrong permissions. When you run in 
>debug with -X the server runs as root. When you run for real it changes 
>to user radiusd or whatever you set up.
>
>Try strace -e open,stat -f radiusd and look for EPERM lines.
>
>Frank

------------------
Here is the output...
No EPERM but it does have that one line, "Starting - reading configuration..." which as far as the server gets when starting normally.

[root at auth2 ~]# strace -e open,stat -f radiusd
open("/usr/local/lib/tls/i686/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/i686/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libnsl.so.1", O_RDONLY)      = 3
open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libresolv.so.2", O_RDONLY)   = 3
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
open("/usr/local/lib/libradius-1.1.4.so", O_RDONLY) = 3
open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
open("/usr/local/lib/libltdl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libltdl.so.3", O_RDONLY) = 3
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
open("/etc/localtime", O_RDONLY)        = 3
Tue Jan 16 21:39:28 2007 : Info: Starting - reading configuration files ...
open("/usr/local/etc/raddb/radiusd.conf", O_RDONLY) = 3
open("/usr/local/etc/raddb/proxy.conf", O_RDONLY) = 4
open("/usr/local/etc/raddb/clients.conf", O_RDONLY) = 4
open("/usr/local/etc/raddb/snmp.conf", O_RDONLY) = 4
open("/usr/local/etc/raddb/sqlcounter.conf", O_RDONLY) = 4
open("/usr/local/etc/raddb/eap.conf", O_RDONLY) = 4
open("/usr/local/etc/raddb/sql.conf", O_RDONLY) = 4
open("/usr/local/etc/raddb/dictionary", O_RDONLY) = 3
open("/dev/urandom", O_RDONLY)          = 4
open("/usr/local/share/freeradius/dictionary", O_RDONLY) = 4
open("/usr/local/share/freeradius/dictionary.compat", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc2865", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc2866", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc2867", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc2868", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc2869", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc3162", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc3576", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.rfc3580", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.3com", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.3gpp", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.3gpp2", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.acc", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.airespace", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.alcatel", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.alteon", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.alvarion", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.aruba", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.ascend", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.bay", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.bintec", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.cablelabs", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.cabletron", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.cisco", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.cisco.vpn5000", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.cisco.bbsm", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.colubris", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.cosine", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.digium", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.epygi", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.erx", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.ericsson", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.extreme", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.freeradius", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.fortinet", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.foundry", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.gandalf", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.gemtek", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.issanni", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.itk", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.ipunplugged", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.juniper", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.karlnet", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.livingston", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.localweb", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.lucent", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.hp", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.microsoft", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.mikrotik", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.navini", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.netscreen", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.ntua", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.nomadix", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.nortel", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.packeteer", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.patton", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.propel", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.quintum", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.redback", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.redcreek", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.riverstone", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.roaringpenguin", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.shasta", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.shiva", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.sofaware", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.sonicwall", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.springtide", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.starent", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.telebit", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.trapeze", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.tropos", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.t_systems_nova", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.usr", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.valemount", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.versanet", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.waverider", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.walabi", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.wispr", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.xedia", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.xylan", O_RDONLY) = 5
open("/usr/local/share/freeradius/dictionary.freeradius.internal", O_RDONLY) = 5
open("/usr/local/etc/raddb/naslist", O_RDONLY) = 3
open("/usr/local/var/log/radius/radius.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
open("/etc/resolv.conf", O_RDONLY)      = 4
open("/etc/nsswitch.conf", O_RDONLY)    = 4
open("/usr/local/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
open("/lib/libnss_files.so.2", O_RDONLY) = 4
open("/etc/host.conf", O_RDONLY)        = 4
open("/etc/hosts", O_RDONLY)            = 4
open("/usr/local/etc/raddb/clients", O_RDONLY) = 3
open("/usr/local/etc/raddb/realms", O_RDONLY) = 3
open("/etc/passwd", O_RDONLY)           = 3
open("/etc/group", O_RDONLY)            = 3
open("/etc/passwd", O_RDONLY)           = 3
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
open("/etc/group", O_RDONLY)            = 3
open("/etc/services", O_RDONLY)         = 3
open("/usr/local/var/log/radius/radius.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
Process 30825 detached
[root at auth2 ~]#

Any thoughts on where to go... I need this running production tomorrow.

- Andrew 
               



More information about the Freeradius-Users mailing list