LINUX.ORG.RU
ФорумAdmin

Samba не работает


0

0

тестирую main# smbstatus

Samba version 2.2.8a Service uid gid pid machine ----------------------------------------------

Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting

Что это такое? что значит locking database? smbpasswd работает, все юзера активизированы. Вообщем я в замешательстве. Помогите кто может, буду сильно признателен.

anonymous

Ответ на: Re: Samba не работает от Pilot

Re: Re: Samba не работает

просто дошел вот до чего на smbstatus не ругается,что довольно странноб т.к. просто заново поставил самбу.

но машину все равно не видно :(

вот конфиг может чего скажет... [global] workgroup = HOME server string = HOME PDC netbios name = mainhome hosts allow = 192.168.2. 127. log file = /var/log/%m.log max log size = 50 security = user encrypt passwords = yes smb passwd file = /usr/local/samba/private/smbpasswd socket options = TCP_NODELAY interfaces = 192.168.2.1/24,127.0.0.1/8 local master = yes os level = 64 domain master = yes preferred master = yes domain logons = yes log level = 2 logon script = scripts\%U.bat logon path = \\%L\profiles logon drive = z: wins support = no dns proxy = no client code page=866 character set = koi8-r case sensitive = no preserve case = yes default case = yes nt acl support = yes add user script = /usr/sbin/adduser -d /dev/null -g 1004 -s /bin/false -M %u

[netlogon] comment = Network Logon Service path = /usr/local/samba/netlogon writeable = no locking = no [profiles] comment = User's Profiles path = /usr/local/samba/profiles/%U ; read only = no browseable = yes writeable = yes public = no ; create mask = 0600 ; directory mask = 0770 ; guest ok = yes

[public] comment = Public Stuff path = /mnt/store public = yes writeable = yes printable = no create mask = 0650 browseable = yes locking = no

вот логи: [2003/11/09 23:43:02, 0] libsmb/nmblib.c:send_udp(756) Packet send failed to 255.255.255.255(137) ERRNO=Can't assign requested address [2003/11/09 23:43:02, 0] nmbd/nmbd_packets.c:send_netbios_packet(172) send_netbios_packet: send_packet() to IP 255.255.255.255 port 137 failed [2003/11/09 23:43:02, 0] nmbd/nmbd_nameregister.c:register_name(360) register_name: Failed to send packet trying to register name MAINHOME<20> [2003/11/09 23:43:02, 0] libsmb/nmblib.c:send_udp(756) Packet send failed to 255.255.255.255(137) ERRNO=Can't assign requested address [2003/11/09 23:43:02, 0] nmbd/nmbd_packets.c:send_netbios_packet(172) send_netbios_packet: send_packet() to IP 255.255.255.255 port 137 failed [2003/11/09 23:43:02, 0] nmbd/nmbd_nameregister.c:register_name(360) register_name: Failed to send packet trying to register name MAINHOME<03> [2003/11/09 23:43:02, 0] libsmb/nmblib.c:send_udp(756) Packet send failed to 255.255.255.255(137) ERRNO=Can't assign requested address [2003/11/09 23:43:02, 0] nmbd/nmbd_packets.c:send_netbios_packet(172) send_netbios_packet: send_packet() to IP 255.255.255.255 port 137 failed

137 udp открыт!

[2003/11/09 23:43:05, 2] lib/interface.c:add_interface(81) added interface ip=192.168.2.1 bcast=255.255.255.255 nmask=0.0.0.0 [2003/11/09 23:43:05, 1] smbd/files.c:file_init(171) file_init: Information only: requested 10000 open files, 7302 are available. [2003/11/09 23:43:05, 2] smbd/server.c:open_sockets(249) waiting for a connection

вот так вот, чего случилось? спасибо хоть за какой-то интерес...

anonymous ()
Ответ на: Re: Re: Samba не работает от anonymous

Re: Re: Re: Samba не работает

Что то больно странный адресок покажи для начала ifconfig и поновой самба конфиг только не забудь поставить внизу опцию User line breaks

Pilot ()
Ответ на: Re: Re: Re: Samba не работает от Pilot

Re: Re: Re: Re: Samba не работает

rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::280:48ff:fecb:eb90%rl0 prefixlen 64 scopeid 0x1
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
ether 00:80:48:cb:eb:90
media: Ethernet autoselect (none)
status: no carrier
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000

какой самба конфиг???

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.