[ic] Weird problem

Stefan Hornburg racke at linuxia.de
Thu Apr 7 14:49:51 EDT 2005


On Thu, 7 Apr 2005 12:40:35 -0500
Mike Heins <mike at perusion.com> wrote:

> Quoting Stefan Hornburg (Racke) (racke at linuxia.de):
> > Hello,
> > 
> > I have a really weird problem with Interchange which refuses to run in
> > normal mode but works in debug mode. 
> > 
> > This is a Debian/Sarge system on an Athlon64 box. Perl and modules
> > build unthreaded (as Debian packages), hopefully I didn't miss one
> > Interchange uses.
> > 
> > Starting with the init script / interchange wrapper looks good, but
> > the line 
> > 
> > Interchange server started in UNIX mode(s) (process id 2429)
> > 
> > is missing and although the process is there, it cannot be accessed.
> > 
> > Running in debug mode works fine.
> > 
> > Stracing reveals the following syscalls again and again:
> > 
> > rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> > rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> > nanosleep({1, 0}, {1, 0})               = 0
> > semget(182897355688, 182896158548, IPC_CREAT|0x95883000|0654) = -1 EINVAL (Invalid argument)
> > 
> 
> What is your PERL_SIGNALS mode, normal or "unsafe"?

I tried both variants, but neither works.

> 
> > Does anyone have a idea which Perl module / part of Interchange calls semget ?
> > 
> > On another machine with a similar setup (Quad Opteron) there are no such 
> > problems.
> > 
> 
> Looks like a signal interrupt problem to me. I know of no modules that
> use semget, but I would suspect DBI.
> 

Hm. I built the Debian packages on the Quad Opteron system, maybe this is the
problem.

Bye
	Racke



-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list