Author Topic: File Sharing nem indithato el!  (Read 2393 times)

doncarlos

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
File Sharing nem indithato el!
« on: February 19, 2013, 12:45:20 pm »
Sziasztok!

Minden rendben mukodott a sulink szerverevel egeszen 2 nappal ezelottig. Akkor szolt az egyik kollegam, hogy nem tud bejelentkezni a tartomanyba. Hibauzenet: kb.: nincs olyan kiszolgalo aki a beleptetesi kerleme...stb. Akkor nem volt fontos ez a gep ma viszont egy masik is kiirta. Utana neztem a dashboardon minden rendben volt. Gondoltam kikapcsolom a users&groups-t meg a filesharinget aztan meg vissza. Minden vissza is kapcsolt kivetel a filesharing.

A logban a kovetkezo uzenet vart:
Code: [Select]
doncarlos@cerebellum:/var/lib/bind$ tail /var/log/zentyal/zentyal.log
2013/02/19 12:37:00 DEBUG> EBackup.pm:699 EBox::EBackup::remoteStatus - Could not get backup collection status, check whether the parameters and passwords are correct
2013/02/19 12:43:38 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2013/02/19 12:43:39 WARN> DNS.pm:1497 EBox::DNS::_launchNSupdate - Cannot contact with named, trying in posthook
2013/02/19 12:43:39 WARN> DNS.pm:1497 EBox::DNS::_launchNSupdate - Cannot contact with named, trying in posthook
2013/02/19 12:43:39 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2013/02/19 12:43:41 ERROR> Sudo.pm:234 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/10FdxPZcGh failed.
Error output: update failed: SERVFAIL

Command output: .
Exit value: 2

gugliztam az nsupdate SERVFAIL kombinaciora de nem sikerult megoldani a dolgot. Minden komponens a legfrissebb. Az otleteket elore is koszonom.

Kiegesziteskent ezt talaltam a syslogban:
Code: [Select]
Feb 19 11:21:39 cerebellum named[18481]: zone vizisuli.lan/IN: loading from master file /var/lib/bind/db.vizisuli.lan failed: file not found
Feb 19 11:21:39 cerebellum named[18481]: zone vizisuli.lan/IN: not loaded due to errors.

De hova lett az a file? Es okozhatja-e ez a gondot? Ilyen jellegu hibara irta valaki hogy eltavolitotta a DNS es DHCP modulokat majd ujratelepitette oket. Ha en is megcsinalom ezt a felhasznaloi adatok, tartomány megmaradnak? (users&groups-nak feltetele a DNS)
« Last Edit: February 19, 2013, 01:50:31 pm by doncarlos »

julio

  • Guest
Re: File Sharing nem indithato el!
« Reply #1 on: February 19, 2013, 07:54:54 pm »
Talan talaltam valamit a hianyzo zona file-ra:

Creating the zone files
http://linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9

mintakent az enyem (/var/lib/bind/db.1.168.192):
Quote
$ORIGIN .
$TTL 259200     ; 3 days
1.168.192.in-addr.arpa  IN SOA  zentyal.zentyal-domain.lan. hostmaster.zentyal-domain.lan. (
                                2012112820 ; serial
                                28800      ; refresh (8 hours)
                                7200       ; retry (2 hours)
                                2419200    ; expire (4 weeks)
                                86400      ; minimum (1 day)
                                )
                        NS      zentyal.zentyal-domain.lan.
$ORIGIN 1.168.192.in-addr.arpa.
1                       PTR     zentyal.zentyal-domain.lan.
$TTL 900        ; 15 minutes
100                     PTR     pc1.zentyal-domain.lan.
110                     PTR     pc2.zentyal-domain.lan.


doncarlos

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: File Sharing nem indithato el!
« Reply #2 on: February 20, 2013, 08:53:49 am »
Ilyen nevű zona fájlom db.64.168.192 az van. Csak a db.vizisuli.lan-t hiányolja...

Megnézem a linket hátha lesz valami, köszönöm!

doncarlos

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: File Sharing nem indithato el!
« Reply #3 on: February 20, 2013, 12:28:42 pm »
Sikerült megoldani a problémát, hasznos volt a link amit küldtél julio, köszönöm még1x!

A megoldás az volt hogy újra kellett írni a db.vizisuli.lan-t a megfelelő módon. A db.x.168.192 és a db.domainneves fájok nem egyformák, az $origin-t kellett átírnom és A rekordot létrehozni a szerver IP címére.

ide másolom a két fájlt hátha valaki megnézni és észreveszi hogy valami hülyeséget írtam, de ezekkel már minden működik.

db.64.168.192:
Code: [Select]
$ORIGIN .
$TTL 259200     ; 3 days
64.168.192.in-addr.arpa IN SOA  cerebellum.vizisuli.lan. hostmaster.vizisuli.lan. (
                                2013021951 ; serial
                                28800      ; refresh (8 hours)
                                7200       ; retry (2 hours)
                                2419200    ; expire (4 weeks)
                                86400      ; minimum (1 day)
                                )
                        NS      cerebellum.vizisuli.lan.
$ORIGIN 64.168.192.in-addr.arpa.
1                       PTR     cerebellum.vizisuli.lan.

db.vizisuli.lan:
Code: [Select]
$TTL 259200     ; 3 days
$ORIGIN vizisuli.lan.
@       IN SOA  cerebellum.vizisuli.lan. hostmaster.vizisuli.lan. (
                                2013021943 ; serial
                                28800      ; refresh (8 hours)
                                7200       ; retry (2 hours)
                                2419200    ; expire (4 weeks)
                                86400      ; minimum (1 day)
                                )
        IN              NS      cerebellum.vizisuli.lan.
cerebellum      IN      A       192.168.64.1
1                       PTR     cerebellum.vizisuli.lan.