How to update NTP-deamon on a Debian Squeeze (Proxmox 2.x)?

Because of security issue in NTP (CVE-2014-9295) I need to update NTP-deamon on a Debian Squeeze (it is the Proxmox 2.x installation). The problem is that it is a productional system and I can not test the update commands on a test system. So, I need to know clearly how to update this system. I … Read more

Apache2+PHP fopen() permisson

Intro: I am sorry to be asking for help when there’s loads of that on the internet, however I’m not Linux savvy. Problem: I’ve installed apache2 and PHP5 under debian, and uses of PHP fopen() function produce typical: Warning: fopen(/some/where/some.txt): failed to open stream: Permission denied in /some/file/location/of/script/index.php on some line Hoped response: I would … Read more

Can’t deactivate volume group with 1 logical volume open (Debian Squeeze)

I keep getting this error every time I poweroff/rebbot my computer. I’ve everything installed on LVM except /boot. I’m worried if this will affect the data on disk. -Thanks! Answer This happens because you have your “/” partition located in a LVM Logical Volume inside of a LVM Volume Group. When your system reboots or … Read more

How to install pip/easy_install on debian 6 for python3.2

I’m trying to install pip or setup tools form python 3.2 in debian 6. First case: apt-get install python3-pip…OK python3 easy_install.py webob Searching for webob Reading http://pypi.python.org/simple/webob/ Reading http://webob.org/ Reading http://pythonpaste.org/webob/ Best match: WebOb 1.2.2 Downloading http://pypi.python.org/packages/source/W/WebOb/WebOb-1.2.2.zip#md5=de0f371b46554709ce5b93c088a11cae Processing WebOb-1.2.2.zip Traceback (most recent call last): File “easy_install.py”, line 5, in <module> main() File “/usr/lib/python3/dist-packages/setuptools/command/easy_install.py”, line 1931, … Read more

Script to install and activate backports on debian squeeze?

I am looking for a script that would enable debian backports for debian squeeze, something that I could just run and will enable me to install new packages like a decent version of mercurial after, just by doing apt-get upgrade mercurial. Answer Read this and put the instructions there in a script. What’s the problem … Read more

Debian on HP ProLiant server hangs (disk i/o is my guess)

I installed Debian (2.6.32-5-amd64) on my HP ProLiant MicroServer (purchased recently.) I also added 3 2tb hd in zfs. I’ve experienced several server froze. Sometimes it showed Soft lockup CUP stuck for 61s! Today I experienced a different problem (I think) and the message looked like this [431336.200002] Call Trace: [431336.200002] [<ffffffff812fcc7c>] ? _write_lock+0xe/0xf [431336.200002] … Read more

I try to access a NFS mount via FTP. It works but the FTP Dir listing is very slow

I mount an NFS using this command: mount -o rsize=8192,wsize=8192,timeo=14,intr serverip:/directory /mnt/directory However the mount appears on the client as expected a command like ls -a work pretty fast on the nfs mount. But when I try to list the mounted directory via FTP it gets very very slow ( 1.250 bytes in 160,39s (0,01KB/s) … Read more