Help - Search - Members - Calendar
Full Version: problem backup
The Planet Forums > Control Panels > Plesk
enric
when I do a backup i have this problem:

Error hard disk quota support checking: usermng: Unable to turn on user quota. User quota not supported on device '/dev/hda2'

bye
enric
4PSA
Quota is not enabled on the device that contains the domain files. The easy way to fix it is the (re)install the latest psa rpm. If you have a version older than 6.02 you can install all rpms.
enric
I re-install psa but the problem persist.
4PSA
In /tmp you will find the psa reinstall log. Check there for the reason why quota setup failed.
enric
log show this:

The quotas checking finished successfully.
Turning quota on.
quotaon: using //quota.user on /dev/hda2: Invalid argument
Unable to turn quota on. Quota is not supported by your operating system


I have this problem since i upgrade the herkel of system.
x007
i got this since last kernel upgrade unable to backup anymore :


-2 psa6.02 appear randomly never at the same place---------------

dumping directory '/usr/local/psa/home/vhosts/xxx.com' ... error!
An error was occured during execution: "tar -cz --ignore-failed-read --exclude='httpd.include*' -f - -C '/usr/local/psa/home/vhosts/xxx.com' '.'"

Those backup was automated then since the 1rst of this year not able to backup anymore whit the plesk util...

I can see another error on my psa 5 as well but this one is able to fully finish the backup...

-----------------------------Psa5
Some problems occured during an attempt to close the
pipe while getting files list from the repository
at /usr/local/psa/lib/perl5/PSA/Ver0200toXML.pm line 1500.
----------------------------


Nothing changed on the servers exept kernel same on 2 of my server, 1 whit psa 5 give another error.. Never have prob before backup have worked from lot of month whitout trouble...

1 x Psa6.02 RH7.2 new kernel NO MORE BACKUP
1 x Psa6.02 RH7.3 new kernel NO MORE BACKUP

1 x Psa 5.05 RH7.3 new kernel (able to do backup on this one but whit the error up there)

I guess a small backup should work since this prob apear randomly, but i have around 200 site then not able to finish one backup since my last good one 29-12-03 ...

Possibly related to memory management from the backup util ?
Since biggest change in the kernel was memory like RH9 ?

:-((
If anyone have a solution...
4PSA
What kernel do you use?
x007
QUOTE
Originally posted by 4PSA
What kernel do you use?


The lastest from RH.
2.4.20-28.7


it apear there is no way to work now whit --nostop, that have always work fine before...

I have been able to do a backup but whit everyting shutdown then its not a good thing to have +1 hours down to do a backup :-(
4PSA
I will try to replicate this on a 7.3 box.
x007
QUOTE
Originally posted by 4PSA
I will try to replicate this on a 7.3 box.



Do you have give a try ? get this prob ?
Lot of ppl report a prob whit the BU...
then still same on my side as well..
4PSA
I have tried them and they work with this kernel. I can not see a reason why the BU fails with a different kernel. How many domains do you host? How many file descriptors do you have set on your OS?
x007
QUOTE
Originally posted by 4PSA
I have tried them and they work with this kernel. I can not see a reason why the BU fails with a different kernel. How many domains do you host? How many file descriptors do you have set on your OS?



On all server i have around 200 domain each

This appear to fail randomly then this have appear at the same time on my 3 server whit RH at the new year then only thing changed is the kernel...

On the 1 that still whit psa5.05 i got this error but backup still finish..

-----------------------------Psa5
Some problems occured during an attempt to close the
pipe while getting files list from the repository
at /usr/local/psa/lib/perl5/PSA/Ver0200toXML.pm line 1500.
----------------------------


on 6.02 i got this ;

-2 psa6.02 appear randomly never at the same domain/place---------------

dumping directory '/usr/local/psa/home/vhosts/xxx.com' ... error!
An error was occured during execution: "tar -cz --ignore-failed-read --exclude='httpd.include*' -f - -C '/usr/local/psa/home/vhosts/xxx.com' '.'"


The only way i have been able to do a backup is whit all service down... This way the backup can finish succefully.. But i cant do this very mutch .. I have done it 1 time but...


in the log i can see i think when this append.. ;

Jan 12 00:38:20 xxx.xxx.com psadump: Can't use string ("

Then i know that nothing on the those 3 server have changed exept for the kernel .. Or 2004 may be ;-) But Nothing have changed then got this in my 3 servers at the same time so conclusion is a bug i think.. Then other have reported trouble as well whit the BU.
4PSA
Try to increase the file descriptors on your server using sysctl. This might solve the problem.
x007
QUOTE
Originally posted by 4PSA
Try to increase the file descriptors on your server using sysctl. This might solve the problem.



How i do that ?
Here is the file, but i never have touched this before..

[admin@dino admin]$ cat /etc/sysctl*

--------------------------------------
# Disables packet forwarding
net.ipv4.ip_forward=1
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
# Disables packet forwarding
net.ipv4.ip_forward=1
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(icon_cool.gif for
# more details.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
---------------------------


i found this on google is that you mean ? i even not having this line in my current config, this server its a celery 1.3..an its 2.4. :-)

Depending on the kind of work your server will be doing, you might need to increase the maximum number of open files and inodes. (Under 2.4 is seems that fs.inode-max is automatic but under 2.2 you will need to increase it)

#fs.file-max = 16384
#fs.inode-max = 65536
4PSA
Try to add to /etc/sysctl.conf the following line:

fs.file-max = 131072
x007
QUOTE
Originally posted by 4PSA
Try to add to /etc/sysctl.conf the following line:

fs.file-max = 131072



doesnt apear to help ;

[Sat Jan 24 21:37:57 2004] dumping directory '/home/httpd/vhosts/xxx.com' ... error!
An error was occured during execution: "tar -c --ignore-failed-read --exclude='httpd.include*' -f - -C '/home/httpd/vhosts/xxx.com' '.'"
[Sat Jan 24 21:37:57 2004] turning domain "xxxx.com" on ... done


Damn backup util :-(

In log ;

Jan 24 21:33:18 xxx.com psadump: Can't use string ("
4PSA
Try to add --nostop --nostop-domain when you backup with psadump. Let me know if the same thing happens.
x007
QUOTE
Originally posted by 4PSA
Try to add --nostop --nostop-domain when you backup with psadump. Let me know if the same thing happens.



Since the new year i have tryed almost everyting i know...

If i use ex:

Working but all service are down for backup time (around 5gb so take a guess) ... so Unusable like this ;

/usr/local/psa/bin/psadump -F -f - | split -b1000m - dump.

The next dont work anymore since the new year (have always work before whitout any trouble on all my server then now not working on every server so its not related to error from me or someting like this) give same error as stated ;

Have tryed ;


/usr/local/psa/bin/psadump -F -f - --nostop | split -b1000m - /dump.

/usr/local/psa/bin/psadump -F -f - --nostop --tar-ignore-failed-read | split -b1000m - /dump.

/usr/local/psa/bin/psadump -F -f - --nostop --tar-ignore-failed-read --do-not-dump-logs | split -b1000m - /dump.


Nothing work.
Always same prob on all server... Except my psav5 that give a different error but still able to finish the backup even if this error apear.
-----------------------------Psa5
Some problems occured during an attempt to close the
pipe while getting files list from the repository
at /usr/local/psa/lib/perl5/PSA/Ver0200toXML.pm line 1500.
----------------------------


There is someting wrong whit the BU...

I guess i will use back my older custom backup script at least i'm able to backup the BU is not working anymore then plesk apear to not doing anyting about it mad.gif
4PSA
Have you tried the flag --nostop-domain?
x007
QUOTE
Originally posted by 4PSA
Have you tried the flag --nostop-domain?


No i have tried --nostop

but not --nostop-domain

I even dont know that this command exist..?


I will give a try whit it this week end ..

Btw i have also problem on BU on the domains panel, have tryed to backup a domain from the button in the domain panel then apache have goes down rolleyes.gif !

All my Psa on RH7x have this prob even my last Psa V5 have some bugust line but can do the backup on this one..

I dont know what's causing this bug but its surely a bug...

I got someone from psa looking into one of my server since i think its a bug, and no solution was found.. They have seen the prob but no solution to resolve this...:-(

All these have apear at the new year.. Then then only thing on server that have changed at this time was the new kernel and the date so.. :-(


So still same prob since new year then no one seem to know where they came !

I'm 100% sure that came from the BU. This can't be another thing..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.