Date: Thu, 21 Mar 1996 13:46:56 +0200 (EET) From: Seppo Kallio <kallio@cc.jyu.fi> To: questions@freebsd.org Cc: gpalmer@freebsd.org Subject: * Amanda 2.2.6 - huge problem, it cannot read sample amanda.conf * Message-ID: <Pine.SOL.3.91.960321132219.1969A-100000@kanto.cc.jyu.fi> In-Reply-To: <199603210706.XAA10638@rainfall.mwd.dst.ca.us>
next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD 2.1R: itu: {169} /usr/local/sbin/amcheck csd "amanda.conf", line 166: configuration keyword expected Segmentation fault I did compile amanda with -g seg.fault is somwhere in get_conf The line 166 is the last one. Amanda.conf is the one axample in amanda 2.2.6 ports-2.1. Same error with my own config running OK in anouther system (2.2 SNAP 960303). I got same error ins SNAP 960303 first, then it disappeared, I do not know how. I got same error in 2.2-SNAP-960303 few times but reinstallin amanda did help. Now it does not help! Seppo PS. I did compile it using -g and got these lines out: Seems the error is in conf file reading. % gdb /usr/local/sbin/amcheck GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... (gdb) run csd Starting program: /usr/local/sbin/amcheck csd "amanda.conf", line 166: configuration keyword expected Program received signal SIGSEGV, Segmentation fault. 0x6129 in get_conftoken (exp=ANY) at /usr/include/ctype.h:146 146 return((((_c & _CRMASK) ? ___runetype(_c) : (gdb) bt #0 0x6129 in get_conftoken (exp=ANY) at /usr/include/ctype.h:146 #1 0x4c89 in read_confline () at conffile.c:276 #2 0x4849 in read_conffile (filename=0x16d5 "amanda.conf") at conffile.c:181 #3 0x1a18 in main (argc=2, argv=0xefbfd928) at amcheck.c:136 (gdb) list 141 static __inline int 142 __istype(_BSD_RUNE_T_ _c, unsigned long _f) 143 { 144 if (_c < 0) 145 _c = (unsigned char) _c; 146 return((((_c & _CRMASK) ? ___runetype(_c) : 147 _CurrentRuneLocale->runetype[_c]) & _f) ? 1 : 0); 148 } 149 150 static __inline int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.91.960321132219.1969A-100000>