View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001649 | Xdebug | Step Debugging | public | 2019-03-08 02:05 | 2019-04-26 10:24 |
Reporter | dinu | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Platform | php7 + php-fpm | OS | CentOS | ||
Product Version | 2.7.0 | ||||
Summary | 0001649: 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. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.2.10-7.2.14 | ||||
|
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. |
|
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. |
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 |