Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th November 2011, 19:37
ybanafa ybanafa is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default ERROR: Could not move/copy file. File not attached

Hello

I installed as :
http://www.howtoforge.com/perfect-se...ot-ispconfig-3

I got this error :
ERROR:
Could not move/copy file. File not attached

When I try to attach file/zip file from squirrelmail

How can I fix it ?

Thanks++;
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2011, 12:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Any errors in Apache's error logs or your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th November 2011, 18:26
ybanafa ybanafa is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Falko

apache2/error.log :-

[Sat Nov 19 20:11:38 2011] [error] [client 89.189.70.188] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/tqJEl5ajg5bPvRYJ596LJr0YNmZFktz6) is not within the allowed path(s): (/usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname) in /usr/share/squirrelmail/src/compose.php on line 1464, referer: https://alasersystems.com:8080/webma...startMessage=1

---

==> mail.log <==
Nov 19 20:11:05 ns2 dovecot: IMAP(ybanafa@alasersystems.com): Disconnected: Logged out bytes=79/719
Nov 19 20:11:06 ns2 dovecot: imap-login: Login: user=<ybanafa@alasersystems.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Nov 19 20:11:06 ns2 dovecot: IMAP(ybanafa@alasersystems.com): Disconnected: Logged out bytes=96/810
Nov 19 20:11:07 ns2 dovecot: imap-login: Login: user=<ybanafa@alasersystems.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Nov 19 20:11:07 ns2 dovecot: IMAP(ybanafa@alasersystems.com): Disconnected: Logged out bytes=206/1113
Nov 19 20:15:02 ns2 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Nov 19 20:15:02 ns2 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Nov 19 20:15:02 ns2 postfix/smtpd[12376]: connect from localhost.localdomain[127.0.0.1]
Nov 19 20:15:02 ns2 postfix/smtpd[12376]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov 19 20:15:02 ns2 postfix/smtpd[12376]: disconnect from localhost.localdomain[127.0.0.1]
Reply With Quote
  #4  
Old 20th November 2011, 15:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please add /var/spool/squirrelmail/ to the open_basedir directories on the Options tab of the website in ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 20th November 2011, 16:30
ybanafa ybanafa is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello

same error :

ERROR:
Could not move/copy file. File not attached

How can I fix it ?
Reply With Quote
  #6  
Old 21st November 2011, 11:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in Apache's error log now?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 21st November 2011, 15:39
ybanafa ybanafa is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

apache2/error.log :

[Mon Nov 21 17:33:26 2011] [error] [client 89.189.78.212] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/Jit5n8bH9cYUJHPhXlHtG3MDTX5m6cmK) is not within the allowed path(s): (/usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname) in /usr/share/squirrelmail/src/compose.php on line 1464, referer: https://alasersystems.com:8080/webma...startMessage=1

Thanks++;
Reply With Quote
  #8  
Old 21st November 2011, 15:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Add /var/spool/squirrelmail/attach to the open_basedir path.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 21st November 2011, 16:16
ybanafa ybanafa is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

same error

apache2/error.log:
[Mon Nov 21 18:05:09 2011] [error] [client 89.189.78.212] PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/spool/squirrelmail/attach/gJ9KHTczVihO7TF2BTLVOZlj2j1xZDcA) is not within the allowed path(s): (/usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname) in /usr/share/squirrelmail/src/compose.php on line 1464, referer: https://ns2.alasersystems.net:8080/w...startMessage=1
Reply With Quote
  #10  
Old 21st November 2011, 16:52
ybanafa ybanafa is offline
Junior Member
 
Join Date: Jul 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Do u think : permission(s) issue ?

what is the correct permission(s) ?

Thanks
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Dspam planet_fox General 6 20th January 2007 18:42


All times are GMT +2. The time now is 00:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.