Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:script': 0.09; 'cheers': 0.12; 'received:141': 0.14; 'apache': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'script?': 0.16; 'subject:Apache': 0.16; 'subject:issue': 0.16; 'subject:run': 0.16; 'subject:python': 0.16; 'appears': 0.22; 'header:User- Agent:1': 0.23; 'error': 0.23; 'denied': 0.24; 'paul': 0.24; 'script': 0.25; 'permission': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:that': 0.31; 'file': 0.32; 'run': 0.32; 'open': 0.33; 'could': 0.34; 'should': 0.36; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'effective': 0.61; 'from:charset:utf-8': 0.61; '8bit%:92': 0.71; '8bit%:100': 0.72; 'failure:': 0.84; 'premature': 0.84; 'skip:/ 30': 0.84; 'subject:let': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: =?UTF-8?B?UGF1bCBLw7ZsbGU=?= Subject: Re: Apache and suexec issue that wont let me run my python script Date: Sun, 02 Jun 2013 13:51:56 +0200 References: <20a49aac-3867-481f-96d4-c95a050781ed@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: wlcl-232-16.8021x-st.tu-cottbus.de User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <20a49aac-3867-481f-96d4-c95a050781ed@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370173939 news.xs4all.nl 15932 [2001:888:2000:d::a6]:48633 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46690 Am 01.06.2013 07:30, schrieb Νικόλαος Κούρας: [snipp] > > [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] suexec failure: could not open log file > [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] fopen: Permission denied > [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] Premature end of script headers: koukos.py > [Thu May 30 15:29:33 2013] [error] [client 46.12.46.11] File does not exist: /home/nikos/public_html/500.shtml > > when i tail -F /usr/local/apache/logs/error_log & > > What this error means? > > It appears that the effective user of the script does not have permission to open the log file > that the suexec call requires. Yes, so which logfile and what user is suexec using to run your script? You should be able to answer all this from your apache configuration. cheers Paul