Samba on 3.0 not working after reboot

Home Page Forums Network Management ZeroShell Samba on 3.0 not working after reboot

This topic contains 2 replies, has 0 voices, and was last updated by  ixalthim 4 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43813

    ixalthim
    Participant

    So I have installed ZeroShell to my HDD using one of the many tutorials out there…

    I then installed the Samba packages located here:

    http://www.zeroshell.net/forum/viewtopic.php?p=14632

    It works great until I restart Zeroshell, at which point it’s almost like it wasn’t installed (IE: /etc/smb.conf is no longer there, and service samba start says files are also missing).

    Is this just a case of zeroshell version 3 not being compatible?

    #53069

    staifan13
    Member

    I have the same problem since i have installed 3.0 on my hard disk with the package manager …

    root@zeroshell Database> service samba start
    /sbin/service: line 6: /etc/rc.d/init.d/samba: No such file or directory
    /sbin/service: line 6: exec: /etc/rc.d/init.d/samba: cannot execute: No such file or directory
    root@zeroshell Database>

    Does anyone know how to turn around the problem ?

    mean while I just reinstall samba like this after a reboot :

    rm -rf /Database/opt/LICENSES
    rm -rf /Database/opt/x.x
    rm -f /Database/opt/updater
    cd /Database
    wget http://www.open-link.it/zeroshell/SMBXX_beta2.tar.bz2
    tar xjvf SMBXX_beta2.tar.bz2
    cd SMBXX_beta2
    ./install.sh

    Stéphan

    #53070

    latimeria
    Member

    Hi,
    we were discussing the same in the italian forum
    http://zeroshell.net/forum/viewtopic.php?t=3764

    I have entered this in the post-boot and now works; hope this helps

    # Startup Script
    ln -sf /Database/opt/x.x/packages/etc/smb.conf /etc/smb.conf
    echo /Database/opt/x.x/packages/lib >> /etc/ld.so.conf
    ldconfig
    #service samba start
    /Database/opt/x.x/packages/sbin/smbd -D -s /Database/opt/x.x/packages/etc/smb.conf
    /Database/opt/x.x/packages/sbin/nmbd -D -s /Database/opt/x.x/packages/etc/smb.conf

    #53071

    staifan13
    Member

    Hey !
    I tested it and it works well 😀
    Thank you for it because I don’t watch the Italian forum because I don’t understand it …
    without your response I had never seen .
    thank you again and survive Zeroshell !

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.