[ic] 4.9.7 Start Scripts

Brian Rogers interchange-users@icdevgroup.org
Tue May 6 21:53:00 2003


I'm working on a fresh installation of 4.9.7 on a Redhat Linux 7.3 box.

All of my previous installations have been from rpm, so this is my first
fresh install from tar.

Everything seems to be set up properly, and I can start and run my catalog
using /usr/lib/interchange/bin/[interchange|restart]:


[root@server1 bin]# su interch -c /usr/lib/interchange/bin/interchange
Vend::Payment::AuthorizeNet payment module initialized, using LWP and
Crypt::SSLeay
Sending debug to /tmp/icdebug.
RPC traffic settings.
Calling UI......UI is loaded...
Interchange V4.9.7-200304112314
Configuring catalog grok...Using PostgreSQL, DSN=dbi:Pg:dbname=grok...Local
usertag history_scan overrides global definition
In line 278 of the configuration file 'catalog.cfg':


done.
Interchange server started in UNIX mode(s) (process id 28332)
[root@server1 bin]# ps -ef | grep inter
interch  26565 26561  0 16:14 ?        00:00:00 /usr/sbin/sshd
interch  26566 26565  0 16:14 pts/0    00:00:00 -bash
interch  28381     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28389     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28391     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28393     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28395     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28397     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28399     1  0 20:25 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
root     28403 27215  0 20:25 pts/0    00:00:00 grep inter



Even though those pids don't match up, I can browse my catalog through a
browser, and all seems swell.


However, when I try to use /usr/sbin/interchange to start it (either
manually or with /etc/init.d/interchange start) it doesn't work.  It does
give me the same startup feedback as before:



[root@server1 bin]# /usr/sbin/interchange
Vend::Payment::AuthorizeNet payment module initialized, using LWP and
Crypt::SSLeay
Sending debug to /tmp/icdebug.
RPC traffic settings.
Calling UI......UI is loaded...
Interchange V4.9.7-200304112314
Configuring catalog grok...Using PostgreSQL, DSN=dbi:Pg:dbname=grok...Local
usertag history_scan overrides global definition
In line 278 of the configuration file 'catalog.cfg':


done.
Interchange server started in UNIX mode(s) (process id 28500)
[root@server1 logs]# ps -ef | grep inter
interch  26565 26561  0 16:14 ?        00:00:00 /usr/sbin/sshd
interch  26566 26565  0 16:14 pts/0    00:00:00 -bash
interch  28500     1  1 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28508     1  0 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28510     1  0 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28512     1  0 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28514     1  0 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28516     1  0 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
interch  28518     1  0 20:32 ?        00:00:00 /usr/bin/perl
/usr/lib/interchan
root     28520 27215  0 20:33 pts/0    00:00:00 grep inter


And now the pids do match up, but I can't browse the catalog, I get the
dreaded "We're sorry, but the Interchange server is not available..." page.

There's nothing helpful in the logs.  Permissions and locations are
identical to my other systems that were upgraded to 4.9.7 from earlier rpm
installations, including the linking cgi script:

[root@server1 logs]# ls -l /var/www/cgi-bin/grok
-rwsr-xr-x    1 interch  interch      7500 Apr 18 14:07
/var/www/cgi-bin/grok


It would seem that all /usr/sbin/interchange does is run
/usr/lib/interchange/bin/interchange with some arguments (all of which I
checked permissions on) as interch, so I would think that if the latter
worked, the former would work as well, as they do on my other installations.

Am I missing something?

Anyone have any ideas?

Any advice would be greatly appreciated.

Thanks in advance.


---------------------
Brian Rogers
Software Developer
Groxis, Inc.
415. 331 0550 x109
www.groxis.com