[Samba] Error starting the samba services

Uwe Lienig Uwe.Lienig at fif.mw.htw-dresden.de
Thu Dec 12 12:56:01 GMT 2002


Isamp wrote:
> 
> [root @g 10:36:07 /root]# cd /var/lock/subsys
> [root @g 10:38:59 subsys]# ls -lRai /var/lock/subsys
> ls: /var/lock/subsys/keytable: IO Error
> ls: /var/lock/subsys/smb: IO Error
This seems to me your file system is somehow hosed. One possibility is, that the
files <keytable> and <smb> have got i-nodes assigned, that point beyond the file
system end, or the dir entry is corrupt.

I'd try the following:

1) rename subsys, since this is not a mountpoint it won't hurt anything
cd /var/lock
mv subsys subsys.old
mkdir subsys
chmod 755 subsys

2) reboot the system
   either do
shutdown -r now
   or
init 0
   followed by
boot

This way you would have a new subsys-dir, where new files will be allocated.
Then let us now, what has happened. During reboot you may see messages of not
found files in /var/lock/subsys

> /var/lock/subsys:
> total 8
>  227076 drwxrwxr-x    2 root     root         4096 Dez 11 10:47 .
>   32772 drwxrwxr-x    5 root     root         4096 Out  5 10:41 ..
>  229904 -rw-r--r--    1 root     root            0 Nov 18 08:00 crond
>  229907 -rw-r--r--    1 root     root            0 Nov 18 08:00 dhcpd
>  229905 -rw-r--r--    1 root     root            0 Dez 10 15:28 ipsec
>  229901 -rw-r--r--    1 root     root            0 Nov 18 08:00 named
>  229903 -rw-r--r--    1 root     root            0 Nov 18 08:00 netfs
>  229565 -rw-r--r--    1 root     root            0 Nov 18 08:00 network
>  229902 -rw-r--r--    1 root     root            0 Nov 18 08:00 random
>  231256 -rw-r--r--    1 root     root            0 Nov 22 14:51 squid
>  229906 -rw-r--r--    1 root     root            0 Nov 18 08:00 sshd
>  229900 -rw-r--r--    1 root     root            0 Nov 18 08:00 syslog
> [root @g 10:39:16 subsys]#
> 
> Sorry but I can't understand this results.
Well, its unexpected!

> 
> Em Quinta 12 Dezembro 2002 10:31, Uwe Lienig escreveu:
> >
> > Please do a
> >
> > ls -lRai /var/lock/subsys
> >
> > I think, smb does exist, but is a fifo or the like?
> >
> > Good luck

-- 
Uwe Lienig  | fon: (+49 351) 462 2780 | mailto:uwe.lienig at fif.mw.htw-dresden.de
            | fax: (+49 351) 462 3476 | http://www.fif.mw.htw-dresden.de
HTW Dresden | parcels: Gutzkowstr. 22 | letters: PF 12 07 01       
   -FiF-    |          01069 Dresden  |          01008 Dresden



More information about the samba mailing list