Re: [Vserver] Enlarge /tmp partition
On Wednesday 13 December 2006 16:21, Oliver Welter wrote: > Hi Alejandro, > > > LibClamAV Error: wrote 0 instead of 512 > > (/tmp/clamav-67ea3a8be7a9faa9/main.ndb) > > cli_untgz: no space left on device > > > > In my /etc/vservers/virtual1/fstab I have this line related to /tmp: > > > > none /tmp tmpfs size=16m, mode 1777 0 0 i agree with below.. i have ours that run clamav set to size=64m and no software complains. :) > > > > The /tmp is a memory based filesystem in that xase - this means it is > entirely kept in the machines RAM. You have 16M what is too small for > clamav - you can enlarge the size by just puttingthe wanted number in > the parameter "size=XXXm" (you must restart the vserver afterwards). > > Note that this will consume RAM ressources, if you have plenty of them, > thats okm otherwise you should map /tmp to a new partition or, if you > dont have one left, drop the mointpoint and put it on the /var partiion > with a symlink ("ln -s /var/_tmp /tmp") > > Oliver > -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Enlarge /tmp partition
Hi Alejandro, > LibClamAV Error: wrote 0 instead of 512 > (/tmp/clamav-67ea3a8be7a9faa9/main.ndb) > cli_untgz: no space left on device > > In my /etc/vservers/virtual1/fstab I have this line related to /tmp: > > none /tmp tmpfs size=16m, mode 1777 0 0 > The /tmp is a memory based filesystem in that xase - this means it is entirely kept in the machines RAM. You have 16M what is too small for clamav - you can enlarge the size by just puttingthe wanted number in the parameter "size=XXXm" (you must restart the vserver afterwards). Note that this will consume RAM ressources, if you have plenty of them, thats okm otherwise you should map /tmp to a new partition or, if you dont have one left, drop the mointpoint and put it on the /var partiion with a symlink ("ln -s /var/_tmp /tmp") Oliver smime.p7s Description: S/MIME Cryptographic Signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Enlarge /tmp partition
Alejandro Cabrera Obed schrieb: Dear all, sorry for my new question today...I have a mail server Postfix/Debian Etch over a vserver and I've installed clamav antivirus. But when a run tha clamav-daemon I get this error: LibClamAV Error: wrote 0 instead of 512 (/tmp/clamav-67ea3a8be7a9faa9/main.ndb) cli_untgz: no space left on device LibClamAV error: cli_cvload (): can't unpack CVD file LibClamAV error: Can't load /var/lib clamav main.cvd: CVD extraction failure ERROR: CVD extarction failure At first I suppose is a /tmp size problem, so I want to know the way to enlarge the /tmp partition from my vserver. In my /etc/vservers/virtual1/fstab I have this line related to /tmp: none /tmp tmpfs size=16m, mode 1777 0 0 Is it enough to change the size here or what ??? Thanks again Alejandro ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver Hello Alejandro, yes this will do it. regards Oliver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Enlarge /tmp partition
Dear all, sorry for my new question today...I have a mail server Postfix/Debian Etch over a vserver and I've installed clamav antivirus. But when a run tha clamav-daemon I get this error: LibClamAV Error: wrote 0 instead of 512 (/tmp/clamav-67ea3a8be7a9faa9/main.ndb) cli_untgz: no space left on device LibClamAV error: cli_cvload (): can't unpack CVD file LibClamAV error: Can't load /var/lib clamav main.cvd: CVD extraction failure ERROR: CVD extarction failure At first I suppose is a /tmp size problem, so I want to know the way to enlarge the /tmp partition from my vserver. In my /etc/vservers/virtual1/fstab I have this line related to /tmp: none /tmp tmpfs size=16m, mode 1777 0 0 Is it enough to change the size here or what ??? Thanks again Alejandro ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vserver doesn't start automatically
Alejandro Cabrera Obed wrote: Dear all, I have a vserver on a Debian Etch box with the corresponding packages versions to this distribution, which has the /etc/vservers/virtual1/apps/init/mark file with the 'default' value in order to start automatically on booting. In the past it starts automatically OK, but today it doesn't (yesterday there was a power shutdown and the Debian box was down). I get this messages on the boot process: starting vservers of type 'default'/usr/lib/util-vserver/vserver.functions: line 696: popd: /tmp/vserver-init.us3839: no such file or directory Failed to start vserver 'virtual1' make ** [.proxy.stamp] Error 1 make target 'all' not remake because of errors ERROR Can you help me to correct this problem ??? What util-vserver version is that? It's supposed to be fixed in 0.30.211-6+. -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vserver doesn't start automatically
Hello, When i type : apt-file search popd i got this answer : .. ksh: usr/share/ksh/functions/popd zsh: usr/share/zsh/help/popd . Perhaps it expects a zsh/ksh shell ? I got this error last week, and i just launch vserver from /usr/local/sbin as you did and it works too... Pat - Original Message - From: "Alejandro Cabrera Obed" <[EMAIL PROTECTED]> To: "Vserver (list)" Sent: Wednesday, December 13, 2006 5:58 PM Subject: [Vserver] Vserver doesn't start automatically > Dear all, I have a vserver on a Debian Etch box with the corresponding > packages versions to this distribution, which has the > /etc/vservers/virtual1/apps/init/mark file with the 'default' value in > order to start automatically on booting. In the past it starts > automatically OK, but today it doesn't (yesterday there was a power > shutdown and the Debian box was down). > > I get this messages on the boot process: > > starting vservers of type > 'default'/usr/lib/util-vserver/vserver.functions: line 696: popd: > /tmp/vserver-init.us3839: no such file or directory > > Failed to start vserver 'virtual1' > make ** [.proxy.stamp] Error 1 > make target 'all' not remake because of errors > ERROR > > Can you help me to correct this problem ??? > > While I wait for a response, I start automatically my vserver from the > /etc/rc.local script from Debian, when I put '/usr/sbin/vserver virtual1 > start'...but I don't want this solution. > > Thanks a lot, > > Alejandro > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver > ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Vserver doesn't start automatically
Dear all, I have a vserver on a Debian Etch box with the corresponding packages versions to this distribution, which has the /etc/vservers/virtual1/apps/init/mark file with the 'default' value in order to start automatically on booting. In the past it starts automatically OK, but today it doesn't (yesterday there was a power shutdown and the Debian box was down). I get this messages on the boot process: starting vservers of type 'default'/usr/lib/util-vserver/vserver.functions: line 696: popd: /tmp/vserver-init.us3839: no such file or directory Failed to start vserver 'virtual1' make ** [.proxy.stamp] Error 1 make target 'all' not remake because of errors ERROR Can you help me to correct this problem ??? While I wait for a response, I start automatically my vserver from the /etc/rc.local script from Debian, when I put '/usr/sbin/vserver virtual1 start'...but I don't want this solution. Thanks a lot, Alejandro ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] compil error on 2.6.19.1
Hello, Error during compil, after applying patch delta-dmap-feat04.4.diff and activating CONFIG_VSERVER_DEVICE . CC kernel/vserver/legacynet.o CC kernel/vserver/device.o kernel/vserver/device.c:48: error: erreur de syntaxe before ';' token make[2]: *** [kernel/vserver/device.o] Erreur 1 make[1]: *** [kernel/vserver] Erreur 2 make: *** [kernel] Erreur 2 Regards, Pat - Original Message - From: "Daniel Hokka Zakrisson" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 13, 2006 4:34 PM Subject: Re: [Vserver] compil error on 2.6.19.1 > [EMAIL PROTECTED] wrote: > > Hi all > > > > A compil problem on 2.6.19.1 with patch-2.6.19.1-vs2.1.1.6.diff > > > > I got this error : > > > > LD .tmp_vmlinux1 > > fs/built-in.o(.text+0x423f): In function `chrdev_open': > > : undefined reference to `vs_map_device' > > fs/built-in.o(.text+0x22446): In function `bd_acquire': > > : undefined reference to `vs_map_device' > > make: *** [.tmp_vmlinux1] Erreur 1 > > I think the device mapping patches were included a bit prematurely (I > don't think they're supposed to be there), but to get rid of the errors > you could enable CONFIG_VSERVER_DEVICE (though I had problems booting > without some further fixes, > http://people.linux-vserver.org/~dhozac/p/k/delta-dmap-feat04.4.diff). > > -- > Daniel Hokka Zakrisson > GPG id: 06723412 > GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver > ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] compil error on 2.6.19.1
[EMAIL PROTECTED] wrote: Hi all A compil problem on 2.6.19.1 with patch-2.6.19.1-vs2.1.1.6.diff I got this error : LD .tmp_vmlinux1 fs/built-in.o(.text+0x423f): In function `chrdev_open': : undefined reference to `vs_map_device' fs/built-in.o(.text+0x22446): In function `bd_acquire': : undefined reference to `vs_map_device' make: *** [.tmp_vmlinux1] Erreur 1 I think the device mapping patches were included a bit prematurely (I don't think they're supposed to be there), but to get rid of the errors you could enable CONFIG_VSERVER_DEVICE (though I had problems booting without some further fixes, http://people.linux-vserver.org/~dhozac/p/k/delta-dmap-feat04.4.diff). -- Daniel Hokka Zakrisson GPG id: 06723412 GPG fingerprint: A455 4DF3 990A 431F FECA 7947 6136 DDA2 0672 3412 ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] compil error on 2.6.19.1
Hi all A compil problem on 2.6.19.1 with patch-2.6.19.1-vs2.1.1.6.diff I got this error : LD .tmp_vmlinux1 fs/built-in.o(.text+0x423f): In function `chrdev_open': : undefined reference to `vs_map_device' fs/built-in.o(.text+0x22446): In function `bd_acquire': : undefined reference to `vs_map_device' make: *** [.tmp_vmlinux1] Erreur 1 Patrick ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver