[ic] . Re: can't start up server

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Tue Nov 27 13:06:01 2001


>Quoting Chad Leigh:
>> OK, I went and started from scratch, reinstalling interchange and
>> redoing the catalog.  I get the same problem:
>>
>> host# su -l interch -c "/usr/local/interchange/bin/interchange -r"
>> The Interchange server was not running
>> (/usr/local/interchange/etc/interchange.pid).
>> Low traffic settings.
>> Calling UI......UI is loaded...
>> Interchange V4.8.2
>> Configuring catalog foundation...foundation config error: Please specify
>> the MailOrderTo directive in the configuration file ''
>>
>> foundation: error in configuration. Skipping.
>> foundation: config error. Skipping.
>> Segmentation fault
>> host#
Hi Chad, Search the archives for freebsd and segmantation fault. There is a small 
problem with IC, freebsd and perl. You just have to comment out some lines in 
bin/interchange. Thanks to Mike Heins for the fix.  Look for this code ----
	# Here we prepare enter the daemon mode.

		# Set the $0 to something not having 'perl' (won't
		# work on Solaris and IRIX among possibly others)
		if(defined $Global::Variable->{MV_DOLLAR_ZERO}) {
		#	$0 = $Global::Variable->{MV_DOLLAR_ZERO};
		#	$0 = "interchange --> $Global::VendRoot"
		#			if length($0) < 2;
		}
		else {
		#	$0 = 'interchange';
		}

		# We won't have much output on any of this, but if we get some
		# we want it immediately

Of course you have to have your perl modules installed correctly first. HTH - Kevin 
Scott