HOWTO: Fix samba package on beta13

Home Page Forums Network Management ZeroShell HOWTO: Fix samba package on beta13

This topic contains 3 replies, has 0 voices, and was last updated by  Ddall 8 years, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42727

    Ddall
    Member

    Hello!

    A few month ago, borjaruiz released the samba package for zeroshell beta12. (original post)

    This package wont work on beta13, here’s how to fix that:

    Download, and install like you would do on beta12 (ignore errors at the end of the install script)

    cd /Database
    wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
    tar xvjf SMB12_beta1.tar.bz2

    cd SMB12
    ./install.sh

    install.sh should return something like this:

    root@zstest SMB12> ./install.sh
    Reading configuration ...
    Checking dependencies ...
    Extracting packages ...
    Running scripts ...
    Starting updater process for the release 1.0.beta13 ...
    --> Checking for installed updates:
    --> Replacing files ...
    --> Patching files ...
    --> Running scripts ...
    Syncing filesystem... Done
    /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
    Samba 3.5.2 has been installed. Please, read the official howto at the URL
    URL http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/

    - By default, the shared media /Database/samba_shared has been configured
    with anonymous access.
    To change configuration edit de samba config file /etc/smb.conf;

    - To restart Samba daemon use the command:

    service samba restart

    - Contact info: borjaruizcastro@gmail.com

    root@zstest SMB12>

    For some reason, the install script didn’t work properly. Do:

    mkdir /Database/samba_shared
    cd /Database/opt/1.0/beta12/tars/
    tar -C / -x -z -f SMB12-files.tar.gz

    One more thing to do, is edit the start-up script using webinterface (or edit /etc/rc.local), add this:

    #SAMBA
    export LD_LIBRARY_PATH="/Database/opt/1.0/beta12/packages/lib:$LD_LIBRARY_PATH"
    service samba start

    And that’s it! You can now use samba on your ZS-box, don’t forget to restrict access from outside wan (you don’t want the whole Internet to see your files do you?)

    #51328

    tonyoptical
    Member

    @ddall wrote:

    Hello!

    A few month ago, borjaruiz released the samba package for zeroshell beta12. (original post)

    This package wont work on beta13, here’s how to fix that:

    Download, and install like you would do on beta12 (ignore errors at the end of the install script)

    cd /Database
    wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
    tar xvjf SMB12_beta1.tar.bz2

    cd SMB12
    ./install.sh

    install.sh should return something like this:

    root@zstest SMB12> ./install.sh
    Reading configuration ...
    Checking dependencies ...
    Extracting packages ...
    Running scripts ...
    Starting updater process for the release 1.0.beta13 ...
    --> Checking for installed updates:
    --> Replacing files ...
    --> Patching files ...
    --> Running scripts ...
    Syncing filesystem... Done
    /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
    Samba 3.5.2 has been installed. Please, read the official howto at the URL
    URL http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/

    - By default, the shared media /Database/samba_shared has been configured
    with anonymous access.
    To change configuration edit de samba config file /etc/smb.conf;

    - To restart Samba daemon use the command:

    service samba restart

    - Contact info: borjaruizcastro@gmail.com

    root@zstest SMB12>

    For some reason, the install script didn’t work properly. Do:

    mkdir /Database/samba_shared
    cd /Database/opt/1.0/beta12/tars/
    tar -C / -x -z -f SMB12-files.tar.gz

    One more thing to do, is edit the start-up script using webinterface (or edit /etc/rc.local), add this:

    #SAMBA
    export LD_LIBRARY_PATH="/Database/opt/1.0/beta12/packages/lib:$LD_LIBRARY_PATH"
    service samba start

    And that’s it! You can now use samba on your ZS-box, don’t forget to restrict access from outside wan (you don’t want the whole Internet to see your files do you?)

    Hi

    Thx. for your kind advise. But it didn’t work for me. Still gives me:

    /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

    Thx.

    #51329

    campkudd
    Member

    @tonyoptical wrote:

    @ddall wrote:

    Hello!

    A few month ago, borjaruiz released the samba package for zeroshell beta12. (original post)

    This package wont work on beta13, here’s how to fix that:

    Download, and install like you would do on beta12 (ignore errors at the end of the install script)

    cd /Database
    wget http://www.orquideadesign.com/SMB12_beta1.tar.bz2
    tar xvjf SMB12_beta1.tar.bz2

    cd SMB12
    ./install.sh

    install.sh should return something like this:

    root@zstest SMB12> ./install.sh
    Reading configuration ...
    Checking dependencies ...
    Extracting packages ...
    Running scripts ...
    Starting updater process for the release 1.0.beta13 ...
    --> Checking for installed updates:
    --> Replacing files ...
    --> Patching files ...
    --> Running scripts ...
    Syncing filesystem... Done
    /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
    Samba 3.5.2 has been installed. Please, read the official howto at the URL
    URL http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/

    - By default, the shared media /Database/samba_shared has been configured
    with anonymous access.
    To change configuration edit de samba config file /etc/smb.conf;

    - To restart Samba daemon use the command:

    service samba restart

    - Contact info: borjaruizcastro@gmail.com

    root@zstest SMB12>

    For some reason, the install script didn’t work properly. Do:

    mkdir /Database/samba_shared
    cd /Database/opt/1.0/beta12/tars/
    tar -C / -x -z -f SMB12-files.tar.gz

    One more thing to do, is edit the start-up script using webinterface (or edit /etc/rc.local), add this:

    #SAMBA
    export LD_LIBRARY_PATH="/Database/opt/1.0/beta12/packages/lib:$LD_LIBRARY_PATH"
    service samba start

    And that’s it! You can now use samba on your ZS-box, don’t forget to restrict access from outside wan (you don’t want the whole Internet to see your files do you?)

    Hi

    Thx. for your kind advise. But it didn’t work for me. Still gives me:

    /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

    Thx.

    I have the same Problem, had someone a solution? Please help me

    #51330

    Ddall
    Member

    Yep, it looks like there is a problem with my method. Since it worked on my setup, I just have to figure out what’s special about it.

    I’m updating my ZS-Box to Beta14 so the next patch probably won’t work on B13.
    I’ll try to work on it this weekend.

    #51331

    borjaruiz
    Member

    Hi guys!

    I will port the SAMBA package to ZS beta14 in a few days!

    Just wait a bit!

    Regards

    Borja

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

You must be logged in to reply to this topic.