FR startup

This is a discussion on FR startup within the FreeRADIUS Users forums, part of the Networking and Network Related category; Hi all, I just finish the setup of FR 1.1.4 on FBSD 6.2 When FR started up ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2007
PD
 
Posts: n/a
Default FR startup

Hi all,

I just finish the setup of FR 1.1.4 on FBSD 6.2

When FR started up manually, it started nicely. The progress can be seen
at /var/log/radius.log

Fri Mar 2 15:20:29 2007 : Info: Using deprecated naslist file. Support
for this will go away soon.
Fri Mar 2 15:20:29 2007 : Info: rlm_exec: Wait=yes but no output
defined. Did you mean output=none?
Fri Mar 2 15:20:29 2007 : Info: rlm_sql (sql): Driver rlm_sql_mysql
(module rlm_sql_mysql) loaded and linked
Fri Mar 2 15:20:29 2007 : Info: rlm_sql (sql): Attempting to connect to
sentral@localhost:/sentral
Fri Mar 2 15:20:29 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #0
Fri Mar 2 15:20:29 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #1
Fri Mar 2 15:20:29 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #2
Fri Mar 2 15:20:29 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #3
Fri Mar 2 15:20:29 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #4
Fri Mar 2 15:20:30 2007 : Info: Ready to process requests.


BUT.. when the FR box restart.. the /var/log/radius.log shows :

Fri Mar 2 15:23:09 2007 : Info: Using deprecated naslist file. Support
for this will go away soon.
Fri Mar 2 15:23:09 2007 : Info: rlm_exec: Wait=yes but no output
defined. Did you mean output=none?
Fri Mar 2 15:23:09 2007 : Info: rlm_sql (sql): Driver rlm_sql_mysql
(module rlm_sql_mysql) loaded and linked
Fri Mar 2 15:23:09 2007 : Info: rlm_sql (sql): Attempting to connect to
sentral@localhost:/sentral
Fri Mar 2 15:23:09 2007 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #0
Fri Mar 2 15:23:09 2007 : Error: rlm_sql_mysql: Couldn't connect socket
to MySQL server sentral@localhost:sentral
Fri Mar 2 15:23:09 2007 : Error: rlm_sql_mysql: Mysql error 'Can't
connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Fri Mar 2 15:23:09 2007 : Error: rlm_sql (sql): Failed to connect DB
handle #0
Fri Mar 2 15:23:10 2007 : Info: Ready to process requests.

Seems that this cause by the process sequesces...
radius is started before mysql started. See the PID of each progress..

root 513 0.0 1.4 5508 3500 ?? Is 3:23PM 0:00.01
/usr/local/sbin/radiusd
mysql 589 0.0 0.5 1724 1308 con- I 3:23PM 0:00.02 /bin/sh
/usr/local/bin/safe_mysqld --defaults-extra-file=/var/db/mysq
mysql 614 0.0 2.2 28044 5496 con- I 3:23PM 0:00.08
/usr/local/libexec/mysqld --defaults-extra-file=/var/db/mysql/my.cnf

The question is.. how to change the process sequence, therefor mysql will
started before radius ?

TIA

PD

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0