It appears that most of the files in raid/data/tmp/var are messed up:
Code:
root@127.0.0.1:/raid/data/tmp/var# ls
ls: ./messages.tdb: Input/output error
ls: ./connections.tdb: Input/output error
ls: ./brlock.tdb: Input/output error
ls: ./locking.tdb: Input/output error
ls: ./gencache.tdb: Input/output error
ls: ./registry.tdb: Input/output error
ls: ./group_mapping.tdb: Input/output error
ls: ./account_policy.tdb: Input/output error
ls: ./ntdrivers.tdb: Input/output error
ls: ./ntprinters.tdb: Input/output error
ls: ./ntforms.tdb: Input/output error
ls: ./unexpected.tdb: Input/output error
browse.dat sessionid.tdb
I'm not sure what this means. Maybe the files are there but cannot be read? I managed to delete messages.tdb and restarted smbd manually so now I get:
Code:
root@127.0.0.1:/raid/data/tmp/var# ls
ls: ./connections.tdb: Input/output error
ls: ./brlock.tdb: Input/output error
ls: ./locking.tdb: Input/output error
ls: ./gencache.tdb: Input/output error
ls: ./registry.tdb: Input/output error
ls: ./group_mapping.tdb: Input/output error
ls: ./account_policy.tdb: Input/output error
ls: ./ntdrivers.tdb: Input/output error
ls: ./ntprinters.tdb: Input/output error
ls: ./ntforms.tdb: Input/output error
ls: ./unexpected.tdb: Input/output error
browse.dat messages.tdb sessionid.tdb
root@127.0.0.1:/raid/data/tmp/var#
However, trying to delete the rest of the files with input/output errors fails:
Code:
root@127.0.0.1:/raid/data/tmp/var# rm connections.tdb
rm: unable to stat `connections.tdb': Input/output error
root@127.0.0.1:/raid/data/tmp/var#
These other files seem to be causing problems (still cannot see N5200 on the network). The file /var/log/log.nmdb shows this is the case:
Code:
[2008/05/08 05:20:14, 0] nmbd/nmbd.c:main(697)
Netbios nameserver version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/05/08 05:20:15, 0] nmbd/nmbd.c:main(716)
standard input is not a socket, assuming -D option
[2008/05/08 05:22:58, 0] libsmb/unexpected.c:unexpected_packet(53)
Failed to open unexpected.tdb
The file /var/log/samba/samba.smbd doesn't have the error about messages.tdb anymore:
Code:
root@127.0.0.1:/var/log/samba# vi samba.smbd
[2008/05/08 05:20:14, 0] profile/profile.c:init_clock_gettime(175)
WARNING: __profile_clock != CLOCK_REALTIME: forced to use a slow profiling clo
[2008/05/08 05:20:14, 0] smbd/server.c:main(986)
standard input is not a socket, assuming -D option
[2008/05/08 05:25:40, 0] profile/profile.c:init_clock_gettime(175)
WARNING: __profile_clock != CLOCK_REALTIME: forced to use a slow profiling clo
[2008/05/08 05:25:40, 0] smbd/server.c:main(986)
standard input is not a socket, assuming -D option
[2008/05/08 05:30:44, 0] profile/profile.c:init_clock_gettime(175)
WARNING: __profile_clock != CLOCK_REALTIME: forced to use a slow profiling clo
[2008/05/08 05:30:44, 0] smbd/server.c:main(986)
standard input is not a socket, assuming -D option
[2008/05/08 05:36:27, 6] param/loadparm.c:lp_file_list_changed(3077)
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Thu May 8 05:
[2008/05/08 05:36:27, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
[2008/05/08 05:36:27, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.2.254 bcast=192.168.2.255 nmask=255.255.255.0
[2008/05/08 05:36:27, 3] lib/util.c:interpret_addr(1309)
sys_gethostbyname: Unknown host. wlan*
[2008/05/08 05:36:27, 2] lib/interface.c:interpret_interface(130)
- samba.smbd 1/225 0%
I'm going to work on deleting those other files in the raid/data/tmp/var folder...
Edit - "rm -f connections.tdb" does not work either.