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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 26th March 2007, 12:59
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default seems to be a zip failure....

This is the error_log from /root/ispconfig (....)


zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete
zip warning: Permission denied
zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
zip warning: could not open for reading: .no_delete

safe mode is off...

fiiles remaining in the temp dir and now I must to deleted them manually, the risk is to fill the HD with save sets!

thanx
Reply With Quote
Sponsored Links
  #12  
Old 26th March 2007, 17:43
PoleCat PoleCat is offline
Member
 
Join Date: Mar 2007
Posts: 57
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Heya,

Searching the forum to see if anyone had the same problems as me, I stumbled apon this thread. It seems like I have the EXACT same problem.

The backups wont take, it backs up about 17M of Data, but when my browser downloads it, I get 4K only.

#ls -alh /tmp/ | grep ispconfig
Code:
-rw-r--r--   1 root          root          17M Feb 22 15:15 home_admispconfig_02_22_2007__15_49_12.tar.gz
-rw-r--r--   1 root          root          17M Feb 22 15:15 root_ispconfig_02_22_2007__15_49_12.tar.gz
#cat /root/ispconfig/httpd/logs/error_log
Code:
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/aaf.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Kevin-army-18yrs.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Vincent-Crest.JPG
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/dad in airforce.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/grandparents wedding day.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/gran as young woman.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Mother.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Grandad.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/My Ouma.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/jeanette cover.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Gwethalyn.jpg
zip warning: Permission denied
        zip warning: could not open for reading: tree/media/Willyn Munsey.jpg
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
zip warning: Permission denied
        zip warning: could not open for reading: error/.no_delete
        zip warning: name not matched: *
zip warning: Permission denied
        zip warning: could not open for reading: .no_delete
spirit:~/ispconfig/httpd/logs#
OS: Debian GNU/Linux 3.1
ISPConfig: 2.2.10

Any Ideas? The only changes that I have made is doing a upgrade from .9 to .10 seems like since then it stopped working.
Reply With Quote
  #13  
Old 26th March 2007, 18:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you do a chmod on some of these files where it says Permission denied?
__________________
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
  #14  
Old 27th March 2007, 00:35
PoleCat PoleCat is offline
Member
 
Join Date: Mar 2007
Posts: 57
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by falko
Did you do a chmod on some of these files where it says Permission denied?
Nope, not on those files. But here is the persmission of one of the files in question:
Code:
-rw-------   1 www-data www-data   51962 Mar  8 17:20 Mother.jpg
As what user does ISPconfig backup run? Should it not run as root to overcome permission errors?

Those files were uploaded through the phpgedcom genealogy framework. So the website has set those permissions itself.

A auto-backup feature for ISPconfig to backup all the sites as a admin function to a remote ftp server would be pretty cool. Say you can schedule it once a week or something to do a backup.
I learned the hard way about backups. You only take it seriously once you lost critical customer information and you lose business because you forgot to do backups.
Reply With Quote
  #15  
Old 27th March 2007, 09:36
gilas gilas is offline
Member
 
Join Date: Jun 2006
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default backup and common area

I made some tries; if I select 'mySQL database' all works fine, but when I select too 'web data' backup stops and returns the download window with 209 byte of save set.

Then I suppose Falkso says the true about the backup. Infact I suspect the problem is connected to a common area where I put the source to share TYPO3. The source is owned/grouped by root:root and it is linked by some symlinks from the single sites.

Could be that the backup utility follow the links, just arrived in the common area where root is the owner stops it.

I remember that in the old times there was a similar problems connected to the backup and follow symlinks.
Reply With Quote
  #16  
Old 27th March 2007, 12:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

The backup script runs as user admispconfig and not as root user, thats why it can not backup your files. All files within a website must be owned by the user and group that owns the website, the user admispconfig is member of the group that owns the website too. The backup utility can not run as root for security reasons.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
PoleCat (27th March 2007)
  #17  
Old 27th March 2007, 16:38
PoleCat PoleCat is offline
Member
 
Join Date: Mar 2007
Posts: 57
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Heya,

Thanks, I'm just usign the FTP backup facility now to backup to one of my other servers. It seems to do the job. I'll wait untill the backup functionality has been improved a bit before I use the download data part which is not working for me.

Thanks for the help.
Reply With Quote
  #18  
Old 9th October 2007, 16:45
Davide Davide is offline
Senior Member
 
Join Date: Jul 2006
Posts: 123
Thanks: 16
Thanked 9 Times in 8 Posts
Default

It seems that this problem is related to the "memory_limit" entry on /root/ispconfig/php/php.ini

It will transfer only slightly smaller files than the value of this entry. With "memory_limit = 64 M" (default on 2.2.17), I could correctly download .zip backups up to ~ 63.5M. Any bigger backup would download only ~200 bytes

Increasing this value, you can download bigger backups. I have tried up to 256M, successfully downloading a 251 MB .zip

P.S. After changing the value, you *MUST* restart ispconfig_server
Reply With Quote
  #19  
Old 29th October 2007, 18:58
smartcall smartcall is offline
Senior Member
 
Join Date: Nov 2006
Posts: 116
Thanks: 10
Thanked 7 Times in 3 Posts
Default

I have exactly the same problem. Increasing the php memory limit solves it. But there are sites with more than 400 megs of data in my server.
I don't think that increasing the memory limit that much is a good idea.

Another solution would be great, but I can't think of one.
Reply With Quote
  #20  
Old 30th October 2007, 13:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
 
Default

For large sites, you will have to use our own bakup script e.g. based on the tar command as this can not be handles by the ISPConfig script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Dovecot Auth. Failure spams Message log d3m0nic Installation/Configuration 4 20th October 2009 19:47
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07
ISPConfig Backup problem gzero General 5 27th November 2006 10:48
Incremental Backup chrno Installation/Configuration 2 17th May 2006 13:10
How of create an automated backup of system+files jeremy Installation/Configuration 13 25th February 2006 14:23


All times are GMT +2. The time now is 23:26.


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