Re: Weird DNS error?

2011-10-24 Thread Greg van Anders
Hi Bob, Tom and Carlos, Thanks! See below: On Mon, Oct 24, 2011 at 8:58 PM, Bob Proulx wrote: > Greg van Anders wrote: >> I didn't install a DNS server and I am connecting via DHCP. > > Good.  DHCP should automatically provide you with a nameserver.  And > hopefully that nameserver will be work

Re: bad downloads during apt-get upgrade

2011-10-24 Thread Bob Proulx
Steve Kleene wrote: > On Mon, 24 Oct 2011 19:21:23 -0600, Bob Proulx wrote: > > Really? I thought *I* wrote that. Wait, I did. :-) I think you mail > > attribution processing isn't configured right. > > I don't understand this. My copy of my own post (as received in my e-mail > of posts to de

Re: why for debian -lblas links to libblas.so.3gf instead of libblas.so?

2011-10-24 Thread Kumar Appaiah
On Mon, Oct 24, 2011 at 08:47:20PM -0500, Jichao Yin wrote: >-lblas links a program to libblas.so.3gf >-llapack links a program to liblapack.so.3gf > >only those two sorts of libraries have and link to 3gf version of .so >(including both reference netlib blas and ATLAS blas, lapack

why for debian -lblas links to libblas.so.3gf instead of libblas.so?

2011-10-24 Thread Jichao Yin
Dear all, I found that -lblas links a program to libblas.so.3gf -llapack links a program to liblapack.so.3gf only those two sorts of libraries have and link to 3gf version of .so (including both reference netlib blas and ATLAS blas, lapack). On the other side, redhat distributions -lblas links t

Re: Weird DNS error?

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 8:58 PM, Bob Proulx wrote: > Greg van Anders wrote: >> >> # grep hosts /etc/nsswitch.conf >> hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4 > > I have never seen the mdns4 parts installed upon a pristine install of > Debian.  I can only guess that something

Re: Weird DNS error?

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 7:29 PM, Greg van Anders wrote: > Thanks Bob and Tom. You're welcome. > # grep hosts /etc/nsswitch.conf > hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4 I'm glad that you or someone else thought of asking for the above because it slipped my mind and I

Re: bad downloads during apt-get upgrade

2011-10-24 Thread Steve Kleene
On Mon, 24 Oct 2011 19:21:23 -0600, Bob Proulx wrote: > Really? I thought *I* wrote that. Wait, I did. :-) I think you mail > attribution processing isn't configured right. I don't understand this. My copy of my own post (as received in my e-mail of posts to debian-user) had this line just a

Re: bad downloads during apt-get upgrade

2011-10-24 Thread Bob Proulx
Steve Kleene wrote: > On Mon, 24 Oct 2011 11:44:11 + (UTC), I wrote: > > That isn't a good error message. I think your disk is failing. > > Review your /var/log/syslog and look for error messages there. I > > expect you will see other errors logged there. Really? I thought *I* wrote that.

Re: bad downloads during apt-get upgrade

2011-10-24 Thread Walter Hurry
On Tue, 25 Oct 2011 00:42:15 +, Steve Kleene wrote: > > I'm not sure how to interpret all of that output, but it looks bad. > Thanks for your help. I agree with Bob. It would be a good plan to be ready to replace the disk and restore from backup at any moment. -- To UNSUBSCRIBE, email

Re: Weird DNS error?

2011-10-24 Thread Bob Proulx
Bob Proulx wrote: > Greg van Anders wrote: > > # cat /etc/resolv.conf > > # Generated by NetworkManager > > nameserver 192.168.1.254 Oh. Your DHCP server isn't configured with a local domain name. That is fine. But it might be better if it has one. Then it would include a 'search' line in the

Re: Weird DNS error?

2011-10-24 Thread Bob Proulx
Greg van Anders wrote: > I didn't install a DNS server and I am connecting via DHCP. Good. DHCP should automatically provide you with a nameserver. And hopefully that nameserver will be working! That would be extra nice. But it is possible that it hasn't. > # dpkg -l bind The package name is

Re: Weird DNS error?

2011-10-24 Thread Carlos Bergero
Ok, so you have install what seems to be a desktop Linux machine, behind a router/firewall of you home/office, in any case mos default instalations would set the DNS server in the file /etc/resolv.conf if you dont have this then you miss something or something else is resolving in its place, in

Re: bad downloads during apt-get upgrade

2011-10-24 Thread Steve Kleene
On Mon, 24 Oct 2011 11:44:11 + (UTC), I wrote: > ... I often get bad downloads when I run apt-get upgrade. > ... > dd /dev/null > dd: reading `standard input': Input/output error On Mon, 24 Oct 2011 13:49:24 -0600, Bob Proulx replied: > That isn't a good error message. I think your disk i

Re: Weird DNS error?

2011-10-24 Thread Greg van Anders
Thanks Bob and Tom. I didn't install a DNS server and I am connecting via DHCP. The results of the various commands are below. Thanks for your help! Greg # dpkg -l bind Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ E

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Tuesday 25 October 2011 00:16:36 Joey L, vous avez écrit : > > Here we are : > >> Oct 24 16:58:54 deb1 lrmd: [4804]: info: RA output: > >> (failover-ip:start:stderr) ERROR: Cannot use default route w/o netmask > >> [192.168.2.113] > >> Oct 24 16:58:54 deb1 IPaddr[5292]: ERROR: /usr/lib/heartbeat

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Tuesday 25 October 2011 00:08:36 Joey L, vous avez écrit : > > If you want to run pacemaker on top of Heartbeat 3 instead of Corosync, > > please use the following command: > > > > aptitude install pacemaker heartbeat > > I need to keep everything simple - will stick with pacemaker and > coros

Re: Kernel upgraded two or three times since install

2011-10-24 Thread Bob Proulx
John Vestrum wrote: > Mark Panen wrote: > > I noticed my kernel has been upgraded two or three times but i am still > > sitting on the original: > > ... The typical advice to use dpkg/apt-query/aptitude only tells > half the story - those tools only know which kernel is installed, > not what is r

Re: Weird DNS error?

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 4:55 PM, Greg van Anders wrote: > > I'm a bit embarrassed to be asking this question, but I just did a > brand new installation of Squeeze. The install seemed to go fine and I > didn't notice any problems. > > Upon booting, however, I don't seem to be able to resolve any ho

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L
> > Here we are : > >> Oct 24 16:58:54 deb1 lrmd: [4804]: info: RA output: >> (failover-ip:start:stderr) ERROR: Cannot use default route w/o netmask >> [192.168.2.113] >> Oct 24 16:58:54 deb1 IPaddr[5292]: ERROR: /usr/lib/heartbeat/findif >> failed [rc=1]. >> Oct 24 16:58:54 deb1 lrmd: [4804]: WARN

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L
> If you want to run pacemaker on top of Heartbeat 3 instead of Corosync, please > use the following command: > > aptitude install pacemaker heartbeat I need to keep everything simple - will stick with pacemaker and corosync for now - just like your configuration. > > You really should use the

Re: grub wish

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 12:42 PM, Thierry Chatelet wrote: > On Monday 24 October 2011 18:03:49 Tom H wrote: >> On Mon, Oct 24, 2011 at 11:56 AM, Thierry Chatelet wrote: >>> >>> Maybe havea look at /etc/grub.d/readme and then /etc/defaults/grub >> >> It sounds more like you have to look into GDM.

Re: how to resize a compact flash image on disk

2011-10-24 Thread Bob Proulx
David Goodenough wrote: > Bob Proulx wrote: > > Have you looked at 'resize2fs' the ext2/ext3/ext4 file system resizer? > > Seems like you should be able to loop mount your image, resize it, > > unmount it, then truncate the file to the smaller size. For safety > > always keep a backup! > > It is e

Re: Weird DNS error?

2011-10-24 Thread Bob Proulx
Greg van Anders wrote: > I just did a brand new installation of Squeeze. The install seemed > to go fine and I didn't notice any problems. Did you select, at the task selection menu, the "DNS Server" task? You should be able to resolve names in both cases but the debug route is different in the di

Re: how to resize a compact flash image on disk

2011-10-24 Thread David Goodenough
On Monday 24 Oct 2011, Bob Proulx wrote: > David Goodenough wrote: > > Is there a tool which will taks the disk image and adjust it to a > > smaller size (it is far from full - there is plenty of empty space) > > before copying it to the CF. > > You didn't say what filesystem type you are using so

Load balancing high availability service

2011-10-24 Thread Jesus arteche
Hey guys, What do you think is the best solution from all points for create a Load balancing high availability service Thanks in advance

Re: how to handle the not upgraded package

2011-10-24 Thread Bob Proulx
Sven Joachim wrote: > Bob Proulx wrote: > > Sven Joachim wrote: > >> Unfortunately, apt-get does not have a safe-upgrade command. > > > > Here I beg to differ. 'apt-get upgrade' is the safe-upgrade mechanism. > > Well, it's not. Or it is, but it doesn't work in most cases. Hmm... Well... Works

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Monday 24 October 2011 23:02:42 Joey L, vous avez écrit : > > I'd say version 3 (1:3.0.3-2). > > But you have heartbeat and corosync installed, you must choose only one > > (I'd choose corosync). > > Okay - choose corosync -- though pacemaker is installed - i can not > control it - meaning ther

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Monday 24 October 2011 23:11:13 Joey L, vous avez écrit : > oh- have been following this tutorial : > > http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo#Install_the_packages > > it says that you should have heartbeat along with pacemaker and > corosync - i think. I don't have heratbeat inst

Re: how to handle the not upgraded package

2011-10-24 Thread François TOURDE
Le 15271ième jour après Epoch, Bob Proulx écrivait: > A safe-upgrade requires that no packages be removed and no new > packages be added. Wrong! New packages can be installed during a safe-upgrade: fermat:~# aptitude safe-upgrade Résolution des dépendances... Les NOUVEAUX paquets suivants vont ê

Weird DNS error?

2011-10-24 Thread Greg van Anders
Hi, I'm a bit embarrassed to be asking this question, but I just did a brand new installation of Squeeze. The install seemed to go fine and I didn't notice any problems. Upon booting, however, I don't seem to be able to resolve any hosts other than www.debian.org and security.debian.org. If I br

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L
> > I'd say version 3 (1:3.0.3-2). > But you have heartbeat and corosync installed, you must choose only one (I'd > choose corosync). Okay - choose corosync -- though pacemaker is installed - i can not control it - meaning there is no init file in /etc/init.d directory - but says installed. > c

Re: how to handle the not upgraded package

2011-10-24 Thread Sven Joachim
On 2011-10-24 22:45 +0200, Tom H wrote: > On Mon, Oct 24, 2011 at 4:14 PM, Sven Joachim wrote: >> >> As an unstable user, I beg to disagree.  With aptitude there are few >> occasions where dist-upgrade is necessary, and it often does unwanted >> things. Unfortunately, apt-get does not have a safe

Re: how to handle the not upgraded package

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 4:33 PM, Bob Proulx wrote: > Sven Joachim wrote: >> >> Unfortunately, apt-get does not have a safe-upgrade command. > > Here I beg to differ.  'apt-get upgrade' is the safe-upgrade mechanism. > Packages cannot be added or removed and dependency chains cannot be > broken. (

Re: how to handle the not upgraded package

2011-10-24 Thread Sven Joachim
On 2011-10-24 22:33 +0200, Bob Proulx wrote: > Sven Joachim wrote: >> Bob Proulx wrote: >> > Stable typically only needs safe-upgrade. But sometimes for point >> > releases and for some security upgrades will need a dist-upgrade. >> > Testing/Unstable by comparison typically always uses dist-upgr

Re: how to handle the not upgraded package

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 4:14 PM, Sven Joachim wrote: > > As an unstable user, I beg to disagree.  With aptitude there are few > occasions where dist-upgrade is necessary, and it often does unwanted > things. Unfortunately, apt-get does not have a safe-upgrade command. (slight digression) I wish t

Re: how to handle the not upgraded package

2011-10-24 Thread Bob Proulx
Sven Joachim wrote: > Bob Proulx wrote: > > Stable typically only needs safe-upgrade. But sometimes for point > > releases and for some security upgrades will need a dist-upgrade. > > Testing/Unstable by comparison typically always uses dist-upgrade. > > As an unstable user, I beg to disagree. W

Re: how to handle the not upgraded package

2011-10-24 Thread Sven Joachim
On 2011-10-24 22:05 +0200, Bob Proulx wrote: > lina wrote: >> I use aptitude safe-upgrade, > > On which release track? Stable? Testing/Unstable? > > Stable typically only needs safe-upgrade. But sometimes for point > releases and for some security upgrades will need a dist-upgrade. > Testing/Un

Re: how to handle the not upgraded package

2011-10-24 Thread Bob Proulx
lina wrote: > I use aptitude safe-upgrade, On which release track? Stable? Testing/Unstable? Stable typically only needs safe-upgrade. But sometimes for point releases and for some security upgrades will need a dist-upgrade. Testing/Unstable by comparison typically always uses dist-upgrade. >

Re: bad downloads during apt-get upgrade

2011-10-24 Thread Bob Proulx
Steve Kleene wrote: > dd /dev/null > dd: reading `standard input': Input/output error That isn't a good error message. I think your disk is failing. Review your /var/log/syslog and look for error messages there. I expect you will see other errors logged there. If you don't have a good backup

Re: how to resize a compact flash image on disk

2011-10-24 Thread Bob Proulx
David Goodenough wrote: > Is there a tool which will taks the disk image and adjust it to a > smaller size (it is far from full - there is plenty of empty space) > before copying it to the CF. You didn't say what filesystem type you are using so this is a suggestion in the blind, the best I can d

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Gilles Mocellin
Le Monday 24 October 2011 14:02:21 Joey L, vous avez écrit : > Okay..I was able to get my server back to its original problem state: > here is what i have installed: > > root@deb1:/etc/ha.d# dpkg -l |grep pacemaker > ii pacemaker1.0.9.1+hg15626-1 > HA cluster resou

Re: Kernel upgraded two or three times since install

2011-10-24 Thread John Vestrum
On 08/10/11 12:36, Mark Panen wrote: > Hi, > > I noticed my kernel has been upgraded two or three times but i am still > sitting on the original: > > "uname -r > 2.6.32-5-amd64" > Sorry for the belated reply, but having recently switched from another distro this bothered me as well. The typica

Re: broken dpkg status

2011-10-24 Thread Andrei Popescu
On Jo, 14 iul 11, 11:44:04, Tony van der Hoff wrote: > Due to a combination of fiddling and finger-trouble I have contrived > to delete part of my /var partition. Unfortunately, I have never > thought to back up /var, being transient data... Big mistake! Just for the archives: /var is not transien

Re: grub wish

2011-10-24 Thread Richard
On Mon, 24 Oct 2011 17:56:05 +0200 Thierry Chatelet wrote: > On Monday 24 October 2011 17:28:34 Richard wrote: > > Hi, > > is it possible on boot up to go to the login screen wait 10 seconds, and > > the automatically login a selected account? > > > > So on boot up it goes to the login screen an

Re: grub wish

2011-10-24 Thread Thierry Chatelet
On Monday 24 October 2011 18:03:49 Tom H wrote: > On Mon, Oct 24, 2011 at 11:56 AM, Thierry Chatelet wrote: > > On Monday 24 October 2011 17:28:34 Richard wrote: > >> is it possible on boot up to go to the login screen wait 10 seconds, and > >> the automatically login a selected account? > >> > >

Re: grub wish

2011-10-24 Thread Tom H
On Mon, Oct 24, 2011 at 11:56 AM, Thierry Chatelet wrote: > On Monday 24 October 2011 17:28:34 Richard wrote: >> >> is it possible on boot up to go to the login screen wait 10 seconds, and >> the automatically login a selected account? >> >> So on boot up it goes to the login screen and you have 1

Re: grub wish

2011-10-24 Thread Thierry Chatelet
On Monday 24 October 2011 17:28:34 Richard wrote: > Hi, > is it possible on boot up to go to the login screen wait 10 seconds, and > the automatically login a selected account? > > So on boot up it goes to the login screen and you have 10 secs to login to > any of the accounts, if not on timeout i

Re: grub wish

2011-10-24 Thread Thierry Chatelet
On Monday 24 October 2011 17:28:34 Richard wrote: > Hi, > is it possible on boot up to go to the login screen wait 10 seconds, and > the automatically login a selected account? > > So on boot up it goes to the login screen and you have 10 secs to login to > any of the accounts, if not on timeout i

Re: gnome3 startup segfault

2011-10-24 Thread Hugo Vanwoerkom
Camaleón wrote: On Thu, 20 Oct 2011 17:18:29 -0500, Hugo Vanwoerkom wrote: Camaleón wrote: On Thu, 20 Oct 2011 09:42:57 -0500, Hugo Vanwoerkom wrote: Frank wrote: (...) Common problem. I and others have had it. I have just about given up on Gnome3...can't wait for it to be sorted out

grub wish

2011-10-24 Thread Richard
Hi, is it possible on boot up to go to the login screen wait 10 seconds, and the automatically login a selected account? So on boot up it goes to the login screen and you have 10 secs to login to any of the accounts, if not on timeout it logs in the primary user, ( selected somewhere). ie automa

Re: Root missed at boot up.

2011-10-24 Thread Magicloud Magiclouds
On Fri, Oct 21, 2011 at 8:29 PM, Raf Czlonka wrote: > On Fri, Oct 21, 2011 at 10:37:23AM BST, Magicloud Magiclouds wrote: >> Hi there, >>   Sorry for the delayed reply. I am using grub on x86_64. And >> regenerate initramfs (default configuration) did not help. >>   Only way to work I know is to c

how to handle the not upgraded package

2011-10-24 Thread lina
Hi, I use aptitude safe-upgrade, so there are some packages un-upgraded, just curious, in future what's going to happen? 0 packages upgraded, 0 newly installed, 0 to remove and 72 not upgraded. Thanks, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "uns

Re: Recent Sid Upgrade--Unbootable System

2011-10-24 Thread Celejar
On Sun, 23 Oct 2011 10:58:44 +0100 Dom wrote: > On 23/10/11 09:32, David Baron wrote: > > Recent Sid upgrade rendered the system unbootable. Probably lvm packages. I > > get put into an initramfs shell. I rebooted to the previous kernel which had > > its initramfs apparently untouched. > > > > An

Re: kvm and bonding

2011-10-24 Thread John A. Sullivan III
- Original Message - From: "Stan Hoeppner" To: debian-user@lists.debian.org Sent: Monday, October 24, 2011 7:23:49 AM Subject: Re: kvm and bonding On 10/23/2011 3:05 PM, Jesus arteche wrote: > hey guys, > > do you know if it is possible to increase the bandwidth in a virtual machine >

Re: new to pacemaker and heartbeat on debian...getting error..

2011-10-24 Thread Joey L
Okay..I was able to get my server back to its original problem state: here is what i have installed: root@deb1:/etc/ha.d# dpkg -l |grep pacemaker ii pacemaker1.0.9.1+hg15626-1 HA cluster resource manager root@deb1:/etc/ha.d# dpkg -l |grep heartbeat ii heartbeat

bad downloads during apt-get upgrade

2011-10-24 Thread Steve Kleene
On just one of my three Wheezy machines, I often get bad downloads when I run apt-get upgrade. This started abruptly seven weeks ago. The general form of the apt-get error includes this: dpkg: error processing /var/cache/apt/archives/[package].deb (--unpack): short read on buffer copy for b

Re: kvm and bonding

2011-10-24 Thread Stan Hoeppner
On 10/23/2011 3:05 PM, Jesus arteche wrote: > hey guys, > > do you know if it is possible to increase the bandwidth in a virtual machine > running on kvm server with etehrnet bonding (LACP), or the bandwidth is > limited by kvm per virtual machine and not for network adaptor??? If you haven't cre

Re: Disconnecting from ssh session (connected to a windows pc) without stopping remote process

2011-10-24 Thread Erwan David
On Mon, Oct 24, 2011 at 01:07:56PM CEST, George said: > I connect from a Debian machine to a windows computer using ssh > (server is WinSSHd). Is it possible to disconnect from ssh without > stopping the remote process? remote processes should be launched inside some equivalent of screen or tmux.

Disconnecting from ssh session (connected to a windows pc) without stopping remote process

2011-10-24 Thread George
I connect from a Debian machine to a windows computer using ssh (server is WinSSHd). Is it possible to disconnect from ssh without stopping the remote process? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.deb

how to resize a compact flash image on disk

2011-10-24 Thread David Goodenough
I have a debian(sid) system, and on that is a DD image of a CF card which also holds a debian(sid) disk image. I recently bought some new CF cards, but they are slightly smaller than the ones I built the image for, and so DD complains when I copy the image onto them, and then fsck complains when I

Re: bash command

2011-10-24 Thread Darac Marjal
On Fri, Oct 21, 2011 at 03:42:36PM -0400, Stefan Monnier wrote: > > Sadly, this can't be done in-place, so you'll either need to use mv to > > replace /etc/conf.file with /etc/conf.file.new or repeat the loop (with > > no substitution) to copy /etc/conf.file.new into /etc/conf.file. > > It can be