Re: Debian problem

2012-05-02 Thread Johan Mazel
Thanks for all your answers.
I sent another mail to this mailing list to expose my problem.
Regards.
Johan

2012/5/3 Camaleón :
> On Wed, 02 May 2012 19:08:52 +0900, Johan Mazel wrote:
>
>> I have a problem with Debian Testing on an Dell Optiplex 960. Can I ask
>> for some help on this list or should I use another way ?
>
> This list is okay but for the next time it would be better if you include
> a more descriptive subject for the problem ;-)
>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/jnrkp9$iv6$6...@dough.gmane.org
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKS5mhRPUhJJn5=_pYdiDzMbGHJ=oks0bxy4i90vcdrqs1t...@mail.gmail.com



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 03:54:21PM +, Camaleón wrote:
> On Wed, 02 May 2012 10:04:36 -0500, Indulekha wrote:
> 
> > On Wed, May 02, 2012 at 02:50:38PM +, Camaleón wrote:
> 
> >> > So, do you run leafnode and point it at nntp://news.gmane.org then?
> >> 
> >> I've never used Leafnode before. Is a NNTP server, right?
> >> 
> >> Let me take a look:
> >> 
> >> http://leafnode.sourceforge.net/overview.shtml
> 
> (...)
>  
> > Thanks, but I do already know how to run leafnode -- been doing that
> > with news.individual.net for a few years.
> 
> So then? I already say how I read/post to this list and don't remember 
> mentioning leafnode at all :-)
> 
> > Just wondered if that's what you were using for gmane, sorry if I wasn't
> > clear. 
> 
> Nope, I use Pan (a newsreader client) to read/post here using Gmane, like 
> if I were using a standard MUA.
>

Ah well, please excuse me and (as Emily Litella used to say) never mind 
then. I thought you'd mentioned something about running a newsserver, and 
so I wondered if it was leafnode. Perhaps I misunderstood. I know you 
use Pan, but leafnode is newsreader agnostic.

> > Anyway, I think sticking with the straight list is probably fine
> > for me at this point. It's always good to have alternative options if
> > needed, but gmane seems a bit of a kludge to me frankly, and now there's
> > that shadow of doubt cast by this whole "joelassistly" thing... (Though
> > it may have nothing to do with gmane, but IDK).
> 
> IMO, Gmane is one of the better/useful things there's now in the web, I 
> don't know why you speak about it in that way. Anyway, I'm afraid you 
> haven't understood what's going on with that "joe1..." posts :-/
> 

Frankly, it doesn't appear anyone fully understands it, that was my 
point. My poor mother (who of course is even more old and feeble than 
I) is always falling for questionable things she finds on the internet, 
and downloading glitzy, cutesy things to decorate her emails, and sending 
those "e-greeting cards". Her laptop has to be wiped and reinstalled almost 
every other month. Since I can't convince her to stop it, I have 
a collection of about 60 mail filters to cover all the crap I get because 
of her (not from her). This has made me wary...

So I meant no offense, but my motto in such matters is "caveat utilitor". 
("let the user beware") You can continue to be the guinea pig (so to 
speak); I'm the old lady in the white lab coat waiting to see what happens. 
:)
-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120503043021.GB6321@radhesyama



Re: Macbook pro re-mapping single key

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 09:00:12PM -0500, Mark Allums wrote:
> On 5/2/2012 5:05 PM, Riccardo Romoli wrote:
> >Hi to all,
> >
> >I'm a newbie of Debian but using the Debian-Wiky I was able to install
> >Debian 6 as single boot, on my MacBookPro (v.3.1). The only problem I
> >notice, till now, is about the Alt key. I bought the computer as
> >used from a German guy ignoring that the keyboard has the particularity
> >to has only the left Alt key instead of two. So the right Alt key is
> >replaced by a second ENTER and the left Alt key is used as Meta key
> >instead of Option key.
> >
> >I tried to configure the keyboard with the graphical interface but I
> >wasn't able solve my problem. If, for example I press Alt+Tab, I was
> >able to switch between the different windows, but the Alt key doesn't
> >work both in the various text editors (emacs, gedit...) and in the
> >terminal, to type the extra character such as tilde, square brackets...
> >
> >I think I should re-map my keyboard replacing the extra ENTER with the
> >Alt(Option) key but I have no idea how to do this.
> >
> >Do you have any suggestion?
> >

Install the package xev if you don't already have it, and read the 
man page. Xev will allow you to see which key generates what keycode.
Won't help in the console, but using an xwindows environment you can
remap your keys as you wish using xmodmap. (read "man xmodmap").
Sorry for the overgeneralization, but I haven't had the need to do this 
in a few years, so only vaguely recall what I did...

> 
> When away from home base, remapping would be preferable, but at
> home, you might get a full-sized PC keyboard that works the way you
> expect. You would have to re-configure the key layout every time you
> switched, but it's something to consider.
> 

No problem, you just use shell aliases (or little scripts) and have 
them point to (for example) .xmodmap0 and xmodmap1, as replacements 
for the standard xmodmap. Create keybindings to switch from one to the 
other in your window manager, and at the stroke of a key you can switch 
from one layout to the other.

I know this is all very general and probably sounds dreadfully opaque, 
but once you have the actual keycodes if you need more help just come back 
and post the details.

Here's the xev output for my "Return" key, just to show you what to look 
for. It's different on different keyboards, so this is only an example:

KeyRelease event, serial 35, synthetic NO, window 0x181,
root 0x128, subw 0x0, time 20931520, (-6,197), root:(15,331),
state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
"   XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False

So when you see something similar for each key you want to redefine, 
you know you're on to something. :)

Good luck!

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120503034212.GA6321@radhesyama



Graphic problem on Debian testing installed on Dell Optiplex 960

2012-05-02 Thread Johan Mazel
Hi
I have a Debian testing 64 bits running on a Dell Optiplex 960.

I have three different kernels installed: 2.6.32-5, 3.2.0-1 and 3.2.0-2.

Until a recent upgrade (through apt-get update/apt-get upgrade), I
could not use the Gnome login screen with kernel versions 3.2.0-1 and
3.2.0-2: the top of the screen displayed a strange random pattern of
pixels of many colors and the bottom of the screen was black. However,
in this case, I was able to use GUI login, and, thus, Debian by using
2.6.32-5 kernel.

After a recent upgrade, the Gnome login screen is now not even
available with the 2.6.32-5 kernel. I only have a black screen with a
cursor on the top-right corner and a rectangle constituted of random
pixels in black and white located at the left of the screen and close
to the top of the screen.

I tried to remove the gdm3 package. This allow me reach the login
console with the 2.6.32-5 kernel. In this case, I also have a
rectangle constituted of random pixels in black and white located at
the same place: left of the screen and close to the top of the screen.
And, I still have the same bug as before with kernel versions 3.2.0-1
and 3.2.0-2: random pattern of pixels in many colors on top of the
screen and black on the bottom of the screen.
I tried to use the command startx when I am in the console but there
is a problem. I do not copy here the result but I can extract. I think
that this problem is causing the trouble with Gnome.

Lspci finds this graphic card:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee
ATI RV620 LE [Radeon HD 3450] (prog-if 00 [VGA controller])
Subsystem: Dell Device 0342
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d000 (64-bit, prefetchable) [size=256M]
Memory at fe9f (64-bit, non-prefetchable) [size=64K]
I/O ports at dc00 [size=256]
Expansion ROM at fea0 [disabled] [size=128K]
Capabilities: 
Kernel driver in use: radeon

I have no idea how to fix this problem.
I would be grateful is somebody could help me fix it.
Regards.
Johan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKS5mhSAKscZ_ocZYBFifXDiRryw3jkPr=y73znt93tdagc...@mail.gmail.com



Re: Macbook pro re-mapping single key

2012-05-02 Thread Mark Allums

On 5/2/2012 5:05 PM, Riccardo Romoli wrote:

Hi to all,

I'm a newbie of Debian but using the Debian-Wiky I was able to install
Debian 6 as single boot, on my MacBookPro (v.3.1). The only problem I
notice, till now, is about the Alt key. I bought the computer as
used from a German guy ignoring that the keyboard has the particularity
to has only the left Alt key instead of two. So the right Alt key is
replaced by a second ENTER and the left Alt key is used as Meta key
instead of Option key.

I tried to configure the keyboard with the graphical interface but I
wasn't able solve my problem. If, for example I press Alt+Tab, I was
able to switch between the different windows, but the Alt key doesn't
work both in the various text editors (emacs, gedit...) and in the
terminal, to type the extra character such as tilde, square brackets...

I think I should re-map my keyboard replacing the extra ENTER with the
Alt(Option) key but I have no idea how to do this.

Do you have any suggestion?

Best Ricardo


Sent from iPod



Unhelpful, but possibly a good suggestion? :

When away from home base, remapping would be preferable, but at home, 
you might get a full-sized PC keyboard that works the way you expect. 
You would have to re-configure the key layout every time you switched, 
but it's something to consider.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa1e6ac.30...@allums.com



Re: debian-user-digest Digest V2012 #674

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 03:52:05PM -0700, tina braxton wrote:
>Please take me off this list.  Thanks.
>  __
> 

I'm sure most of us would be happy to do that for you if we could.
Please kindly reference the notice at the bottom of every single 
email you get from this list for the top secret instructions which 
will grant you the awesome power to take yourself off the list, as 
if by magic. Thanks!

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120503015447.GA4671@radhesyama



Re: dist-upgrades on sid (was: X server: connection refused)

2012-05-02 Thread Cyril Brulebois
Jochen Spieker  (02/05/2012):
> Incidentally, apt-get dist-upgrade is less disastrous in this case. It
> only suggests to remove xserver-xorg-video-all,
> xserver-xorg-video-s3virge and xserver-xorg-video-tdfx while keeping
> all important X related packages for my system.

Background:
  http://blog.mraw.org/2012/05/01/DXN-11/

Status:
  http://release.debian.org/transitions/html/xorg.html

s3virge and tdfx both need some non-trivial merges from upstream, that's
why they didn't get processed yesterday along with the others.

(fly-by mode, I'm not subscribed to debian-user@.)

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: Swap space not used

2012-05-02 Thread Stephen Powell
On Wed, 02 May 2012 07:12:31 -0400 (EDT), Sian Mountbatten wrote:
> ...
> As a rule, your swap partition should be the same size as your RAM.
> ...

It is my understanding that,
assuming suspend/resume is supported, your swap partition
should be AT LEAST as large as TWICE the amount of RAM.
Suspend/resume will consume a RAM's worth right out of the
starting gate.  The rest is then available for regular swap
file activity.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1983883132.927945.1336008398682.javamail.r...@md01.wow.synacor.com



Re: Solved: Re: Can't install flashplugin.nonfree. ERROR: wget failed to download

2012-05-02 Thread Han Soo Chang
I thank you all for your help.  But there seems to be a big
misunderstanding.

The issue is not how to use sudo or how to set up no-password.

If you could see my original report, it would be clear.  But it seems to
have fallen off the thread.

Here is what happened.

$sudo apt-get install flashplugin-nonfree
then I typed my password.
-
ERROR: wget failed to download
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc
More information might be available at:
 http://wiki.debian.org/FlashPlayer

I checked the following
$ LANG="en_US.utf8" wget -v
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc
--2012-04-3014:42:43--
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc
Resolving ns14... 10.1.1.12
Connecting to ns14|10.1.1.12|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1273 (1.2K) [text/plain]
fp10.sha512.amd64.pgp.asc: Permission denied


Next, I did this

$su
Then I typed my password
# apt-get install flashplugin-nonfree

And it succeeded.

So, it seems that when I invoked the command under sudo,
the script invoked by the command tried to write a file to a directory, but
failed
because of denied permission.
But when I invoked it under superuser, it succeeded.

So, I wonder whether this is because
(1)  I mishandled my set up of sudo
(2) this is a subtle bug of packaging of flashplugin-nonfree,
(3) this is a feature of flashplugin-nonfree package unavoidable for some
security reason
(4) Debian culture commands that I become superuser instead of using sudo.

Cheers,
Han Soo


Re: Swap space not used

2012-05-02 Thread Scott Ferguson
On 02/05/12 17:48, Bret Busby wrote:
> Hello.
> 
> I am running Debian 6.
> 
> When I installed it, I had a swap partition of about 40GB set up, as is
> shown by gparted.
> 
> But, for some strnge reason, Debian 6will not use the swap space,


> even
> though gparted shows it to be "Active".

I don't believe gparted is telling you that swap is "in use".

> 
> Instead of Debian 6 using the swap[ partition, it just runs out of
> memory, progressively, requiring rebooting every few days.

That sounds like a separate problem. Perhaps you could script some tasks
for your system that include a regular "free" command and post the
output to the list so we can analyse this phenonema?

> 
> Why is this so?

JSM is that you?
:-)

> 
> Thank you in anticipation.
> 
> -- 
> Bret Busby
> Armadale
> West Australia
> ..
> 
> "So once you do know what the question actually is,
>  you'll know what the answer means."
> - Deep Thought,
>   Chapter 28 of Book 1 of
>   "The Hitchhiker's Guide to the Galaxy:
>   A Trilogy In Four Parts",
>   written by Douglas Adams,
>   published by Pan Books, 1992
> 
> 
> 
If your system is not using swap then it's most likely been disabled (or
not enabled). Strange, but possible.

As others have suggested - read fstab. Swap should be enabled there.
eg.:-
# grep swap /etc/fstab
# swap was on /dev/sda2 during installation
UUID=999ce39b-f101-417a-9ef8-bf20ec3c86ba noneswapsw
  0   0


Which, if not already enabled would require the following to enable it:-
# swapon /dev/sda2


To see what is currently set for swap:-
# free


There have been a number of comments and "rules" for swap proposed - in
fact there is *no* swap "rule".

Swap is not "required". Enable it if you wish - but it's not mandatory,
and it's usefulness is determined by your needs.

For a "desktop" that does a lot of graphic editing you'd normally want
>1GB of RAM and >512MB of swap, more swap than that will usually result
in slower performance. But it will vary considerably from one individual
to another. The bigger the pond the more fish you can stock - the
smaller the pond the easier it is to catch a given fish.

ie. for netbooks using solid state drives I normally provide *no* swap,
if they've 2GB of RAM and don't use suspend (the usual build).


The system's use of swap is determined by the chosen applications and
the "swappiness" settings:-
$ cat /proc/sys/vm/swappiness

Default for a "desktop" that's used for development and graphic editing
is 60.




Kind regards


-- 
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to questions about Debian:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa1d298.5050...@gmail.com



Re: Flashplayer on Debian Squeeze.

2012-05-02 Thread Scott Ferguson
On 02/05/12 23:36, Lisi wrote:
> Hi, all!
> 
> I have been trying to get Flashplayer



> 
> Thanks,
> Lisi
> 
> root@Hercules:/home/peter# update-flashplugin-nonfree --install
> ERROR: wget failed to download 
> http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.i386.pgp.asc
> More information might be available at:
>http://wiki.debian.org/FlashPlayer
> root@Hercules:/home/peter#
> 
> 
Looks like you encountered server errors.

Seems to be working fine now:-
# update-flashplugin-nonfree --install
--2012-05-03 09:54:19--
http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.233/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.macromedia.com... 125.56.242.70
Connecting to fpdownload.macromedia.com|125.56.242.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6916591 (6.6M) [application/x-gzip]
Saving to: `./install_flash_player_11_linux.i386.tar.gz'

 0K .. .. .. .. ..  0% 76.6K 88s



208K 0s
  6750K   100%  160K=43s

2012-05-03 09:55:04 (156 KB/s) -
`./install_flash_player_11_linux.i386.tar.gz' saved [6916591/6916591]

NOTE: Squeeze system, *not* pulled from debian-multimedia


Kind regards

-- 
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to questions about Debian:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa1caf5.9040...@gmail.com



Re: debian-user-digest Digest V2012 #674

2012-05-02 Thread tina braxton
Please take me off this list.  Thanks.



 From: "debian-user-digest-requ...@lists.debian.org" 

To: debian-user-dig...@lists.debian.org 
Sent: Monday, April 30, 2012 3:54 AM
Subject: debian-user-digest Digest V2012 #674
  
- Forwarded Message -

debian-user-digest Digest                Volume 2012 : Issue 674

Today's Topics:
  Re: changing window managers in debi  [ Dan Hitt  ]
  Re: eglibc fails to build from sourc  [ "Christofer C. Bell"  ]
  Re: Can't install flashplugin.nonfre  [ =?ISO-8859-1?Q?Johan_Gr=F6nqvist?=  ]
  Re: 2TB USB hard drive for backing u  [ Chris Bannister  ]
  Re: Can't install flashplugin.nonfre  [ Arnt Karlsen  ]
  Re: Shorewall 4.5.2.2 startup questi  [ Andrei POPESCU  ]
  Re: iptables service with debian      [ Tom H  ]
This is a sort of subquery to the question of how to change window
managers.  (And thanks again Johan, Camaleón, and Indulekha for your
earlier help.)

So the question is: supposing you compile a window manager yourself,
so that it does not come from the packaging system.

What is the standard best way of setting this new window manager as yours?

It certainly won't exist in any of the lists on the login page, since
debian could not know about it.

So, i googled around, and there's this page
    http://www-rohan.sdsu.edu/doc/debian/ch-X.html
which recommends just making an executable file
    /home/USER/.xsession
and putting in a sequence of commands there---which
could just be the path to your window manager.

I tried this, and . . . . it works.

But i feel a little uneasy about this, like this is not a best practice,
or some newer release of debian may break it.

(Note that the window manager i built is WindowMaker 0.95.2 which
is a few revisions ahead of the squeeze version.  And although it
certainly works, and i can launch applications, it doesn't look at all
like the squeeze version.  For example, it has a solid light purple
background, instead of the debian swirls.)

Thanks in advance for any info.

dan
On Sun, Apr 29, 2012 at 9:01 PM, bibop554 -  wrote:
> Hi all,
>
> I try to build eglibc from source but it fails. I'm on Debian squeeze 6.0.3
> I downloaded [eglibc_2.11.3.orig.tar.gz] and [eglibc_2.11.3-2.diff.gz]
> from http://packages.debian.org/squeeze/libc6

Did you install the build dependencies?

$ apt-get build-dep eglibc

> Not sure if i made an error somewhere or if it is a bug.
> Any help would be appreciated. Feel free to ask more information

>From the apt-get man page:

build-dep causes apt-get to install/remove packages in an attempt to
satisfy the build dependencies for a source package.

Try again after doing that and see what happens.

-- 
Chris
On Sun, Apr 29, 2012 at 07:07:30PM +0200, Ralf Mardorf wrote:
> So please help the OP to get it working. It's working for some of you,
> so if it isn't working for others, they spread FUD?

It is, when you say debian have dropped support for PS/2 keyboards and
mice.

-- 
"Religion is excellent stuff for keeping common people quiet."
   -- Napoleon Bonaparte
On Sun, Apr 29, 2012 at 04:27:08PM +0200, Ralf Mardorf wrote:
> FWIW
> Not working: Trekker Wheel Mouse 2.0A PS/2 Compatible

What testing have you done?
i.e. Does it work in another computer? Does another type of PS/2 mouse
work in the "problem" computer?

Does gpm work in console mode:
    a) With problem mouse?
    b) With good mouse?

Once you have some idea where the problem is, then you can start fine
tuning your fault finding.

By using techniques like those, more often than not, you can solve the
problem yourself. 

-- 
"Religion is excellent stuff for keeping common people quiet."
   -- Napoleon Bonaparte
Hi,

I recently installed debian squeeze, but I can't see youtube videos on
iceweasel.

$ sudo apt-get install flashplugin-nonfree

Above command ends with a following error message. (My sources.list has non-free
included)

ERROR: wget failed to download
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc
More information might be available at:
  http://wiki.debian.org/FlashPlayer

I consulted the webpage, and googled, but could not get useful information.

I appreciate any help.

Thanks,
Han Soo
2012-04-30 05:36, Dan Hitt skrev:
> This is a sort of subquery to the question of how to change window
> managers.
> So the question is: supposing you compile a window manager yourself,
> so that it does not come from the packaging system.
>
> What is the standard best way of setting this new window manager as yours?
>
> It certainly won't exist in any of the lists on the login page, since
> debian could not know about it.
>
> So, i googled around, and there's this page
>      http://www-rohan.sdsu.edu/doc/debian/ch-X.html
> which recommends just making an executable file
>      /home/USER/.xsession
> and putting in a sequence of commands there---which
> could just be the path to your window manager.
>
> I tried this, and . . . . it works.
>
> But i feel a little uneasy about t

Re: Themes and unreadable text

2012-05-02 Thread Sharon Kimble
On 02/05/2012, Camaleón  wrote:
> On Wed, 02 May 2012 08:26:12 +0100, Sharon Kimble wrote:
>
>> i'm looking for a theme where the background in konqueror and
>> tranmission is all white instead of its current
>> grey/white/grey/white/etc which is difficult for me to read in the grey
>> bars. The black text just seems to merge into the grey background which
>> i find almost impossible to read, and that’s with my reading glasses on!
>> :)
>
> Are you running Konqueror from GNOME?

Yes, I use whichever tool I think is good enough, and konqueror wins
over nautilus I find.
>
>> I tried altering the theme in gnome-control-center > appearance, but the
>> one that i chose also made the title bars black so that i couldn't read
>> what they said.
>>
>> Does anyone know what I'm talking about?
>
> Well, I think yes :-)
>
> In Gnome Look¹ there are many themes, GTK styles and colour patterns you
> can try. If you like dark schemas, "Sonar" from openSUSE was very good
> (IIRC it used mainly a black/green pattern).

But thats the problem I find, the current theme is too dark. So I've
installed one called 'sloth'
>
> Anyway, Tranmission will be okay (I guess you're using the GTK+ flavour)
> but Konqueror uses a Qt framework, maybe you encounter some integration
> problem with this.
>
No problems that I know about :)

> ¹http://gnome-look.org/
>
Thanks for this, very useful .

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.4, Gnome 1:2.30+7, LibreOffice 3.5.1
Registered Linux user 334501


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAM9u--eGzbLWThEVZ1oiZ_mZzXtPz+AWtq=vvima3cxgb8x...@mail.gmail.com



Macbook pro re-mapping single key

2012-05-02 Thread Riccardo Romoli
Hi to all,

I'm a newbie of Debian but using the Debian-Wiky I was able to install Debian 6 
as single boot, on my MacBookPro (v.3.1). The only problem I notice, till 
now, is about the Alt key. I bought the computer as used from a German guy 
ignoring that the keyboard has the particularity to has only the left Alt key 
instead of two. So the right Alt key is replaced by a second ENTER and the left 
Alt key is used as Meta key instead of Option key.

I tried to configure the keyboard with the graphical interface but I wasn't 
able solve my problem. If, for example I press Alt+Tab, I was able to switch 
between the different windows, but the Alt key doesn't work both in the various 
text editors (emacs, gedit...) and in the terminal, to type the extra character 
such as tilde, square brackets...

I think I should re-map my keyboard replacing the extra ENTER with the 
Alt(Option) key but I have no idea how to do this.

Do you have any suggestion?

Best Ricardo


Sent from iPod


Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 06:42:22PM +, Curt wrote:
> 
> I like your signature, hearts and eighth notes, if music be the food of
> love, play on...
> 

Thank you kindly. :)

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502215558.GA1429@radhesyama



Re: i would like to know how i can upgrade to the latest kernel on debian squeeze.

2012-05-02 Thread Andrei POPESCU
On Mi, 02 mai 12, 15:33:41, Joey L wrote:
> I thoiught it would be easy to google - how i can upgrade to the
> latest kernel on debian squeeze.

Latest kernel available in Debian or latest kernel released? You may be 
interested to know that backports has 3.2 which might be recent enough 
for your needs (unspecified).

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Debian GNU/Linux wheezy/sid: aptitude ERROR

2012-05-02 Thread Javier Vasquez
On Wed, May 2, 2012 at 5:00 AM, Csanyi Pal  wrote:
> Andrei POPESCU  writes:
>
>> On Mi, 02 mai 12, 08:52:26, Csanyi Pal wrote:
>
>>> today I run aptitude update and get errors:
>>> http://paste.debian.net/166950/
>>
>> Pastebin for 3 lines?
>>
>>> After that I run aptitude safe-upgrade and again, I get errors:
>>> http://paste.debian.net/166951/
>>
>> I'd say this is your problem:
>>
>> Setting up fontconfig-config (2.9.0-2) ...
>> rmdir: failed to remove `/var/lib/defoma/fontconfig.d/': Directory not empty
>> dpkg: error processing fontconfig-config (--configure):
>>
>>> What can I do to solve these problems?
>>
>> Delete or move (not copy) that directory somewhere else and then retry.
>
> Thanks! That solve the problem.


BTW, as the defoma is getting removed, instead of manually moving its
directories and files, you could have:

aptitude purge defoma

And that would have paved the way as well, actually I did that
yesterday (sid) with no porblems, :-)

-- 
Javier.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALUrRGeAPeS=ZnszbSB6A6quUwAajqnCs==wwa9xpr8oj78...@mail.gmail.com



Re: Flashplayer on Debian Squeeze.

2012-05-02 Thread Greg Madden


On Wednesday 02 May 2012 5:36:35 am Lisi wrote:
> Hi, all!
>
> I have been trying to get Flashplayer going on my husband's computer.  When
> the advice on this list and the Debian website failed (as below), i just
> deinstalled the lot and downloaded from the Adobe site.  According to the
> site, the latest version available for Linux is 11, but I seem to have
> downloaded 10. :-(
>
> I am going spare on this.  Has anyone got any ideas?
>
> I know that I have not given much information on what I have done, since I
> had decided just to start again and download from the Adobe website.  But I
> have worked though all the recent advice on this list and also that on the
> relevant page in the Debian wiki.
>
> I would happily start again from the beginning.
>
> Thanks,
> Lisi
>
> root@Hercules:/home/peter# update-flashplugin-nonfree --install
> ERROR: wget failed to download
> http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.i386.pgp.as
>c More information might be available at:
>http://wiki.debian.org/FlashPlayer
> root@Hercules:/home/peter#

I add contrib & non-free to my sources.list, use a Debian mirror, from the list 
of 
mirrors. I   Install 'flashplugin-nonfree' with a visual package manager to see 
what choices I have,  

Flash just works here, using Mozilla  based browses.

I watch Hulu.com, Amazons streaming service, etc. never had a problems with 
anything not playing.

I do make sure that there is no other 'flash' on my system, e.g. Gnash stuff. 
Make 
sure that the aternatives system points to the right flash plugin, just in case 
some other flash was on the system previously.

-- 
Peace,

Greg


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201205021147.01304.gomadtr...@gci.net



Re: How do I remove a bad file??

2012-05-02 Thread Christofer C. Bell
On Wed, May 2, 2012 at 12:04 AM, Jochen Spieker  wrote:
> Dennis Wicks:
>> Greetings;
>>
>> I have a file that looks like the following in an ls list;
>>
>> -? ? ?    ?             ?                ? Inbox.msf
>>
>> I can't do anything with it. Can't mv, rm, cp, or anything else I
>> have thought of to get rid of it or write over it.
>>
>> Any ideas how I can get this thing out of my life??
>
> Fsck the filesystem.

Do this.  Trying to remove the file with rm is a mistake.  From what
you've posted here, it's the file metadata that's bad and that's not
stored in the file but the filesystem.  The permissions, link count,
ownership, and modification time are all unknown.  This indicates a
filesystem problem, not a problem with the file itself.

fsck the filesystem, do not attempt to remove the file using rm.

-- 
Chris


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caoevnyvekgs7zfm+q-6ljwdpmprfparnjt43ysopffuqhx9...@mail.gmail.com



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Muhammad Yousuf Khan
On Thu, May 3, 2012 at 12:31 AM, Claudius Hubig  wrote:
> Hello Muhammad,
>
> Muhammad Yousuf Khan  wrote:
>> at least there should be a way to reach the command prompt. is there
>> any way to ignore this error and reach the command prompt so i can
>> just copy the necessary data.
>
> Probably not, because this error means that accessing whatever is
> attached to the third SATA port is somehow broken.
>
> You did not answer my previous questions:
>
> 1) Do other HDD work at this SATA port?

actually i didnt check the SATA port however i change the working HD
SATA port as i already share i have multiple drives in a box so the
drive is showing the same error which shows that problem is not with
sata

> 2) How does this HDD behave at another SATA port, preferably in
>   another computer?

>
> You could also try to get an external enclosure and connect the HDD
> during runtime.

ok ill try this external case suggestion



>
> However, I highly doubt that you can ‘just copy’ the necessary data
> of this drive.

lets hope for the best. however i do have the copy but have to do lots
and lots of work. which i hate now :(
>
> Best regards,
>
> Claudius
>
> PS: Please do not CC me.
> --
> There cannot be a crisis next week.  My schedule is already full.
>                -- Henry Kissinger
> http://chubig.net                          telnet nightfall.org 4242


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfMk2tYsCejSA6ZemZE2O1W2jJ2Ymºnpvocb7b1nbt...@mail.gmail.com



Re: Solved: Re: Can't install flashplugin.nonfree. ERROR: wget failed to download

2012-05-02 Thread Christofer C. Bell
On Wed, May 2, 2012 at 6:30 AM, Indulekha  wrote:
>
> I don't think it's a bug...
> If you add your user to the sudo group and use the line:
>
> yourusername   ALL=(ALL) NOPASSWD: ALL
>
> in /etc/sudoers, everything should work and you'll
> get no password prompt. Of course, replace "youusername"
> with your actual username. :)

If you add your user account to /etc/sudoers, there's no need to be in
the sudo group.  The configuration in the default /etc/sudoers is
this:

# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL

You can just add the NOPASSWORD directive to that line (which I'd not
recommend) if you put the user in the sudo group thusly:

# usermod -G sudo -a username

My recommendation would be to simply use usermod to add your username
to the sudo group and call it done (do not edit /etc/sudoers at all).
You'll then get the same behavior that you see in Ubuntu (with the
exception that root still has a real password).

-- 
Chris


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOEVnYs9=Mp0s7vktpn9w_vdbbuqjquhvonfpzapz5...@mail.gmail.com



Re: Swap space not used

2012-05-02 Thread Rick Thomas


Another use for a large swap partition is if you want to put /tmp into 
tmpfs.


Whether doing so is a "good thing(TM)" is a religious debate that I 
don't want to stir up here.  But there are people who do it, and for 
them a large swap partition can be useful.


Rick

PS:  We haven't heard back from the OP yet.  I'm with the folks who 
think he probably forgot to put it in fstab, but we won't know until he 
replies.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/39e8e5797ec4782d849f00461fd3f...@pobox.com



Re: i would like to know how i can upgrade to the latest kernel on debian squeeze.

2012-05-02 Thread Gary Dale

On 02/05/12 03:33 PM, Joey L wrote:

I thoiught it would be easy to google - how i can upgrade to the
latest kernel on debian squeeze.

but apparently it is not as easy as i thought.
does anyone have a quick tutorial on how to do this ?

thanks
mjh



To do an upgrade:
- apt-get update
- apt-get upgrade or apt-get dist-upgrade (your choice - I prefer the 
latter)


To upgrade to the latest kernel on kernel.org:
Not recommended! The kernel interface changes all the time. Upgrading to 
a later kernel than your distro was built against can cause problems. If 
you need a later kernel for some reason, switch to a more up-to-date 
distro. For example, switching from Squeeze to Wheezy is a simple matter 
of running:

 sed -i "s/stable/testing/g" /etc/apt/sources-list
 apt-get update
 apt-get dist-upgrade

You can also switch to Ubuntu, Linux Mint or any other distro that 
upgrades on a faster release cycle. However, by doing so, you will be 
losing out on Debian's amazing stability and reliability. The other 
distros are quite good, so this isn't usually a big issue, especially if 
you came from a Windows environment.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa18f53.9080...@rogers.com



Re: Swap space not used

2012-05-02 Thread Shane Johnson
On Wed, May 2, 2012 at 1:33 PM, Johan Grönqvist
wrote:

> 2012-05-02 13:12, Sian Mountbatten skrev:
>
>  Your swap partition is, very likely, too large. As a rule, your swap
>> partition should be the same size as your RAM. Do you have 40GB RAM?
>>
>
> Linux can handle well above 40 GB of swap. I would be surprised if "swap
> partition too large" was the reason. My swap is larger than that.
>
> I am always a bot surprised by advice like the ones in this thread. I have
> heard and seen this many times.
>
> I am aware that for web-browsing, and other similar activities, using swap
> is almost always bad, as it slows the system down.
>
> I typically run programs and scripts without having a good estimate of
> their future memory usage, and my computer usage is frequently RAM-bound,
> so I try to guess how much I can do within the memory I have available.
>
> It is not uncommon for me to misjudge the need by a factor of 2 or 3, and
> in those cases, I have programs being killed left and right unless I have
> enough swap-space.
>
> I would say that being careful with swap-space is important when one has
> too small a hard drive, but I have plenty of drives space these days. Not
> having my jobs killed is more important to me than saving a few tens of GB
> of extra space.
>
> I have just above 40 GB on my current desktop, and when I had influence
> over a computer with 64GB RAM, it had quite a bit of swap space.
>
> Mem: 64558M total,24822M used,39735M free,  324M buffers
> Swap:   184323M total,   25M used,   184298M free,24238M cached
>
> Regards
>
> Johan
>
>
> --
> To UNSUBSCRIBE, email to 
> debian-user-REQUEST@lists.**debian.orgwith
>  a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/**jns26c$n9e$1...@dough.gmane.org
>
>
The only time I have seen swap not used when it is active is when it wasn't
needed.  If you can see your swap active using the free command or swapon
-s , and it's not getting used, but you keep crashing, what I usually see
is bad memory.  From my experience memtest would be my next step.

Shane


Re: How do I remove a bad file??

2012-05-02 Thread Dan B.

Arnt Karlsen wrote:
On Wed, 2 May 2012 07:04:55 +0200, Jochen wrote in message 
<20120502050455.ga25...@well-adjusted.de>:



Dennis Wicks:

Greetings;

I have a file that looks like the following in an ls list;

-? ? ?? ?? Inbox.msf

I can't do anything with it. Can't mv, rm, cp, or anything else I
have thought of to get rid of it or write over it.

Any ideas how I can get this thing out of my life??

Fsck the filesystem.


..first, umount it right _now!_

..if Inbox.msf is your email,...


That looks like a Mozilla SeaMonkey or Thunderbird mail _index_ file.

If it is, it can be deleted and SeaMonkey/Thunderbird will re-create
it (from the corresponding mail data file) the next time the
corresponding mail folder is opened/viewed.

In my experience (as a long-time Mozilla user and occasional mail file
hacker--but _not_ developer or expert), the only thing the OP might lose
is his or her choice of display order (by date vs. sender, etc., and
whether threaded display or not).



Daniel



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa18d59.9010...@kempt.net



Re: Swap space not used

2012-05-02 Thread Johan Grönqvist

2012-05-02 13:12, Sian Mountbatten skrev:


Your swap partition is, very likely, too large. As a rule, your swap
partition should be the same size as your RAM. Do you have 40GB RAM?


Linux can handle well above 40 GB of swap. I would be surprised if "swap 
partition too large" was the reason. My swap is larger than that.


I am always a bot surprised by advice like the ones in this thread. I 
have heard and seen this many times.


I am aware that for web-browsing, and other similar activities, using 
swap is almost always bad, as it slows the system down.


I typically run programs and scripts without having a good estimate of 
their future memory usage, and my computer usage is frequently 
RAM-bound, so I try to guess how much I can do within the memory I have 
available.


It is not uncommon for me to misjudge the need by a factor of 2 or 3, 
and in those cases, I have programs being killed left and right unless I 
have enough swap-space.


I would say that being careful with swap-space is important when one has 
too small a hard drive, but I have plenty of drives space these days. 
Not having my jobs killed is more important to me than saving a few tens 
of GB of extra space.


I have just above 40 GB on my current desktop, and when I had influence 
over a computer with 64GB RAM, it had quite a bit of swap space.


Mem: 64558M total,24822M used,39735M free,  324M buffers
Swap:   184323M total,   25M used,   184298M free,24238M cached

Regards

Johan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jns26c$n9e$1...@dough.gmane.org



i would like to know how i can upgrade to the latest kernel on debian squeeze.

2012-05-02 Thread Joey L
I thoiught it would be easy to google - how i can upgrade to the
latest kernel on debian squeeze.

but apparently it is not as easy as i thought.
does anyone have a quick tutorial on how to do this ?

thanks
mjh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cak3er7sraebiwattgcryuo6hi8jsmjaumupa9uwvdwanve8...@mail.gmail.com



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Claudius Hubig
Hello Muhammad,

Muhammad Yousuf Khan  wrote:
> at least there should be a way to reach the command prompt. is there
> any way to ignore this error and reach the command prompt so i can
> just copy the necessary data.

Probably not, because this error means that accessing whatever is
attached to the third SATA port is somehow broken.

You did not answer my previous questions:

1) Do other HDD work at this SATA port?
2) How does this HDD behave at another SATA port, preferably in
   another computer?

You could also try to get an external enclosure and connect the HDD
during runtime.

However, I highly doubt that you can ‘just copy’ the necessary data
of this drive.

Best regards,

Claudius

PS: Please do not CC me.
-- 
There cannot be a crisis next week.  My schedule is already full.
-- Henry Kissinger
http://chubig.net  telnet nightfall.org 4242


signature.asc
Description: PGP signature


Re: ls sorting order change

2012-05-02 Thread Dan B.

Camaleón wrote:

On Tue, 01 May 2012 15:10:23 -0400, Dan B. wrote:
...


On a fresh Squeeze installation, ls seems to ignore leading "."
characters (it no longer lists all "hidden" files adjacent to each
other) and to ignore capitalization differences.


(...)

Can you post a sample of the command you issued and the ouput you got?


It was like (using made-up names):

.aaa
bbb
ccc
DDD
EEE
.fff

when I expected:

.aaa
.fff
DDD
EEE
bbb
ccc


(The first order is a typical order for English (case-insensitive, and
ignoring punctuation), so now it makes sense that my default locale
setting (LANG=en_US.UTF-8) yielded that order.

The second order is plain old ASCII(/ISO-8859-x/Unicode) character
order with no special treatment (ignoring or case-mapping) of
characters--and setting LC_ALL=C (or LC_COLLATE=C) does indeed yield that
order.

I guess now I need to figure out where I might like to see things in
the "new" order vs. where I still want to see things in LC_COLLATE=C
order.)

Daniel





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa18ae1.5010...@kempt.net



Re: Flashplayer on Debian Squeeze.

2012-05-02 Thread Shane Johnson
On Wed, May 2, 2012 at 12:33 PM, Rob Owens  wrote:

> On Wed, May 02, 2012 at 02:36:35PM +0100, Lisi wrote:
> > Hi, all!
> >
> > I have been trying to get Flashplayer going on my husband's computer.
>  When
> > the advice on this list and the Debian website failed (as below), i just
> > deinstalled the lot and downloaded from the Adobe site.  According to the
> > site, the latest version available for Linux is 11, but I seem to have
> > downloaded 10. :-(
> >
> > I am going spare on this.  Has anyone got any ideas?
> >
> > I know that I have not given much information on what I have done, since
> I had
> > decided just to start again and download from the Adobe website.  But I
> have
> > worked though all the recent advice on this list and also that on the
> > relevant page in the Debian wiki.
> >
> > I would happily start again from the beginning.
> >
> > Thanks,
> > Lisi
> >
> > root@Hercules:/home/peter# update-flashplugin-nonfree --install
> > ERROR: wget failed to download
> >
> http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.i386.pgp.asc
> > More information might be available at:
> >http://wiki.debian.org/FlashPlayer
> > root@Hercules:/home/peter#
> >
> I use flashplayer-mozilla from the debian-multimedia repository.  It
> updates with apt, so you don't need to run a command like
> update-flashplugin-nonfree.
>
> -Rob
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20120502183310.gb23...@aurora.owens.net
>
>


Rob,
Do you ever run into problems with it not playing with certain sites?  I
tried others (not that one though) and ran into it not playing movies on
some sites.

Thanks
Shane


Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Shane Johnson
On Wed, May 2, 2012 at 12:28 PM, Muhammad Yousuf Khan wrote:

> On Wed, May 2, 2012 at 10:49 PM, Shane Johnson
>  wrote:
> > Muhammad,
> > I think we are going to need some mere information please.  You mentioned
> > that this is on a raid, correct.  Is your lvm on top of the raid?  Which
> > level of raid?
>
> i am using RAID 1
>
>   Where is your /boot mounted or / if boot isn't on it's own
> > partition.
>
> i have two drives 320 GB
>
> boot 1 GB and /  (rest of the drive) are on md0 and md 2\
> sawp md1 (4gb)
>
> i have 1 800 GB drive
>
> RAID 1  but other drive was absent i was planing to add the other
> drive in array in few days but unfortunately this things happen
>
> > Things I have done in the past, is use a Live CD for same
>
> can you please give me the path of debian live CD iso. actually i was
> trying to boot my system with clonzilla live CD lets see if debian can
> help.
>
> > version and arch of Debian you are on and if necessary install mdadm and
> > lvm2 so that I could try and reconstruct what I had before.  Luckily for
> me,
> > I was one test systems when I buggered things up too much.  It sounds
> like
> > you are on a live system- that makes things harder.  Best of the Worst
> case
> > scenarios from my limited experience would be having to restore from
>
> > backups. If you don't have good backups its the worst of the worst and
> you
> > could end up doing a complete restore from scratch).
> >
> > On Wed, May 2, 2012 at 11:37 AM, Muhammad Yousuf Khan 
> > wrote:
> >>
> >> at least there should be a way to reach the command prompt. is there
> >> any way to ignore this error and reach the command prompt so i can
> >> just copy the necessary data.
> >>
> >> Thanks.
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact
> >> listmas...@lists.debian.org
> >> Archive:
> >>
> http://lists.debian.org/cagwvfmk8gjw_rolcbzyav9zk2c4+xtjjqrpguvyoev3w+ke...@mail.gmail.com
> >>
> >
> >
> >
> > --
> > Shane D. Johnson
> > IT Administrator
> > Rasmussen Equipment
> >
> >
>


The path to the CD downloads is http://www.debian.org/CD/ Pick you poison
on how you want to download it.

If I am understanding your situation correctly, you have 3 disks.  2 320GB
disks are mirrored for md0 and then  you have your LVM on top of that.
 Then  you have disk 3 as swap (md1).

Where you had the mirror active when you where trying to resize the
corruption would probably be on both disks.

I would use the live cd and look at each one separately and see if the
filesystems on both are the new size or the old.  If you have one that is
ok, you can use mdadm to drop the bad disk from the raid then add it back
later after you system boots from the good disk so that it becomes the
mirror of the good drive.  Otherwise you are going to have to try and use
the live cd to try and get to your data.  Reconstruct your system then put
back the data you can.  If you aren't using mdadm for your raid and just
using LVM then you will access the fstab on the system and point it to the
mirrored drive if it is still good.

Good luck Mohammud.

Shane


Re: ls sorting order change

2012-05-02 Thread Dan B.

Sven Joachim wrote:

On 2012-05-01 21:10 +0200, Dan B. wrote:


What controls the order that the ls command uses for sorting names?


The locale or more specifically, the LC_COLLATE setting.  See locale(7).

> ...

.. LC_COLLATE=C for many years.


Thanks.

Daniel



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa1862b.1050...@kempt.net



Re: ls sorting order change

2012-05-02 Thread Dan B.

Wayne Topa wrote:

On 05/01/2012 03:10 PM, Dan B. wrote:

What controls the order that the ls command uses for sorting names?
...
...


Well man ls says

"  List information about the FILEs (the current directory by default). 
 Sort entries alphabetically if none of -cftuvSUX nor --sort is specified."


Guess you could start there.


Yes, I did look at the manual page and saw that text.  However, that
didn't say anything about which definition of "alphabetical" ls uses.

Daniel


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa185f8.6090...@kempt.net



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Brian
On Wed 02 May 2012 at 11:21:14 -0400, Wayne Topa wrote:

> On 05/02/2012 10:38 AM, Camaleón wrote:
>> The only pattern I have is the sender of the posts :-? and after checking
>
>
> I received one yesterday from "Dan B" with the subject: ls sorting order  
> change

Dab B wasn't the sender. joe1assis...@gmail.com was - within a minute
of your posting to debian-user.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502190016.GD32481@desktop



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Muhammad Yousuf Khan
On Wed, May 2, 2012 at 11:07 PM, Arnt Karlsen  wrote:
> On Wed, 2 May 2012 22:07:14 +0500, Muhammad wrote in message
> :
>
>> i tried every single possibility regarding cables i have 3 HD i tried
>> the smaller HDs cable it gives me the same error.
>
> ..good, means hardware failure.  Try another machine.
>
>>
>> actually i also installed quota module by modeprobe qutoa_v2 and echo
>> qutoa_V2  >> /etc/moudels
>>
>> in fstab i added the UUID and ursquota keyword to for quota support.
>>
>> and the next start was very unfortunate .
>>
>> actually it is showing me the error on the point where RAID md devices
>> are checked
>>
>> when i unpluged the problem drive it shows me md1 md2 and md0 status
>> and after few logs it give me the problem  but when plug the drive
>> back, on the stage where it suppose to show the SW raid1 status it
>> shows me this error.
>>
>>
>> is there any possibility i can at least get the data back. i am 100%
>> sure it is not a hardware problem. it has some configuration related
>> problem.
>
> ..yes, and it could even be both.  If your data is important,
> keep it safe and away from that machine until you know it is
> ok.  E.g. flaky grid power can eat your power supply enough
> to e.g. kill a file system journal or leave it running on a
> read-only fs, force feeding you "interesting challenges."

can you please make it easy what you have :P i am not that good in english :-D

what do you mean by readonly FS. and what do you mean by kill a file system.

i am a newbie can you make it easy please

but right now the problem is command prompt. is there any way that
Debian just ignore the error and continue the boot and at least give
me the command prompt where i can just copy all the stuff to USB or
another drive.

but let me shre you. i tried PXE boot via with clonezilla and
different OS drives but keep giving me the same error and not letting
me use the command prompt.

any idea?

Thanks





>
>>
>> Thanks
>>
>>
>>
>>
>>
>> On Wed, May 2, 2012 at 8:50 PM, Claudius Hubig
>>  wrote:
>> > Hello Muhammad,
>> >
>> > Muhammad Yousuf Khan  wrote:
>> >> ata3.01 : status: { DRDY ERR }
>> >> ata3.01 : error :  { UNC }
>> >> ata3.01 : exception emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>> >> ata3.01 : BMDMA stat 0x64
>> >> ata3.01 : failed command : read DMA
>> >
>> > This looks as if either the hard drive or the connection thereto is
>> > faulty. Try to connect the HDD to another SATA port. I don’t think
>> > it has anything to do with your resizing.
>> >
>> > Best regards & good luck,
>> >
>> > Claudius
>> > --
>> > Like I always say -- nothing can beat the BRATWURST here in
>> > DUSSELDORF!! http://chubig.net
>> >  telnet nightfall.org 4242
>>
>>
>
>
> --
> ..med vennlig hilsen = with Kind Regards from Arnt Karlsen
> ...with a number of polar bear hunters in his ancestry...
>  Scenarios always come in sets of three:
>  best case, worst case, and just in case.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20120502200712.18a59...@celsius.lan
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfMmXUZHb-wD=drr0as-pmyig8qqsofxy+ucnsmbsed-...@mail.gmail.com



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Brian
On Wed 02 May 2012 at 14:38:47 +, Camaleón wrote:

> On Tue, 01 May 2012 19:30:09 +0100, Brian wrote:
> 
> > joe1assistly, surely? 
> 
> Yes. This is the "from" line where the name is faked to appear to come 
> from the list:
> 
> ***
> From: "debian-user@lists.debian.org" 
> ***

The software used to generate the mail may very well be inept; it might
even be trying to be helpful to the recipient. I doubt it is attempting
to deceive.

> > Let them post the headers and bodies then. Whatever is happening at
> > gmane I think we can be certain the mails you got (and are still
> > getting?) are not from other users on this list.
> 
> Still getting, yes.
> 
> And yes, I now don't think these messages are coming from users on this 
> mailing list, it looks more an automatism triggered by our (some?) posts 
> here but I don't know what could be, tough the common link for those who 
> receive the e-mails is indeed that we replied to posts here.

As desk.com are the ones picking up mail from the list, only they are
in a position to say from where they originate. Perhaps they have
subscribed to debian-user. :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502185506.GC32481@desktop



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Curt
On 2012-05-02, Indulekha  wrote:
>
> -- 
> ❤ ♫ ❤ ♫ ❤ ♫ ❤   
>  Indulekha 

I like your signature, hearts and eighth notes, if music be the food of
love, play on...


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnjq301c.3m3.cu...@einstein.electron.org



Re: Flashplayer on Debian Squeeze.

2012-05-02 Thread Rob Owens
On Wed, May 02, 2012 at 02:36:35PM +0100, Lisi wrote:
> Hi, all!
> 
> I have been trying to get Flashplayer going on my husband's computer.  When 
> the advice on this list and the Debian website failed (as below), i just 
> deinstalled the lot and downloaded from the Adobe site.  According to the 
> site, the latest version available for Linux is 11, but I seem to have 
> downloaded 10. :-(  
> 
> I am going spare on this.  Has anyone got any ideas?
> 
> I know that I have not given much information on what I have done, since I 
> had 
> decided just to start again and download from the Adobe website.  But I have 
> worked though all the recent advice on this list and also that on the 
> relevant page in the Debian wiki.
> 
> I would happily start again from the beginning.
> 
> Thanks,
> Lisi
> 
> root@Hercules:/home/peter# update-flashplugin-nonfree --install
> ERROR: wget failed to download 
> http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.i386.pgp.asc
> More information might be available at:
>http://wiki.debian.org/FlashPlayer
> root@Hercules:/home/peter#
> 
I use flashplayer-mozilla from the debian-multimedia repository.  It
updates with apt, so you don't need to run a command like
update-flashplugin-nonfree.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502183310.gb23...@aurora.owens.net



Re: cpu frequency management opteron lost?

2012-05-02 Thread Curt
On 2012-05-01, Joost Kraaijeveld  wrote:
>
> Running "/etc/init.d/cpufreqd start" just reports:
> panoramix:/home/jkr# /etc/init.d/cpufreqd start
> Starting CPU Frequency daemon: cpufreqd failed!
>

On my machine the powernow-k8 module was not getting loaded automatically for
some reason. The cpufreq utilities don't work without it.

I put 'powernow-k8' into /etc/modules so it would get loaded at boot
time.  Have you tried loading the module manually to see if your 'puter
explodes when you do, taking with it Amsterdam and vast sections of its
suburbs?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnjq2vau.3m3.cu...@einstein.electron.org



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Arnt Karlsen
On Wed, 2 May 2012 22:07:14 +0500, Muhammad wrote in message 
:

> i tried every single possibility regarding cables i have 3 HD i tried
> the smaller HDs cable it gives me the same error.

..good, means hardware failure.  Try another machine.

> 
> actually i also installed quota module by modeprobe qutoa_v2 and echo
> qutoa_V2  >> /etc/moudels
> 
> in fstab i added the UUID and ursquota keyword to for quota support.
> 
> and the next start was very unfortunate .
> 
> actually it is showing me the error on the point where RAID md devices
> are checked
> 
> when i unpluged the problem drive it shows me md1 md2 and md0 status
> and after few logs it give me the problem  but when plug the drive
> back, on the stage where it suppose to show the SW raid1 status it
> shows me this error.
> 
> 
> is there any possibility i can at least get the data back. i am 100%
> sure it is not a hardware problem. it has some configuration related
> problem.

..yes, and it could even be both.  If your data is important, 
keep it safe and away from that machine until you know it is 
ok.  E.g. flaky grid power can eat your power supply enough
to e.g. kill a file system journal or leave it running on a 
read-only fs, force feeding you "interesting challenges."

> 
> Thanks
> 
> 
> 
> 
> 
> On Wed, May 2, 2012 at 8:50 PM, Claudius Hubig
>  wrote:
> > Hello Muhammad,
> >
> > Muhammad Yousuf Khan  wrote:
> >> ata3.01 : status: { DRDY ERR }
> >> ata3.01 : error :  { UNC }
> >> ata3.01 : exception emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> >> ata3.01 : BMDMA stat 0x64
> >> ata3.01 : failed command : read DMA
> >
> > This looks as if either the hard drive or the connection thereto is
> > faulty. Try to connect the HDD to another SATA port. I don’t think
> > it has anything to do with your resizing.
> >
> > Best regards & good luck,
> >
> > Claudius
> > --
> > Like I always say -- nothing can beat the BRATWURST here in
> > DUSSELDORF!! http://chubig.net
> >  telnet nightfall.org 4242
> 
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502200712.18a59...@celsius.lan



Re: Problem with libgdk_pixbuf-2.0.so.0

2012-05-02 Thread Riley Paxton
On 5/1/12, Sven Joachim  wrote:
> On 2012-05-01 20:42 +0200, Riley Paxton wrote:
>
>> I'm not sure if I should file a bug report, but I've been reading that
>> there may be an error regarding an out-of-date glibc2 or its
>> associated libraries, or even some GTK+ libaraies. I'm not sure.
>>
>> It's been a while since I've updated testing, so this may be due to my
>> neglegence of consistantly updating and upgrading. I hope someone
>> knows how to resolve the followiung problem.
>>
>> I get this error message when running urxvt, vi, and many various
>> other utilities:
>> : symbol lookup error:
>> /usr/lib/x86-64-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined symbol:
>> g_bytes_unref
>
> This could be because the system libglib2.0 is too old (unlikely, since
> the dependencies of libgdk-pixbuf2.0-0 seem to prevent that), or because
> you have an older copy of libglib-2.0.so.0 somewhere, e.g. in
> /usr/local/lib.  What does
> "ldd /usr/lib/x86-64-linux-gnu/libgdk_pixbuf-2.0.so.0" print?
>
> Cheers,
>Sven
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/87ehr3yabs@turtle.gmx.de
>
>

Yes! There was conflicting libraries since I compiled and installed
GIMP 2.7 on that machine (since 2.8 isn't out yet). and there was
libglib libraries in there. I moved them to a directory called "old"
for now.

Thank you so much.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cadbxcno4jbqf7xpgga0+i0natdm-bipfkqh-muv2n1wymxz...@mail.gmail.com



Re: Supermicro SAS controller

2012-05-02 Thread Camaleón
On Wed, 02 May 2012 16:19:40 +, Ramon Hofer wrote:

> On Wed, 02 May 2012 14:21:36 +, Camaleón wrote:

>> Ah, okay. This one:
>> 
>> http://www.supermicro.com/products/motherboard/Core/P67/C7P67.cfm
>> 
>> The board has no SAS ports but it features 8 SATA ports (4 SATA2 and 4
>> SATA3), aren't those enough your your purpose? :-?
> 
> Yes, that's the mainboard I got.
> 
> The case has two places to add os drives, one for a cdrom and 20 hot
> swapable disks.
> It was available with either SAS or SATA connectors. But I would have
> needed 23 SATA connectors on the mainboard or addon cards. The case with
> 5 SAS connectors was available and the SATA one had much later delivery
> date so I went for the SAS case.

But you are still physically limited to the eight-ports provided by the 
add-on card, right? :-?

>> Well, I wonder why is that you chose to go with SAS drives instead
>> using SATA given that the motehrboard only has SATA ports. When someone
>> adds a SAS controller is usually because he/she wnats to build a
>> mainstream server or expectes more performance/reliability than the
>> average :-)
> 
> Since I couldn't find any mainboards with more than 20 SATA ports and
> enough slots for addon cards (1x PCI, 2x PCI-Ex1 only for the tv cards).

Okay, I didn't realize you were planning to use all of the available hard 
disk trays of the case :-)

But then, you will need SAS controller with expansion capabilities, don't 
you? I maybe overlooked but the SuperMicro SAS controller you first 
pointed out does not seem to support more than 8 devices.

>>> Now I have one 500 GB disk as system drive but I'm thinking of adding
>>> another one as RAID1.
>> 
>> This leads me to another question. Why RAID 1 for a media server?
> 
> Just because the case has two places for os disks. But on the other hand
> it's seems to be interesting to set up a bootable raid1. And because
> it's calming to have the safety of the raid as it serves all the media I
> have: MythTV, LogitechMediaServer, etc. So my family relies on it and
> isn't amused when the system is down ;-)

Okay :-)

Just let me add a note of warning here: whatever SAS/SATA card you 
finally choose, ensure that has support for big hard disks (>2-3TiB) just 
in case, because this information is not usually displayed on the specs.

>> Okay, let's see what we have for now:
>> 
>> - A motherboard with 8 SATA ports
>> - A 4U case with up to 20 hot-swap drive bays for the disks (SATA/SAS)
>> 
>> I wonder why is that you have not considered using SATA hard disks :-)
> 
> Besides the fact of the longer delivery because I couldn't find cheaper
> solution than the two Supermicro SAS cards. The rest of the disks and
> optical drive.

Ah, so your plan was adding two of this eight-port SAS addon card to get 
a total of 16 hard disks.
 
>>> But in the meantime I have installed the bpo kernel and it seems to be
>>> working now...
>>> At least it never run the disk check for so long, the raid is
>>> rebuilding and I can see the details as much as I want...
>> 
>> Glag it's more stable now with an updated kernel but I'd be keep
>> monitoring the array during some days... and if you experience another
>> issue with the disks, I would reconsider in replacing the hard disk
>> controller or moving to SATA disks, instead.
> 
> Thanks.
> I think I'll go with the solution Stan posted (LSI 9240-4i and Intel SAS
> expander).

Mmm, yes. I can't tell for that specific model but LSI is a good 
manufacturer for HBA solutions and also linux-friendly, at least that's 
what I've heard :-)

>>> You're about an hour too late :-o
>>> But I already had the newest firmware on the card.
>> 
>> Oh. Hope all went well O:-)
> 
> Yes, I hope to be able to sell them to Windows users :-)

He, he.. good move :-)

>>> But I'm confused about the two different versions too. lspci shows:
>> 
>> (I'm copying the rest of the message here)
>> 
>>> 01:00.0 RAID bus controller: Marvell Technology Group Ltd.
>>> MV64460/64461/64462 System Controller, Revision B (rev 01)
>> 
>> Well, lspci should display two different sets for the hard disk
>> controller: the SAS adapter (Marvell 88SE6480) and the motherboard
>> embedded chipset (Marvell 88SE9128) but none of these two matches with
>> the lscpi output :-?
> 
> You're right:
> http://pastebin.com/raw.php?i=JQtrS5J2
> 
> Why don't they match :-?

Mmm, yes, there's something strange there. Ah, I think I got it :-)

> $ sudo lspci | grep Marvel
> 01:00.0 RAID bus controller: Marvell Technology Group Ltd. 
> MV64460/64461/64462 System Controller, Revision B (rev 01)

This can be the motherboard SATA 2 controller.

> 02:00.0 RAID bus controller: Marvell Technology Group Ltd. 
> MV64460/64461/64462 System Controller, Revision B (rev 01)

This can be the SAS add-on card.

> 03:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 
> Gb/s controller (rev 11)

This is the motherboard SATA 3 controller.

> 03:00.1 IDE interface: Marvell Technology Group

Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Muhammad Yousuf Khan
at least there should be a way to reach the command prompt. is there
any way to ignore this error and reach the command prompt so i can
just copy the necessary data.

Thanks.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cagwvfmk8gjw_rolcbzyav9zk2c4+xtjjqrpguvyoev3w+ke...@mail.gmail.com



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Muhammad Yousuf Khan
i tried every single possibility regarding cables i have 3 HD i tried
the smaller HDs cable it gives me the same error.


actually i also installed quota module by modeprobe qutoa_v2 and echo
qutoa_V2  >> /etc/moudels

in fstab i added the UUID and ursquota keyword to for quota support.

and the next start was very unfortunate .

actually it is showing me the error on the point where RAID md devices
are checked

when i unpluged the problem drive it shows me md1 md2 and md0 status
and after few logs it give me the problem  but when plug the drive
back, on the stage where it suppose to show the SW raid1 status it
shows me this error.


is there any possibility i can at least get the data back. i am 100%
sure it is not a hardware problem. it has some configuration related
problem.


Thanks





On Wed, May 2, 2012 at 8:50 PM, Claudius Hubig  wrote:
> Hello Muhammad,
>
> Muhammad Yousuf Khan  wrote:
>> ata3.01 : status: { DRDY ERR }
>> ata3.01 : error :  { UNC }
>> ata3.01 : exception emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>> ata3.01 : BMDMA stat 0x64
>> ata3.01 : failed command : read DMA
>
> This looks as if either the hard drive or the connection thereto is
> faulty. Try to connect the HDD to another SATA port. I don’t think it
> has anything to do with your resizing.
>
> Best regards & good luck,
>
> Claudius
> --
> Like I always say -- nothing can beat the BRATWURST here in DUSSELDORF!!
> http://chubig.net                                    telnet nightfall.org 4242


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfM=mZy29_s0cUyv3GDZA=czvmxg4h_q6dbukrnbxvvz...@mail.gmail.com



Re: Exim panics

2012-05-02 Thread Tony van der Hoff

On 02/05/12 17:40, Camaleón wrote:


I guess you could configure Exim ("dpkg-reconfigure exim4-config") so
that listens only at the desired interfaces (i.e., only to localhost ipv4
-127.0.0.1- instead adding localhost ipv6 -::1- addresses).

Thanks, everybody, for your answers. Especially this one, which tells me 
what to do, and how to do it :)


So, I've done that, watch this space to see whether the problem recurs.

Oh, yes, I've had Jochen's script running all day, no culprits, except 
exim itself, but I guess I'd expect that, as the log entries are days apart.



Anyway, Exim shouldn't complain if your nic is configured to handle ipv6
requests (which is the default since years but "/sbin/ifconfig lo" will
confirm).


Nope:
tony@tony-lx:~$ sudo ifconfig lo
[sudo] password for tony:
loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:116280 errors:0 dropped:0 overruns:0 frame:0
  TX packets:116280 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:21992844 (20.9 MiB)  TX bytes:21992844 (20.9 MiB)



--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fa16974.5040...@vanderhoff.org



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Muhammad Yousuf Khan
sorry, if i am miss leading with the error . actually i belive that
this must have happen. by the lvresize command. actually every thing
was working nice and smooth. here is the quick story.

first i ran the command.

1. i resize the old partition
"lvresize -L 400GB "VG-NAME with PATH"


2  then i ran resize command
resize2fs -p /dev/mapper/vg--800-Archive400GB

but gives me error and tells me to run  "e2fsck -f "

3. so i rant

e2fsck -f /dev/mapper/vg--800-Archive400GB

which was fine and even vg display and df -h showing the same size so
i got relaxed that things are fine.

4. then i created another one for quota assignment to all the users

lvcreate -L 245GB  "VG-NAME AND path"-n "name"

then i transfer the ext4 file system to it. i dont remeber the command
but it was
 something.ext4 "lv complete path"

5 and i enabled the quota in fstab alog with the UUID to mount it on boot.

6. then i enabled kernal moudule.

   modprob qutoa_v2
   echo qutoa_v2 /etc/modules (do you think it could be the module issue?)

7.  for testing i mount the drive by mount usrquota "source path" "mount point"

so it worked find .
..

now next reboot problem started.

thats the whole story..

Thanks

On Wed, May 2, 2012 at 8:49 PM, Jon Dowland  wrote:
> On Wed, May 02, 2012 at 08:45:25PM +0500, Muhammad Yousuf Khan wrote:
>> i resize the LV from 300 GB to 400 GB
>
> Exactly what command did you type, and what feedback did you get?
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20120502154926.GA6770@debian
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfM=Tq_oTKZd5S4Sf3a80kXTqP5GhFY1i5Z4=abxajcn...@mail.gmail.com



debian on aacraid controller. - getting lots of errors.

2012-05-02 Thread Joey L
Guys - I posted this earlier and did not get enough options to run
down - does anyone have a few more ?
I am getting the errors below on an IBM X3650 7979 with Debian Squeeze
- with a SerRaid 8K Controller :



[   90.376722] aacraid: Host adapter abort request (0,0,0,0)
[   90.376797] aacraid: Host adapter abort request (0,0,0,0)
[   90.376874] aacraid: Host adapter reset request. SCSI hang ?


and -



[1256881.625289] INFO: task bounce:22936 blocked for more than 120 seconds.
[1256881.625294] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[1256881.625297] bounceD 88001a28fb30 0 22936  13034 0x0002
[1256881.625302]  88073cc7b880 00200086 88001f625e38
88001f625e34
[1256881.625307]  880371480e98 88001f625e18 f9e0
88001f625fd8
[1256881.625311]  00015780 00015780 88065e1d9c40
88065e1d9f38
[1256881.625315] Call Trace:
[1256881.625325]  [] ? wait_on_page_writeback_range+0xce/0x11b
[1256881.625343]  [] ? log_wait_commit+0xbf/0x112 [jbd]
[1256881.625348]  [] ? autoremove_wake_function+0x0/0x2e
[1256881.625356]  [] ? ext3_sync_file+0x94/0xc8 [ext3]
[1256881.625361]  [] ? vfs_fsync_range+0x73/0x9e
[1256881.625364]  [] ? do_fsync+0x28/0x39
[1256881.625368]  [] ? sys_fsync+0xb/0x10
[1256881.625373]  [] ? sysenter_dispatch+0x7/0x2e
[1257001.624666] INFO: task bounce:22936 blocked for more than 120 seconds.
[1257001.624670] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[1257001.624673] bounceD 88001a28fb30 0 22936  13034 0x0002
[1257001.624679]  88073cc7b880 00200086 88001f625e38
88001f625e34
[1257001.624683]  880371480e98 88001f625e18 f9e0
88001f625fd8
[1257001.624687]  00015780 00015780 88065e1d9c40
88065e1d9f38
[1257001.624692] Call Trace:
[1257001.624702]  [] ? wait_on_page_writeback_range+0xce/0x11b
[1257001.624720]  [] ? log_wait_commit+0xbf/0x112 [jbd]
[1257001.624725]  [] ? autoremove_wake_function+0x0/0x2e
[1257001.624733]  [] ? ext3_sync_file+0x94/0xc8 [ext3]
[1257001.624738]  [] ? vfs_fsync_range+0x73/0x9e
[1257001.624741]  [] ? do_fsync+0x28/0x39
[1257001.624744]  [] ? sys_fsync+0xb/0x10
[1257001.624750]  [] ? sysenter_dispatch+0x7/0x2e


thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cak3er7usyo8up9ym_zpxnkss1xt7abgj7xpbrwvdh5un6kf...@mail.gmail.com



Re: [Apache] "Deny" directives silently ignored in config files [SOLVED]

2012-05-02 Thread Matthieu Moy
Matthieu Moy  writes:

> I have a server running Apache HTTPD 2.2.16, installed as Debian
> package (Debian Squeeze).
>
> Some time ago, "Deny from XXX" directives were correctly taken into
> account, both in .htaccess files and in system-wide configuration files
> (/etc/apache2/*). I noticed recently that it is no longer the case.

I did find the guilty lines in the configuration file:


 Deny from 


(found by restarting from a /etc/apache2 as installed by Debian, which
didn't have the problem, and adding patch hunks between my old config
directory and the Debian one, playing with "git stash -p")

The explanation is:

http://httpd.apache.org/docs/2.2/sections.html
"The order of merging is:

 (except regular expressions) and .htaccess done simultaneously 
(with .htaccess, if allowed, overriding )
 (and )
 and  done simultaneously
 and  done simultaneously"

and what I did not understand was that a Deny directive will override
the whole configuration done previously, hence the Deny in a 
was overriding everything done in .htaccess and  sections.

I removed this line, and everything is fine now. We'll use iptables next
time we want to blacklist an IP ...

I'm keeping the details of the problem for the record:

> I suspect that this breakage occured when migrating the server from
> Debian Lenny to Debian Squeeze, but I'm not sure.
>
> According to "apachectl -t -D DUMP_PACKAGES", the module
> authz_user_module is loaded (it says "(shared)").
>
> I tried the following:
>
> 
> Order deny,allow
> Deny from all
> #RewriteEngine On
> #RewriteRule . - [F]
> 
>
> As it is, the location /tmp/ isn't denied. If I uncomment the Rewrite
> rule, it is denied (hence, the config file is read, and the location is
> properly specified).
>
> This is a production server so I have limited testing possibilities (but
> I do have a test virtualhost on which the problem occurs). I tried
> reproducing the problem on a test machine, with the same version and a
> full copy of /etc/apache2/ (copied with "rsync -av", only modified to
> replace the IP address and DNS name of the server), but the test machine
> does not exhibit the problem. I did not copy the files in DocumentRoot.
>
> I tried disabling .htaccess files on the server, in case the problem
> would be caused by a .htaccess file, but the problem is still there.
>
> I saw nothing in the logs. access.log shows normal accesses (i.e. code
> 200), and error.log does not change while accessing the pages to be
> denied. "apachectl graceful" does not display any warning.
>
> Any idea on what's going on? Where to look for the error?
>
> Thank you very much in advance,
>
> (please, keep me Cc-ed, I'm not subscribed)

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/vpqr4v2eek8@bauges.imag.fr



Re: Exim panics

2012-05-02 Thread Camaleón
On Wed, 02 May 2012 10:17:59 +0100, Tony van der Hoff wrote:

> On my Squeeze box, I am getting occasional panics from Exim, due to port
> 25 being in use. I imagine it's occasionally clashing with Thunderbird:

With Thunderbird? :-?

> exim paniclog /var/log/exim4/paniclog on tony-lx.magpieway.net has non-
> zero size, mail system might be broken. The last 10 lines are quoted
> below.
> 
> 2012-04-15 22:01:07 socket bind() to port 25 for address ::1 failed:
> Cannot assign requested address: daemon abandoned

(...)

> What would be the preferred way of overcoming this problem?

I guess you could configure Exim ("dpkg-reconfigure exim4-config") so 
that listens only at the desired interfaces (i.e., only to localhost ipv4 
-127.0.0.1- instead adding localhost ipv6 -::1- addresses). 

Anyway, Exim shouldn't complain if your nic is configured to handle ipv6 
requests (which is the default since years but "/sbin/ifconfig lo" will 
confirm).

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnro1m$iv6$1...@dough.gmane.org



Re: Supermicro SAS controller

2012-05-02 Thread Ramon Hofer
On Tue, 01 May 2012 15:43:13 -0500, Stan Hoeppner wrote:

> On 5/1/2012 12:37 PM, Ramon Hofer wrote:
> 
>> I have the RPC-4220 case with 20 howswap slots.
> 
> You should have mentioned this sooner, as there is a better solution
> than buying 3 of the 9211-8i, which is $239*3= $717.  And you end up
> with one SFF8087 port wasted.
> 
> Instead, get a 24 port Intel 6Gb SAS expander:
> http://www.provantage.com/intel-res2sv240~7ITSP0V8.htm $238.24
> 
> and the LSI 9240-4i, same LSISAS2008 chip as the 9211-8i:
> http://www.newegg.com/Product/Product.aspx?Item=N82E16816118129 $189.99
> 
> Total:  $429
> 
> W/4 extra SFF8087 cables (assuming you already have 2):
> http://www.newegg.com/Product/Product.aspx?Item=N82E16816116093 $60
> 
> Total:  $489
> 
> This solution connects all 20 drives on all 5 backplanes to the HBA, and
> will give you ~1.5GB/s read throughput with 20 7.2k RPM drives using md
> RAID 5/6, and ~800MB/s with hardware or md RAID10.
> 
> You connect the SFF8087 of the LSI card to port 0 of the SAS exapander.
>  You then connect the remaining 5 ports to the 5 SFF8087 ports on the 5
> backplanes.

Thanks alot for the suggestions. I have found a shop where I live and 
will order them tomorrow. Do you have experience with these cards?


Best regards
Ramon


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrned$9rb$2...@dough.gmane.org



Re: Themes and unreadable text

2012-05-02 Thread Camaleón
On Wed, 02 May 2012 08:26:12 +0100, Sharon Kimble wrote:

> i'm looking for a theme where the background in konqueror and
> tranmission is all white instead of its current
> grey/white/grey/white/etc which is difficult for me to read in the grey
> bars. The black text just seems to merge into the grey background which
> i find almost impossible to read, and that’s with my reading glasses on!
> :)

Are you running Konqueror from GNOME?

> I tried altering the theme in gnome-control-center > appearance, but the
> one that i chose also made the title bars black so that i couldn't read
> what they said.
> 
> Does anyone know what I'm talking about?

Well, I think yes :-)

In Gnome Look¹ there are many themes, GTK styles and colour patterns you 
can try. If you like dark schemas, "Sonar" from openSUSE was very good 
(IIRC it used mainly a black/green pattern).

Anyway, Tranmission will be okay (I guess you're using the GTK+ flavour) 
but Konqueror uses a Qt framework, maybe you encounter some integration 
problem with this.

¹http://gnome-look.org/

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrmr1$iv6$9...@dough.gmane.org



Re: Supermicro SAS controller

2012-05-02 Thread Ramon Hofer
On Wed, 02 May 2012 14:21:36 +, Camaleón wrote:

> On Tue, 01 May 2012 17:29:17 +, Ramon Hofer wrote:
> 
>> On Tue, 01 May 2012 16:16:07 +, Camaleón wrote:
>> 
>>> What kind of hardware do you have (motherboard brand and model) and
>>> what kind of hard disk controller do you need, what are your
>>> expectations?
>>> 
>>> SuperMicro boards (I'm also a SuperMicro user) are usually good enough
>>> to use their embedded SAS/SATA ports, at least if you want to use a
>>> software raid solution :-?
>> 
>> I have a Supermicro C7P67 board. But there aren't any SAS connectors
>> there.
> 
> Ah, okay. This one:
> 
> http://www.supermicro.com/products/motherboard/Core/P67/C7P67.cfm
> 
> The board has no SAS ports but it features 8 SATA ports (4 SATA2 and 4
> SATA3), aren't those enough your your purpose? :-?

Yes, that's the mainboard I got.

The case has two places to add os drives, one for a cdrom and 20 hot 
swapable disks.
It was available with either SAS or SATA connectors. But I would have 
needed 23 SATA connectors on the mainboard or addon cards.
The case with 5 SAS connectors was available and the SATA one had much 
later delivery date so I went for the SAS case.



>> This is a home media server. Earlier I used a debian box with a raid
>> and a disk for mythtv recordings. But I ran out of space and
>> resurrected an ReadyNas NV+. But this was so slow and I wanted to have
>> everything centralized. So I was looking for something else and found
>> this case:
>> 
>> http://cybershop.ri-vier.nl/4u-rackmnt-server-case-w20-hotswap-satasas-
drv-bays-rpc4220-p-18.html
>> 
>> They also had that SAS controller and on the Supermicro website they
>> wrote it would be SUSE and Red Hat compatible. So I thought it runs too
>> under Debian.
> 
> Well, the driver status for most of the hardware out there can be
> "misleading" many times. This is like a double-sided sword, you have to
> carefully read the technical specs of the device to find out the chipset
> it uses and then, search for its status in the kernel. If you rely on
> hardware manufacturer's driver you are stuck: they can drop it at any
> time or don't compile for your linux distribution version, which seems
> to be this case :-(

Sounds very true :-(

 
>> So performance isn't very important. But I don't know what exactly you
>> mean by expectations.
> 
> Well, I wonder why is that you chose to go with SAS drives instead using
> SATA given that the motehrboard only has SATA ports. When someone adds a
> SAS controller is usually because he/she wnats to build a mainstream
> server or expectes more performance/reliability than the average :-)

Since I couldn't find any mainboards with more than 20 SATA ports and 
enough slots for addon cards (1x PCI, 2x PCI-Ex1 only for the tv cards).


>> The controller should give access to the disks. They will mostly be
>> slow green drives. It's not even a very big problem if it's limited to
>> 3 TB but of course it would be nice if I could also go bigger in some
>> years when I run out of space again and want to add another raid.
> 
> Okay... I'll ask you again: why a SAS controller instead using the
> embedded SATA ports?

To be honest just because the case was ready at the dealer...


>> So the media server contains one analogue PCI tuner card (PVR-500) and
>> one (maybe in future a second one will be added) TeVii (S480) sat tuner
>> card.
>> 
>> Now I have one 500 GB disk as system drive but I'm thinking of adding
>> another one as RAID1.
> 
> This leads me to another question. Why RAID 1 for a media server?

Just because the case has two places for os disks. But on the other hand 
it's seems to be interesting to set up a bootable raid1. And because it's 
calming to have the safety of the raid as it serves all the media I have: 
MythTV, LogitechMediaServer, etc. So my family relies on it and isn't 
amused when the system is down ;-)


>> With the 20 hot swap slots in the case, the two system drives and an
>> optical drive I need 23 sata connectors. Or better four SAS connectors
>> and the eight SATA ports on the mainboard.
>> 
>> I think software raid will cause me less cost and problem because when
>> the controller fails I can replace it by anything that can talk SAS?
> 
> Okay, let's see what we have for now:
> 
> - A motherboard with 8 SATA ports
> - A 4U case with up to 20 hot-swap drive bays for the disks (SATA/SAS)
> 
> I wonder why is that you have not considered using SATA hard disks :-)

Besides the fact of the longer delivery because I couldn't find cheaper 
solution than the two Supermicro SAS cards. The rest of the disks and 
optical drive.



>>> Well, I'm not familiar with MD (I use hardware raid) but "md1 stopped"
>>> and raid 5 with only 2 elements in the array does not sound very good
>>> ;-(
>> 
>> Ah, yes you're right :-o
>> 
>> Was this during bootup? I recreated the array again after bootup...
> 
> It could be...
> 
>>> Ugh... and when is that happening, I mean, that "I/O error"? At
>>> in

Re: unix tool as precise counter/timer for periodic print/exec

2012-05-02 Thread Johannes Schauer
Hi Karl,

> Perhaps the sleepenh package will help you?
> 
> Not a solution per se, but possibly a useful building block..

It works perfectly and was exactly what I was looking for! Thanks a lot!

In case anybody ever finds this thread later on, this is what I now
wrote based on sleepenh which does exactly what I was looking for in my
initial email:

--%<---
#!/bin/sh

usage() {
  echo "Usage: $0 [ARGS] [COMMAND]"
  echo
  echo "It counts upward (default) or downward (-d) starting at START (-s)"
  echo "with a configurable floating point interval of SECS seconds (-n,"
  echo "default 1.0) until infinity (default) or up to a maximum number of"
  echo "COUNT intervals (-c). It optionally prints this counter (-p) and/or"
  echo "the current date (-t) at each interval. It optionally executes a"
  echo "COMMAND per interval which it can also fork (-f) in case the command"
  echo "is expected to take longer than SECS seconds."
  echo
  echo "  -f   fork COMMAND"
  echo "  -p   print counter"
  echo "  -d   count downward (default: upward)"
  echo "  -n SECS  interval of SECS (can be floating point)"
  echo "  -c COUNT only run for COUNT interval(s)"
  echo "  -s START start counting at START"
  echo "  -t   print the output of date(1) every interval"
  echo "  -h   print this help message"
}

INTERVAL=1.0
MAX_COUNT=-1
DOWN=0
PRINT=0
FORK=0
PRINT_DATE=0
START=0

while getopts fpdn:c:s:th option; do
  case $option in
f)
  FORK=1
  ;;
p)
  PRINT=1
  ;;
d)
  DOWN=1
  ;;
n)
  INTERVAL="$OPTARG"
  ;;
c)
  MAX_COUNT="$OPTARG"
  ;;
s)
  START="$OPTARG"
  ;;
t)
  PRINT_DATE=1
  ;;
h)
  usage
  exit 0
  ;;
[?])
  usage 1>&2
  exit 1
  ;;
  esac
done
shift $(($OPTIND - 1))

TIMESTAMP=`sleepenh 0`

I=$START
while true; do
  if [ $# -ne 0 ]; then
if [ $FORK -eq 1 ]; then
  $@ &
else
  $@
fi
  fi
  if [ $PRINT -eq 1 ]; then
echo $I
if [ $DOWN -eq 0 ]; then
  I=$((I+1))
else
  I=$((I-1))
fi
  fi
  if [ $PRINT_DATE -eq 1 ]; then
date
  fi
  if [ $DOWN -eq 0 ]; then
[ $((I-START)) -gt $MAX_COUNT ] && break
  else
[ $((START-I)) -gt $MAX_COUNT ] && break
  fi
  TIMESTAMP=`sleepenh $TIMESTAMP $INTERVAL`; done

--%<---

Feel free to use the above in any way you want.

cheers, josch


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502161840.GB15709@hoothoot



Re: Problems after installing network-manager (possibly because of hal?)

2012-05-02 Thread Camaleón
On Wed, 02 May 2012 11:49:17 -0300, Guido Martínez wrote:

> I'm running debian 6.0.4 for amd64, with XFCE. I recently installed
> network-manager so I could use my Wi-Fi card, this installed hal as a
> dependency.  

Wouldn't have been better to get "wicd" instead? :-?

> The Wi-Fi now works properly but I have two known issues: 
> - The resolution changed from 1280x1024 to 1280x960, and I can't change
> it back using the XFCE display settings. 

(...)

For this one you can try with "xrandr". 

You can find some command samples here:

https://wiki.ubuntu.com/X/Config/Resolution

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrlp5$iv6$8...@dough.gmane.org



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Camaleón
On Wed, 02 May 2012 10:04:36 -0500, Indulekha wrote:

> On Wed, May 02, 2012 at 02:50:38PM +, Camaleón wrote:

>> > So, do you run leafnode and point it at nntp://news.gmane.org then?
>> 
>> I've never used Leafnode before. Is a NNTP server, right?
>> 
>> Let me take a look:
>> 
>> http://leafnode.sourceforge.net/overview.shtml

(...)
 
> Thanks, but I do already know how to run leafnode -- been doing that
> with news.individual.net for a few years.

So then? I already say how I read/post to this list and don't remember 
mentioning leafnode at all :-)

> Just wondered if that's what you were using for gmane, sorry if I wasn't
> clear. 

Nope, I use Pan (a newsreader client) to read/post here using Gmane, like 
if I were using a standard MUA.

> Anyway, I think sticking with the straight list is probably fine
> for me at this point. It's always good to have alternative options if
> needed, but gmane seems a bit of a kludge to me frankly, and now there's
> that shadow of doubt cast by this whole "joelassistly" thing... (Though
> it may have nothing to do with gmane, but IDK).

IMO, Gmane is one of the better/useful things there's now in the web, I 
don't know why you speak about it in that way. Anyway, I'm afraid you 
haven't understood what's going on with that "joe1..." posts :-/

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrlbd$iv6$7...@dough.gmane.org



Re: command history via Web-console.

2012-05-02 Thread Christofer C. Bell
On Wed, May 2, 2012 at 3:21 AM, Muhammad Yousuf Khan  wrote:
> Hello everyone,
>
>
> I am using few web front end tools in debian and other destros and for
> learning purpose i would like to know the command history that has
> been ran via Web console. does linux provide any option by which i can
> check the history of commands.

The operating system is simply a framework on which applications run.
The operating system will not keep track of what your web
administration interface runs.  That will be up to your administrative
interface and/or any utilities it's calling directly on the server.

For example, if your utility calls the dpkg command in the background,
that will be in /var/log/dpkg.log file.  If it is doing things without
calling operating system utilities, then it will have to have its own
logs (probably, again, in /var/log).  If it is not logging anything,
then there is no way to retrieve a history of what it's doing.

-- 
Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caoevnyvw050whbu5owmrl0rzqckyj4ona75vz80yxj67ssy...@mail.gmail.com



Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Claudius Hubig
Hello Muhammad,

Muhammad Yousuf Khan  wrote:
> ata3.01 : status: { DRDY ERR }
> ata3.01 : error :  { UNC }
> ata3.01 : exception emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.01 : BMDMA stat 0x64
> ata3.01 : failed command : read DMA

This looks as if either the hard drive or the connection thereto is
faulty. Try to connect the HDD to another SATA port. I don’t think it
has anything to do with your resizing.

Best regards & good luck,

Claudius
-- 
Like I always say -- nothing can beat the BRATWURST here in DUSSELDORF!!
http://chubig.nettelnet nightfall.org 4242


signature.asc
Description: PGP signature


Re: *URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Jon Dowland
On Wed, May 02, 2012 at 08:45:25PM +0500, Muhammad Yousuf Khan wrote:
> i resize the LV from 300 GB to 400 GB

Exactly what command did you type, and what feedback did you get?
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502154926.GA6770@debian



*URGENT* plz need help system not booting after "lvresize" command

2012-05-02 Thread Muhammad Yousuf Khan
i resize the LV from 300 GB to 400 GB

then i ran the listed commands

e2fsck -f /dev/mapper/vg--800-Archive400GB

resize2fs -p /dev/mapper/vg--800-Archive400GB


now when i reboot the system

ata3.01 : status: { DRDY ERR }
ata3.01 : error :  { UNC }
ata3.01 : exception emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata3.01 : BMDMA stat 0x64
ata3.01 : failed command : read DMA


my system is not booting up.giving me lots and lots of above erros.

no matter what i do  it doesnt give me the prompt. it is continuesly
giving me this error. i tried recovery mod NO LUCK.

it worked when i unplug the 800GB drive, things start working fine via
default boot drives. however, i tried bootable CD. it shows the same
error
and i "#" all the partitions mount point  that has been located on the
said drive. but still can not get the prompt.

PLease help, data is very important.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cagwvfmniu6uxyvaar973edfygpaextlcfghuvh1zvmct1x1...@mail.gmail.com



Re: Debian problem

2012-05-02 Thread Camaleón
On Wed, 02 May 2012 19:08:52 +0900, Johan Mazel wrote:

> I have a problem with Debian Testing on an Dell Optiplex 960. Can I ask
> for some help on this list or should I use another way ? 

This list is okay but for the next time it would be better if you include 
a more descriptive subject for the problem ;-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrkp9$iv6$6...@dough.gmane.org



Re: cpu frequency management opteron lost?

2012-05-02 Thread Camaleón
On Tue, 01 May 2012 21:24:19 +0200, Joost Kraaijeveld wrote:

> On di, 2012-05-01 at 17:29 +, Camaleón wrote:

>> > lsmod:
>> > panoramix:/home/jkr# lsmod | grep cpu cpufreq_userspace  12576  0
>> > cpufreq_conservative13147  0
>> > cpufreq_stats  12866  0
>> > cpufreq_powersave  12454  0
>> 
>> I can't see "acpi_cpufreq" loaded... hum, wait, for AMD should be
>> "powernow-k8" insetad, right? Is it loaded?

> Not according to lsmod. Loading it manually gives: 
> modprobe -vv powernow-k8
> insmod /lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko
> libkmod: INFO ../libkmod/libkmod-module.c:829 kmod_module_insert_module: 
> Failed to insert module 
> '/lib/modules/3.2.0-2-amd64/kernel/drivers/cpufreq/powernow-k8.ko': No such 
> device 
> ERROR: could not insert 'powernow_k8': No such device 
> libkmod: INFO ../libkmod/libkmod.c:319 kmod_unref: context 0x7f9a84800210 
> released

Mmm... I get the same error in my wheezy (intel/32 bits) when loading 
the module.

> It could be that something changed, but with kernel < 3.0 it worked!?

At least from the changelog of cpufrequtils I can't guess what could 
have happened :-?

http://packages.debian.org/changelogs/pool/main/c/cpufrequtils/cpufrequtils_007-2/changelog

So maybe this is something coming from the kernel side but I don't know 
what it could be. Anyway, if it was supported before (with no additional 
intercation from your part) it has to work now, maybe you should report it.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrkf4$iv6$5...@dough.gmane.org



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Wayne Topa

On 05/02/2012 10:38 AM, Camaleón wrote:

The only pattern I have is the sender of the posts :-? and after checking



I received one yesterday from "Dan B" with the subject: ls sorting order 
change


The mail agent is shown as "Assist Support Platform"  a Winbloz program.

Checked my Gmail account and it has been deleted on the gmail server.

Here is the most header
--
 From - Tue May  1 20:59:45 2012
X-Account-Key: account2
X-UIDL: GmailId1370a3302d43afd5
X-Mozilla-Status: 0011
X-Mozilla-Status2: 
X-Mozilla-Keys: 


Delivered-To: linux...@gmail.com
Received: by 10.112.117.1 with SMTP id ka1csp116094lbb;
Tue, 1 May 2012 13:59:05 -0700 (PDT)
Received: by 10.52.67.19 with SMTP id j19mr8337740vdt.46.1335905944552;
Tue, 01 May 2012 13:59:04 -0700 (PDT)
Return-Path: 
Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com 
[209.85.220.181])
by mx.google.com with ESMTPS id 
ib3si13119117vdb.18.2012.05.01.13.59.04

(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 01 May 2012 13:59:04 -0700 (PDT)
Received-SPF: pass (google.com: domain of joe1assis...@gmail.com 
designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of 
joe1assis...@gmail.com designates 209.85.220.181 as permitted sender) 
smtp.mail=joe1assis...@gmail.com; dkim=pass header.i=@gmail.com

Received: by mail-vx0-f181.google.com with SMTP id e1so1470838vcg.12
for ; Tue, 01 May 2012 13:59:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:reply-to:to:cc:message-id:in-reply-to:subject
 :mime-version:content-type:x-mailer;
bh=3FU3UJDbaydHuXtPq5q2MdUuEbNvl0JiQ0pjO6uVVDI=;

b=0LoH+cw39cTAVnoONBf1tF8IaGk4iD2qnaI0W4mMvRDEoJpTEj7Aleqibk7SO2CBW2

Ju+WvhO1LuXrywLpYwqJcjPiIts5VzBAhq3AKuOaDY6VMwbeZgDzMZCWbRN/x4L35NZL

AEnRLU94zuCB32Uvl4b/9ZlWkWz1kbt/8hqG4RHQSsQI3QujassQ+jBbL+sVc+BpBN6i

SrfxbI71zBEYSTYcwfw530YDteeKq6GMrReHK5yTonm026jxQQPe45KbbDo3Efrc4M2Q

RLoTYSDHUqo+IFFj1JGo4BxGnvUAV0N+g+FBRF9X4d/1BqFYcU4Cc7Lwu0IKUxSYeHqf
 sL5w==
Received: by 10.52.91.72 with SMTP id cc8mr23486308vdb.17.1335905944042;
Tue, 01 May 2012 13:59:04 -0700 (PDT)
Return-Path: 
Received: from smtp.gmail.com 
(ec2-174-129-125-98.compute-1.amazonaws.com. [174.129.125.98])
by mx.google.com with ESMTPS id 
hf9sm33830547vdb.7.2012.05.01.13.59.03

(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 01 May 2012 13:59:03 -0700 (PDT)
Date: Tue, 1 May 2012 20:59:02 +
From: "debian-user@lists.debian.org" 
Reply-To: "debian-user@lists.debian.org" 
To: d...@kempt.net
Cc: linux...@gmail.com
Message-Id: <4fa04e833746d_2003417a58...@portal.joegiglio.org>
In-Reply-To: <4fa0351f.8010...@kempt.net>
Subject: Re: ls sorting order change
Mime-Version: 1.0
Content-Type: multipart/alternative; 
boundary=mimepart_4fa04e971a680_7c3c8b7c0c26f

X-Mailer: Assistly Support Platform


--mimepart_4fa04e971a680_7c3c8b7c0c26f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: Quoted-printable



__
Type your response ABOVE THIS LINE to reply

-=
---
Dan
-=
---

Wayne | MAY 01, 2012 04:58PM EDT

On 05/01/2012 03:10 PM, Dan B. wrote:
> What controls the order that the ls command uses for sorting names?
>
>
> On a fresh Squeeze installation, ls seems to ignore leading "."
> characters (it no longer lists all "hidden" files adjacent to each
> other) and to ignore capitalization differences.
>
> It used to sort in standard/traditional Unix order (not ignoring any
> characters, and ordering by order of characters in ASCII/etc. (as
> opposed to by case-insensitive alphabetical order)).
>
>
> What controls ls's sorting order?
>
> I haven't set any locale environment variable specifically for the
> collation order, but I don't know what base LANG=3Den_US.UTF-8 setting
> does. Does "en_US" imply that new sorting order?
>
>
> How do I tell ls to work the way I've seen it work for decades?
>

Well man ls says

"  List information about the FILEs (the current directory by default). =

  Sort entries alphabetically if none of -cftuvSUX nor --sort is specifie=
d."

Guess you could start there.
Hope this helps

Wayne


-- =

To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org =

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian=
.org
Archive: http://lists.debian.org/4fa08677.6040...@gmail.com

-=
---

Dan | MAY 01, 2012 03:13PM EDT  | Original message =


What controls the order that the ls command uses for sorting names?


On a

Re: unix tool as precise counter/timer for periodic print/exec

2012-05-02 Thread Johannes Schauer
Hi Paul,

> Use crontab (see man crontab).

But as far as I see, cron doesnt do what I want.

First of all, it will run as a daemon in the background so there is no
way (at least as far as I am aware) to make it output a counter/timer in
my terminal.

Second, as also mentioned in my initial email, I would also like a
resolution higher than once per second which is (afaik) also not what
cron is made for.

Thank you for your reply!

cheers, josch


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502150656.GA15709@hoothoot



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 02:50:38PM +, Camaleón wrote:
> On Tue, 01 May 2012 13:01:57 -0500, Indulekha wrote:
> 
> > On Tue, May 01, 2012 at 05:39:15PM +, Camaleón wrote:
> >> 
> >> Blame your mail2news gateway provider then. I don't experience that
> >> problem with Gmane :-)
> >> 
> >> Gmane also does a good job when it comes to block the spam it reaches
> >> the lists. Oh, oh... now I feel like a "human-advertising" :-P
> >>  
> >>  
> > Yes, it's having an effect...
> > So, do you run leafnode and point it at nntp://news.gmane.org then?
> 
> I've never used Leafnode before. Is a NNTP server, right? 
> 
> Let me take a look:
> 
> http://leafnode.sourceforge.net/overview.shtml
> 
> Okay, you will have to configure it to fetch the news messages from Gmane 
> servers and only for the selected groups (not the whole tree) so you can 
> read the articles locally. For the exact steps, I can't tell, but there 
> must be some samples on how to proceed at the docs:
> 
> /usr/share/doc/leafnode/examples/*
> /usr/share/doc/leafnode/README.Debian
> 

Thanks, but I do already know how to run leafnode -- been doing that with 
news.individual.net for a few years.
Just wondered if that's what you were using for gmane, sorry if I wasn't 
clear. Anyway, I think sticking with the straight list is probably fine 
for me at this point. It's always good to have alternative options if 
needed, but gmane seems a bit of a kludge to me frankly, and now there's 
that shadow of doubt cast by this whole "joelassistly" thing... 
(Though it may have nothing to do with gmane, but IDK).

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502150436.GA1770@radhesyama



Re: ls sorting order change

2012-05-02 Thread Camaleón
On Tue, 01 May 2012 15:10:23 -0400, Dan B. wrote:

> What controls the order that the ls command uses for sorting names?

>From "man ls" → info coreutils 'ls invocation' anf here it can be read:

***
By default, the output is sorted alphabetically, according to the
locale settings in effect.(1) If standard output is a terminal, the
output is in columns (sorted vertically) and control characters are
output as question marks; otherwise, the output is listed one per line
and control characters are output as-is.

(1) If you use a non-POSIX locale (e.g., by setting `LC_ALL' to
`en_US'), then `ls' may produce output that is sorted differently than
you're accustomed to.  In that case, set the `LC_ALL' environment
variable to `C'.
***

Depending on the version you're using this can vary.

> On a fresh Squeeze installation, ls seems to ignore leading "."
> characters (it no longer lists all "hidden" files adjacent to each
> other) and to ignore capitalization differences.

(...)

Can you post a sample of the command you issued and the ouput you got?
 
Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnri98$iv6$4...@dough.gmane.org



Re: unix tool as precise counter/timer for periodic print/exec

2012-05-02 Thread Lars Noodén
On 5/2/12 5:33 PM, Paul E Condon wrote:
> I think you should be careful to not set the schedule to execute you
> job too frequently. This system will launch a new job on schedule,
> whether or not the previously launched job has completed. For some
> jobs this can cause problems. If you want to do something that takes 1
> or 2 sec., every 5 sec., crontab works without using locks on files,
> or other safety mechanisms. Or look at the package liblockfile1.

It could be wrapped in a script and the script could manage locking, say
through flock.

Regards
/Lars


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa1483a.80...@gmail.com



Re: How do I remove a bad file??

2012-05-02 Thread Paul E Condon
On 20120501_204601, John L. Cunningham wrote:
> 
> On Tue, May 01, 2012 at 06:20:11PM -0500, Dennis Wicks wrote:
> > Greetings;
> > 
> > I have a file that looks like the following in an ls list;
> > 
> > -? ? ?? ?? Inbox.msf
> > 
> > I can't do anything with it. Can't mv, rm, cp, or anything else I
> > have thought of to get rid of it or write over it.
> > 
> > Any ideas how I can get this thing out of my life??
> 
> If there is no GUI available, this trick using find and the file's inode 
> number will work:
> 
> http://www.cyberciti.biz/tips/delete-remove-files-with-inode-number.html
> 

To OP:

Use find to do the whole job:
1. cd into the directory in which the file with the bad name is lodged,
2. find . -maxdepth 1 -ls
3. look at output and add restrictions to the search criteria of find, 
4. repeat 2. until the bad file is the only one found. Then go to 5.
5. add -delete to the end of the find command that was developed by the 
   above, and run it.

You might want to skim the find man page to see what -maxdepth does.
I would add a test that the file name not have an initial letter that
is the same as the initial letter of any good file in the directory.

! -name '[a-zA-Z0-9]*' 

This should make pretty much everything but your bad file drop out of
the find output. If not tweak the find command some more, but don't
add the -delete until the bad file is the only one present in the trial
runs. Don't assume that you know the regular expression rules. Find has
its own regex rules. They are similar to other regex, but for cleanup
work like this, the game of not adding the delete until you are sure
the the whole of the command is right is a strategy that will save you
from a lot of grief.  

But if you don't have .history working in your xterm, all of this is
largely worthless. Don't try it with the find command and changes to
it are recorded with pencil on a note pad!!! 

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502135208.ga13...@big.lan.gnu



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Camaleón
On Tue, 01 May 2012 13:01:57 -0500, Indulekha wrote:

> On Tue, May 01, 2012 at 05:39:15PM +, Camaleón wrote:
>> 
>> Blame your mail2news gateway provider then. I don't experience that
>> problem with Gmane :-)
>> 
>> Gmane also does a good job when it comes to block the spam it reaches
>> the lists. Oh, oh... now I feel like a "human-advertising" :-P
>>  
>>  
> Yes, it's having an effect...
> So, do you run leafnode and point it at nntp://news.gmane.org then?

I've never used Leafnode before. Is a NNTP server, right? 

Let me take a look:

http://leafnode.sourceforge.net/overview.shtml

Okay, you will have to configure it to fetch the news messages from Gmane 
servers and only for the selected groups (not the whole tree) so you can 
read the articles locally. For the exact steps, I can't tell, but there 
must be some samples on how to proceed at the docs:

/usr/share/doc/leafnode/examples/*
/usr/share/doc/leafnode/README.Debian

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrhju$iv6$3...@dough.gmane.org



Problems after installing network-manager (possibly because of hal?)

2012-05-02 Thread Guido Martínez
Hi,

I'm running debian 6.0.4 for amd64, with XFCE. I recently installed
network-manager so I could use my Wi-Fi card, this installed hal as a
dependency.  The Wi-Fi now works properly but I have two known issues:
- The resolution changed from 1280x1024 to 1280x960, and I can't
change it back using the XFCE display settings.
- XFCE keyboard shortcuts don't work anymore. By this I mean
Ctrl+Alt+Delete which locks the session and Alt+F2 for xfrun4.

What can I do about this?
Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA++DQUnZVNR6he7K7Pa+Ux4SsNXAFJPNAS=7bgjzrofbd+j...@mail.gmail.com



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Camaleón
On Tue, 01 May 2012 19:30:09 +0100, Brian wrote:

> On Tue 01 May 2012 at 17:52:50 +, Camaleón wrote:

>> > I do not understand why Subject: is different from the
>> > 
>> >Re: Install a package from testing?
>> > 
>> > in your mail at
>> > 
>> >http://lists.debian.org/debian-user/2012/04/msg01825.html
>> > 
>> > Also
>> > 
>> >In-Reply-To: 
>> > 
>> > is puzzling because this is the Message-id: for msg01825.
>> 
>> Well, "joe1" was replying to this message:
> 
> joe1assistly, surely? 

Yes. This is the "from" line where the name is faked to appear to come 
from the list:

***
From: "debian-user@lists.debian.org" 
***

> You received the mail a minute afterwards because of your posting > 
through gmane. I imagine you will have sufficient other examples to be
> able to check on a pattern.

The only pattern I have is the sender of the posts :-? and after checking 
my Gmail Trash folder I can see that I'm still receiving e-mails coming 
from that address, generated by this same thread.

> [Snip]
> 
>> > Now for dates and times (taken from gmane) of the four posts in that
>> > thread:
>> 
>> (...)
>> 
>> > Coincidence? I'd be looking at something happening in the interaction
>> > between the poster and gmane.
>> 
>> I can't really tell.
> 
> Classic fence-sitting. :)

:-)

I can't fight against an unknown source. 

I could contact Gmail staff so they can consider removing the account but 
I'm afraid that will be of no effect at all. Well, I'll do anyway.

>> It seems that other posters who don't use Gmane are also receiving the
>> messages.
> 
> Let them post the headers and bodies then. Whatever is happening at
> gmane I think we can be certain the mails you got (and are still
> getting?) are not from other users on this list.

Still getting, yes.

And yes, I now don't think these messages are coming from users on this 
mailing list, it looks more an automatism triggered by our (some?) posts 
here but I don't know what could be, tough the common link for those who 
receive the e-mails is indeed that we replied to posts here.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jnrgtn$iv6$2...@dough.gmane.org



Re: unix tool as precise counter/timer for periodic print/exec

2012-05-02 Thread Paul E Condon
On 20120502_102011, Johannes Schauer wrote:
> Hi,
> 
> I'm looking for a unix tool that does nothing else than increment and
> print an integer with a fixed frequency. As a bonus it should be able to
> execute a command with a fixed frequency. The special requirement: it
> should precise in the interval.
> 
> Thus, the following will not work:
> 
>   #!/bin/sh
>   while true; do
>   print_counter
>   sleep 1
>   done
> 
> because each loop iteration will take one second plus how long
> print_counter takes to execute.
> 
> Even the following will not work:
> 
>   #!/bin/sh
>   while true; do
>   print_counter &
>   sleep 1
>   done
> 
> Because even the time it takes to fork print_counter will accumulate
> over time.
> 
> Another inconvenience of the above is, that not all sleep(1)
> implementations do accept floating point arguments to run the above
> faster than every second.
> 
> What I need is something that on each step recalculates how long to
> sleep based on the current time so that the overall frequency remains
> stable.
> 
> I do not need each print_counter to be executed exactly at a very
> precise moment but just that the overall frequency stays the same. After
> having it run 1000 times with a frequency of 1Hz I want 1000 seconds to
> have passed.
> 
> Some libraries like glib provide functions like g_timout_add or
> g_timeout_add_seconds but that does not 'catch up' as I require above.
> Is there some library that does?
> 
> There is the watch(1) tool which already partly does what I want using
> the --precise switch. But it runs in fullscreen and even when using
> --precise, it will not compensate for commands that take longer than the
> given interval length as it doesnt fork them. Also, watch(1) will not
> allow intervals smaller than 0.1 seconds.
> 
> So basic requirement: print a counter (counting up or down) in a fixed
> frequency. Either a tool that does that or a library that I can use to
> code it.
> 
> Bonus: execute a command with a fixed frequency and in contrast to
> watch(1) even when executing the command takes longer than the interval.
> 
> So is there a utility that just implements a simple, precise counter?
> 
> Is there a better version of watch(1) that is not fullscreen, allows
> faster than 0.1 second intervals and forks the application so that their
> runtime can exceed the interval time?
> 
> cheers, josch

Don't use sleep, or any of the loop structures that you discuss above.
Use crontab (see man crontab). This is not the /etc/crontab that drives
some system services, but the one that provides a crontab for each user
Typing

crontab -e 

in an xterm, will get you started, but perhaps you should read the man
page first. Your crontab file will be created automagically in /var
where the system expects it to be. 

I think you should be careful to not set the schedule to execute you
job too frequently. This system will launch a new job on schedule,
whether or not the previously launched job has completed. For some
jobs this can cause problems. If you want to do something that takes 1
or 2 sec., every 5 sec., crontab works without using locks on files,
or other safety mechanisms. Or look at the package liblockfile1.


-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502143339.gb13...@big.lan.gnu



Re: Supermicro SAS controller

2012-05-02 Thread Camaleón
On Tue, 01 May 2012 17:29:17 +, Ramon Hofer wrote:

> On Tue, 01 May 2012 16:16:07 +, Camaleón wrote:
> 
>> What kind of hardware do you have (motherboard brand and model) and
>> what kind of hard disk controller do you need, what are your
>> expectations?
>> 
>> SuperMicro boards (I'm also a SuperMicro user) are usually good enough
>> to use their embedded SAS/SATA ports, at least if you want to use a
>> software raid solution :-?
> 
> I have a Supermicro C7P67 board. But there aren't any SAS connectors
> there.

Ah, okay. This one:

http://www.supermicro.com/products/motherboard/Core/P67/C7P67.cfm

The board has no SAS ports but it features 8 SATA ports (4 SATA2 and 4 
SATA3), aren't those enough your your purpose? :-?

> This is a home media server. Earlier I used a debian box with a raid and
> a disk for mythtv recordings. But I ran out of space and resurrected an
> ReadyNas NV+. But this was so slow and I wanted to have everything
> centralized. So I was looking for something else and found this case:
> 
> http://cybershop.ri-vier.nl/4u-rackmnt-server-case-w20-hotswap-satasas-drv-bays-rpc4220-p-18.html
> 
> They also had that SAS controller and on the Supermicro website they
> wrote it would be SUSE and Red Hat compatible. So I thought it runs too
> under Debian.

Well, the driver status for most of the hardware out there can be 
"misleading" many times. This is like a double-sided sword, you have
to carefully read the technical specs of the device to find out the
chipset it uses and then, search for its status in the kernel. If you
rely on hardware manufacturer's driver you are stuck: they can drop it
at any time or don't compile for your linux distribution version, which
seems to be this case :-(

> So performance isn't very important. But I don't know what exactly you
> mean by expectations. 

Well, I wonder why is that you chose to go with SAS drives instead using
SATA given that the motehrboard only has SATA ports. When someone adds
a SAS controller is usually because he/she wnats to build a mainstream 
server or expectes more performance/reliability than the average :-)

> The controller should give access to the disks.
> They will mostly be slow green drives. It's not even a very big problem
> if it's limited to 3 TB but of course it would be nice if I could also
> go bigger in some years when I run out of space again and want to add
> another raid.

Okay... I'll ask you again: why a SAS controller instead using the 
embedded SATA ports?

> So the media server contains one analogue PCI tuner card (PVR-500) and
> one (maybe in future a second one will be added) TeVii (S480) sat tuner
> card.
> 
> Now I have one 500 GB disk as system drive but I'm thinking of adding
> another one as RAID1.

This leads me to another question. Why RAID 1 for a media server?

> With the 20 hot swap slots in the case, the two system drives and an
> optical drive I need 23 sata connectors. Or better four SAS connectors
> and the eight SATA ports on the mainboard.
> 
> I think software raid will cause me less cost and problem because when
> the controller fails I can replace it by anything that can talk SAS?

Okay, let's see what we have for now:

- A motherboard with 8 SATA ports
- A 4U case with up to 20 hot-swap drive bays for the disks (SATA/SAS)

I wonder why is that you have not considered using SATA hard disks :-)

>> Well, I'm not familiar with MD (I use hardware raid) but "md1 stopped"
>> and raid 5 with only 2 elements in the array does not sound very good
>> ;-(
> 
> Ah, yes you're right :-o
> 
> Was this during bootup? I recreated the array again after bootup...

It could be...

>> Ugh... and when is that happening, I mean, that "I/O error"? At install
>> time, when partitioning, after the first boot?
> 
> This usually happens when I tried to create the filesystem on the raid
> array by
> 
> sudo mkfs.ext4 -c -L test-device-1 /dev/md1
> 
> And when I then want to see details about the array (sudo mdadm --detail
> / dev/md1) the system crashes and I get the I/O error.
> 
> This causes so much problem that I wasn't able to repair it when it
> happened the first time (afterwards I had nothing to recover ;-) ).
> 
> I posted it here:
> 
> http://lists.debian.org/debian-user/2012/04/msg01290.html

Too much hassle/problems for a simple raid5 volume :-(

>>> I've written a mail to Supermicro. Should I also create a Debian bug
>>> report?
>> 
>> Yup, tough I think it will be forwarded upstream.
> 
> Thanks I will run reportbug.
> 
> But in the meantime I have installed the bpo kernel and it seems to be
> working now...
> At least it never run the disk check for so long, the raid is rebuilding
> and I can see the details as much as I want...

Glag it's more stable now with an updated kernel but I'd be keep monitoring 
the array during some days... and if you experience another issue with the
disks, I would reconsider in replacing the hard disk controller or moving to
SATA disks, instead.

>> Mmm, then the ab

Re: W: best way to clone server data using rsync

2012-05-02 Thread Dan Ritter
On Tue, May 01, 2012 at 10:19:42PM +0200, Tuxoholic wrote:
> I noticed rsh is not installed, it's linked to
> /etc/alternatives/rsh, which is linked to /usr/bin/ssh.
> 
> Calling rsh instead of ssh should avoid file encryption during
> transfer, at least that was the intention.

That isn't what will happen. SSH will not allow you to turn off
encryption.

You may want to specify -O Ciphers=rc4 (or blowfish), both of
which are quite fast.

> The socket options boost transfer speed quite a lot, I usually have
> 65355 buffers on my samba server, using rsync directly I can
> increase it some more.

Have you tested this with ssh? It seems unlikely to me.

-dsr-

-- 
http://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502135739.gy11...@randomstring.org



Re: unix tool as precise counter/timer for periodic print/exec

2012-05-02 Thread Karl E. Jorgensen
On Wed, May 02, 2012 at 09:20:11AM +0100, Johannes Schauer wrote:
> Hi,
> 
> I'm looking for a unix tool that does nothing else than increment and
> print an integer with a fixed frequency. As a bonus it should be able to
> execute a command with a fixed frequency. The special requirement: it
> should precise in the interval.
> 
> Thus, the following will not work:
> 
>   #!/bin/sh
>   while true; do
>   print_counter
>   sleep 1
>   done
> 
> because each loop iteration will take one second plus how long
> print_counter takes to execute.

Perhaps the sleepenh package will help you?

Not a solution per se, but possibly a useful building block..


> What I need is something that on each step recalculates how long to
> sleep based on the current time so that the overall frequency remains
> stable.
> 
> I do not need each print_counter to be executed exactly at a very
> precise moment but just that the overall frequency stays the same. After
> having it run 1000 times with a frequency of 1Hz I want 1000 seconds to
> have passed.
> 
> Some libraries like glib provide functions like g_timout_add or
> g_timeout_add_seconds but that does not 'catch up' as I require above.
> Is there some library that does?
> 
> There is the watch(1) tool which already partly does what I want using
> the --precise switch. But it runs in fullscreen and even when using
> --precise, it will not compensate for commands that take longer than the
> given interval length as it doesnt fork them. Also, watch(1) will not
> allow intervals smaller than 0.1 seconds.
> 
> So basic requirement: print a counter (counting up or down) in a fixed
> frequency. Either a tool that does that or a library that I can use to
> code it.
> 
> Bonus: execute a command with a fixed frequency and in contrast to
> watch(1) even when executing the command takes longer than the interval.
> 
> So is there a utility that just implements a simple, precise counter?
> 
> Is there a better version of watch(1) that is not fullscreen, allows
> faster than 0.1 second intervals and forks the application so that their
> runtime can exceed the interval time?



-- 
Karl E. Jorgensen
IT Operations


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502135713.GM18412@hawking



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Lisi
On Wednesday 02 May 2012 14:52:57 Indulekha wrote:
> post appropriately (not top-posting, being
> on-topic, and so forth) if possible, as I'm old and feeble and easily
> confused.

+1 ;-)

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201205021513.05261.lisi.re...@gmail.com



Re: Swap space not used

2012-05-02 Thread Claudius Hubig
Hello Lisi,

Lisi  wrote:
> On Wednesday 02 May 2012 12:12:31 Sian Mountbatten wrote:
> > As a rule, your swap
> > partition should be the same size as your RAM.
> 
> We used to be taught it should be twice as big as your RAM - but even that 
> wouldn't get you to 40GB!!  And, of course, that was in the days when RAM was 
> tiny by today's standards.

That indeed was a rule of thumb when swap space was actually
important. However, with today’s RAM, the main usage of swap space is
hibernate (suspend to disk), for which at most the size of your RAM
in swap space is required.

Best regards,

Claudius
-- 
Remember, UNIX spelled backwards is XINU.
-- Mt.
http://chubig.nettelnet nightfall.org 4242


signature.asc
Description: PGP signature


Re: Flashplayer on Debian Squeeze. (shelve for now)

2012-05-02 Thread Lisi
On Wednesday 02 May 2012 14:36:35 Lisi wrote:
> Hi, all!
>
> I have been trying to get Flashplayer going on my husband's computer. 

Sorry, all.  As I read my own post on the list, I realised that there was at 
least one more thing that I can try for myself.  (I gave up yesterday when I 
was very tired.)

I'll try a few more things myself, and then if necessary, ask.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201205021501.08904.lisi.re...@gmail.com



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 06:29:45PM +0600, Arif Hossain wrote:
> I received this joe1 msg once...
> 

Ok, well, that actually has nothing to do with me personally, or with the 
particular email you replied to, but I'm sorry you received spam. :)
Please try to post to the list and post appropriately (not top-posting, being 
on-topic, and so forth) if possible, as I'm old and feeble and easily confused.
Thanks, and best wishes. :)

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502135257.GA1417@radhesyama



Re: Swap space not used

2012-05-02 Thread Lisi
On Wednesday 02 May 2012 12:12:31 Sian Mountbatten wrote:
> As a rule, your swap
> partition should be the same size as your RAM.

We used to be taught it should be twice as big as your RAM - but even that 
wouldn't get you to 40GB!!  And, of course, that was in the days when RAM was 
tiny by today's standards.

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201205021447.17851.lisi.re...@gmail.com



Solved, was: Debian GNU/Linux wheezy/sid: aptitude ERROR

2012-05-02 Thread Arnt Karlsen
On Wed, 02 May 2012 13:00:34 +0200, Csanyi wrote in message 
<87zk9qetkd@gmail.com>:

> Andrei POPESCU  writes:
> 
> > On Mi, 02 mai 12, 08:52:26, Csanyi Pal wrote:
>  
> >> today I run aptitude update and get errors:
> >> http://paste.debian.net/166950/
> >
> > Pastebin for 3 lines?
> >
> >> After that I run aptitude safe-upgrade and again, I get errors:
> >> http://paste.debian.net/166951/
> >
> > I'd say this is your problem:
> >
> > Setting up fontconfig-config (2.9.0-2) ...
> > rmdir: failed to remove `/var/lib/defoma/fontconfig.d/': Directory
> > not empty dpkg: error processing fontconfig-config (--configure):
> >
> >> What can I do to solve these problems?

.._sometimes_, when "aptitude upgrade" etc fails, I succeed trying
"apt-get update &&apt-get upgrade", apt-get and aptitude solves these 
things slightly differently, like "please" and "pretty please." ;o)

> > Delete or move (not copy) that directory somewhere else and then
> > retry.
> 
> Thanks! That solve the problem.
 
..excellent, say so in the subject field too so other people 
can find this solution, too. ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502153819.58f02...@celsius.lan



Flashplayer on Debian Squeeze.

2012-05-02 Thread Lisi
Hi, all!

I have been trying to get Flashplayer going on my husband's computer.  When 
the advice on this list and the Debian website failed (as below), i just 
deinstalled the lot and downloaded from the Adobe site.  According to the 
site, the latest version available for Linux is 11, but I seem to have 
downloaded 10. :-(  

I am going spare on this.  Has anyone got any ideas?

I know that I have not given much information on what I have done, since I had 
decided just to start again and download from the Adobe website.  But I have 
worked though all the recent advice on this list and also that on the 
relevant page in the Debian wiki.

I would happily start again from the beginning.

Thanks,
Lisi

root@Hercules:/home/peter# update-flashplugin-nonfree --install
ERROR: wget failed to download 
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.i386.pgp.asc
More information might be available at:
   http://wiki.debian.org/FlashPlayer
root@Hercules:/home/peter#


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201205021436.35622.lisi.re...@gmail.com



Re: How do I remove a bad file??

2012-05-02 Thread Arnt Karlsen
On Wed, 2 May 2012 07:04:55 +0200, Jochen wrote in message 
<20120502050455.ga25...@well-adjusted.de>:

> Dennis Wicks:
> > Greetings;
> > 
> > I have a file that looks like the following in an ls list;
> > 
> > -? ? ?? ?? Inbox.msf
> > 
> > I can't do anything with it. Can't mv, rm, cp, or anything else I
> > have thought of to get rid of it or write over it.
> > 
> > Any ideas how I can get this thing out of my life??
> 
> Fsck the filesystem.

..first, umount it right _now!_

..if Inbox.msf is your email, you will now learn why, how etc 
back-ups are nice.  And you _may_ want to learn how to retrieve 
bad data tha's been removed by fsck to save the file system.

..depending on how valuable your data is, be careful, "fsck \ 
-N /dev/bad.disk.part" is a safe start if you're in a hurry,
it makes you slow down and verify you understood "man fsck".

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502152543.594a3...@celsius.lan



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Andrei POPESCU
On Mi, 02 mai 12, 06:38:59, Indulekha wrote:
> On Wed, May 02, 2012 at 11:49:00AM +0300, Andrei POPESCU wrote:
> > 
> > In order to save bandwidth you may want to use IMAP + downloading 
> > headers only ;)
> > 
> 
> That *is* what I do, as I said I'm stuck using an absurdly slow dial up 
> connection. In this part of the country our phone lines are so bad my 
> connection speed hovers between 1.5 and 5.9 kbps  (no, not a typo)!
> If you've never experienced that, you probably wouldn't understand...

I've started using internet in the times of 33.6 and later 56 kbps, 
which is "only" 10 times better. Besides, for some strange reasons my 
connection at works is dead-slow sometimes (I'm talking just a few 
bytes/s download speeds), so yes, I understand.

> Just opening an imap mailbox with more than a few hundred messages in 
> it (with header caching) can take several minutes.
> It's the only real downside to living in this extremely rural area.

You may want to try out something else than mutt, it downloads too much 
stuff under certain circumstances (see #496906 and references).

Hope this helps,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Arif Hossain
I received once...

On Wed, May 2, 2012 at 5:38 PM, Indulekha  wrote:
> On Wed, May 02, 2012 at 11:49:00AM +0300, Andrei POPESCU wrote:
>> On Lu, 30 apr 12, 20:11:36, Indulekha wrote:
>> >
>> > Ok, so I subscribed the "normal" way, and I'll just periodically purge the
>> > mails to avoid waiting for 857,000 emails to load over dialup.
>>
>> Not sure what you mean, but just about every mail retriever that I know
>> of will not re-download mail unless told so.
>>
>> In order to save bandwidth you may want to use IMAP + downloading
>> headers only ;)
>>
>
> That *is* what I do, as I said I'm stuck using an absurdly slow dial up
> connection. In this part of the country our phone lines are so bad my
> connection speed hovers between 1.5 and 5.9 kbps  (no, not a typo)!
> If you've never experienced that, you probably wouldn't understand...
> Just opening an imap mailbox with more than a few hundred messages in
> it (with header caching) can take several minutes.
> It's the only real downside to living in this extremely rural area.
>
> --
> ❤ ♫ ❤ ♫ ❤ ♫ ❤
>  Indulekha
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20120502113859.GB5362@radhesyama
>



-- 
-aft


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGuaRCuvf0jPZW-3VEXecrXkpi=predbxpuqgbhkkgpzvd7...@mail.gmail.com



Re: networking thru C language

2012-05-02 Thread Alberto Luaces
abdelkader belahcene writes:

> Hi,
> I am new to  networking  via C language I want to implemente   a command of 
> nmap
> this one ( or another , any one just to see how it works)
>
> nmap -O -v scanme.nmap.org

This is pretty complicated for a begginer in networking; however, I'd
suggest to compile nmap from source with debug information and run it
with a debugger in order to be able to see the sequence of library calls
and its parameters.

Another option which doesn't require recompiling is to trace nmap system
calls with "strace" command.

Regards,

-- 
Alberto


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mx5qpzlk@eps142.cdf.udc.es



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 11:49:00AM +0300, Andrei POPESCU wrote:
> On Lu, 30 apr 12, 20:11:36, Indulekha wrote:
> > 
> > Ok, so I subscribed the "normal" way, and I'll just periodically purge the 
> > mails to avoid waiting for 857,000 emails to load over dialup.
> 
> Not sure what you mean, but just about every mail retriever that I know 
> of will not re-download mail unless told so.
> 
> In order to save bandwidth you may want to use IMAP + downloading 
> headers only ;)
> 

That *is* what I do, as I said I'm stuck using an absurdly slow dial up 
connection. In this part of the country our phone lines are so bad my 
connection speed hovers between 1.5 and 5.9 kbps  (no, not a typo)!
If you've never experienced that, you probably wouldn't understand...
Just opening an imap mailbox with more than a few hundred messages in 
it (with header caching) can take several minutes.
It's the only real downside to living in this extremely rural area.

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502113859.GB5362@radhesyama



Re: Swap space not used

2012-05-02 Thread Sian Mountbatten

On 02/05/12 09:00, Bret Busby wrote:

Hello.

I am running Debian 6.

When I installed it, I had a swap partition of about 40GB set up, as is
shown by gparted.

But, for some strnge reason, Debian 6will not use the swap space, even
though gparted shows it to be "Active".

Instead of Debian 6 using the swap[ partition, it just runs out of
memory, progressively, requiring rebooting every few days.

Why is this so?

Thank you in anticipation.

Your swap partition is, very likely, too large. As a rule, your swap
partition should be the same size as your RAM. Do you have 40GB RAM?

Sincerely

--
Sian Mountbatten
ex-Algol 68 specialist


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jnr4qu$hag$1...@speranza.aioe.org



Re: Solved: Re: Can't install flashplugin.nonfree. ERROR: wget failed to download

2012-05-02 Thread Indulekha
On Wed, May 02, 2012 at 04:37:16PM +0900, Han Soo Chang wrote:
> Thanks for your response.
> 
> Yes, I installed sudo, and edited the confiugration file using visudo.
> That was easy.
> And I have been using sudo in all the cases where I needed to be root.
> I believed that it gives me better security.
> 
> However, in this particular case of installing flashplugin-nonfree,
> sudo apt-get failed, but su apt-get succeeded.
> 
> What I'm trying to say is that this could be interpreted as a subtle bug,
> because it confuses a user like me.
> 
 
I don't think it's a bug...
If you add your user to the sudo group and use the line:

yourusername   ALL=(ALL) NOPASSWD: ALL

in /etc/sudoers, everything should work and you'll 
get no password prompt. Of course, replace "youusername" 
with your actual username. :) 

-- 
❤ ♫ ❤ ♫ ❤ ♫ ❤   
 Indulekha 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502113032.GA5362@radhesyama



Re: Debian GNU/Linux wheezy/sid: aptitude ERROR

2012-05-02 Thread Csanyi Pal
Andrei POPESCU  writes:

> On Mi, 02 mai 12, 08:52:26, Csanyi Pal wrote:
 
>> today I run aptitude update and get errors:
>> http://paste.debian.net/166950/
>
> Pastebin for 3 lines?
>
>> After that I run aptitude safe-upgrade and again, I get errors:
>> http://paste.debian.net/166951/
>
> I'd say this is your problem:
>
> Setting up fontconfig-config (2.9.0-2) ...
> rmdir: failed to remove `/var/lib/defoma/fontconfig.d/': Directory not empty
> dpkg: error processing fontconfig-config (--configure):
>
>> What can I do to solve these problems?
>
> Delete or move (not copy) that directory somewhere else and then retry.

Thanks! That solve the problem.

-- 
Regards from Pal


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87zk9qetkd@gmail.com



networking thru C language

2012-05-02 Thread abdelkader belahcene
 Hi,
I am new to  networking  via C language I want to implemente   a command of
nmap
this one ( or another , any one just to see how it works)


nmap -O -v scanme.nmap.org

thanks a lot
best regards


Re: unix tool as precise counter/timer for periodic print/exec

2012-05-02 Thread Johannes Schauer
Hi Darac,

> I'm not entirely sure if such a tool exists, but one thing you will
> need to bear in mind is that you will need to make sure you're running
> a real-time kernel (apt-cache search linux-image-rt). This will allow
> you to run your look with real-time priority. If you don't have
> real-time priority, then you basically have no way of ensuring that
> you will be able to run print_counter at the specified time - you
> could always get delayed because the kernel is writing to disk or some
> other process is doing work.

I dont require that. Let me quote my original email:

> I do not need each print_counter to be executed exactly at a very
> precise moment but just that the overall frequency stays the same.
> After having it run 1000 times with a frequency of 1Hz I want 1000
> seconds to have passed.

This is also why I made the comparison to watch(1) with the --precise
argument, which does what I want but has other deficiencies.

Thank you for your input.

cheers, josch


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502104526.GA19488@hoothoot



Re: Debian problem

2012-05-02 Thread Brad Rogers
On Wed, 2 May 2012 19:08:52 +0900
Johan Mazel  wrote:

Hello Johan,

> I have a problem with Debian Testing on an Dell Optiplex 960.
> Can I ask for some help on this list or should I use another way ?

You're in the right place;  Ask here, there's bound to be somebody that
can help.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Dream on white boy, dream on black girl
Original Sin - INXS


signature.asc
Description: PGP signature


Re: How do I remove a bad file??

2012-05-02 Thread Tom H
On Wed, May 2, 2012 at 5:16 AM, Andrei POPESCU  wrote:
> On Ma, 01 mai 12, 19:15:19, Indulekha wrote:
>>
>> It's always wise to alias "rm" to "rm -i" in your shell.
>> Also learned the hard way, when the combination of a killer
>> headache and time pressure caused me to delete a bunch of
>> things years ago...
>
> I used to think so as well, but consider situations where your delete
> pattern matches a lot of files, are you going to press 'y' for each and
> every one of them? You will probably interrupt and add -f as well, which
> may do more than what you wanted.

You can override the aliased "-i" with a '\" in front of "rm".


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SzTrpV+7SR_co=zpqhdx5v1h9npgt391jjepgsa5an...@mail.gmail.com



Re: Debian problem

2012-05-02 Thread Jon Dowland
On 02/05/12 11:08, Johan Mazel wrote:
> I have a problem with Debian Testing on an Dell Optiplex 960.
> Can I ask for some help on this list or should I use another way ?

That's what the list is for.  Please make sure use a descriptive subject
for the post with your problem in it.


Thanks



signature.asc
Description: OpenPGP digital signature


Re: Partman-Auto - Multi-Disk OR Use Existing Layout via Preseed

2012-05-02 Thread Tom H
On Tue, May 1, 2012 at 5:22 PM, Matthew Drobnak  wrote:
> On 05/01/2012 03:06 PM, Andrew M.A. Cater wrote:
>> On Sat, Apr 28, 2012 at 01:54:40PM -0400, Tom H wrote:
>>> On Thu, Apr 26, 2012 at 1:41 PM, Matthew Drobnak
>>>  wrote:

 I wish there was an easy way to get the partitioner code from FAI into
 d-i.
 They use parted on the backend as well, but their syntax is a lot
 simpler,
 and supports multiple disks. I just can't bring myself to go the whole
 FAI
 route just because partitioning doesn't work the way I'd like. I am
 going to
 try something hacky but not that bad, and see if I can get this to work:

 Explicitly say the volume group for sysvg is 10GBs. Define the LVs
 inside
 there. Define an additional unused partition to fill the disk.

 In post, remove the extra partition from sdb, copy everything in /boot
 to
 /dev/sda1, and reinstall grub. That should work.
>>>
>>> It's too bad that kickstart isn't fully functional on Debian and
>>> Ubuntu...
>>>
>> It's barely functional on Red Hat :) I find that I have to do an isntall
>> using
>> kickstart to get an initial config then cut it to shreds to remove the
>> stuff I don't need :(

> %packages
> @base
> -Package1youdontwant
> -Package2

+1. Or "yum erase ..." in "%post".


> As for the parted item:
>
> This did what I mentioned earlier:
>
> ...

Thanks.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=szuamn1wkhragsl3nngoyuegpud9b623-qc66-yzrc...@mail.gmail.com



Re: [OT] Mails coming from "joe1assis...@gmail.com"

2012-05-02 Thread Tom H
I've now received such an email, in html, in reply to the partman-auto
thread, addressed to mdrob...@appnexus.com (the OP) and cc'ing me and
amaca...@galactic.demon.co.uk.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=swb9wxkwv+zgpmrcoqznaymscmochdp4rsnjwuyxr1...@mail.gmail.com



Debian problem

2012-05-02 Thread Johan Mazel
Hi
I have a problem with Debian Testing on an Dell Optiplex 960.
Can I ask for some help on this list or should I use another way ?
Regards.
Johan Mazel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caks5mhrijtzfo762y-gz6jc4tgbjhitjdc0e25qcfuvrmfo...@mail.gmail.com



Re: Exim panics

2012-05-02 Thread Jon Dowland
On Wed, May 02, 2012 at 11:29:19AM +0200, Jochen Spieker wrote:
> You need to find out the source of the problem. Do you regularly restart
> Exim?

In my experience, with the Debian packaging, this is usually caused by exim
conflicting with itself.  I've never figured the problem out entirely, but it
is exacerbated by having exim listen on more than one port (-oX 587:465:25)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502101510.GJ17757@debian



Re: Exim panics

2012-05-02 Thread Brian
On Wed 02 May 2012 at 10:17:59 +0100, Tony van der Hoff wrote:

> What would be the preferred way of overcoming this problem?

Sorting out what the problem is, I suppose. But on the odd occasion it
happens here I just delete paniclog.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120502095710.GB32481@desktop



Re: Debian GNU/Linux wheezy/sid: aptitude ERROR

2012-05-02 Thread Darac Marjal
On Wed, May 02, 2012 at 12:23:24PM +0300, Andrei POPESCU wrote:
> On Mi, 02 mai 12, 08:52:26, Csanyi Pal wrote:
> > Hi,
> > 
> 
> Setting up fontconfig-config (2.9.0-2) ...
> rmdir: failed to remove `/var/lib/defoma/fontconfig.d/': Directory not empty
> dpkg: error processing fontconfig-config (--configure):

This is bug #670982, for reference.

> 
> > What can I do to solve these problems?
> 
> Delete or move (not copy) that directory somewhere else and then retry.
> 
> Kind regards,
> Andrei
> -- 
> Offtopic discussions among Debian users and developers:
> http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic




signature.asc
Description: Digital signature


  1   2   >