Advertisement
Guest User

Untitled

a guest
Oct 4th, 2017
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.06 KB | None | 0 0
  1. # service freeradius start
  2. Job for freeradius.service failed because the control process exited with error code. See "systemctl status freeradius.service" and "journalctl -xe" for details.
  3.  
  4. -- The start-up result is done.
  5. Dec 30 16:03:05 pppie sudo[19994]: dilian : TTY=pts/0 ; PWD=/home/dilian ; USER=root ; COMMAND=/bin/su
  6. Dec 30 16:03:05 pppie sudo[19994]: pam_unix(sudo:session): session opened for user root by dilian(uid=0)
  7. Dec 30 16:03:06 pppie su[19995]: Successful su for root by root
  8. Dec 30 16:03:06 pppie su[19995]: + /dev/pts/0 root:root
  9. Dec 30 16:03:06 pppie su[19995]: pam_unix(su:session): session opened for user root by dilian(uid=0)
  10. Dec 30 16:03:06 pppie su[19995]: pam_systemd(su:session): Cannot create session: Already running in a session
  11. Dec 30 16:03:28 pppie systemd[1]: Starting LSB: Radius Daemon...
  12. -- Subject: Unit freeradius.service has begun start-up
  13. -- Defined-By: systemd
  14. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  15. --
  16. -- Unit freeradius.service has begun starting up.
  17. Dec 30 16:03:28 pppie freeradius[20039]: * Starting FreeRADIUS daemon freeradius
  18. Dec 30 16:03:28 pppie freeradius[20039]: ...fail!
  19. Dec 30 16:03:28 pppie systemd[1]: freeradius.service: Control process exited, code=exited status=1
  20. Dec 30 16:03:28 pppie systemd[1]: Failed to start LSB: Radius Daemon.
  21. -- Subject: Unit freeradius.service has failed
  22. -- Defined-By: systemd
  23. -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
  24. --
  25. -- Unit freeradius.service has failed.
  26. --
  27. -- The result is failed.
  28. Dec 30 16:03:28 pppie systemd[1]: freeradius.service: Unit entered failed state.
  29. Dec 30 16:03:28 pppie systemd[1]: freeradius.service: Failed with result 'exit-code'.
  30.  
  31. > # freeradius -X freeradius: FreeRADIUS Version 2.2.8, for host x86_64-pc-linux-gnu, built on Apr
  32. > 5 2016 at 13:40:43 Copyright (C) 1999-2015 The FreeRADIUS server
  33. > project and contributors. There is NO warranty; not even for
  34. > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may
  35. > redistribute copies of FreeRADIUS under the terms of the GNU General
  36. > Public License. For more information about these matters, see the file
  37. > named COPYRIGHT. Starting - reading configuration files ... including
  38. > configuration file /etc/freeradius/radiusd.conf including
  39. > configuration file /etc/freeradius/proxy.conf including configuration
  40. > file /etc/freeradius/clients.conf including configuration file
  41. > /etc/freeradius/snmp.conf including configuration file
  42. > /etc/freeradius/nibs.conf main {
  43. > user = "nobody"
  44. > group = "nobody"
  45. > allow_core_dumps = no } including dictionary file /etc/freeradius/dictionary main {
  46. > name = "radiusd"
  47. > prefix = "/usr/local"
  48. > localstatedir = "/var"
  49. > sbindir = "/usr/local/sbin"
  50. > logdir = "/var/log"
  51. > run_dir = "/var/run/radiusd"
  52. > libdir = "/usr/local/lib"
  53. > radacctdir = "/var/log/radacct"
  54. > hostname_lookups = no
  55. > max_request_time = 30
  56. > cleanup_delay = 5
  57. > max_requests = 1024
  58. > pidfile = "/var/run/radiusd/radiusd.pid"
  59. > checkrad = "/usr/local/sbin/checkrad"
  60. > debug_level = 0
  61. > proxy_requests = no
  62. > log_auth = no
  63. > log_auth_badpass = yes
  64. > log_auth_goodpass = yes
  65. > log_stripped_names = no security {
  66. > max_attributes = 200
  67. > reject_delay = 1
  68. > status_server = no
  69. > allow_vulnerable_openssl = no } } radiusd: #### Loading Realms and Home Servers #### proxy server {
  70. > retry_delay = 5
  71. > retry_count = 3
  72. > default_fallback = no
  73. > dead_time = 120
  74. > wake_all_if_all_dead = no } home_server localhost {
  75. > ipaddr = 127.0.0.1
  76. > port = 1812
  77. > type = "auth"
  78. > secret = "testing123"
  79. > response_window = 20
  80. > max_outstanding = 65536
  81. > require_message_authenticator = yes
  82. > zombie_period = 40
  83. > status_check = "status-server"
  84. > ping_interval = 30
  85. > check_interval = 30
  86. > num_answers_to_alive = 3
  87. > num_pings_to_alive = 3
  88. > revive_interval = 120
  89. > status_check_timeout = 4 coa {
  90. > irt = 2
  91. > mrt = 16
  92. > mrc = 5
  93. > mrd = 30 } } home_server_pool my_auth_failover {
  94. > type = fail-over
  95. > home_server = localhost } realm example.com {
  96. > auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost {
  97. > ipaddr = 127.0.0.1
  98. > require_message_authenticator = no
  99. > secret = "testing123"
  100. > nastype = "other" } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module:
  101. > Instantiating module "exec" from file /etc/freeradius/radiusd.conf
  102. > exec {
  103. > wait = yes
  104. > input_pairs = "request"
  105. > shell_escape = yes } Module: Linked to module rlm_expr Module: Instantiating module "expr" from file
  106. > /etc/freeradius/radiusd.conf } radiusd: #### Loading Virtual Servers
  107. > #### server { # from file /etc/freeradius/radiusd.conf modules { } # modules } # server radiusd: #### Opening IP addresses and Ports ####
  108. > bind_address = * WARNING: The directive 'bind_address' is deprecated, and will be removed in futu
  109. > re versions of FreeRADIUS. Please edit the configuration files to use
  110. > the direct
  111. > ive 'listen'. Listening on authentication address * port 1812
  112. > Listening on accounting address * port 1813 Ready to process requests.
  113.  
  114. root@pppie:/home/dilian# freeradius -f -lstdout -XXX
  115. Fri Jan 6 14:05:36 2017 : Info: freeradius: FreeRADIUS Version 2.2.8, for host x86_64-pc-linux-gnu, built on Apr 5 2016 at 13:40:43
  116. Fri Jan 6 14:05:36 2017 : Debug: Server was built with:
  117. Fri Jan 6 14:05:36 2017 : Debug: accounting
  118. Fri Jan 6 14:05:36 2017 : Debug: authentication
  119. Fri Jan 6 14:05:36 2017 : Debug: WITH_DHCP
  120. Fri Jan 6 14:05:36 2017 : Debug: WITH_VMPS
  121. Fri Jan 6 14:05:36 2017 : Debug: Server core libs:
  122. Fri Jan 6 14:05:36 2017 : Debug: ssl: OpenSSL 1.0.2g 1 Mar 2016
  123. Fri Jan 6 14:05:36 2017 : Info: Copyright (C) 1999-2015 The FreeRADIUS server project and contributors.
  124. Fri Jan 6 14:05:36 2017 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  125. Fri Jan 6 14:05:36 2017 : Info: PARTICULAR PURPOSE.
  126. Fri Jan 6 14:05:36 2017 : Info: You may redistribute copies of FreeRADIUS under the terms of the
  127. Fri Jan 6 14:05:36 2017 : Info: GNU General Public License.
  128. Fri Jan 6 14:05:36 2017 : Info: For more information about these matters, see the file named COPYRIGHT.
  129. Fri Jan 6 14:05:36 2017 : Info: Starting - reading configuration files ...
  130. Fri Jan 6 14:05:36 2017 : Debug: including configuration file /etc/freeradius/radiusd.conf
  131. Fri Jan 6 14:05:36 2017 : Debug: including configuration file /etc/freeradius/proxy.conf
  132. Fri Jan 6 14:05:36 2017 : Debug: including configuration file /etc/freeradius/clients.conf
  133. Fri Jan 6 14:05:36 2017 : Debug: including configuration file /etc/freeradius/snmp.conf
  134. Fri Jan 6 14:05:36 2017 : Debug: including configuration file /etc/freeradius/nibs.conf
  135. Fri Jan 6 14:05:36 2017 : Debug: main {
  136. Fri Jan 6 14:05:36 2017 : Debug: user = "nobody"
  137. Fri Jan 6 14:05:36 2017 : Debug: group = "nobody"
  138. Fri Jan 6 14:05:36 2017 : Debug: allow_core_dumps = no
  139. Fri Jan 6 14:05:36 2017 : Debug: }
  140. Fri Jan 6 14:05:36 2017 : Debug: including dictionary file /etc/freeradius/dictionary
  141. Fri Jan 6 14:05:36 2017 : Debug: main {
  142. Fri Jan 6 14:05:36 2017 : Debug: name = "radiusd"
  143. Fri Jan 6 14:05:36 2017 : Debug: prefix = "/usr/local"
  144. Fri Jan 6 14:05:36 2017 : Debug: localstatedir = "/var"
  145. Fri Jan 6 14:05:36 2017 : Debug: sbindir = "/usr/local/sbin"
  146. Fri Jan 6 14:05:36 2017 : Debug: logdir = "/var/log"
  147. Fri Jan 6 14:05:36 2017 : Debug: run_dir = "/var/run/radiusd"
  148. Fri Jan 6 14:05:36 2017 : Debug: libdir = "/usr/local/lib"
  149. Fri Jan 6 14:05:36 2017 : Debug: radacctdir = "/var/log/radacct"
  150. Fri Jan 6 14:05:36 2017 : Debug: hostname_lookups = no
  151. Fri Jan 6 14:05:36 2017 : Debug: max_request_time = 30
  152. Fri Jan 6 14:05:36 2017 : Debug: cleanup_delay = 5
  153. Fri Jan 6 14:05:36 2017 : Debug: max_requests = 1024
  154. Fri Jan 6 14:05:36 2017 : Debug: pidfile = "/var/run/radiusd/radiusd.pid"
  155. Fri Jan 6 14:05:36 2017 : Debug: checkrad = "/usr/local/sbin/checkrad"
  156. Fri Jan 6 14:05:36 2017 : Debug: debug_level = 0
  157. Fri Jan 6 14:05:36 2017 : Debug: proxy_requests = no
  158. Fri Jan 6 14:05:36 2017 : Debug: log_auth = no
  159. Fri Jan 6 14:05:36 2017 : Debug: log_auth_badpass = yes
  160. Fri Jan 6 14:05:36 2017 : Debug: log_auth_goodpass = yes
  161. Fri Jan 6 14:05:36 2017 : Debug: log_stripped_names = no
  162. Fri Jan 6 14:05:36 2017 : Debug: security {
  163. Fri Jan 6 14:05:36 2017 : Debug: max_attributes = 200
  164. Fri Jan 6 14:05:36 2017 : Debug: reject_delay = 1
  165. Fri Jan 6 14:05:36 2017 : Debug: status_server = no
  166. Fri Jan 6 14:05:36 2017 : Debug: allow_vulnerable_openssl = no
  167. Fri Jan 6 14:05:36 2017 : Debug: }
  168. Fri Jan 6 14:05:36 2017 : Debug: }
  169. Fri Jan 6 14:05:36 2017 : Debug: radiusd: #### Loading Realms and Home Servers ####
  170. Fri Jan 6 14:05:36 2017 : Debug: proxy server {
  171. Fri Jan 6 14:05:36 2017 : Debug: retry_delay = 5
  172. Fri Jan 6 14:05:36 2017 : Debug: retry_count = 3
  173. Fri Jan 6 14:05:36 2017 : Debug: default_fallback = no
  174. Fri Jan 6 14:05:36 2017 : Debug: dead_time = 120
  175. Fri Jan 6 14:05:36 2017 : Debug: wake_all_if_all_dead = no
  176. Fri Jan 6 14:05:36 2017 : Debug: }
  177. Fri Jan 6 14:05:36 2017 : Debug: home_server localhost {
  178. Fri Jan 6 14:05:36 2017 : Debug: ipaddr = 127.0.0.1
  179. Fri Jan 6 14:05:36 2017 : Debug: port = 1812
  180. Fri Jan 6 14:05:36 2017 : Debug: type = "auth"
  181. Fri Jan 6 14:05:36 2017 : Debug: secret = "testing123"
  182. Fri Jan 6 14:05:36 2017 : Debug: response_window = 20
  183. Fri Jan 6 14:05:36 2017 : Debug: max_outstanding = 65536
  184. Fri Jan 6 14:05:36 2017 : Debug: require_message_authenticator = yes
  185. Fri Jan 6 14:05:36 2017 : Debug: zombie_period = 40
  186. Fri Jan 6 14:05:36 2017 : Debug: status_check = "status-server"
  187. Fri Jan 6 14:05:36 2017 : Debug: ping_interval = 30
  188. Fri Jan 6 14:05:36 2017 : Debug: check_interval = 30
  189. Fri Jan 6 14:05:36 2017 : Debug: num_answers_to_alive = 3
  190. Fri Jan 6 14:05:36 2017 : Debug: num_pings_to_alive = 3
  191. Fri Jan 6 14:05:36 2017 : Debug: revive_interval = 120
  192. Fri Jan 6 14:05:36 2017 : Debug: status_check_timeout = 4
  193. Fri Jan 6 14:05:36 2017 : Debug: coa {
  194. Fri Jan 6 14:05:36 2017 : Debug: irt = 2
  195. Fri Jan 6 14:05:36 2017 : Debug: mrt = 16
  196. Fri Jan 6 14:05:36 2017 : Debug: mrc = 5
  197. Fri Jan 6 14:05:36 2017 : Debug: mrd = 30
  198. Fri Jan 6 14:05:36 2017 : Debug: }
  199. Fri Jan 6 14:05:36 2017 : Debug: }
  200. Fri Jan 6 14:05:36 2017 : Debug: home_server_pool my_auth_failover {
  201. Fri Jan 6 14:05:36 2017 : Debug: type = fail-over
  202. Fri Jan 6 14:05:36 2017 : Debug: home_server = localhost
  203. Fri Jan 6 14:05:36 2017 : Debug: }
  204. Fri Jan 6 14:05:36 2017 : Debug: realm example.com {
  205. Fri Jan 6 14:05:36 2017 : Debug: auth_pool = my_auth_failover
  206. Fri Jan 6 14:05:36 2017 : Debug: }
  207. Fri Jan 6 14:05:36 2017 : Debug: realm LOCAL {
  208. Fri Jan 6 14:05:36 2017 : Debug: }
  209. Fri Jan 6 14:05:36 2017 : Debug: radiusd: #### Loading Clients ####
  210. Fri Jan 6 14:05:36 2017 : Debug: client localhost {
  211. Fri Jan 6 14:05:36 2017 : Debug: ipaddr = 127.0.0.1
  212. Fri Jan 6 14:05:36 2017 : Debug: require_message_authenticator = no
  213. Fri Jan 6 14:05:36 2017 : Debug: secret = "testing123"
  214. Fri Jan 6 14:05:36 2017 : Debug: nastype = "other"
  215. Fri Jan 6 14:05:36 2017 : Debug: }
  216. Fri Jan 6 14:05:36 2017 : Debug: radiusd: #### Instantiating modules ####
  217. Fri Jan 6 14:05:36 2017 : Debug: instantiate {
  218. Fri Jan 6 14:05:36 2017 : Debug: (Loaded rlm_exec, checking if it's valid)
  219. Fri Jan 6 14:05:36 2017 : Debug: Module: Linked to module rlm_exec
  220. Fri Jan 6 14:05:36 2017 : Debug: Module: Instantiating module "exec" from file /etc/freeradius/radiusd.conf
  221. Fri Jan 6 14:05:36 2017 : Debug: exec {
  222. Fri Jan 6 14:05:36 2017 : Debug: wait = yes
  223. Fri Jan 6 14:05:36 2017 : Debug: input_pairs = "request"
  224. Fri Jan 6 14:05:36 2017 : Debug: shell_escape = yes
  225. Fri Jan 6 14:05:36 2017 : Debug: }
  226. Fri Jan 6 14:05:36 2017 : Debug: (Loaded rlm_expr, checking if it's valid)
  227. Fri Jan 6 14:05:36 2017 : Debug: Module: Linked to module rlm_expr
  228. Fri Jan 6 14:05:36 2017 : Debug: Module: Instantiating module "expr" from file /etc/freeradius/radiusd.conf
  229. Fri Jan 6 14:05:36 2017 : Debug: }
  230. Fri Jan 6 14:05:36 2017 : Debug: radiusd: #### Loading Virtual Servers ####
  231. Fri Jan 6 14:05:36 2017 : Debug: server { # from file /etc/freeradius/radiusd.conf
  232. Fri Jan 6 14:05:36 2017 : Debug: modules {
  233. Fri Jan 6 14:05:36 2017 : Debug: } # modules
  234. Fri Jan 6 14:05:36 2017 : Debug: } # server
  235. Fri Jan 6 14:05:36 2017 : Debug: radiusd: #### Opening IP addresses and Ports ####
  236. Fri Jan 6 14:05:36 2017 : Debug: bind_address = *
  237. Fri Jan 6 14:05:36 2017 : Info: WARNING: The directive 'bind_address' is deprecated, and will be removed in future versions of FreeRADIUS. Please edit the configuration files to use the directive 'listen'.
  238. Fri Jan 6 14:05:36 2017 : Debug: Listening on authentication address * port 1812
  239. Fri Jan 6 14:05:36 2017 : Debug: Listening on accounting address * port 1813
  240. Fri Jan 6 14:05:36 2017 : Info: Ready to process requests.
  241.  
  242. root@pppie:/home/dilian# /etc/init.d/freeradius start
  243. [....] Starting freeradius (via systemctl): freeradius.serviceJob for freeradius.service failed because the control process exited with error code. See "systemctl status freeradius.service" and "journalctl -xe" for details.
  244. failed!
  245.  
  246. -f -lstdout -xxx
  247.  
  248. root@pppie:/home/dilian# /etc/init.d/freeradius start
  249. [....] Starting freeradius (via systemctl): freeradius.serviceJob for freeradius.service failed because the control process exited with error code. See "systemctl status freeradius.service" and "journalctl -xe" for details.
  250. failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement