[ic] problem starting Interchange

Joachim Leidinger interchange-users@icdevgroup.org
Fri Jul 26 11:21:13 2002


Soheil Shaghaghi wrote:
> Hello everyone,
> I am running FreeBSD4.2 and IC 4.8.5
> After upgrading to Perl 5.6.1 from 5.6.0, IC stopped working.
> Every time I start IC, it gives me an error an error message, and stooped:
> The Interchange server was not running
> (/usr/local/interchange/etc/interchange.pid).
> Sending debug to /tmp/icdebug.
> Low traffic settings.
> Calling UI....
> ...UI is loaded...

I'm missing a line like "Running FreeBSD; disabling $0 set" here.

> Interchange V4.8.5
> Configuring catalog s_shop...Using MySQL, DSN=dbi:mysql:s_shop...done.
> Configuring catalog shop...Using MySQL, DSN=dbi:mysql:pm_shop.
> done.
> Segmentation fault - core dumped


 From my error.log, I've

- - - [26/July/2002:15:36:17 +0200] - - Sending debug to /tmp/icdebug.
- - - [26/July/2002:15:36:17 +0200] - - Low traffic settings.
- - - [26/July/2002:15:36:18 +0200] - - ...UI is loaded...
- - - [26/July/2002:15:36:18 +0200] - - Running FreeBSD; disabling $0 set
- - - [26/July/2002:15:36:18 +0200] - - Interchange V4.8.5
- - - [26/July/2002:15:36:18 +0200] - - Config 'foundation485' at server 
startup
- - - [26/July/2002:15:36:18 +0200] - - Config 'intos485' at server startup
- - - [26/Juli/2002:15:36:18 +0200] - - START server (25404) (UNIX)
- - - [26/Juli/2002:15:36:19 +0200] - - START server (25406) (UNIX

> After playing with it I found a solution in the archives that said to
> disable the Admin UI, so I set the variable:
> Variable   UI   0
> in the interchange.cfg
....

I've FreeBSD 4.4 and 4.6 and my IC works fine. Did you really have


# FreeBSD's stock Perl build dumps core if you set $0, so let's not touch it
ifdef DOLLAR_ZERO_BUG or $^O =~ /freebsd/
Message Running FreeBSD; disabling $0 set
Variable MV_DOLLAR_ZERO 0
endif

in your interchange.cfg? If yes, try with

# FreeBSD's stock Perl build dumps core if you set $0, so let's not touch it
Message Running FreeBSD; disabling $0 set
Variable MV_DOLLAR_ZERO 0

and set UI back to 1.

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de