7) Here is the problem … now I try to run samba - /jffs/opt/etc/init.d/S80samba start
I get the following error
/jffs/opt/etc/init.d/S80samba: /jffs/opt/etc/init.d/S80samba: 17: /opt/sbin/smbd: not found
Starting nmbd:
/jffs/opt/etc/init.d/S80samba: /jffs/opt/etc/init.d/S80samba: 19: /opt/sbin/nmbd: not found
also if I try to run /opt/sbin/smbd or /opt/sbin/nmbd manually I get -sh: /opt/sbin/smbd: not found or -sh: /opt/sbin/nmbd: not found
the executables do exist in those directories and have the correct permissions
/opt/sbin # ls -al
drwxr-xr-x 2 root root 32768 Aug 13 12:25 .
drwxr-xr-x 11 root root 32768 Aug 13 12:25 ..
-rwxr-xr-x 1 root root 321936 Jan 19 2007 ldconfig
-rwxr-xr-x 1 root root 875512 Jul 25 05:04 nmbd
-rwxr-xr-x 1 root root 2241076 Jul 25 05:04 smbd
-rwxr-xr-x 1 root root 1261616 Jul 25 05:04 swa
does anybody know what I did wrong? Or have any suggestions?
no i didn't skip it .. but one thing to note is i couldn't
mount -o bind /dev/scsi/host0/bus0/target0/lun0/part1 /mnt ... i had to mount /dev/scsi/host0/bus0/target0/lun0/part1 /mnt
Joined: 18 Jun 2006 Posts: 1110 Location: Kiel (54.4247,10.1721)
Posted: Tue Aug 14, 2007 21:15 Post subject:
hmm...
where did you install all the packages to?
you need to have some stuff in
/opt/lib
and so to get it working. that is why you need the bind mentioned in the wiki.
you have to mount the drive that way. but afterwards you have to bind it to /opt _________________ DD-WRT F.A.Q. Webcam Kiel
Run "mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt" and the errors will go away, then after that run "mount -o bind /opt /jffs/opt". _________________ Asus RT-AC66U - DD-WRT build 23083
Joined: 18 Jun 2006 Posts: 1110 Location: Kiel (54.4247,10.1721)
Posted: Thu Aug 16, 2007 3:33 Post subject:
Actually you messed around a lot with your directory mounting here and there... In the end the stuff is not accesible at /opt/sbin/nmbd and stuff...
Hard to explain as I am not a native english speaker, sorry...
In the german forum I posted how I did it... without ipkg and without jffs...
I know it is german, but you only need the parts between the lines in red... and the commands are the same in english
This could help you to get the point, hopefully... _________________ DD-WRT F.A.Q. Webcam Kiel