Re: Re: HOWTO: Fix samba package on beta13

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

#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.