CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Fetch Bounces problem - The file '/tmp/............/filename' could not be found
Pages: [1]

Author Topic: Fetch Bounces problem - The file '/tmp/............/filename' could not be found  (Read 685 times)

Tass

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Holos
  • CiviCRM version: 4.5.3.
  • CMS version: Joomla 2.5.27
  • MySQL version: 5.5.32
  • PHP version: 5.3.28-pl3-gentoo
Fetch Bounces problem - The file '/tmp/............/filename' could not be found
April 08, 2014, 04:59:20 am
Hello I have strange problem. I have set up e-mail account for bounce processing, it was working and suddenly it stopped working.
I sent a mass mailling, about 2000 e-mails. My bounce messages were being successfully delivered.
Bounce processing sucessfully checked mail and fetched about 280 bounces, wrote them to mailing statistics.
Then it stopped working showing these errors:

Code: [Select]
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp/2155-1/) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 145

Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/tmp/2155-1/) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 147

Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/2155-1/filename) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 154

Warning: fopen(/tmp/2155-1/filename) [function.fopen]: failed to open stream: Operation not permitted in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 154

Warning: fwrite() expects parameter 1 to be resource, boolean given in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 240

Warning: fclose() expects parameter 1 to be resource, boolean given in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 253

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/tmp/2155-1/filename) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parts/fileparts/disk_file.php on line 80

And this in log:

Code: [Select]
2014-04-07 12:11:07 Fetch Bounces
0
Summary
Finished execution of Fetch Bounces with result: Failure, Error message: The file '/tmp/32519-1/filename' could not be found.
Details


Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Fetch Bounces with result: Failure, Error message: The file '/tmp/32519-1/filename' could not be found.

2014-04-07 12:10:49 Fetch Bounces
0
Summary
Starting execution of Fetch Bounces
Details


Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Starting execution of Fetch Bounces

The number before /filename is always different.

I have no idea what does it mean.

Any ideas please?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fetch Bounces problem - The file '/tmp/............/filename' could not be found
April 08, 2014, 11:39:22 am

might want to get your host to either disable open_basedir or add /tmp to the open_basedir list of paths

might want to do a web search on open_basedir, civicrm and mail processing. i think a few folks have hit this error and worked around it

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Tass

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Holos
  • CiviCRM version: 4.5.3.
  • CMS version: Joomla 2.5.27
  • MySQL version: 5.5.32
  • PHP version: 5.3.28-pl3-gentoo
Re: Fetch Bounces problem - The file '/tmp/............/filename' could not be found
April 25, 2014, 03:11:27 am
I have tried to add /tmp to the open_basedir but not successed.

Could this problem be caused by public IP address? I bought public IP on my virtual server and maybe the bounce fetching stopped working around that time.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Fetch Bounces problem - The file '/tmp/............/filename' could not be found

This forum was archived on 2017-11-26.