[nos-bbs] NOSAprs

Bill Vodall WA7NWP wa7nwp at jnos.org
Thu Apr 28 13:13:01 EDT 2005


> 
> BANG.   "Segmentation Fault" the instant I hit return on the subject.
> 
> I'm pretty sure this is a configuration issue and I've found and
> fixed it before - but I can't remember, or find it.

GDB is our friend...

- smtpserv.c - line 1143

/* increment sequence number, and write to sequence file */
sfile = fopen(sfilename,WRITE_TEXT);

fprintf(sfile,"%ld",++sequence);

fclose(sfile);

It appears I didn't have owner write permission on the sequence file.  When it went to

update it -- seqfault.   Something like that.   Setting ower of the files correctly made it work.



Bill







More information about the nos-bbs mailing list