Please, People, help me ! When I start the smb services, I receive this message: [root @g 11:25:39 /root]# service smb restart Stopping service SMB: [ OK ] Stopping service NMB: [ OK ] rm: cannot remove `/var/lock/subsys/smb': IO Error Starting service SMB: [ OK ] Starting service NMB: [ OK ] touch: creating `/var/lock/subsys/smb': IO Error [root @g 11:25:50 /root]# What happens ? Isamp.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 11 December 2002 03:22 pm, Isamp wrote:> [root @g 11:25:39 /root]# service smb restart > Stopping service SMB: [ OK ] > Stopping service NMB: [ OK ] > rm: cannot remove `/var/lock/subsys/smb': IO Error > Starting service SMB: [ OK ] > Starting service NMB: [ OK ] > touch: creating `/var/lock/subsys/smb': IO Error > [root @g 11:25:50 /root]#Supposing that the /var filesystem is on a different disk/partition, i would guess that you have a filesystem problem or disk hardware problem Try to fsck your /var, and also look at /var/log/messages for posible disk problems - -- Dimitrios Stergiou System, Network and Security Administration Group Intracom S.A DISCLAIMER: Funny signature follows - ----------------------------------- When the Apple IIc was introduced, the informative copy led off with a couple of asterisked sentences: It weighs less than 8 pounds.* And costs less than $1,300.** In tiny type were these "fuller explanations": * Don't asterisks make you suspicious as all get out? Well, all this means is that the IIc alone weights 7.5 pounds. The power pack, monitor, an extra disk drive, a printer and several bricks will make the IIc weigh more. Our lawyers were concerned that you might not be able to figure this out for yourself. ** The FTC is concerned about price fixing. You can pay more if you really want to. Or less. -- Forbes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE99z0pcAv8apx8VeARAsg+AJ9KIqQc0R0YmFJcet1l47DKX3ey+wCfQi5x LmRO1W4KP6RvYzBCVl1w/u4=gYYI -----END PGP SIGNATURE-----
Isamp wrote:> rm: cannot remove `/var/lock/subsys/smb': IO Error > touch: creating `/var/lock/subsys/smb': IO Error > What happens ?Seems your almost your /var partition (or the partition where is your /var) is mounted read-only, huh?.. type 'mount' and search for last parameter, you should see either 'rw' or 'ro' . what do you see when you type mount? -- Jean-Paul ARGUDO
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 ErrorThis 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@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