Re: domain name

2012-08-31 Thread Bob Proulx
Glenn English wrote: > Let's see if I've got this straight... > > Debian squeeze gets the host's domain name from the first > non-comment or non-empty line of /etc/hosts?? If it likes > that line?? No. That is incorrect. Debian sets the hostname from /etc/hostname. This is done at boot time i

Re: Re: upgrading to wheezy: punctual list of issues

2012-08-31 Thread Dr Beco
songbird wrote: > does update-grub as root accomplish anything? > > check the release notes (in progress) at: > > http://www.debian.org/releases/wheezy/releasenotes > > for your architecture. > > songbird Yep! Thanks! Now I got a very nice kernel panic, but booted 3.2! I will reinsta

Re: upgrading to wheezy: punctual list of issues

2012-08-31 Thread songbird
Dr Beco wrote: > Dear Linuxers, > > > Today I started the process of upgrading a server from squeeze to wheezy. > > I did the following procedure: > 1) changed sources.list renaming all squeeze to wheezy. > 2) apt-get update > 3) apt-get upgrade > 4) apt-get --download-only --dist-upgrade > 5) apt-

Re: domain name [SOLVED]

2012-08-31 Thread Glenn English
I think I've got it, and it makes sense, in retrospect. Here's a good site: http://www.microhowto.info/howto/persistently_change_the_hostname_of_the_local_machine_on_debian.html What happens, apparently, is that nothing ever sets the domain name at boot. When the kernel wants an FQDN, it does

Re: what is the difference between "/usr/bin/X" and "/usr/bin/Xorg"?

2012-08-31 Thread Bob Proulx
bobg.h...@gmail.com wrote: > On Tuesday, July 26, 2011 10:30:02 PM UTC-5, jiang lei wrote: > > is there any difference between "/usr/bin/X" and "/usr/bin/Xorg"? > > On my >debian box, /usr/bin/X is not symlink to /usr/bin/Xorg, and > > i can start X server >with /usr/bin/X but fail with /usr/bin/Xo

Re: Dual-Monitor help

2012-08-31 Thread Bob Proulx
The Wanderer wrote: > Bob Proulx wrote: > >The Wanderer wrote: > >>Bob Proulx wrote: > >>>The 'x-session-manager' is a Debian package specific symlink > >>>handle that always points to the currently configured window > >>>manager. I guess I did say "window manager" there. That isn't precisely cor

upgrading to wheezy: punctual list of issues

2012-08-31 Thread Dr Beco
Dear Linuxers, Today I started the process of upgrading a server from squeeze to wheezy. I did the following procedure: 1) changed sources.list renaming all squeeze to wheezy. 2) apt-get update 3) apt-get upgrade 4) apt-get --download-only --dist-upgrade 5) apt-get --dist-upgrade Now here the

Re: what is the difference between "/usr/bin/X" and "/usr/bin/Xorg"?

2012-08-31 Thread bobg . hahc
On Tuesday, July 26, 2011 10:30:02 PM UTC-5, jiang lei wrote: >     is there any difference between "/usr/bin/X" and "/usr/bin/Xorg"? On my > >debian box, /usr/bin/X is not symlink to /usr/bin/Xorg, and i can start X > server >with /usr/bin/X but fail with /usr/bin/Xorg? i google it but find > n

Re: Query about failure of Debian 6 64 bit to swap properly

2012-08-31 Thread Chris Bannister
On Wed, Aug 29, 2012 at 10:07:12PM +0100, Lisi wrote: > On Wednesday 29 August 2012 21:15:01 Claudius Hubig wrote: > > > A problem that I (appear to) have found, is that the malware named > > > javascript appears to cause havoc in continually increasing usage of > > > RAM. > > > > Javascript is a p

Re: domain name

2012-08-31 Thread Wayne Topa
On 08/31/2012 06:14 PM, Glenn English wrote: On Aug 31, 2012, at 3:39 PM, Wolf Halton wrote: /etc/resolv.conf search domain Already set. /etc/hosts second name on line with 127.0.0.1 machine-name Set to localhost.localdomain /etc/hostname should just be machine-name Already set. $

Re: How upstart-job is performing in debian system ?

2012-08-31 Thread Chris Bannister
On Wed, Aug 29, 2012 at 02:48:11PM +, Camaleón wrote: > With my admin's hat on, I prefer the old and well-know sysvinit because I > don't need anything special for the booting process but I understand that > people with specific requirements (or those called "early adopters") are > awaiting

Re: domain name

2012-08-31 Thread Glenn English
On Aug 31, 2012, at 3:39 PM, Wolf Halton wrote: > /etc/resolv.conf > search domain Already set. > /etc/hosts > second name on line with 127.0.0.1 machine-name Set to localhost.localdomain > /etc/hostname > should just be machine-name Already set. > $ hostname -a > shows what the machine th

Re: domain name

2012-08-31 Thread Tom H
On Fri, Aug 31, 2012 at 5:22 PM, Glenn English wrote: > > Debian squeeze gets the host's domain name from the first > non-comment or non-empty line of /etc/hosts?? If it likes > that line?? > > Not from /etc/hostname and not from the "kernel.domainname = " > line in /etc/sysctl.conf? ("kernel.doma

Re: 200% OT: alsa-base breaks linux-sound-base

2012-08-31 Thread Charles Kroeger
On Thu, 30 Aug 2012 19:50:02 +0200 Ralf Mardorf wrote: > "A towel, it says, is about the most massively useful thing Exactly Ralf..I'm always wearing a towel instead of my sarong that often goes missing. You see it's true, a man who knows where his towel is, is never exposed. -- CK -- To

domain name

2012-08-31 Thread Glenn English
Let's see if I've got this straight... Debian squeeze gets the host's domain name from the first non-comment or non-empty line of /etc/hosts?? If it likes that line?? Not from /etc/hostname and not from the "kernel.domainname = " line in /etc/sysctl.conf? ("kernel.domainname = example.com" is

Re: Standard for soft return by automatic word and line wrap

2012-08-31 Thread Chris Bannister
On Tue, Aug 28, 2012 at 01:22:09PM +0100, Darac Marjal wrote: > On Mon, Aug 27, 2012 at 03:35:52AM +1200, Chris Bannister wrote: > > On Sat, Aug 25, 2012 at 08:31:06PM +0200, Ralf Mardorf wrote: > > > I used gvim, but kate and gedit and even leafpad and others are more > > > comfortable. IIRC commo

Re: [SOLVED] Is my processor 32-bit or 64-bit?

2012-08-31 Thread Stephen Powell
On Wed, 29 Aug 2012 09:35:36 -0400 (EDT), Stan Hoeppner wrote: > > Stephen, most PC IO plates are removable, have been for well over 15 > years. Once you remove the motherboard you simply stick your thumb on > the interior side of the IO panel and pop it out the back. New mobos > come with their

xsesssion-errors

2012-08-31 Thread Frank McCormick
I keep seeing references to NVidia in my .xsesssion-errors file. I haven't used Nvidia for a couple of years. What could be hanging around from those days ?? (firefox:2707): atk-bridge-WARNING **: Could not locate registry Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared o

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Gaël DONVAL
As usual, I obviously screwed up the indexes... > 10 DAT(IDX)=VAL < 10 DAT(IDX+1)=VAL > WRITE(2,*), i, DAT(i) < WRITE(2,*), i-1, DAT(i) Le vendredi 31 août 2012 à 20:00 +0200, Gaël DONVAL a écrit : > I have to learn fortran. > I just thought this was

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Gaël DONVAL
Le vendredi 31 août 2012 à 08:21 -0700, daniel jimenez a écrit : > as before, the file is from an experimenter who chose the format > arbitrarily (maybe the photon counter outputs that, no clue [dont > really care]) and Im doing this as a favor. Maybe this experimenter should ask for a program alt

Re: Restoring partition table.

2012-08-31 Thread Malcolm Reed
Tom Grace writes: > I would use Testdisk (should be in the repos), rather than try to copy > the partition table from another disk. Have a look at > http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step#Partition_table_recovery > for some ideas. > > As ever with this stuff, be really careful that

Re: Restoring partition table.

2012-08-31 Thread Tom Grace
On 31/08/12 17:13, Malcolm Reed wrote: > > Hello, > bad news for me - I lost partition table in my 1Tb hard drive. All what > I have it's fdisk output of working drive: > > Can I convert fdisk output to sfdisk dump? How to convert count of > blocks to number of sectors for using with sfdisk? > W

Restoring partition table.

2012-08-31 Thread Malcolm Reed
Hello, bad news for me - I lost partition table in my 1Tb hard drive. All what I have it's fdisk output of working drive: Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 51

Re: OT: How upstart-job is performing in debian system ?

2012-08-31 Thread Tom H
On Thu, Aug 30, 2012 at 4:09 AM, Ralf Mardorf wrote: > On Wed, 2012-08-29 at 11:35 -0400, Tom H wrote: >> >> I've been following the systemd threads on the Arch mailing lists >> since you pointed to them. What I find interesting is that, on the >> users' list, people are still hyper-ventilating ab

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread daniel jimenez
I didnt mean to say this was oo programming, only that my background is in strictly scientific computing using structured programming in c and fortran. this rarely requires doing any formating work on lines such as this... as before, the file is from an experimenter who chose the format arbitraril

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Gaël DONVAL
Le vendredi 31 août 2012 à 09:48 -0400, Miles Fidelman a écrit : > For going through a file, line-by-line, and massaging the format, my > first instinct would be sed. That's what it's intended for. Actually, I did not read the whole thread (shame on me) prior to answering. I think what is really

Re: mpt raid status change

2012-08-31 Thread Tom H
On Fri, Aug 31, 2012 at 9:44 AM, Wolf Halton wrote: > > I get a couple of hundred messages per month to my local root user on each > debian server VM I run that mention that "mpt raid status change." > > This comes from systems that have one virtual drive or two, and I do not > have raid set up on

Re: raid status warning

2012-08-31 Thread Camaleón
On Fri, 31 Aug 2012 14:35:33 +, Bonno Bloksma wrote: > Using Debian Squeeze, fully patched. > > I have a bunch of weird errors in my syslog Aug 31 08:03:30 wwwgw > mpt-statusd: detected non-optimal RAID status > > The funny thing is, I do not use RAID. This is a VMware virtual machine > usin

Re: mpt raid status change

2012-08-31 Thread Camaleón
On Fri, 31 Aug 2012 09:44:22 -0400, Wolf Halton wrote: > Hi, > I am new on this list, but not entirely new to Debian. Salutations, but please, avoid html formatted postings :-) > I get a couple of hundred messages per month to my local root user on > each debian server VM I run that mention that

raid status warning

2012-08-31 Thread Bonno Bloksma
Hi, Using Debian Squeeze, fully patched. I have a bunch of weird errors in my syslog Aug 31 08:03:30 wwwgw mpt-statusd: detected non-optimal RAID status The funny thing is, I do not use RAID. This is a VMware virtual machine using a primary partition for /boot and everything else is in a LVM pa

Re: [ask] google translate client or similar method

2012-08-31 Thread Camaleón
On Fri, 31 Aug 2012 14:51:52 +0700, Morning Star wrote: > Hi guys, Hi, but please, no html posts, thanks :-) > Is there any application in Debian like google translate client? If > there is, would you tell me what is it? > If there isn't, is there some method to submit some words to > http://tra

Re: qt embedded on Debian

2012-08-31 Thread Camaleón
On Thu, 30 Aug 2012 13:37:42 -0500, hvw59601 wrote: > Camaleón wrote: >> On Thu, 30 Aug 2012 09:31:03 -0500, hvw59601 wrote: >> >>> Is it true that there is no package for QT embedded on Debian and that >>> it has to be compiled from source using >>> http://qt-project.org/doc/qt-4.8/qt-embedded-i

Re: copying data from a partition with badblocks

2012-08-31 Thread Camaleón
On Thu, 30 Aug 2012 14:35:42 -0400, Kamaraju S Kusumanchi wrote: > Camaleón wrote: > >> On Thu, 30 Aug 2012 11:07:15 -0400, Kamaraju S Kusumanchi wrote: >> >>> One of the partitions on my hard drive has badblocks. I did a >>> >>> $sudo e2fsck -c -c -f -v /dev/sdb7 >>> >>> on it and it found 75

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Miles Fidelman
Gaël DONVAL wrote: Le vendredi 31 août 2012 à 09:46 +0100, Jon Dowland a écrit : On Fri, Aug 31, 2012 at 02:18:15AM +, Mark Blakeney wrote: On Fri, 31 Aug 2012 01:31:29 +, Russell L. Harris wrote: This exercise provides the impetus to learn to use a very useful tool, namely Perl. I wo

mpt raid status change

2012-08-31 Thread Wolf Halton
Hi, I am new on this list, but not entirely new to Debian. I get a couple of hundred messages per month to my local root user on each debian server VM I run that mention that "mpt raid status change." This comes from systems that have one virtual drive or two, and I do not have raid set up on. Is

Re: [ask] google translate client or similar method

2012-08-31 Thread Brian
On Fri 31 Aug 2012 at 14:51:52 +0700, Morning Star wrote: > Is there any application in Debian like google translate client? If there > is, would you tell me what is it? Decide for yourself. Here's a start: apt-cache search translate | less -- To UNSUBSCRIBE, email to debian-user-requ...@l

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Gaël DONVAL
Le vendredi 31 août 2012 à 09:46 +0100, Jon Dowland a écrit : > On Fri, Aug 31, 2012 at 02:18:15AM +, Mark Blakeney wrote: > > On Fri, 31 Aug 2012 01:31:29 +, Russell L. Harris wrote: > > > This exercise provides the impetus to learn to use a very useful tool, > > > namely Perl. > > > > I

Re: XFS TRIM Support on Debian 6.0.5 ?

2012-08-31 Thread Stan Hoeppner
On 8/31/2012 2:37 AM, Andy Chandra wrote: > Hi Stan, Hi Andy, Please always make sure you reply to, or CC, the list so all people see all posts and so they get archived for those searching Google. > Thank you for your clue. > > Because it looks like little bit complicated, If you see that as c

Re: XFS TRIM Support on Debian 6.0.5 ?

2012-08-31 Thread Stan Hoeppner
On 8/31/2012 1:44 AM, Stan Hoeppner wrote: > On 8/30/2012 10:15 PM, Andy Chandra wrote: > >> I was wondering if Debian 6.0.5 support TRIM (for Solid-state Disks) using >> XFS filesystem on Debian 6.0.5? The server specs on your website list two 160GB SSDs in RAID1. TTBOMK no RAID implementation

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Jon Dowland
read ignore read ignore index=-1 while read line; do set -- $line index=$((index + 1)) if [ $index != "$1" ]; then while [ $(($1 - $index)) -gt 0 ]; do echo $index 0 index=$((index + 1)) done fi index="$1" [ "$index" -le 1024 ] || break second=1 shift [ $# -le

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Jon Dowland
On Fri, Aug 31, 2012 at 02:18:15AM +, Mark Blakeney wrote: > On Fri, 31 Aug 2012 01:31:29 +, Russell L. Harris wrote: > > This exercise provides the impetus to learn to use a very useful tool, > > namely Perl. > > I would suggest python is a much better choice to a young person > just star

Re: Please help parsing file [sed, awk, fortran, bash]

2012-08-31 Thread Morel Bérenger
Le Ven 31 août 2012 6:42, daniel jimenez a écrit : > Hello guys, > > > @richard, > > > 1 this is not homework, a friend asked me to do some statistics on an > experimental dataset he got for his masters thesis and the file was > already that way. > > 2 i'm well versed in fortran, this problem howev

Re: OpenVPN

2012-08-31 Thread Registros Web
On Thu, Aug 30, 2012 at 11:16 PM, cletusjenkins wrote: > >>Whether you are acting as a server or a client you need to have a >>config file (.conf) in the /etc/openvpn directory (wich is the default >>location where the openvpn service will look for .conf files and will >>try to start those connect

[ask] google translate client or similar method

2012-08-31 Thread Morning Star
Hi guys, Is there any application in Debian like google translate client? If there is, would you tell me what is it? If there isn't, is there some method to submit some words to http://translate.google.com/ for each input language will produce each corresponding output language? For example: Englis