[Eisfair] Samba-Freigabe

Carsten Lippert carsten at falconcrest-lippert.de
Do Aug 16 17:28:20 CEST 2012


Ups, es gibt doch mehr Probleme als ich dachte...

Auf die Userverzeichnisse kann ich zugreifen und Sie als Netzlaufwerke 
freigeben, aber nicht auf public.
Beim Beenden der Samba-Konfiguration kommt folgende Fehlermeldung:

Checking configuration file ...

Activate Samba configuration now (y/n) [y]? y
Stopping Smbfs ...
smbfs is not loaded
cifs is not loaded
Stopping Samba ...
sending message to netbios name FALCONCREST (192.168.0.6) ...
smbd was stopped
nmbd was stopped
winbindd is not running
Configuration file was saved as smb.conf.sic in /etc.
mkdir: cannot create directory `/public': File exists
Cannot create directory /public for share public on falconserver
chmod: cannot operate on dangling symlink `/public'
chown: cannot dereference `/public': No such file or directory
Starting Samba ...
nmbd is now running
smbd is now running
sending message to netbios name FALCONCREST (192.168.0.6) ...
Starting Smbfs ...

Press ENTER to continue

???Was nun???

Am besten hier noch einmal die angeforderten Ausgaben nach mounten und 
verschieben...

falconserver # ls -l /
total 1129
-rw-r--r--  1 root   root    1018857 May 30 22:22 
System.map-2.6.32-eisfair-1
drwxrwxr-x  2 root   root       4096 Aug 11 16:42 bin
drwxr-xr-x  3 root   root       1024 Aug 11 11:09 boot
drwxr-xr-x  2 root   root       4096 Jul  8 20:06 cdrom
drwxr-xr-x  3 root   root       4096 Aug 15 22:03 data
drwxr-xr-x 13 root   root      36864 Aug 16 16:18 dev
drwxr-xr-x 26 root   root       4096 Aug 16 17:07 etc
drwxr-xr-x  2 root   root       4096 Jul  8 20:06 floppy
drwxr-xr-x 12 root   root       4096 Aug 15 22:03 home
drwxr-xr-x  9 root   root       4096 Aug 13 18:35 lib
drwx------  2 root   root      16384 Aug 11 11:09 lost+found
drwxr-xr-x  2 root   root       4096 Aug 11 11:09 mnt
drwxr-xr-x  2 root   root       4096 Aug 11 18:15 neueplatte
dr-xr-xr-x 74 root   root          0 Aug 16 16:18 proc
lrwxrwxrwx  1 root   root         12 Aug 13 19:29 public -> /data/public
drwxrwxrwx  2 nobody nogroup    4096 Aug 11 15:42 public_old
drwxr-xr-x  2 root   root       4096 Aug 15 17:43 quarantine
drwxr-xr-x  2 root   root       4096 Aug 15 21:50 root
drwxr-xr-x 10 root   root       4096 Aug 11 15:42 samba_printer_drivers
drwxr-xr-x  2 root   root       4096 Aug 13 18:35 sbin
drwxr-xr-x 12 root   root          0 Aug 16 16:18 sys
drwxr-xr-x  2 root   root       4096 Aug 11 15:54 tftpboot
drwxrwxrwt  2 root   root       4096 Aug 16 17:08 tmp
drwxr-xr-x  2 root   root       4096 Jul  8 20:06 usb
drwxr-xr-x 10 root   root       4096 Aug 15 17:44 usr
drwxr-xr-x 17 root   root       4096 Aug 11 22:23 var
falconserver #


falconserver # mount
/dev/sda3 on / type ext4 (rw,errors=remount-ro,acl,user_xattr)
/dev/sda1 on /boot type ext4 (rw,errors=remount-ro)
/dev/sda4 on /home type ext4 (rw,errors=remount-ro,acl,user_xattr)
/dev/sdb1 on /data type ext4 (rw,acl,user_xattr)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/sys on /sys type sysfs (rw)
falconserver #


falconserver # fdisk -l /dev/sd[ab]

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x71424dca

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      112454       55203+  83  Linux
/dev/sda2          112456      385559      136552   82  Linux swap / Solaris
/dev/sda3          385560     2490074     1052257+  83  Linux
/dev/sda4         2490080   625137344   311323632+  83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00024b24

    Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048  1953525167   976761560   83  Linux
falconserver #

Problemloesung parat?




---
avast! Antivirus: Ausgehende Nachricht sauber.
Virus-Datenbank (VPS): 120816-0, 16.08.2012
Getestet am: 16.08.2012 17:28:20
avast! - copyright (c) 1988-2012 AVAST Software.
http://www.avast.com





Mehr Informationen über die Mailingliste Eisfair