So I noticed I was getting a white screen when sending a client an email from the link on their profile page. https://billing.xxx.com/admin/clients/email/11/ I enabled error logging and it complained about not being able to write to general-notice-* so I fixed permissions on there. Inside this file is the following -
[2018-12-07 14:50:01] general.NOTICE: E_NOTICE: tempnam(): file created in the system's temporary directory {"code":8,"message":"tempnam(): file created in the system's temporary directory","file":"/var/www/xxx/vendors/h2o/h2o/loaders.php","line":179}
Something went wrong.
tempnam(): file created in the system's temporary directory
I went to the file created in /tmp and it is blank. The email does not send to the client. Oddly enough, the mass mail is working. I also checked the following logs and didn't find anything interesting -
/var/log/messages
Dec 6 12:22:45 billing kernel: [ 131.527370] random: 7 urandom warning(s) missed due to ratelimiting
Dec 7 06:25:02 billing liblogging-stdlog: [origin software="rsyslogd" swVersion="8.24.0" x-pid="326" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Question
coreyman
So I noticed I was getting a white screen when sending a client an email from the link on their profile page. https://billing.xxx.com/admin/clients/email/11/ I enabled error logging and it complained about not being able to write to general-notice-* so I fixed permissions on there. Inside this file is the following -
[2018-12-07 14:50:01] general.NOTICE: E_NOTICE: tempnam(): file created in the system's temporary directory {"code":8,"message":"tempnam(): file created in the system's temporary directory","file":"/var/www/xxx/vendors/h2o/h2o/loaders.php","line":179}
Something went wrong.
tempnam(): file created in the system's temporary directory
I went to the file created in /tmp and it is blank. The email does not send to the client. Oddly enough, the mass mail is working. I also checked the following logs and didn't find anything interesting -
/var/log/messages
Dec 6 12:22:45 billing kernel: [ 131.527370] random: 7 urandom warning(s) missed due to ratelimiting Dec 7 06:25:02 billing liblogging-stdlog: [origin software="rsyslogd" swVersion="8.24.0" x-pid="326" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
/var/log/apache2/error.log
[Fri Dec 07 06:25:03.296078 2018] [mpm_event:notice] [pid 402:tid 139740527572160] AH00489: Apache/2.4.25 (Debian) OpenSSL/1.0.2l configured -- resuming normal operations [Fri Dec 07 06:25:03.296123 2018] [core:notice] [pid 402:tid 139740527572160] AH00094: Command line: '/usr/sbin/apache2'
/var/log/apache2/access.log
xx.xxx.x.xxx - - [07/Dec/2018:09:02:47 -0600] "POST /admin/clients/email/11/ HTTP/1.1" 200 1018 "https://billing.xxxx.com/admin/clients/email/11/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36"
/var/log/php7.1-fpm.log
[06-Dec-2018 12:19:11] NOTICE: Terminating ... [06-Dec-2018 12:19:11] NOTICE: exiting, bye-bye! [06-Dec-2018 12:20:36] NOTICE: fpm is running, pid 341 [06-Dec-2018 12:20:36] NOTICE: ready to handle connections [06-Dec-2018 12:20:36] NOTICE: systemd monitor interval set to 10000ms
All temporary files created today are 0 bytes.
-rw------- 1 www-data www-data 0 Dec 7 08:46 2QJW6O -rw------- 1 www-data www-data 0 Dec 7 08:49 9smxqF drwxrwxrwt 2 root root 4096 Dec 6 12:20 .font-unix drwxrwxrwt 2 root root 4096 Dec 6 12:20 .ICE-unix -rw------- 1 www-data www-data 0 Dec 7 08:47 Px1mrH drwx------ 3 root root 4096 Dec 6 12:20 systemd-private-c67d225481514f8c98b3e6de18b4ca44-apache2.service-4uzAF7 drwx------ 3 root root 4096 Dec 6 12:20 systemd-private-c67d225481514f8c98b3e6de18b4ca44-systemd-timesyncd.service-zPBdFo drwxrwxrwt 2 root root 4096 Dec 6 12:20 .Test-unix -rw------- 1 www-data www-data 0 Dec 7 08:33 vgH0r1 drwxrwxrwt 2 root root 4096 Dec 6 12:20 .X11-unix drwxrwxrwt 2 root root 4096 Dec 6 12:20 .XIM-unix -rw------- 1 www-data www-data 0 Dec 7 08:50 ZhERpV
Anyone have any ideas?
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.