From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62455 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: calling ConTeXt as a background process Date: Fri, 8 Oct 2010 15:47:50 +0200 Message-ID: <2EDDB365-D3B3-448A-B854-55F768FA791D@fiee.net> References: <4CAD8800.2010909@elvenkind.com> <4CAD8D8A.6040802@elvenkind.com> <5A1428AE-DA31-4120-9B35-102E7B42D8AC@fiee.net> <90F33E64-7BB9-4DEB-9E89-A4FC99169401@awi.de> <48470924-D44D-4010-B895-12EA664C4D90@fiee.net> <93934DF3-21F9-4F68-99B1-75A09A7835C8@fiee.net> <67380489-10BF-4A55-8519-5BC981426F3C@awi.de> <2F3F5D5C-FA78-4EA2-885E-A6DB86880B34@fiee.net> <95274FC9-42F1-4842-9943-103608507CB4@awi.de> <21C6E902-A3A4-4C4A-A9A0-2874DA107559@fiee.net> <6221687B-B252-4B09-BE36-4868261B78E1@awi.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286545686 31734 80.91.229.12 (8 Oct 2010 13:48:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2010 13:48:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 08 15:48:04 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P4DIp-00081D-6X for gctc-ntg-context-518@m.gmane.org; Fri, 08 Oct 2010 15:48:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C07ACA749; Fri, 8 Oct 2010 15:48:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kkzhEMEaMKOW; Fri, 8 Oct 2010 15:47:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CF9ECA73B; Fri, 8 Oct 2010 15:47:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DAAF3CA73B for ; Fri, 8 Oct 2010 15:47:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Kqa9VI353OzZ for ; Fri, 8 Oct 2010 15:47:55 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 68E72CA73A for ; Fri, 8 Oct 2010 15:47:55 +0200 (CEST) Original-Received: from turan.fiee.net (turan.fiee.net [87.230.77.106]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o98DlsWk021333 for ; Fri, 8 Oct 2010 15:47:54 +0200 X-No-Auth: unauthenticated sender Original-Received: from turan.fiee.net (lvps87-230-77-106.dedicated.hosteurope.de [127.0.0.1]) by turan.fiee.net (Postfix) with ESMTP id B7AD235D44020 for ; Fri, 8 Oct 2010 15:47:53 +0200 (CEST) Original-Received: from [10.128.9.9] (199-149.76-83.cust.bluewin.ch [83.76.149.199]) by turan.fiee.net (Postfix) with ESMTP for ; Fri, 8 Oct 2010 15:47:53 +0200 (CEST) In-Reply-To: <6221687B-B252-4B09-BE36-4868261B78E1@awi.de> X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=87.230.77.106; country=DE; region=07; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DgdLS7t - fc56929f87fd - 20101008 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62455 Archived-At: Am 2010-10-08 um 13:46 schrieb Florian Wobbe: > Right, so you are not even getting to the point where luatex is > called. This is still texlua executing instructions from mtxrun. >> strace -p 14256 >> attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted >> (as the same user as well as as root) > > Something to do with SElinux? As far as I can tell, SElinux isn't active. (libselinux is installed, but no other selinux package) > Here, uname -m should be called. But I guess you still have all > unames replaced by their return value I guess? Yes, I didn't reinstate the original mtxrun script. >> brk(0x1c3e1000) = 0x1c3e1000 >> uname({sys="Linux", node="aine.fiee.net", ...}) = 0 >> --- SIGTERM (Terminated) @ 0 (0) --- >> +++ killed by SIGTERM +++ > > Here it should continue with reading texmfcnf.lua. > > The last > > uname({sys="Linux", node="aine.fiee.net", ... > > you get is from the os.uname call I would guess. Probably. > Try putting the lines > > for k, v in next, os.uname() do > print(k, v) > end > > in a file and run it with texlua from the script to be sure. That works: texlua call_uname.lua version #1 SMP Tue Jul 6 14:34:09 MSD 2010 release 2.6.18-028stab070.2 machine x86_64 nodename aine.fiee.net sysname Linux > Then you might also try to invoke luatex directly: > > luatex --interaction=batchmode --fmt="/formats/cont-en" -- > lua="/formats/cont-en.lui" --backend=pdf hello Now I get the defunct uname again: 16002 15978 TS 21 15:41 ? 00:00:01 \_ /var/www/xxx/bin/ python /var/www/.../manage.py run_gunicorn -c /var/www/.../gunicorn- settings.py 16210 16002 TS 14 15:42 ? 00:00:08 \_ luatex -- interaction=batchmode --fmt=/var/opt/context/tex/texmf-cache/.../ formats/cont-en --lua=/var/opt/context/tex/texmf-cache/... 16212 16210 TS 17 15:42 ? 00:00:00 \_ [uname] (Meanwhile I switched from fcgi to gunicorn app server, but that didn't change anything WRT ConTeXt.) I get no log output. BTW: Thank you very much for your patience! I owe you! (And you, Taco, of course, and the others!) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________