Freeradius server not starting!

Волошин Вячеслав voloshin at maks.net
Fri Apr 10 15:25:23 CEST 2009


Failed creating PID file /usr/local/fnmt/var/run/radiusd/radiusd.pid: Permission denied

set this:
[root at bill ~]# ls -ltr /var/run/radiusd
total 4
srw-rw---- 1 root    radiusd 0 Apr 10 17:26 radiusd.sock
-rw-r--r-- 1 radiusd radiusd 6 Apr 10 17:26 radiusd.pid

in your file /usr/local/fnmt/var/run/radiusd/radiusd.pid

Log file created?


  ----- Original Message ----- 
  From: ramesh p 
  To: FreeRadius users mailing list 
  Sent: Friday, April 10, 2009 4:37 PM
  Subject: Re: Freeradius server not starting!


  now its giving like this...

  [root at localhost init.d]# /usr/local/fnmt/etc/init.d/radiusd start
  Starting FreeRADIUS:Fri Apr 10 07:15:32 2009 : Info: Starting - reading configuration files ...
  radiusd

  # ps -eaf|grep radiusd 
  root      4412 31100  0 07:15 pts/0    00:00:00 grep radius

  No pid created.

  Why? want is going wrong?


  2009/4/10 Волошин Вячеслав <voloshin at maks.net>

    [root at bill etc]# [root at bill radius]# ls -ltr
    total 12
    drwxr-xr-x 3 radiusd radiusd 4096 Mar 19 16:41 radacct
    -rw-r----- 1 radiusd radiusd  111 Apr 10 15:37 radius.log

    set this.

      ----- Original Message ----- 
      From: ramesh p 
      To: FreeRadius users mailing list 
      Sent: Friday, April 10, 2009 4:08 PM
      Subject: Re: Freeradius server not starting!


      [root at localhost data]# ls -ltr /usr/local/fnmt/var/log/radius
      total 16
      drwx------  2 root root 4096 Apr 28  2007 radacct
      -rwxr-xr-x  1 root root 8298 Apr 10 06:43 radius.log



      2009/4/10 Волошин Вячеслав <voloshin at maks.net>

        set pach /usr/local/fnmt/var/log/radius/ group owner "radiusd", and give write and read access for group. check this into user "radiusd".

          ----- Original Message ----- 
          From: Волошин Вячеслав 
          To: FreeRadius users mailing list 
          Sent: Friday, April 10, 2009 3:31 PM
          Subject: Re: Freeradius server not starting!


          Hmm, what the linux u use? or u use Sun OS?
          pach /usr/local/fnmt/var/log/radius/radius.log  is non-standard, this directory exist? Can u create file in?
            ----- Original Message ----- 
            From: ramesh p 
            To: FreeRadius users mailing list 
            Sent: Friday, April 10, 2009 3:25 PM
            Subject: Re: Freeradius server not starting!


            Already it's in disable state.
            [root at localhost raddb]# more /etc/sysconfig/selinux
            # This file controls the state of SELinux on the system.
            # SELINUX= can take one of these three values:
            #       enforcing - SELinux security policy is enforced.
            #       permissive - SELinux prints warnings instead of enforcing.
            #       disabled - SELinux is fully disabled.
            SELINUX=disabled
            # SELINUXTYPE= type of policy in use. Possible values are:
            #       targeted - Only targeted network daemons are protected.
            #       strict - Full SELinux protection.
            SELINUXTYPE=targeted



            2009/4/10 Волошин Вячеслав <voloshin at maks.net>

              Disable SELinux.
                ----- Original Message ----- 
                From: ramesh p 
                To: FreeRadius users mailing list 
                Sent: Friday, April 10, 2009 3:14 PM
                Subject: Freeradius server not starting!


                [root at localhost log]# /usr/local/fnmt/etc/init.d/radiusd start
                Starting FreeRADIUS:Fri Apr 10 05:52:13 2009 : Info: Starting - reading configuration files ...
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_exec: Wait=yes but no output defined. Did you mean output=none?)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql (sql): Attempting to connect to radius at localhost:/LWT)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql_mysql: Starting connect to MySQL server for #0)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql_mysql: Starting connect to MySQL server for #1)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql_mysql: Starting connect to MySQL server for #2)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql_mysql: Starting connect to MySQL server for #3)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (rlm_sql_mysql: Starting connect to MySQL server for #4)
                radiusd: Couldn't open /usr/local/fnmt/var/log/radius/radius.log for logging: Permission denied
                  (Failed creating PID file /usr/local/fnmt/var/run/radiusd/radiusd.pid: Permission denied
                )
                radiusd

                Please suggest me.

                Regards,
                Ramesh.


----------------------------------------------------------------


                -
                List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

              -
              List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html





--------------------------------------------------------------------


            -
            List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


----------------------------------------------------------------------


          -
          List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

        -
        List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html





--------------------------------------------------------------------------


      -
      List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

    -
    List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html





------------------------------------------------------------------------------


  -
  List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090410/5d579688/attachment.html>


More information about the Freeradius-Users mailing list