View Issue Details

IDProjectCategoryView StatusLast Update
0001649XdebugStep Debuggingpublic2019-04-26 10:24
Reporterdinu Assigned Toderick  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Platformphp7 + php-fpmOSCentOS 
Product Version2.7.0 
Summary0001649: Cannot write to log file
Description

WARNING: [pool www] child 9104 said into stderr: "NOTICE: PHP message: Xdebug could not open the remote debug file '/var/log/xdebug_log'."

I get this if I turn on logging. I checked and said file is absolutely writeable by the FPM worker.

TagsNo tags attached.
Operating System
PHP Version7.2.10-7.2.14

Activities

derick

2019-03-10 16:54

administrator   ~0004954

I guess it's possible that there is some additional security policy in the way. I would try either using /tmp/xdebug.org to see if that works, and otherwise I would like to see an "strace log" from the specific worker. The easiest way to create such a thing is possibly to reconfigure FPM to only have one worker process, and then attach strace to the non-main FPM process with:

sudo strace -o /tmp/strace.log -e open -p <pid>

You can find the pid by using "ps aux | grep fpm". If there are two processes listed, it is likely the one with the lowest PID.

After strace has started, make a request to trigger the problem. Then stop strace (with Ctrl-C) and attach the /tmp/strace.log file, which should have an entry about "xdebug_log" in it.

derick

2019-04-26 10:24

administrator   ~0005008

I could not reproduce this, and I did not get more information when requested. Hence I am closing this ticket. If you can provide more information, feel free to reopen it.

Issue History

Date Modified Username Field Change
2019-03-08 02:05 dinu New Issue
2019-03-10 16:54 derick Assigned To => derick
2019-03-10 16:54 derick Status new => feedback
2019-03-10 16:54 derick Note Added: 0004954
2019-04-26 10:24 derick Status feedback => resolved
2019-04-26 10:24 derick Resolution open => unable to reproduce
2019-04-26 10:24 derick Note Added: 0005008
2020-03-12 16:33 derick Category Remote Debugging => Step Debugging