[ic] Catalogs only work with --debug=1

David xxxxxxx dxxxxxxx at cyber3dnet.com
Sun Mar 13 01:13:11 EST 2005


I just noticed something else with this problem.  I'm about to lose my
interchange customer over this.  Normally, the error.log file will show
something like:

- - - [11/February/2005:20:29:41 -0600] - - Accepting connections from
localhost|127\.0\.0\.1
- - - [11/February/2005:20:29:41 -0600] - - START server (1202) (INET and
UNIX)

Mine, however, does not show the "Accepting connections" line while not in
debug mode.  It did show this line on the old server.  On the new server,
when running with debug==1, the "Accepting connections" message DOES appear
in the logfile.  

Does anybody have any ideas at all what to look for on this problem?  

Thanks,

David



-----Original Message-----
From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of David xxxxxxx
Sent: Monday, March 07, 2005 8:12 PM
To: interchange-users at icdevgroup.org
Subject: RE: [ic] Catalogs only work with --debug=1

Has anybody ever see this before?  I've spent countless hours filtering
through everything on the server that I can find that might be related.  I'm
completely at a loss this time.  Let me know if any of you have any ideas.
:o)

Thanks!

David

 

-----Original Message-----
From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of David xxxxxxx
Sent: Friday, March 04, 2005 9:47 PM
To: interchange-users at icdevgroup.org
Cc: 'David xxxxxxx'
Subject: [ic] Catalogs only work with --debug=1

Hello All!

First, I want to thank you in advance for anybody who is able to help me
with this problem.  I have used interchange for a long time on a few servers
and recently moved to a new box.  I installed interchange-4.8.9-2 and copied
the catalogs, websites, and databases to the new server.  Unfortunately, I
cannot get the interchange site (or foundation demo) to work.  I receive the
error message "We're sorry, the Interchange server is unavailable."

I have checked my file permissions and ownerships and everything looks good.
The cgi-bin directory has the correct permissions, as other scripts run
fine.  The IC script has the following permissions:  
	-rwsr-xr-x  1 interch  interch   6920 Mar  2 00:48 wildwoodwholesale

I've thoroughly searched these message boards and found many suggestions,
each of which I have tried to no avail.  Last night I noticed something else
strange.  If I stop the interchange server and start it manually with
"/usr/sbin/interchange --debug=1", it starts up in foreground mode and every
catalog works perfectly -- but only in debug mode.  Seeing this, I tried
instead setting "DEBUG 1" in the "/etc/interchange.cfg" file and it did not
work.  Here is an error.log clip from starting the server using
"/etc/init.d/interchange start":

- - - [04/March/2005:22:38:46 -0500] - - Interchange V4.8.9
- - - [04/March/2005:22:38:46 -0500] - - START server (21738) (UNIX)

And this is the excerpt from starting the server using the --debug=1
parameter:

- - - [04/March/2005:22:40:09 -0500] - - Low traffic settings.
- - - [04/March/2005:22:40:09 -0500] - - ...UI is loaded...
- - - [04/March/2005:22:40:09 -0500] - - Interchange V4.8.9
- - - [04/March/2005:22:40:09 -0500] - - Config 'wildwoodwholesale' at
server startup
- - - [04/March/2005:22:40:09 -0500] - - Config 'foundation' at server
startup
- - - [04/March/2005:22:40:09 -0500] - - START server (15447) (UNIX)
- - - [04/March/2005:22:40:09 -0500] - - START server (15447) (UNIX)
- - - [04/March/2005:22:40:09 -0500] - - Running in foreground, OS=linux,
debug=1

Does anybody have any idea why using --debug=1 makes a difference?  I can
only run it in foreground mode and that just doesn't work for a live site.
One more note -- this test holds true whether I use UNIX or INET mode.  When
trying INET mode starting the server from /etc/init.d, I receive a
connection refused error why trying to telnet to the Interchange port
"telnet localhost 7786".  If it is started with the --debug=1 option, I can
telnet to port 7786 just fine.  I've worked on this for a few days straight
and I'm open for suggestions.  I've exhausted my Linux knowledge on this
one!  FWIW, I'm using perl v5.8.5.

I appreciate any help!!!

Thanks,


David


_______________________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users


_______________________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users




More information about the interchange-users mailing list