LinHES Forums http://forum.linhes.org/ |
|
Samba or NFS issue on clean install of 8.1 (new user) http://forum.linhes.org/viewtopic.php?f=21&t=24084 |
Page 1 of 1 |
Author: | jeremycobert [ Mon Nov 03, 2014 7:16 am ] |
Post subject: | Samba or NFS issue on clean install of 8.1 (new user) |
I am having a strange issue with file shares and I am new to LinHes after coming over from years of Mythbuntu. I installed LinHes 8.1 on a test hard drive and got it up and working perfectly. After getting confident in it, I took out the test hard drive, swapped it out for my working hard drive, installed it clean, ran all the setup added a storage drive and its working perfectly. Except I cant access the file shares. If i turn off NFS and Samba the PC disappears from windows network browsers, If i enable them both, the Pc reappears but there is no share available. I am not familiar enough with Linhes to trouble shoot it just yet. Any help would be appreciated. I cant figure out what I did differently when installing my test drive to my production drive, I could swear I set them up the same... I ran these commands Quote: /etc/rc.d/samba start and after searching the forum, but am not sure what to make of it. Workgroup is my network.testparm /etc/samba/smb.conf /etc/rc.d/samba start testparm /etc/samba/smb.conf Quote: [root@mythbox jeremy]# /etc/rc.d/samba start
bash: /etc/rc.d/samba: No such file or directory [root@mythbox jeremy]# testparm /etc/samba/smb.conf testparm: /usr/lib/libtalloc.so.2: no version information available (required by testparm) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libpopt_samba3.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libsamba-util.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libsmbconf.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libutil_cmdline.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libtevent.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libtevent.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsmbregistry.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libinterfaces.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libtevent-util.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libdbwrap.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libCHARSET3.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/liberrors.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libutil_tdb.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libndr.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libcli_smb_common.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsamba3-util.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsamba-sockets.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsamba-security.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libtdb-wrap.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsmb_transport.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libsamba-hostconfig.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libndr-standard.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsecrets3.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libutil_ntdb.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libgensec.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libndr-nbt.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libcliauth.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsamba-modules.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libsamba-credentials.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libndr-samba.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libasn1util.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libsamdb.so.0) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libauthkrb5.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libsamdb-common.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libldbsamba.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libkrb5samba.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libldb.so.1) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libcli-ldap-common.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/samba/libauth_sam_reply.so) testparm: /usr/lib/libtalloc.so.2: no version information available (required by /usr/lib/libndr-krb5pac.so.0) Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: Ignoring invalid value 'share' for parameter 'security' Can't find include file /home/mythtv/templates/user.shares Processing section "[WDCWD2500BEKT-00PVMT0_WD-WX81A91X8210]" Processing section "[myth]" Processing section "[WDCWD30EFRX-68AX9N0_WD-WMC1T1133384]" Processing section "[home]" Loaded services file OK. WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] server string = mythbox log file = /var/log/samba/log.%m max log size = 50 load printers = No printcap name = /dev/null dns proxy = No idmap config * : backend = tdb printing = bsd print command = lpr -r -P'%p' %s lpq command = lpq -P'%p' lprm command = lprm -P'%p' %j [WDCWD2500BEKT-00PVMT0_WD-WX81A91X8210] path = /data/storage/WDCWD2500BEKT-00PVMT0_WD-WX81A91X8210 force user = mythtv force group = mythtv read only = No create mask = 0755 guest only = Yes guest ok = Yes veto files = "/mysql/" "/srv/" [myth] path = /myth force user = mythtv force group = mythtv read only = No create mask = 0755 guest only = Yes guest ok = Yes veto files = "/mysql/" "/srv/" [WDCWD30EFRX-68AX9N0_WD-WMC1T1133384] path = /data/storage/WDCWD30EFRX-68AX9N0_WD-WMC1T1133384 force user = mythtv force group = mythtv read only = No create mask = 0755 guest only = Yes guest ok = Yes veto files = "/mysql/" "/srv/" [home] path = /home/mythtv force user = mythtv force group = mythtv create mask = 0755 guest only = Yes guest ok = Yes [root@mythbox jeremy]# |
Author: | RacerX [ Mon Nov 03, 2014 7:37 am ] |
Post subject: | Re: Samba or NFS issue on clean install of 8.1 (new user) |
For Samba, it's better to start with a standard config, get it work, and then customize to your requirements it can be very daunting. Thankfully, mattbatt posted this samba hint that works plus it's a good place to start http://forum.linhes.org/viewtopic.php?f=24&t=23638&p=136629&hilit=samba#p136629 |
Author: | brfransen [ Mon Nov 03, 2014 9:30 am ] |
Post subject: | Re: Samba or NFS issue on clean install of 8.1 (new user) |
jeremycobert wrote: I ran these commands LinHES uses runit to manage services. To manage samba: Quote: /etc/rc.d/samba start and after searching the forum, but am not sure what to make of it. Workgroup is my network.testparm /etc/samba/smb.conf /etc/rc.d/samba start testparm /etc/samba/smb.conf Code: sudo sv start smbd The command start can be substituted with stop/restart/status.From your log it appears libtalloc is not working correctly. I would suggest updating to R8.2 as that is now in the release repos. There is also a problem with the share definition in your smb.conf that I think R8.2 should fix for you. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |