[prev in list] [next in list] [prev in thread] [next in thread] 

List:       interchange-users
Subject:    Re: [ic] SOLVED We're sorry, the Interchange server is unavailable
From:       "Michael J. Curtis" <michael.curtis () glcweb ! co ! uk>
Date:       2008-08-16 10:15:58
Message-ID: 3C276393607085468A28782D978BA5EE71D2BA816A () w2k8svr1 ! glcdomain8 ! local
[Download RAW message or body]

I finally got round to following Richard Siddall's suggestion re setting
MV_GETPPID_BROKEN to 0 (I agree with him in that this does not seem the correct thing \
to do when running threaded Perl)

But it solved the problem! Many thanks Richard

Like Richard, the distro is an x86_64 one, in my case Ubuntu

Thank you all folks for your assistance

Regards

Mike Curtis

> > Interestingly, when I do a
> > interch@interchg:~$ interchange/bin/interchange --restart
> > The previous Interchange server was not running and probably
> > terminated with an error.
> > Low traffic settings.
> > Calling UI......UI is loaded...
> > Interchange V5.6.0
> > Running with old signals.
> > Configuring catalog standardDev...Using MySQL,
> > DSN=dbi:mysql:standardDev...done. Configuring catalog
> > standardProd...Using MySQL, DSN=dbi:mysql:standardProd...done.
> > interch@interchg:~$
> 
> So it's not telling you that it is listening in Unix mode, and the
> socket file isn't created. This is the problem; the immediate one
> at least.
> 
> Did you install IC from tarball or you just downloaded it to
> perform 'make test'?
> 

Apologies for the verbosity of what follows but I was not confident of the 'make \
test' results I had initially and so decided to remove all traces of the install and \
start from scratch, what follows are extracts from the pertinent parts of the \
re-install.  Some files do have 'root' ownership in or under \
/home/interch/interchange but I do not want to change them at this stage until I have \
a better understanding of why the interchange program is not starting FYI
interch@interchg:~$ ls -al interchange/bin
-r-xr-xr-x  1 root root 30208 2008-08-16 08:38 interchange

The starting point was a download of the interchange-latest (last Monday I think!) \
tarball and then

./configure
Perl/Makefile.PL
Make
Make test

interch@interchg:~/download/interchange-5.6.0$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-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.


Sudo make install...............(not certain I needed a sudo here!) No errors


Sudo interchange/bin/makecat........
.....................
Do you use CGIWRAP or SUEXEC? n
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
Checking directories........................................
/home/interch/catalogs/standardDev: directory exists!


run "mysqladmin -u root -p create standardDev"? y
Enter password:
done.
Moving link program to /usr/lib/cgi-bin/standardDev.........done.
Copying share/ files to /var/www............................done.
Moving HTML files to /var/www/standardDev...................done.
Moving image files to /var/www/standardDev/images...........done.


Which all resulted in:
-rwsr-xr-x  1 interch interch 11240 2008-08-16 08:59 standardDev
in usr/lib/cgi-bin


interch@interchg:~$ ps -ax | grep interc*
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 5668 tty1     S      0:03 interchange: /home/interch/interchange
 5759 ?        S      0:02 interchange: /home/interch/interchange
 5763 ?        S      0:03 interchange: /home/interch/interchange
 7340 pts/1    S      0:00 interchange: /home/interch/interchange
 7376 pts/1    S+     0:00 grep interchange


interch@interchg:~$ sudo pkill interchange
interch@interchg:~$ interchange/bin/interchange --start
Low traffic settings.
Calling UI......UI is loaded...
Interchange V5.6.0
Running with old signals.
Configuring catalog standardDev...Using MySQL, DSN=dbi:mysql:standardDev...done.


interch@interchg:~$ ps -ax | grep interc*
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 4617 pts/0    S      0:00 interchange: /home/interch/interchange
 4620 pts/0    S+     0:00 grep interchange


interch@interchg:~$ sudo netstat -anp | grep interchange
interch@interchg:~$

So still no UNIX socket

Regards

Mike Curtis

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic