Samba problem - mounting fails
Posted: Mon Dec 17, 2012 1:12 am
Well, after a week of searching this forum and around the net, I'm looking for some help troubleshooting this problem.
I have Samba running on my Fedora 17 box (oudebok) which successfully shares the home directory of three users and also a public area called "/fileshare" which has most of my media files (except MythTV recordings). I have been able to access these directories from my two windoze computers as well as my MythTV backend (mythserver). Also, before it died, my old frontend (mythfront) running Mythdora was able to access "/fileshare." I liked being able to use MythMusic to play audio files that were stored on "/fileshare" and everything was working well.
Now that I have introduced MiniMyth, I cannot access "/fileshare" from the new MM frontend (mythviewer). I have tried putting the command in the MM config file, but that actually prevents the system from booting properly. When I try manually, I get various errors. I'd like to try to add one of my regular users to the MM box, but I can't see how to do it (useradd is an unknown command). Likewise, I cannot run "smbclient" or "testparm" on the MM box because they are not recognized commands. So the short version is: what do I need to do to make this work? Samba is definitely working on all other computers on the network. I've run out of things to try based upon my searches here and around the internet.
And from the /var/log/messages on the MM frontend (mythviewer):
Please let me know what else I need to try to make this work or to troubleshoot further.
Thank you!
-Tom-
I have Samba running on my Fedora 17 box (oudebok) which successfully shares the home directory of three users and also a public area called "/fileshare" which has most of my media files (except MythTV recordings). I have been able to access these directories from my two windoze computers as well as my MythTV backend (mythserver). Also, before it died, my old frontend (mythfront) running Mythdora was able to access "/fileshare." I liked being able to use MythMusic to play audio files that were stored on "/fileshare" and everything was working well.
Now that I have introduced MiniMyth, I cannot access "/fileshare" from the new MM frontend (mythviewer). I have tried putting the command in the MM config file, but that actually prevents the system from booting properly. When I try manually, I get various errors. I'd like to try to add one of my regular users to the MM box, but I can't see how to do it (useradd is an unknown command). Likewise, I cannot run "smbclient" or "testparm" on the MM box because they are not recognized commands. So the short version is: what do I need to do to make this work? Samba is definitely working on all other computers on the network. I've run out of things to try based upon my searches here and around the internet.
Code: Select all
[meister@oudebok tftpboot]$ ssh tdmyth@mythserver
tdmyth@mythserver's password:
Last login: Sun Sep 23 16:56:02 2012 from 172.16.1.100
[tdmyth@mythserver ~]$ su -
Password:
[root@mythserver ~]# mount -t cifs -o guest //172.16.1.209/fileshare /mnt/fileshare
[root@mythserver ~]# ls /mnt/fileshare
Computer EmergencyBackup lost+found Media upload XtraBackups
[root@mythserver ~]# exit
logout
[tdmyth@mythserver ~]$ exit
logout
Connection to mythserver closed.
[meister@oudebok tftpboot]$ telnet MythViewer
Trying 172.16.1.202...
Connected to MythViewer.
Escape character is '^]'.
MythViewer login: root
BusyBox v1.20.2 (2012-07-22 03:24:55 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@MythViewer:~ # mkdir /mnt/fileshare
root@MythViewer:~ # mount -t cifs -o guest //172.16.1.209/fileshare /mnt/fileshare
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
root@MythViewer:~ # smbclient
-ash: smbclient: not found
root@MythViewer:~ # testparm
-ash: testparm: not found
root@MythViewer:~ # exit
Connection closed by foreign host.
Code: Select all
Dec 16 18:38:15 (none) auth.info login[2260]: root login on 'pts/0'
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: could not allocate des crypto API
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: could not allocate des crypto API
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: could not allocate des crypto API
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: could not allocate des crypto API
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: could not allocate des crypto API
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2
Dec 16 18:54:11 (none) auth.info login[2333]: root login on 'pts/0'
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: could not allocate des crypto API
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2
Dec 16 23:55:40 (none) daemon.info udhcpc[509]: Sending renew...
Dec 16 23:55:40 (none) daemon.info udhcpc[509]: Lease of 172.16.1.202 obtained, lease time 3600
Thank you!
-Tom-