Samba funktioniert nicht...



  • Guten Tag

    Wenn ich in Ubuntu 8.10 einen Ordner freigeben will...

    >Rechtsklick
    ->Freigabe Optionen
    -->Diesen Ordner freigeben
    --->Fenster öffnet sich ==> Sharing Service not installed......<Install Service>
    ---->....Anderen erlauben, in diesen Ordner zu schreiben
    ----->Sambas Testparm gab den Fehler 1 zurück: Load smb config files from /etc/samba/smb.conf
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[Ordner]"
    Loaded services file OK.
    ERROR: lock directory /var/run/samba does not exist <- Problem
    ERROR: pid directory /var/run/samba does not exist <- Problem
    

    ...habe ich diese zwei Probleme...
    Nun zu meiner eigentlichen Frage...Wie kann ich diesen Ordner Freigeben??

    mfg 08mmarte



  • Hast Du (a) Samba installiert und (b) Samba gestartet?

    Vielleicht einfach mal "sudo /etc/init.d/samba start" oder so?



  • (a) Ja, ist installiert
    (b) Also das starten funktioniert nicht:
    :command not found
    Wie kann man testen ob Samba schon läut???

    EDIT: Wenn ich sudo apt-get install samba ausführe heisst es:

    Paket samba ist nicht verfügbar, wird aber von einem anderen
    Paket referenziert. Das kann heißen, dass das Paket fehlt, dass es veraltet
    ist oder nur aus einer anderen Quelle verfügbar ist.
    Doch die folgenden Pakete ersetzen es:
      smbclient samba-common
    

    Könnte es daran liegen??



  • das wird's wohl sein.
    also ersetze samba durch smbclient und samba-common...

    gruesse, mm



  • Samba wird schon durch smbclient und samba-common ersetzt...
    Aber es funktioniert immer noch nicht... 😞



  • wenn du'n ordner freigeben willst, brauchste auch nich smbclient sondern' smb server also smdbd oder wie das teil heisst.



  • Bist Du Dir sicher, dass Du da nichts zerschossen hast? Du verwendest Ubuntu?

    http://packages.ubuntu.com/intrepid/samba



  • 08mmarte schrieb:

    (b) Also das starten funktioniert nicht:
    :command not found

    Vielleicht heißt das Initskript bei Ubuntu ja anders? Würde mich zwar wundern, aber mach doch bitte mal folgendes:
    ls -l /etc/init.d/*samba*



  • Ja, ich verwende Ubuntu 8.10....

    nman schrieb:

    ls -l /etc/init.d/*samba*

    bewirkt bloss:

    No such file or directory
    


  • 08mmarte schrieb:

    Ja, ich verwende Ubuntu 8.10....

    Dann mach bitte mal aptitude search samba und zeig uns die Ausgabe.



  • Gibt...

    v   samba-client                    -                                           
    i   samba-common                    - Samba common files used by both the server
    

    ...aus



  • Da kann irgendwas nicht passen, das hier ist von einem Ubuntu-Desktop:

    derrida% aptitude search samba
    p   dpsyco-samba                    - Automate administration of access to samba
    p   ebox-samba                      - ebox - File sharing
    p   egroupware-sambaadmin           - eGroupWare Samba administration applicatio
    p   gsambad                         - GTK+ configuration tool for samba
    p   samba                           - a LanManager-like file and printer server
    v   samba-client                    -
    i   samba-common                    - Samba common files used by both the server
    p   samba-dbg                       - Samba debugging symbols
    p   samba-doc                       - Samba documentation
    p   samba-doc-pdf                   - Samba documentation (PDF format)
    p   system-config-samba             - GUI for managing samba shares and users
    

    Mach mal aptitude update und schau, ob sich daran was ändert, wenn nicht, dann zeig uns bitte die Ausgabe von cat /etc/apt/sources.list !



  • Es ändert sich nichts...

    cat: /etc/apt/sources.list!: No such file or directory
    

    btw. Sorry für die späte Antwort, war unterwegs....



  • Ein bisschen mitdenken tut eigentlich auch nicht weh. Das Ausrufezeichen stammte von meiner Aufforderung, das gehört nicht zum Dateinamen.



  • Sorry war copy&paste... 🤡

    deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted #Added by software-properties
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    
    deb http://ch.archive.ubuntu.com/ubuntu/ intrepid main restricted multiverse
    deb-src http://ch.archive.ubuntu.com/ubuntu/ intrepid restricted main universe #Added by software-properties
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://ch.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted multiverse
    deb-src http://ch.archive.ubuntu.com/ubuntu/ intrepid-updates restricted main universe #Added by software-properties
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://ch.archive.ubuntu.com/ubuntu/ intrepid universe
    deb http://ch.archive.ubuntu.com/ubuntu/ intrepid-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://ch.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    # deb-src http://ch.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    # deb http://archive.canonical.com/ubuntu intrepid partner
    # deb-src http://archive.canonical.com/ubuntu intrepid partner
    
    deb http://security.ubuntu.com/ubuntu intrepid-security main restricted multiverse
    deb-src http://security.ubuntu.com/ubuntu intrepid-security restricted main universe #Added by software-properties
    deb http://security.ubuntu.com/ubuntu intrepid-security universe
    


  • Bin gerade zu faul, mir das komplett durchzulesen (ist ein ziemliches Durcheinander), aber schau doch bitte, dass main, restricted, universe und multiverse verfügbar sind. Dann sollte nach aptitude update Samba verfügbar sein.


Anmelden zum Antworten