We hosten momenteel meer dan 20,000 klanten.

VZquota error tijdens het installeren via apt-get! Print

  • 33

Debian Fix:

 

root@www:~# vi /etc/init.d/vzquota

 

#!/bin/sh

### BEGIN INIT INFO

# Provides: vzquota

# Required-Start: $all

# Required-Stop: $all

# Default-Start: 2 3 4 5

# Default-Stop: 0 1 6

# Short-Description: Start vzquota at the end of boot

# Description: This command is used to configure and see disk quota statistics for Containers.

### END INIT INFO

 

start() {

[ -e "/dev/simfs" ] || mknod /dev/simfs b 0 35

rm -f /etc/mtab >/dev/null 2>&1

echo "/dev/simfs / reiserfs rw,usrquota,grpquota 0 0" > /etc/mtab

mnt=`grep -v " / " /proc/mounts`

if [ $? == 0 ]; then

echo "$mnt" >> /etc/mtab

fi

chmod 644 /etc/mtab

quotaon -aug

}

case "$1" in

start)

start

;;

*)

exit

esac



Was dit antwoord nuttig?

« Terug

Heb je een vraag of heb je hulp nodig?