OpenVZ Forum


Home » General » Support » VZQuota in CentOS 7 Container (vzquota centos 7 container failure)
VZQuota in CentOS 7 Container [message #52248] Tue, 03 November 2015 22:24 Go to next message
boindil is currently offline  boindil
Messages: 1
Registered: November 2015
Junior Member
From: *dynamic.kabel-deutschland.de
Hi,
I've set up a CentOS 7 container and installed Plesk 12.5 after that.
My versions are:
- OpenVZ kernel: 2.6.32-042stab112.15
- VZQuota: vzquota-3.1-1.x86_64

While starting to set up the system (I didn't actually configure Plesk yet - only MySQL), I've noticed that VZQuota is not working. I'm getting the following:
[root@server /]# systemctl status vzquota
vzquota.service - LSB: Start vzquota at the end of boot
   Loaded: loaded (/etc/rc.d/init.d/vzquota)
   Active: failed (Result: exit-code) since Tue 2015-11-03 22:33:22 CET; 36min ago
  Process: 100 ExecStart=/etc/rc.d/init.d/vzquota start (code=exited, status=2)

Nov 03 22:33:22 server systemd[1]: Starting LSB: Start vzquota at the end of boot...
Nov 03 22:33:22 server vzquota[100]: quotaon: using //aquota.group on /dev/simfs [/]: Device or resource busy
Nov 03 22:33:22 server vzquota[100]: quotaon: using //aquota.user on /dev/simfs [/]: Device or resource busy
Nov 03 22:33:22 server systemd[1]: vzquota.service: control process exited, code=exited status=2
Nov 03 22:33:22 server systemd[1]: Failed to start LSB: Start vzquota at the end of boot.
Nov 03 22:33:22 server systemd[1]: Unit vzquota.service entered failed state.


Some googling showed, that the problems seem to occur because of systemd. How can I solve this problem?

Thanks in advance!

boindil
Re: VZQuota in CentOS 7 Container [message #52279 is a reply to message #52248] Tue, 08 December 2015 20:16 Go to previous message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
From: *ok.shawcable.net
Maybe you can try create a systemd startup script for vzquota that starts it after that process it is having trouble accessing. Creating systemd scripts are very simple compared to init.d scripts.

Try

systemd-anaylyze blame
to see what is happening during the startup sequence and when vzquote is trying to start. With a systemd startup script you can change the order of when vzquota starts. Try move it down to the end. Maybe after rsyslog starts. It's very easy to do that in systemd scripts.

[Updated on: Tue, 08 December 2015 20:22]

Report message to a moderator

Previous Topic: Issue after converting to 042 kernel and ext4
Next Topic: 2nd lv Quota is not running within VM(Cpanel)
Goto Forum:
  


Current Time: Sat Dec 15 18:47:48 GMT 2018