Top-Themen

AppleEntwicklungHardwareInternetLinuxMicrosoftMultimediaNetzwerkeOff TopicSicherheitSonstige SystemeVirtualisierungWeiterbildungZusammenarbeit

Aktuelle Themen

Administrator.de FeedbackApache ServerAppleAssemblerAudioAusbildungAuslandBackupBasicBatch & ShellBenchmarksBibliotheken & ToolkitsBlogsCloud-DiensteClusterCMSCPU, RAM, MainboardsCSSC und C++DatenbankenDatenschutzDebianDigitiales FernsehenDNSDrucker und ScannerDSL, VDSLE-BooksE-BusinessE-MailEntwicklungErkennung und -AbwehrExchange ServerFestplatten, SSD, RaidFirewallFlatratesGoogle AndroidGrafikGrafikkarten & MonitoreGroupwareHardwareHosting & HousingHTMLHumor (lol)Hyper-VIconsIDE & EditorenInformationsdiensteInstallationInstant MessagingInternetInternet DomäneniOSISDN & AnaloganschlüsseiTunesJavaJavaScriptKiXtartKVMLAN, WAN, WirelessLinuxLinux DesktopLinux NetzwerkLinux ToolsLinux UserverwaltungLizenzierungMac OS XMicrosoftMicrosoft OfficeMikroTik RouterOSMonitoringMultimediaMultimedia & ZubehörNetzwerkeNetzwerkgrundlagenNetzwerkmanagementNetzwerkprotokolleNotebook & ZubehörNovell NetwareOff TopicOpenOffice, LibreOfficeOutlook & MailPapierkorbPascal und DelphiPeripheriegerätePerlPHPPythonRechtliche FragenRedHat, CentOS, FedoraRouter & RoutingSambaSAN, NAS, DASSchriftartenSchulung & TrainingSEOServerServer-HardwareSicherheitSicherheits-ToolsSicherheitsgrundlagenSolarisSonstige SystemeSoziale NetzwerkeSpeicherkartenStudentenjobs & PraktikumSuche ProjektpartnerSuseSwitche und HubsTipps & TricksTK-Netze & GeräteUbuntuUMTS, EDGE & GPRSUtilitiesVB for ApplicationsVerschlüsselung & ZertifikateVideo & StreamingViren und TrojanerVirtualisierungVisual StudioVmwareVoice over IPWebbrowserWebentwicklungWeiterbildungWindows 7Windows 8Windows 10Windows InstallationWindows MobileWindows NetzwerkWindows ServerWindows SystemdateienWindows ToolsWindows UpdateWindows UserverwaltungWindows VistaWindows XPXenserverXMLZusammenarbeit
GELÖST

Suse 11.3 FreeRadius Server startet mit Fehlermeldung

Frage Linux Suse

Mitglied: TheEternalPhenom

TheEternalPhenom (Level 2) - Jetzt verbinden

12.01.2011 um 09:08 Uhr, 5300 Aufrufe, 2 Kommentare

Hallo alle zusammen,
ich habe ein kleines Problem mit einem FreeRadius Server unter Linux Suse 11.3

Ich habe den Auftrag erhalten einen Radius Server unter Linux einzurichten. Dieses Vorhaben habe realisiere ich momentan unter Suse 11.3 mit dem FreeRadius Server.
Um trotz meiner schlechten Linux Kenntnisse etwas hinzubekommen nutze ich aqui´s Anleitung, an dieser stelle ein dank hier für.
Die Anleitung ist hier zufinden Text.

Ich bin nach der Anleitung vorgegangen und habe alle Schritte befolgt. Jetzt ist das Problem, dass der Server nicht startet. Bis her konnte ich alle Fehlermeldungen lösen, da es sich meist um Tippfehler und/oder Übertragungs fehler handelte. Nun ist aber ein Fehler aufgetrete, welcher mich etwas überfordert.

Hier einmal der Start Log:

01.
FreeRADIUS Version 2.1.9, for host i686-pc-linux-gnu, built on Jul  5 2010 at 21:41:31 
02.
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.  
03.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A  
04.
PARTICULAR PURPOSE.  
05.
You may redistribute copies of FreeRADIUS under the terms of the  
06.
GNU General Public License v2.  
07.
Starting - reading configuration files ... 
08.
including configuration file /etc/raddb/radiusd.conf 
09.
including configuration file /etc/raddb/proxy.conf 
10.
including configuration file /etc/raddb/clients.conf 
11.
including files in directory /etc/raddb/modules/ 
12.
including configuration file /etc/raddb/modules/inner-eap 
13.
including configuration file /etc/raddb/modules/exec 
14.
including configuration file /etc/raddb/modules/chap 
15.
including configuration file /etc/raddb/modules/attr_rewrite 
16.
including configuration file /etc/raddb/modules/detail.log 
17.
including configuration file /etc/raddb/modules/etc_group 
18.
including configuration file /etc/raddb/modules/expiration 
19.
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login 
20.
including configuration file /etc/raddb/modules/mac2ip 
21.
including configuration file /etc/raddb/modules/expr 
22.
including configuration file /etc/raddb/modules/detail 
23.
including configuration file /etc/raddb/modules/wimax 
24.
including configuration file /etc/raddb/modules/acct_unique 
25.
including configuration file /etc/raddb/modules/cui 
26.
including configuration file /etc/raddb/modules/krb5 
27.
including configuration file /etc/raddb/modules/passwd 
28.
including configuration file /etc/raddb/modules/digest 
29.
including configuration file /etc/raddb/modules/ldap 
30.
including configuration file /etc/raddb/modules/realm 
31.
including configuration file /etc/raddb/modules/preprocess 
32.
including configuration file /etc/raddb/modules/otp 
33.
including configuration file /etc/raddb/modules/mschap 
34.
including configuration file /etc/raddb/modules/linelog 
35.
including configuration file /etc/raddb/modules/pap 
36.
including configuration file /etc/raddb/modules/attr_filter 
37.
including configuration file /etc/raddb/modules/sradutmp 
38.
including configuration file /etc/raddb/modules/sql_log 
39.
including configuration file /etc/raddb/modules/smsotp 
40.
including configuration file /etc/raddb/modules/always 
41.
including configuration file /etc/raddb/modules/unix 
42.
including configuration file /etc/raddb/modules/counter 
43.
including configuration file /etc/raddb/modules/logintime 
44.
including configuration file /etc/raddb/modules/echo 
45.
including configuration file /etc/raddb/modules/detail.example.com 
46.
including configuration file /etc/raddb/modules/files 
47.
including configuration file /etc/raddb/modules/mac2vlan 
48.
including configuration file /etc/raddb/modules/ippool 
49.
including configuration file /etc/raddb/modules/perl 
50.
including configuration file /etc/raddb/modules/policy 
51.
including configuration file /etc/raddb/modules/smbpasswd 
52.
including configuration file /etc/raddb/modules/checkval 
53.
including configuration file /etc/raddb/modules/pam 
54.
including configuration file /etc/raddb/modules/radutmp 
55.
including configuration file /etc/raddb/modules/ntlm_auth 
56.
including configuration file /etc/raddb/eap.conf 
57.
including configuration file /etc/raddb/policy.conf 
58.
including files in directory /etc/raddb/sites-enabled/ 
59.
including configuration file /etc/raddb/sites-enabled/inner-tunnel 
60.
including configuration file /etc/raddb/sites-enabled/default 
61.
including configuration file /etc/raddb/sites-enabled/control-socket 
62.
main { 
63.
        user = "radiusd" 
64.
        group = "radiusd" 
65.
        allow_core_dumps = no 
66.
67.
including dictionary file /etc/raddb/dictionary 
68.
main { 
69.
        prefix = "/usr" 
70.
        localstatedir = "/var" 
71.
        logdir = "/var/log/radius" 
72.
        libdir = "/usr/lib/freeradius" 
73.
        radacctdir = "/var/log/radius/radacct" 
74.
        hostname_lookups = no 
75.
        max_request_time = 30 
76.
        cleanup_delay = 5 
77.
        max_requests = 1024 
78.
        pidfile = "/var/run/radiusd/radiusd.pid" 
79.
        checkrad = "/usr/sbin/checkrad" 
80.
        debug_level = 0 
81.
        proxy_requests = yes 
82.
 log { 
83.
        stripped_names = no 
84.
        auth = no 
85.
        auth_badpass = no 
86.
        auth_goodpass = no 
87.
88.
 security { 
89.
        max_attributes = 200 
90.
        reject_delay = 1 
91.
        status_server = yes 
92.
93.
94.
radiusd: #### Loading Realms and Home Servers #### 
95.
 proxy server { 
96.
        retry_delay = 5 
97.
        retry_count = 3 
98.
        default_fallback = no 
99.
        dead_time = 120 
100.
        wake_all_if_all_dead = no 
101.
102.
 home_server localhost { 
103.
        ipaddr = 127.0.0.1 
104.
        port = 1812 
105.
        type = "auth" 
106.
        secret = "testing123" 
107.
        response_window = 20 
108.
        max_outstanding = 65536 
109.
        require_message_authenticator = no 
110.
        zombie_period = 40 
111.
        status_check = "status-server" 
112.
        ping_interval = 30 
113.
        check_interval = 30 
114.
        num_answers_to_alive = 3 
115.
        num_pings_to_alive = 3 
116.
        revive_interval = 120 
117.
        status_check_timeout = 4 
118.
        irt = 2 
119.
        mrt = 16 
120.
        mrc = 5 
121.
        mrd = 30 
122.
123.
 home_server_pool my_auth_failover { 
124.
        type = fail-over 
125.
        home_server = localhost 
126.
127.
 realm example.com { 
128.
        auth_pool = my_auth_failover 
129.
130.
 realm LOCAL { 
131.
132.
radiusd: #### Loading Clients #### 
133.
 client localhost { 
134.
        ipaddr = 127.0.0.1 
135.
        require_message_authenticator = no 
136.
        secret = "testing123" 
137.
        nastype = "other" 
138.
139.
 client 192.168.100.0/24 { 
140.
        require_message_authenticator = no 
141.
        secret = "radiustest" 
142.
        shortname = "Testnetz" 
143.
144.
radiusd: #### Instantiating modules #### 
145.
 instantiate { 
146.
 Module: Linked to module rlm_exec 
147.
 Module: Instantiating exec 
148.
  exec { 
149.
        wait = no 
150.
        input_pairs = "request" 
151.
        shell_escape = yes 
152.
153.
 Module: Linked to module rlm_expr 
154.
 Module: Instantiating expr 
155.
 Module: Linked to module rlm_expiration 
156.
 Module: Instantiating expiration 
157.
  expiration { 
158.
        reply-message = "Password Has Expired  " 
159.
160.
 Module: Linked to module rlm_logintime 
161.
 Module: Instantiating logintime 
162.
  logintime { 
163.
        reply-message = "You are calling outside your allowed timespan  " 
164.
        minimum-timeout = 60 
165.
166.
167.
radiusd: #### Loading Virtual Servers #### 
168.
server inner-tunnel { 
169.
 modules { 
170.
 Module: Checking authenticate {...} for more modules to load 
171.
 Module: Linked to module rlm_pap 
172.
 Module: Instantiating pap 
173.
  pap { 
174.
        encryption_scheme = "auto" 
175.
        auto_header = no 
176.
177.
 Module: Linked to module rlm_chap 
178.
 Module: Instantiating chap 
179.
 Module: Linked to module rlm_mschap 
180.
 Module: Instantiating mschap 
181.
  mschap { 
182.
        use_mppe = yes 
183.
        require_encryption = no 
184.
        require_strong = no 
185.
        with_ntdomain_hack = no 
186.
187.
 Module: Linked to module rlm_unix 
188.
 Module: Instantiating unix 
189.
  unix { 
190.
        radwtmp = "/var/log/radius/radwtmp" 
191.
192.
 Module: Linked to module rlm_eap 
193.
 Module: Instantiating eap 
194.
  eap { 
195.
        default_eap_type = "md5" 
196.
        timer_expire = 60 
197.
        ignore_unknown_eap_types = no 
198.
        cisco_accounting_username_bug = no 
199.
        max_sessions = 4096 
200.
201.
 Module: Linked to sub-module rlm_eap_md5 
202.
 Module: Instantiating eap-md5 
203.
 Module: Linked to sub-module rlm_eap_leap 
204.
 Module: Instantiating eap-leap 
205.
 Module: Linked to sub-module rlm_eap_gtc 
206.
 Module: Instantiating eap-gtc 
207.
   gtc { 
208.
        challenge = "Password: " 
209.
        auth_type = "PAP" 
210.
211.
 Module: Linked to sub-module rlm_eap_tls 
212.
 Module: Instantiating eap-tls 
213.
   tls { 
214.
        rsa_key_exchange = no 
215.
        dh_key_exchange = yes 
216.
        rsa_key_length = 512 
217.
        dh_key_length = 512 
218.
        verify_depth = 0 
219.
        pem_file_type = yes 
220.
        private_key_file = "/etc/raddb/certs/server.pem" 
221.
        certificate_file = "/etc/raddb/certs/server.pem" 
222.
        CA_file = "/etc/raddb/certs/ca.pem" 
223.
        private_key_password = "test" 
224.
        dh_file = "/etc/raddb/certs/dh" 
225.
        random_file = "/etc/raddb/certs/random" 
226.
        fragment_size = 1024 
227.
        include_length = yes 
228.
        check_crl = no 
229.
        cipher_list = "DEFAULT" 
230.
        make_cert_command = "/etc/raddb/certs/bootstrap" 
231.
    cache { 
232.
        enable = no 
233.
        lifetime = 24 
234.
        max_entries = 255 
235.
236.
237.
 Module: Linked to sub-module rlm_eap_ttls 
238.
 Module: Instantiating eap-ttls 
239.
   ttls { 
240.
        default_eap_type = "md5" 
241.
        copy_request_to_tunnel = no 
242.
        use_tunneled_reply = no 
243.
        virtual_server = "inner-tunnel" 
244.
        include_length = yes 
245.
246.
 Module: Linked to sub-module rlm_eap_peap 
247.
 Module: Instantiating eap-peap 
248.
   peap { 
249.
        default_eap_type = "mschapv2" 
250.
        copy_request_to_tunnel = no 
251.
        use_tunneled_reply = no 
252.
        proxy_tunneled_request_as_eap = yes 
253.
        virtual_server = "inner-tunnel" 
254.
255.
 Module: Linked to sub-module rlm_eap_mschapv2 
256.
 Module: Instantiating eap-mschapv2 
257.
   mschapv2 { 
258.
        with_ntdomain_hack = no 
259.
260.
 Module: Checking authorize {...} for more modules to load 
261.
 Module: Linked to module rlm_realm 
262.
 Module: Instantiating suffix 
263.
  realm suffix { 
264.
        format = "suffix" 
265.
        delimiter = "@" 
266.
        ignore_default = no 
267.
        ignore_null = no 
268.
269.
 Module: Linked to module rlm_files 
270.
 Module: Instantiating files 
271.
  files { 
272.
        usersfile = "/etc/raddb/users" 
273.
        acctusersfile = "/etc/raddb/acct_users" 
274.
        preproxy_usersfile = "/etc/raddb/preproxy_users" 
275.
        compat = "no" 
276.
277.
 Module: Checking session {...} for more modules to load 
278.
 Module: Linked to module rlm_radutmp 
279.
 Module: Instantiating radutmp 
280.
  radutmp { 
281.
        filename = "/var/log/radius/radutmp" 
282.
        username = "%{User-Name}" 
283.
        case_sensitive = yes 
284.
        check_with_nas = yes 
285.
        perm = 384 
286.
        callerid = yes 
287.
288.
 Module: Checking post-proxy {...} for more modules to load 
289.
 Module: Checking post-auth {...} for more modules to load 
290.
 Module: Linked to module rlm_attr_filter 
291.
 Module: Instantiating attr_filter.access_reject 
292.
  attr_filter attr_filter.access_reject { 
293.
        attrsfile = "/etc/raddb/attrs.access_reject" 
294.
        key = "%{User-Name}" 
295.
296.
 } # modules 
297.
} # server 
298.
server { 
299.
 modules { 
300.
 Module: Checking authenticate {...} for more modules to load 
301.
 Module: Checking authorize {...} for more modules to load 
302.
 Module: Linked to module rlm_preprocess 
303.
 Module: Instantiating preprocess 
304.
  preprocess { 
305.
        huntgroups = "/etc/raddb/huntgroups" 
306.
        hints = "/etc/raddb/hints" 
307.
        with_ascend_hack = no 
308.
        ascend_channels_per_line = 23 
309.
        with_ntdomain_hack = no 
310.
        with_specialix_jetstream_hack = no 
311.
        with_cisco_vsa_hack = no 
312.
        with_alvarion_vsa_hack = no 
313.
314.
 Module: Checking preacct {...} for more modules to load 
315.
 Module: Linked to module rlm_acct_unique 
316.
 Module: Instantiating acct_unique 
317.
  acct_unique { 
318.
        key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port" 
319.
320.
 Module: Checking accounting {...} for more modules to load 
321.
 Module: Linked to module rlm_detail 
322.
 Module: Instantiating detail 
323.
  detail { 
324.
        detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d" 
325.
        header = "%t" 
326.
        detailperm = 384 
327.
        dirperm = 493 
328.
        locking = no 
329.
        log_packet_header = no 
330.
331.
 Module: Instantiating attr_filter.accounting_response 
332.
  attr_filter attr_filter.accounting_response { 
333.
        attrsfile = "/etc/raddb/attrs.accounting_response" 
334.
        key = "%{User-Name}" 
335.
336.
 Module: Checking session {...} for more modules to load 
337.
 Module: Checking post-proxy {...} for more modules to load 
338.
 Module: Checking post-auth {...} for more modules to load 
339.
 } # modules 
340.
} # server 
341.
radiusd: #### Opening IP addresses and Ports #### 
342.
listen { 
343.
        type = "auth" 
344.
        ipaddr = * 
345.
        port = 0 
346.
347.
listen { 
348.
        type = "acct" 
349.
        ipaddr = * 
350.
        port = 0 
351.
352.
listen { 
353.
        type = "control" 
354.
 listen { 
355.
        socket = "/var/run/radiusd/radiusd.sock" 
356.
357.
Failed binding to /var/run/radiusd/radiusd.sock: No such file or directory
Die Meldung legt nahe, dass /var/run/radiusd/radiusd fehlt. Dies habe ich überprüft und keine Datei gefunden.

Leider habe ich keine Ahnung ob und wie ich die entsprechende Datei erstellen/hinzufügen oder wie auch immer kann.

Vielen Dank schonmal im voraus für eure Hilfe.

Gruß

duffman521

PS: Falls noch irgendwelche Daten benötigt werden einfach bescheid gebe, dann Poste ich diese. Leider bin ich mir nicht sicher was alles benötigt wird, darum möchte ich jetzt nicht alles mit Configs voll klatschen.
Mitglied: askando
12.01.2011 um 09:45 Uhr
ähm klingt stumpf ist aber so...

su
adminpassword
mkdir /var/run/radiusd
chmod 777 /var/run/radiusd

chmod verändert die Berechtigungen 777 gibt für alles und jeden vollzugriff. das würde ich nur zu testzwecken machen und später die berechtigungen dann wie benötigt einschränken.

Radius hat leider keine Schreibrechte dort keine Ahnung warum.

Ergo einfach den Ordner Radiusd erstellen ;)
Bitte warten ..
Mitglied: TheEternalPhenom
12.01.2011 um 10:52 Uhr
Vielen Dank.

Es läuft jetzt alles. Mit dem Ordner erstellen hatte ich es dann auch noch versucht, jedoch die Rechte konnte ich nicht verändern.

Gruß

duffman521
Bitte warten ..
Neuester Wissensbeitrag
Windows 10

Powershell 5 BSOD

(8)

Tipp von agowa338 zum Thema Windows 10 ...

Ähnliche Inhalte
Festplatten, SSD, Raid
Server startet nicht mehr nach Festplattentausch (3)

Frage von Stibe88 zum Thema Festplatten, SSD, Raid ...

Windows Server
Server startet nicht mehr, Fehler 0xc000021a (15)

Frage von lgraap zum Thema Windows Server ...

Windows Server
Server 2008R2 startet nicht mehr (Bad Patch 0xa) (18)

Frage von Haures zum Thema Windows Server ...

Heiß diskutierte Inhalte
Microsoft
Ordner mit LW-Buchstaben versehen und benennen (20)

Frage von Xaero1982 zum Thema Microsoft ...

Outlook & Mail
gelöst Outlook 2010 findet ost datei nicht (19)

Frage von Floh21 zum Thema Outlook & Mail ...

Netzwerkmanagement
gelöst Anregungen, kleiner Betrieb, IT-Umgebung (18)

Frage von Unwichtig zum Thema Netzwerkmanagement ...

Festplatten, SSD, Raid
M.2 SSD wird nicht erkannt (14)

Frage von uridium69 zum Thema Festplatten, SSD, Raid ...