Cycbuffs problem on Solaris8 - help !

Dmitry A. Antipov antipov at rosnet.ru
Wed Jul 19 07:55:29 UTC 2000


Hello,
i'm trying to setup INN 2.2.3 on SPARC Solaris 8 an have a problem with
CNFS cycbuff. My cycbuff.conf looks like this:

cycbuff:one:/var/spool/news/cycbuffs/cycbuff0:2077080
metacycbuff:area:one

And storage.conf:

method cnfs {
	newsgroups: *
	class: 1
	options: area
}

Here /var/spool/news/cycbuffs/cycbuff0 is a block device
/dev/dsk/c0t3d0s0:

# ls /var/spool/news/cycbuffs/cycbuff0 
brw-rw-r--   1 news     news     118,120 Jul 19 11:40
/var/spool/news/cycbuffs/cycbuff0
# ls /dev/dsk/c0t3d0s0 
lrwxrwxrwx   1 root     root          74 Jul 11 12:16 /dev/dsk/c0t3d0s0
->
../../devices/sbus at 2,0/SUNW,soc at d,10000/SUNW,pln at a0000000,8239f4/ssd at 3,0:a
# ls
/devices/sbus at 2,0/SUNW,soc at d,10000/SUNW,pln at a0000000,8239f4/ssd at 3,0:abrw-r-----  
1 root     sys      118,120 Jul 11 12:16
/devices/sbus at 2,0/SUNW,soc at d,10000/SUNW,pln at a0000000,8239f4/ssd at 3,0:a
# 

The size of cycbuff (2077080 kb) was being calculated using dd command:

dd if=/dev/dsk/c0t3d0s0 of=/dev/null bs=1k 

And, while starting "su news -c /usr/local/bin/rc.news", I see this
failure notice:

Jul 19 11:40:37 toxic innfeed[997]: [ID 954692 news.error] CNFS-sm:
CNFSflushhead: write failed (-1 bytes): Bad file number
Jul 19 11:40:37 toxic innfeed[997]: [ID 371779 news.error] SM storage
method 'cnfs' failed initialization
Jul 19 11:40:37 toxic innfeed[997]: [ID 292155 news.error] SM one or
more storage methods failed initialization
Jul 19 11:40:37 toxic innfeed[997]: [ID 896969 news.error] Storage
manager initialization failed
Jul 19 11:40:37 toxic innd: [ID 359755 news.error] innfeed! exit 1
elapsed 0 pid 997

My installation:
"uname -a" output: SunOS toxic 5.8 Generic sun4u sparc
SUNW,Ultra-Enterpris
configure command:
./configure  --prefix=/usr/local --with-perl --with-largefiles
--with-run-dir=/var/run/news --with-etc-dir=/etc/conf/news
--with-spool-dir=/var/spool/news --with-log-dir=/var/adm/log/news
--with-sendmail=/usr/sbin/sendmail
I'm using GNU make 3.79 and gcc 2.95.2.

Where is a problem ? 

-- 
Dmitry Antipov <antipov at rosnet.ru> 
RosNet JSC (ICQ UIN:70767592)



More information about the inn-workers mailing list