[ic] Interchange server is unavailable

Yury L.Olkov dicom at mail.ru
Mon Sep 29 10:42:44 UTC 2008


I'm trying to start Interchange but have this error:

We're sorry, the Interchange server is unavailable...
We are out of service or may be experiencing high system demand. Please 
try again soon.


with following (default) settings:

1.
[root at localhost interchange-5.6.0]# perl Makefile.PL
Interchange cannot be run as root. Which user should run Interchange? 
[interch]

 Interchange V5.6.0

 Copyright (C) 2002-2008 Interchange Development Group.
 Copyright (C) 1996-2002 Red Hat, Inc.
 Interchange is free under the terms of the GNU General Public License.

 http://www.icdevgroup.org/

Where is your Interchange to be installed? [/usr/local/interchange]

Writing Makefile for Interchange
[root at localhost interchange-5.6.0]#


2.
[root at localhost interchange-5.6.0]# make && make test && make install

<skip>
LD_BIND_NOW=1 PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-Iblib/lib" 
"-Iblib/arch" test.pl
server/unixmode.......ok 1
server/startup........ok 2
link/unixmode.........ok 3
server/inetmode.......ok 4
link/inetmode.........ok 5
server/control........ok 6
6 tests run, all tests successful.
<skip>
Writing /usr/local/interchange/auto/Interchange/.packlist
/usr/bin/perl5.8.8 Makefile.PL force nocpaninstall= 
final=/usr/local/interchange
Installing dist/ files

Your Interchange main software installation appears to have been successful.

You are now ready to cd to /usr/local/interchange and run 'bin/makecat'
to set up your first catalog.

[root at localhost interchange-5.6.0]#

3.
[root at localhost interchange-5.6.0]# cd /usr/local/interchange; bin/makecat

<skip (enter default param)>

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for environ declaration in unistd.h... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
updating cache ./config.cache
creating ./config.status
creating syscfg
creating config.h

<skip (SQL databases created)>

4.
[root at localhost interchange]# su -c 
"/usr/local/interchange/bin/interchange -r" interch
Killing Interchange server 7281 with TERM.
Low traffic settings.
Calling UI......UI is loaded...
Interchange V5.6.0
Running with old signals.
Configuring catalog standart...Using MySQL, 
DSN=dbi:mysql:test_standart...done.
Interchange server started in UNIX mode(s) (process id 7287)
[root at localhost interchange-5.6.0]#


5.
[root at localhost interchange]# netstat -anp | grep interch
unix  2      [ ACC ]     STREAM     LISTENING     27462  
7287/interchange    /usr/local/interchange/etc/socket.ipc
unix  2      [ ACC ]     STREAM     LISTENING     27464  
7287/interchange    /usr/local/interchange/etc/socket
[root at localhost interchange]#

6.
[root at localhost interchange-5.6.0]# netstat -anp | grep http
tcp        0      0 0.0.0.0:80                  
0.0.0.0:*                   LISTEN      5344/httpd2
[root at localhost interchange-5.6.0]#

7.
[root at localhost interchange-5.6.0]# netstat -anp | grep sql
tcp        0      0 0.0.0.0:3306                
0.0.0.0:*                   LISTEN      7672/mysqld
unix  2      [ ACC ]     STREAM     LISTENING     28408  
7672/mysqld         /mysql.sock
[root at localhost interchange-5.6.0]#


8.
[root at localhost interchange]# ps afxu | grep interch
root      7291  0.0  0.2   2044   620 pts/2    S+   15:49   
0:00                              \_ grep interch
interch   7287  0.0 13.8  41560 34376 ?        Ss   15:47   0:00 
interchange: /usr/local/interchange
[root at localhost interchange]#

9.
[root at localhost interchange]# ps afxu | grep http
root      7318  0.0  0.2   2044   620 pts/2    S+   15:56   
0:00                              \_ grep http
root      5344  0.0  0.9   5696  2328 ?        Ss   15:26   0:00 
/usr/sbin/httpd2
apache2   6065  0.0  0.9   6008  2416 ?        S    15:28   0:00  \_ 
/usr/sbin/httpd2
apache2   6067  0.0  1.0   6144  2612 ?        S    15:28   0:00  \_ 
/usr/sbin/httpd2
apache2   6069  0.0  1.0   6144  2560 ?        S    15:28   0:00  \_ 
/usr/sbin/httpd2
apache2   6071  0.0  1.0   6140  2648 ?        S    15:28   0:00  \_ 
/usr/sbin/httpd2
apache2   6073  0.0  0.9   6008  2440 ?        S    15:28   0:00  \_ 
/usr/sbin/httpd2
apache2   6388  0.0  0.8   5872  1996 ?        S    15:28   0:00  \_ 
/usr/sbin/httpd2
apache2   6389  0.0  0.8   5872  1996 ?        S    15:29   0:00  \_ 
/usr/sbin/httpd2
[root at localhost interchange]#

10.
root at localhost interchange-5.6.0]# ps afxu | grep mysqld
root      7469  0.0  0.2   2044   620 pts/2    S+   17:36   
0:00                              \_ grep mysqld
root      4348  0.0  0.4   2124  1204 ?        S    14:49   0:00 /bin/sh 
/usr/sbin/mysqld_wrapper -C utf8
mysql     4357  0.0  7.9 119908 19704 ?        SNl  14:49   0:01  \_ 
/usr/sbin/mysqld -C utf8
[root at localhost interchange-5.6.0]#

11.
[root at localhost interchange-5.6.0]# ll /usr/local/interchange/etc
total 14
drwxr-xr-x  3 interch interch 1024 Sep 29 17:43 ./
-rw-------  1 interch interch    5 Sep 29 17:43 interchange.pid
-rw-------  1 interch interch   33 Sep 29 17:43 mode.unix
srw-------  1 interch interch    0 Sep 29 17:43 socket
srwx------  1 interch interch    0 Sep 29 17:43 socket.ipc
-rw-------  1 interch interch   57 Sep 29 17:43 status.standart
-rw-------  1 interch interch 1579 Sep 29 15:46 varnames
drwxr-xr-x 12 root    root    1024 Sep 29 15:46 ../
-rw-r--r--  1 interch interch 2463 Sep 29 15:44 makecat.cfg
-rw-r--r--  1 root    root    2463 Sep 29 15:44 makecat.cfg.new
drwxr-xr-x  5 root    root    1024 Sep 29 15:42 jobs/
[root at localhost interchange-5.6.0]#

12.
[root at localhost interchange-5.6.0]# ll /var/www/vhosts/test/cgi-bin
total 16
drwxr-sr-x 2 root    webmaster 4096 Sep 29 15:24 ./
drwxr-xr-x 6 root    webmaster 4096 Sep 29 15:23 ../
-rwsr-xr-x 1 interch interch   7420 Sep 29 14:44 standart
[root at localhost interchange-5.6.0]#


13. printenv and test-cgi are working properly

14.
[root at localhost interchange-5.6.0]# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8 patch 34382) 
configuration:
  Platform:
    osname=linux, osvers=2.6.18-ovz-smp-alt23.m40.3, 
archname=i386-linux-thread-multi
    uname='linux apiary.armor.altlinux.org 2.6.18-ovz-smp-alt23.m40.3 #1 
smp mon jul 14 22:35:13 msd 2008 i686 gnulinux '
    config_args='-de -rs -Darchname=i386-linux -Dd_dosuid -Ud_csh 
-Dlibswanted=dl m c crypt db ndbm gdbm -Duseshrplib 
-Dlibperl=libperl.so.5.8 -Dcc=gcc -Doptimize=-pipe -Wall -O2 -march=i586 
-mtune=i686 -D_GNU_SOURCE -Dcccdlflags=-fPIC -DPIC -Dccdlflags=-rdynamic 
-Wl,-O1 -Dlddlflags=-shared -Wl,-O1 -Dldflags=-Wl,-O1 -Dprefix=/usr 
-Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/i386-linux 
-Dvendorprefix=/usr -Dvendorlib=/usr/lib/perl5/vendor_perl 
-Dvendorarch=/usr/lib/perl5/vendor_perl/i386-linux 
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 
-Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3 
-Dsiteprefix=/usr/local -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8 
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/i386-linux 
-Dsiteman1dir=/usr/local/man/man1 -Dsite_man3dir=/usr/local/man/man3 
-Dman1ext=1 -Dman3ext=3pm -Dcf_by=ALT Linux Team -Dcf_email=Alexey 
Tourbin <at at altlinux.ru> -Dmyhostname=localhost 
-Dperladmin=root at localhost -Dmyuname=Linux 2.6.18-ovz-smp-alt23.M40.3 
i686 -Dnewmyuname=Linux 2.6.18-ovz-smp-alt23.M40.3 i686 
-Dinc_version_list=5.8.7/i386-linux 5.8.6/i386-linux 5.8.5/i386-linux 
5.8.4/i386-linux 5.8.3/i386-linux 5.8.2/i386-linux 5.8.1/i386-linux 
5.8.0/i386-linux 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 
5.6.0 -Dpager=/usr/bin/less -isR -Di_shadow -Di_syslog -Dusethreads 
-Duseithreads -Duselargefiles -Di_db -Di_gdbm -Di_ndbm -Di_sdbm -Ui_odbm'
bm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-pipe -Wall -O2 -march=i586 -mtune=i686 -D_GNU_SOURCE',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
-fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.1.2 20070626 (ALT Linux, build 
4.1.2-alt3)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags ='-Wl,-O1 -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-ldl -lm -lpthread -lc -lcrypt -ldb -lgdbm
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=/lib/libc-2.5.1.so, so=so, useshrplib=true, libperl=libperl.so.5.8
    gnulibc_version='2.5.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic 
-Wl,-O1'
    cccdlflags='-fPIC -DPIC', lddlflags='-shared -Wl,-O1 -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        THREADS_HAVE_PIDS USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
        MAINT34382
        ALT Linux patches
  Built under linux
  Compiled at Sep 23 2008 03:26:39
  @INC:
    /etc/perl5
    /usr/lib/perl5/i386-linux
    /usr/lib/perl5
    /usr/local/lib/perl5/site_perl/5.8.8/i386-linux
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/i386-linux
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/vendor_perl
    .
[root at localhost log]#


15.
[root at localhost interchange-5.6.0]# gcc -v
Using built-in specs.
Target: i586-alt-linux
Configured with: ../configure --host=i586-alt-linux 
--build=i586-alt-linux --target=i586-alt-linux --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var/lib 
--sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --disable-dependency-tracking 
--without-included-gettext --program-suffix=-4.1 --with-slibdir=/lib 
--enable-shared --enable-__cxa_atexit --enable-threads=posix 
--enable-checking=release --with-system-zlib --without-included-gettext 
--enable-multilib 
--enable-languages=c,c++,fortran,objc,obj-c++,treelang,java,ada 
--enable-java-awt=gtk --disable-plugin 
--with-native-libdir=/usr/lib/gcj-4.1 --enable-libgcj-multifile 
--with-cpu=i586 --with-arch=i586 --with-tune=pentium4
Thread model: posix
gcc version 4.1.2 20070626 (ALT Linux, build 4.1.2-alt3)
[root at localhost interchange-5.6.0]#

16.
[root at localhost interchange-5.6.0]# httpd2 -V
Server version: Apache/2.2.9 (Unix)
Server built:   Aug 22 2008 06:36:46
Server's Module Magic Number: 20051115:15
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd2"
 -D SUEXEC_BIN="/usr/sbin/suexec2"
 -D DEFAULT_PIDLOG="/var/run/httpd2/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/httpd2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd2.conf"
[root at localhost interchange-5.6.0]#

17.
[root at localhost interchange-5.6.0]# cat 
/usr/local/interchange/interchange.cfg | grep MV_GETPPID_BROKEN
Variable MV_GETPPID_BROKEN 1
[root at localhost interchange-5.6.0]#

What am I doing wrong? thanks all!






More information about the interchange-users mailing list