problem about debian-squeeze-Collection of common programming errors


  • SSumner
    memory freeze cpu-usage debian-squeeze
    I have a small computer that I am running a video application on (video conferencing-style). At inconsistent times, it will ‘lock up’ – video will freeze, if I am telneting into it from another computer, the connection will crash, no keyboard or mouse input will be registered (even caps lock will not cycle).The computer uses:Intel Atom D525 1.8 GHz (Dual-core) 2GB RAM (DDR2) Jetway Mini Itx Mobo NaND mini IDE flash module (4GB)My first concern was that it was overheating, but that doesn’t seem t

  • markus
    postgresql debian-squeeze
    If I wan to connect to postgres 9.1.1 db on debian lenny with PgAdmin, it takes >15 seconds until the connection is established. There is nothing to see in the logs why it takes so long. Any ideas how I can analyze the problem? Here my Configuration:pg_hba.confTYPE DATABASE USER ADDRESS METHOD# “local” is for Unix domain socket connections only local all all md5 # IPv4 local connections: host all

  • Levent Alpsal
    php debian-squeeze compile gd
    I’m getting too many make test fails when I compile PHP (5.3.16) on debian. These errors are mostly about gd library and image processing. As a result GD functions like imagecopyresampled produce corrupted images (generally 0 byte output) when I try to resize uploaded images. (same php code runs well on other servers)This is my configuration line:./configure –prefix=/opt/php-5.3.16/ –with-apxs2=/opt/httpd-2.4.3/bin/apxs –with-mysql –with-curl –with-curl=/usr/ –enable-ftp –with-gd –with-

  • afpel
    debian debian-squeeze
    Since about two weeks, my root server crashes randomly at night (European/Berlin time). Not every night, just from time to time. It happened the fourth time today.I never had problems before, and there isn’t anything suspicious in the logs. One time even a technician had to go to my server and restart it manually because the automatic hard reset didn’t work. Here are a few minutes before the crash happens (There’s nothing else until the startup beginning at 10:01:12):Sep 18 05:00:01 root postfix

  • Jibi
    replication debian-squeeze ispconfig-3
    I’m follow the excellent tuto ISPconfig3 web server on Debian 6 and I try to run it on a replication server. My purpose is to make a rescue server who, when my master server down, take over.ISPConfig setup tells me that my configuration on the two servers is correct (no errors) and my slave server accept the connexion with my master server but I can’t select my mirror server on slave ISPconfig configuration panel!I think about two solutions: -my MySql user from my master server doesn’t have the

  • alfish
    troubleshooting debian-squeeze unexpected-shutdown
    In a new Xeon 55XX server with 4xSSD at raid 10 with Debian 6, I have experienced 2 random shut downs within two weeks after the server being built. Looking at bandwidth logs before shut down does not indicate anything unusual. The server load is usually very low (about 1) and it is collocated far away.There seem to be no power outage while the server went down. I know that I look at /var/log but not sure which logs should I investigate and what should I look for. So Appreciate your hints.

  • Keenan A.
    debian-squeeze
    I am trying to track when the server was rebooted or shutdown. I used w and uptime to see how long it’s been up but also used last -x to get a log of times when the server went down. Here is the output:runlevel (to lvl 2) 2.6.26-2-686 Wed Sep 14 09:38 – 10:22 (00:43) reboot system boot 2.6.26-2-686 Wed Sep 14 09:38 – 10:22 (00:43) keenan pts/1 Tue Sep 13 16:07 – crash (17:31) keenan pts/1 Tue Sep 13 15:20 – 15:21 (00:0

  • MadHatter
    mysql debian-squeeze isp shutdown
    I’ve a debian squeeze server with nginx, php5-fpm and mysql. All this services from some point started to shutdown at random time. And they not seem to crash or something, syslog:Feb 14 14:02:14 xxx mysqld: 130214 14:02:14 [Note] /usr/sbin/mysqld: Normal shutdownThere is also an isp control panel, and around this shoutdowns there is some cron from isp manager running. What can cause that or where should I look to find out more information?

  • Steve Madsen
    debian kvm-virtualization debian-squeeze
    Yesterday I upgraded a Debian Lenny server to Squeeze. This server hosts two KVM guests. One has run Debian Squeeze itself all along, the other was originally Debian Lenny, upgraded to Squeeze the day before.Everything appears to be working fine, however performance of the KVM guests is now quite poor. Everything seems to take much longer than it used to: logging in via SSH, checking for and installing updates with aptitude, requests to web applications running in a guest, etc.Googling has left

  • Luke has no name
    ubuntu debian raid5 debian-squeeze
    I have a software RAID 5 partition on LVM in Ubuntu (desktop, actually, but I’m using it as a server). I have been rsyncing a ton of data to it, and the computer was hard freezing, as in I needed to press “Reset”. So I thought it was rsync. But I decided I’d try a dd if=/dev/zero of=/path/to/raid5 and sure enough, the computer locked up. Did an identical dd to a JBOD partition on the same machine, and it didn’t crash.Assuming a clean RAID5 partition, tri-core processor 2GB of ram, 6GB swap, what

  • quanta
    php redundancy debian-squeeze memcache session
    os: debian squeeze (up2date) 2 apache mod php webserver 2 memcache serveri have to apache mod_php nodes which use two memcache server for redundant session storage (used variant 3 from http://serverfault.com/a/165584). memcache.iniextension=memcache.so[memcache] memcache.dbpath=”/var/lib/memcache” memcache.maxreclevel=0 memcache.maxfiles=0 memcache.archivememlim=0 memcache.maxfilesize=0 memcache.maxratio=0memcache.allow_failover=1 memcache.hash_strategy=consistent memcache.session_redundancy=3ph

  • Keil
    java cpu debian-squeeze jenkins elastic-search
    i am on Debian Squeeze, 4G of Ram, 1G of Swap, CPU i3 3.07GHz. I used to use the following java softwares:jenkins elasticsearchProblem was their process was too greedy about CPU, in the top command, each one was eating more than 120%.When i noticed this, i switched from open-java to sun-java, but this did not do the expected trick.I have a very little load on the server, but the over consumption of the CPU made the other processes go more slowly. (My web-stats for delivering pages show it clearl

  • DontVoteMeDown
    debian debian-squeeze curl repository
    Why Debian Squeeze repositories points to cURL version 7.21.0 which is from June 2010 and not the version 7.26.0 which is from May of this year(cURL Changelog)??I want to update to the version 7.26 to avoid NTLM bugs, can I do this or it will crash the system in any way? If yes, how do I do it??

  • rubo77
    mysql debian-squeeze database-backup server-crashes
    I use this backup script on my debian squeeze server to create a backup of all mysqltables:#!/bin/shBACKUP_DIR=/var/backups/mysql/ DATE=$(date +%Y-%m-%d)for i in /var/lib/mysql/*/; dodbname=`basename “$i”` mysqldump “$dbname” | gzip > $BACKUP_DIR/$dbname.sql.gz done# delete old backups older than 1 day find $BACKUP_DIR -atime +1 -exec rm {} \;Now sometimes if a table is “marked as crashed” (MyISAM), this backup creates a huge file, several GB .How can I prevent that?I use that in combination

  • Johnny
    linux apache2 debian-squeeze zend
    I am getting this error on my proof of concept Linux box. Can anyone help this noob out? From the looks of it, Zend is the issue. I thought I installed Zend.Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘bacula.Version’ doesn’t exist’ in /usr/share/php/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /usr/share/php/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /usr/share/php/Zend/Db/Statement.php(300): Zend

  • Doug
    apache2 php5 debian-squeeze
    Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: undefined symbol: unixd_configI spent the last hour or so googling, and it seems that I have to create a new PHP5 after installing my new Apache (2.4.2). Debian didn’t have Apache 2.4.2 and it’s a requirement I was given. I still have the PHP 5.4.4 from Debian wheezy repository. I tried including it in the new Apache 2.4.2 that I installed, but it throws the error you see above. Is there a way to “r

  • nojak
    nginx php-fpm debian-squeeze
    Looking at my PHP-FPM stats page, it looks like only one process is handling all of the connections right now.My guess is that requests are being executed so quickly, thus far, that it doesn’t need to use another process yet. Would this be the case?Here’s what I’m seeing in my PHP-FPM stats page:pool www process manager static start since 432796 accepted conn 90399 listen queue 0 max listen queue 1 listen queue len 128 idl

  • Esa
    laptop keyboard debian debian-squeeze gdm
    They work before gdm3 starts. a connected mouse also stops working, but functions after removal and re-plug. no xorg.conf. log doesn’t show any loading of drivers for kbd/touchpad[ 33.783] X.Org X Server 1.10.4 Release Date: 2011-08-19 [ 33.783] X Protocol Version 11, Revision 0 [ 33.783] Build Operating System: Linux 3.0.0-1-amd64 x86_64 Debian [ 33.783] Current Operating System: Linux sus 3.2.0-0.bpo.2-amd64 #1 SMP Sun Mar 25 10:33:35 UTC 2012 x86_64 [ 33.783] Kernel command li

  • jreed121
    php nginx php-fpm debian-squeeze
    First off, I’m a huge linux noob – sorry… I’m trying to setup nginx with php-fpm on debian and I’m pretty sure that I’ve completely screwed it up. nginx seems to be running fine because I can it it from a web browser and it load the stock “Welcome to nginx!” page. I’m not so sure about php-fpm though. When I try something like# restart php-fpmI get:bash: restart: command not foundFirst off php-fpm some how got installed as php5-fpm when I do root@server:/etc/init.d# ls, which seems to contr

  • natli
    proxy http debian-squeeze
    I’ve been trying to get lighttpd or apache2 (I prefer lighttpd) to work behind a proxy but no luck so far.What I want is to run lighttpd (or port 80) behind a proxy, so that when someone goes to some.website.com, and the DNS for that domain is pointed to the IP address of the proxy server, they end up on my http server’s page.This would allow me to use the server’s resources, while keeping it’s IP address hidden.Unfortunately, using the proxychains program did not work. For lighttpd it gave the

  • kbec
    log-files debian-squeeze logrotate rsyslog
    I want to force logfile rotation using logrotate -f /var/log/syslog, but it’s only return tones of:error: syslog:1 unknown option ‘May’ — ignoring line error: syslog:1 unexpected textI know that on this system rsyslogd is running. How to rotate /var/log/syslog? I want it empty.

  • mickey
    filesystems mount debian-squeeze reiserfs
    I’m using Debian 6.03 (2.6.32-5-amd64) with LVM configured. For testing I created testfs logical volume and formatted it in reiser4 filesystem. But when I try:# mount /dev/lv-group/testfs /mntit says:mount: unknown filesystem type ‘reiser4’reiser4progs are also installed. What’s the problem?