debian lenny serial console garbage with a cyclades

2009-11-03 Thread Angel L. Mateo
Hello,

I have a few dell poweredge servers (with debian lenny) connected
through a serial port with a cyclades console server.

I can log in into the cyclades and connect to one of this server. Then,
I can see the boot of the server and so on.

The problem I have is that during the boot, while loading drivers, when
it loads serial driver, I get a lot of garbage and console doesn't work
until login (that is, I can't see messages displays by init.d scripts).
When login is run, it works again without any problem.

The garbage I get is:

[2.982482] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharingd
[2.991704] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
[2.998232] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

Debian GNU/Linux 5.0 felis116 ttyS0

felis116 login: 

Then, I can't see anything until login is reached.

The cyclades configuration for this port is (I configured it as a
Console (Telnet) port):

s26.tty ttyS26
s26.alias felis116
s26.issue \r\n Welcome to Console Server Management Server %h port S
%p \n\r\n
s26.speed 115200
s26.datasize 8
s26.stopbits 1
s26.parity none
s26.flow none
s26.dcd 0

any idea?

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información   _o)
y las Comunicaciones Aplicadas (ATICA)  / \\
http://www.um.es/atica_(___V
Tfo: 868887590
Fax: 86337


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



Re: Need advice analyzing S.M.A.R.T data of HDD in "Imminent disk failure".

2009-11-03 Thread Tony Nelson
On 09-11-03 21:29:19, Luis Maceira wrote:
> In Ubuntu9.10 I have received warnings that a HDD is in
> pre-failure.The disk(Iomega Prestige mobile USB external) has 1
> month.In Debian Testing and OpenSolaris(installed on the same HDD I
> have no warnings.).Using smartmontools (this disk is not in its
> database) I get below:
> m...@mycomputer:~$ sudo smartctl -T verypermissive -a -d sat --health
> /dev/sdb
 ...
> SMART overall-health self-assessment test result: PASSED
> See vendor-specific Attribute list for marginal Attributes.
 ...
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE 
> UPDATED  WHEN_FAILED RAW_VALUE
 ...
>  10 Spin_Retry_Count0x0013   100   092   097Pre-fail 
> Always   In_the_past 0
 ...

This is the complaint.  Perhaps the disk won't spin up some day, making 
the data inaccessible, or perhaps the disk just didn't get enough power 
one time (use an external power supply to prevent a recurrence).

I don't think there is any way to get Palimpsest to not complain other 
than to shut it off.

In the past I have rendered a drive amnesiac by updating its firmware, 
but I can't really recommend that, and it's a hassle.

-- 

TonyN.:'   
  '  


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



Re: install

2009-11-03 Thread Jimmy Johnson

chandrashekar sasnoor wrote:
i wanted to download the debain install but it dosen t allow me what 
should i do



 http://goodbye-microsoft.com/
--
Jimmy Johnson

SimplyMEPIS - EXT4 at sda8
Registered Linux User #380263


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




Re: Need advice analyzing S.M.A.R.T data of HDD in "Imminent disk failure".

2009-11-03 Thread Greg Madden
On Tuesday 03 November 2009 17:29:19 Luis Maceira wrote:
> In Ubuntu9.10 I have received warnings that a HDD is in pre-failure.The
> disk(Iomega Prestige mobile USB external) has 1 month.In Debian Testing and
> OpenSolaris(installed on the same HDD I have no warnings.).Using
> smartmontools (this disk is not in its database) I get below:
> m...@mycomputer:~$ sudo smartctl -T verypermissive -a -d sat --health
> /dev/sdb
>
snip
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> See vendor-specific Attribute list for marginal Attributes.
>



SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH 
TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   116   100   006    Pre-fail  Always       
-       
116611138
  3 Spin_Up_Time            0x0003   099   099   000    Pre-fail  Always       
-       
0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       
-       
175
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       
-       
0
  7 Seek_Error_Rate         0x000f   062   060   030    Pre-fail  Always       
-       
1756052
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       
-       
6
 10 Spin_Retry_Count        0x0013   100   092   097    Pre-fail  Always   
In_the_past 0
 12 Power_Cycle_Count       0x0032   100   037   020    Old_age   Always       
-       
175
184 Unknown_Attribute       0x0032   100   100   099    Old_age   Always       
-       
0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       
-       
0
188 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       
-       
0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       
-       
0
190 Airflow_Temperature_Cel 0x0022   073   064   045    Old_age   Always       
-       
27 (Lifetime Min/Max 18/27)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       
-       
0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       
-       
157
193 Load_Cycle_Count        0x0032   092   092   000    Old_age   Always       
-       
17797
194 Temperature_Celsius     0x0022   027   040   000    Old_age   Always       
-       
27 (0 18 0 0)
195 Hardware_ECC_Recovered  0x001a   047   045   000    Old_age   Always       
-       
116611138
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       
-         
0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       
-       
1073741824


This is a Ubuntu issue, really, Ubuntu has implemented new stuff , device-kit 
(ata) 
among others. This has resulted in Smart error messages in user space, where it 
has caused many  (users) to wonder wtf. 

It is still the same info, Smart enabled drives, you probably didn't test with  
smartctl very often, at least I didn't. 

AFAIKT, if  ' Reallocated_Sector_C, & ' Offline_Uncorrectable' equal zero the 
drive 
firmware is still doing its job of remapping bad blocks.

 Lots of info on google, dating way back, on smartmon tools.



-- 
Peace

Greg Madden


Re: Need to reconfigure sound on every boot

2009-11-03 Thread Andreas Ronnquist
On Tue, 03 Nov 2009 20:58:40 -0500
Dave Witbrodt  wrote:

> Neal Hogan wrote:
> > On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
> >  wrote:
> >> Hi!
> >>
> >> I need to do a alsaconf after every boot, otherwise I don't get any
> >> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
> >> built-in sound. How can I make it configure the built-in sound-card
> >> automatically on every boot?
> > 

--->cut<---

I found out a solution - Rebooting I discovered that it gave me warnings
"cannot enumerate USB device" - and looking at the debian forums I found
these posts:

http://forums.debian.net/viewtopic.php?f=6&t=39116&p=265179#p264099

So - I tried to disconnect my USB webcam and rebooting, using fewer USB
devices, sound is back! No need to alsaconf any longer! The behaviour is 
consistent even when rebooting.

Thank you guys for your time.

-- 
Andreas Ronnquist 


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



Re: Help, the template debian/rules is too simple

2009-11-03 Thread Wolodja Wentland
On Mon, Nov 02, 2009 at 20:25 +0800, waixy zhou wrote:

> "debian/" directory, then i find the file mdebian/rules is too simple, just   
> 3 lines left after eliminating the comments, as follows: 

>   #! /usr/bin/make -f
>   %: 
>   dh   $@

> This is very different from the Debian New Maintainers' Guide. This is my
> first time to do package, so I am confused. How can I generate the   
> template debian/rules file containing the details as New Maintainers'
> Guide? 

Have a look at:

http://ftp.acc.umu.se/pub/debian-meetings/2009/debconf9/high/1060_Not_your_grandpas_debhelper.ogv

regards

Wolodja


signature.asc
Description: Digital signature


Need advice analyzing S.M.A.R.T data of HDD in "Imminent disk failure".

2009-11-03 Thread Luis Maceira
In Ubuntu9.10 I have received warnings that a HDD is in pre-failure.The 
disk(Iomega Prestige mobile USB external) has 1 month.In Debian Testing and 
OpenSolaris(installed on the same HDD I have no warnings.).Using smartmontools 
(this disk is not in its database) I get below:
m...@mycomputer:~$ sudo smartctl -T verypermissive -a -d sat --health /dev/sdb

smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: ST9250315AS
Serial Number:5VC106FC
Firmware Version: 0001BSM1
User Capacity:250,059,350,016 bytes
Device is:Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:Wed Nov  4 01:47:20 2009 WET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Error SMART Status command failed
Please get assistance from http://smartmontools.sourceforge.net/
Values from ATA Return Descriptor are:
 00 09 0c 00 00 00 00 00 00  00 4f 00 00 00 00  
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (   0) The previous self-test routine completed
without error or no self-test has ever 
been run.
Total time to complete Offline 
data collection: (   0) seconds.
Offline data collection
capabilities:(0x73) SMART execute Offline immediate.
Auto Offline data collection on/off 
support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine 
recommended polling time:(   1) minutes.
Extended self-test routine
recommended polling time:(  69) minutes.
Conveyance self-test routine
recommended polling time:(   2) minutes.
SCT capabilities:  (0x103b) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000f   116   100   006Pre-fail  Always   
-   116611138
  3 Spin_Up_Time0x0003   099   099   000Pre-fail  Always   
-   0
  4 Start_Stop_Count0x0032   100   100   020Old_age   Always   
-   175
  5 Reallocated_Sector_Ct   0x0033   100   100   036Pre-fail  Always   
-   0
  7 Seek_Error_Rate 0x000f   062   060   030Pre-fail  Always   
-   1756052
  9 Power_On_Hours  0x0032   100   100   000Old_age   Always   
-   6
 10 Spin_Retry_Count0x0013   100   092   097Pre-fail  Always   
In_the_past 0
 12 Power_Cycle_Count   0x0032   100   037   020Old_age   Always   
-   175
184 Unknown_Attribute   0x0032   100   100   099Old_age   Always   
-   0
187 Reported_Uncorrect  0x0032   100   100   000Old_age   Always   
-   0
188 Unknown_Attribute   0x0032   100   100   000Old_age   Always   
-   0
189 High_Fly_Writes 0x003a   100   100   000Old_age   Always   
-   0
190 Airflow_Temperature_Cel 0x0022   073   064   045Old_age   Always   
-   27 (Lifetime Min/Max 18/27)
191 G-Sense_Error_Rate  0x0032   100   100   000Old_age   Always   
-   0
192 Power-Off_Retract_Count 0x0032   100   100   000Old_age   Always   
-   157
193 Load_Cycle_Count0x0032   092   092   000Old_age   Always   
-   17797
194 Temperature_Celsius 0x0022   027   040   000Old_age   Always   
-   27 (0 18 0 0)
195 Hardware_ECC_Recovered  0x001

Catalyst & xorg1.7

2009-11-03 Thread thehands
Hi, I noticed your post at debian.org when I was scroogling for info' on the 
catalyst xorg1.7 incompatibility. 
 
I have been using Arch for a while, & due to the rolling release upgrade 
system, 
those of us that were using catalyst 9.10 found that xorg1.7 is incompatible. 
 
Here is a list of files that we must not upgrade so that catalyst will still 
work: 
 
xf86-video-vesa xorg-server xf86-input-evdev xf86-input-keyboard 
xf86-input-mouse 
 
You can add xf86-input-synaptics to that list if you are using a notebook & it 
is 
appropriate. 
 
For those using 64bit systems, the upgraded lib32-* files work fine. 
 
Going to the page in the following link:  
 
http://www.archlinux.org/packages/?sort=-last_update&arch=&repo=&q=xorg&last_update=&limit=50
 
 
will give you the date we got hit with this problem 31-10-09, & more 
importantly 
the versions of the files listed above that are incompatible. 
 
I hope I made sense to you in this note, & that this info' is of help to you & 
any others suffering from this pain.  The workaround at least isn't too 
difficult, it just means downgrading 5 or 6 files. 
 
Regards, 
 
handy 
 


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



Re: Help, the template debian/rules is too simple

2009-11-03 Thread Andrew Reid
On Monday 02 November 2009 23:42:54 waixy zhou wrote:
> I admit what I'm doing is a little beyond my current skill, after all, I'm
> just a user of Debian not a developer. But I think it is better using
> apt/dpkg to manage the software/tools I need in my research than just using
> "./configure && make && make install". I prefer to use the ready-made
> packages if there is any. I googled, but unfortunately I can't find any.

  Do you know about "stow"?  It's kind of a poor-man's package
management system.  It's pretty sophisticated, but the vanilla
use-case for it is, you build applications inside a directory,
/usr/local/stow/, and the installer creates bin, lib,
share, and so forth inside that directory.

  Then you run "stow " from /usr/local/stow, and it
creates sym-links so that your software shows up under /usr/local/bin
and /usr/local/lib and so forth, just as if you had built and installed
it with --prefix=/usr/local.

  The beauty of this, of course, is that you can *un*-stow the 
thing, when you upgrade or when you're finished with it, and it 
cleanly removes it without leaving piles of cruft in /usr/local.

  This might be a more appropriate solution to your problem, if
your software doesn't have complicated dependencies.

-- A.
-- 
Andrew Reid / rei...@bellatlantic.net


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



RE: PPP / ADSL / demand / GUI prompt question

2009-11-03 Thread stephen...@yahoo.com
--- On Sat, 10/31/09, Kevin Ross  wrote:

> If you want to have your connection
> be established on bootup, the "Debian
> way" is to add your PPP connection to your
> /etc/network/interfaces file,
> like:
> 
> auto ppp0
> iface ppp0 inet ppp
> provider dsl-provider

This worked perfectly - I now fire up iceweasel as soon as I log in, and I see 
the internet straight away.  Thanks!


  


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



evolution calendar doesn't show birthdays from ldap addressbook

2009-11-03 Thread vitaminx
Hello,

as the subject already describes I cannot find out how to make Evolution
display the birthdays stored in my ldap addressbook.

The addressbook itself is read without problems (i use the evolution
ldap scheme).

does anyone have a hint where to search or is evolution generally
incapable of reading the birthdays out of ldap sources?


greetings,
vitaminx

-- 
mail: vitam...@callistix.net
www : http://www.callistix.net
irc : #callistix @ chat.freenode.net


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



Re: xpdf printing with pdftops

2009-11-03 Thread Florian Kulzer
On Tue, Nov 03, 2009 at 00:35:02 +0100, Andreas Goesele wrote:
> >>Despite the warning the file is printed, just that additionally I get
> >>the warning and a non-essential image is replaced by a blurry box.
> 
> >Is the page expanded to fit the paper?
> 
> On the command line, yes. Not in xpdf
> 
> >Hmm, I am starting to think that maybe we should try a different
> >approach. Which printing system do you use? CUPS, for example, has the
> >"fitplot" option which might do what you want, or e.g. "scaling=95" to
> >scale the file to 95% of the page size.
> 
> I'm using CUPS. On the command line the option fitplot expands the size.
> 
> Inside xpdf it doesn't have any effect.

It seems that xpdf somehow messes with the printing options. Maybe it
cuts off everything after the first space; did you try to put the
command in quotation marks into the print command filed?

I can think of three other things to try:

- Add "fitplot" to the options for your default printer in
  ~/.cups/lpoptions.

- If you run a desktop environment that has its own printing system then
  it might be possible to use that as the printing command. When I was
  still using xpdf I set the printing command to "kprinter" and then I
  could configure print quality, duplexing, etc. with KDE's print
  dialog. I never tried this with the fitplot option, though.

- Write a script that configures the printer correctly and acts a print
  command. It has to accept the file to print on STDIN and then pass it
  on to CUPS.

-- 
Regards,|
  Florian   |


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



Re: Iptables & ip6tables

2009-11-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 November 2009 13:34:42 David Baron wrote:
> Should ip6tables replace iptables?

No.

> Should both be running?

Yes.

> Is there a proper firewall with just iptables?

If it does not have a IPv6 address, and rejects all IPv6-in-IPv4 tunneling 
traffic, yes.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Iptables & ip6tables

2009-11-03 Thread David Baron
The firewalls, i.e. guarddog, etc., set up rule sets for iptables. Iptables 
documentation says its for ip4. There is also an ip6tables. This does not have 
all the chains and rules set.

Seems things are using ip6 now. Netstat cites ip6-localcost;.

Should ip6tables replace iptables?
Should both be running?
Is there a proper firewall with just iptables?

I do get plenty of messages about aborted packets.


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



Re: Wireless and the rate

2009-11-03 Thread Scurz
Sjoerd Hardeman wrote:
> Scurz schreef:
>   
>> Celejar wrote:
>> 
>>> On Mon, 02 Nov 2009 20:46:03 +0100
>>> Scurz  wrote:
>>>
>>> ...
>>>
>>>   
>>>   
 The bit rate is at 11 Mb/s but I download all files at 300 ko/s, not
 more. The rate seems to be limited.
 
 
>>> Is that KB/s or kb/s?  If the former, then we're talking something like
>>> ~2.5 mb/s, and from what I understand, the maximum practical throughput
>>> of 11Mbps is anyway only about ~5.5 Mbps, and that's under ideal
>>> conditions.
>>>
>>> Celejar
>>>   
>>>   
>> The 300 are in ko. (or = kb). But anyway, 11Mbps are different of the
>> 300ko/s. How to remove the limit of the 300 ?
>> 
> Are you sure it is your wireless that's at fault? 

Yes. I think so.

> Try a cable to see if
> you get better rates. Else, it seems that you still have an old b-mode
> (11 Mbit) card, or at least that the driver doesn't support more. 

The wireless key is a late-model. With a cable, the rate is perfect.

> If
> that's the case, you'll have to buy a g or n-mode card for a better
> throughput, trying to change that with iwconfig will not help.
> What kind of wireless card do you have?
>
>   

This one :
http://www.trendnet.com/products/proddetail.asp?prod=265_TEW-424UB&cat=84

> Sjoerd
>
>   

Thanks for your help !


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



Samba --- Can't see files in konqueror or nautulus

2009-11-03 Thread Erik Grootjans

Hi,

I have update my samba server with the latest version 3.2.5 on Debian - 
lenny and i have a problem.


I can see the shares (including the Samba shares)  from an XP workstation.
I can't see any shares on my Linux Debian Box.
I have tryed Konquerer and Nautilus.
I do as a normal user : - Network servers - I get Windows network and then 
an empty screen


If i do it with smbmount - i can mount the drives:
#! /bin/bash
echo " "

mount -t smbfs -o password= //Enterprise/Fotos /var/mnt2
cp -rv /var/mnt2/* /var/Fotos


this works !



But if i do a smbtree -b

I get nothing



Can anybody tell me what is changed in samba so the Workgroup is not 
visuabel from a Linux system, but is still visual from a XP-computer!






PS I have done a clean install of Debian Lenny to my laptop.

Including Samba. And the same problem overthere nothing in Nautulus.







When I use SMB4K I get nothing at first

If i search on a hostname

The hostname is found, and i can browse it under the tab network

So its possible to connect but why can i not see it under Samba



Please some help.



Thanks



Erik














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




Re: 2.6.31 kernels

2009-11-03 Thread Colin

Alex Samad wrote:

isn't there some issue with the broadcom-sta drivers and .31 ?



The broadcom-sta source code that was included in non-free Debian would 
no longer compile with kernel 2.6.31.  That's why they've been working 
on the b43 driver extensively in the 2.6.32 kernel so the broadcom-sta 
driver will no longer be necessary.



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




{2}

2009-11-03 Thread neide campos

==
  需要真(發   票) 請联系:一三六 九一九九 九二七四   李生  13691999274李生
QQ:925184412
  
_
Você já ama o Messenger? Conheça ainda mais sobre ele no Novo site de Windows 
Live.
http://www.windowslive.com.br/?ocid=WindowsLive09_MSN_Hotmail_Tagline_out09

Re: install

2009-11-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 November 2009 11:08:10 chandrashekar sasnoor wrote:
> i wanted to download the debain install but it dosen t allow me what should
> i do

What is "it"?  I'm assuming you get some sort of error message; what does that 
error message say, exactly?

Please read  and follow the 
advice there when asking questions.  You aren't being specific enough to get 
very good answers.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: a cautionary tale w/ successful recovery

2009-11-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 November 2009 10:38:41 Johannes Wiedersich wrote:
> Andrew Sackville-West wrote:
> > On Sun, Nov 01, 2009 at 07:08:00PM -0500, Andrew Reid wrote:
> >>   For the sysems I back up at work, we do the dpkg --get-selections
> >> thing, but I've never kept a copy of the boot sector -- that's an
> >> excellent idea.
>
> I guess the 'state of the art' way of recording a list of installed
> packages, nowadays is
>
> # aptitude -F "%p" search '~i!~M' > package-list
>
> You can then just install like
>
> # aptitude install $(cat pacage-list)
>
> dpkg --get-selections does not distinguish between packages installed
> manually or automatically, so that information is lost on the reinstall.
>  The search pattern just looks for packages that were installed
> manually. The install will automatically install all dependencies.

However, because of OR dependencies (i.e. using the '|' character), it might 
install *different* packages to satisfy dependencies.  Your saved 
configuration files won't work with those packages.

Some combination of dpkg --get-selections and aptitude search '~M' should be 
able to save both "all installed packages" and "all automatically installed 
packages", and some combination of dpkg --set-selections, aptitude markauto, 
and aptitude install should be able to restore them.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


Re: A laptop installation challenge

2009-11-03 Thread AG

Andrew Sackville-West wrote:

On Sun, Nov 01, 2009 at 11:16:55AM +, AG wrote:
[...]
  

I'm thinking that the way forward would be via the GRUB prompt I was
able to get off of an old floppy, but to do so would mean being able
to by-pass LILO and boot into the first partition on the HD (/), and
then go into LILO.conf and change it to accommodate the larger
kernel or dispense with LILO in favour of GRUB.



if you have a grub prompt, you may be in luck. You can do quite a lot
from a grub prompt. YOu don't even need to know the contents of the
partitions to make it work because it will do tab completion for you
(depending on the version, I suppose, but I don't know) as well as find.

Probably you need to do something like 


root (hd0,1)
initrd /path/to/initrd
kernel /path/to/kernel kernel-opts here
boot

YOu'll probably have to play around with it, but on the assumption
that the *only* problem is the boot loader, any grub disk should get
you going. 


A
  

Andrew

Thanks - that will be useful info to play around with just to see if I 
can get something to happen.


Lisi has already said that she'll send me a floppy with which I am 
hoping to turn this otherwise plastic hunk back into something usable.


One way or another, I'm hopeful for a happy ending to this particular 
matter :)


Cheers

AG


Re: install

2009-11-03 Thread Stan Hoeppner
chandrashekar sasnoor put forth on 11/3/2009 11:08 AM:
> i wanted to download the debain install but it dosen t allow me what
> should i do

You should ask a more specific detailed question.


--
Stan


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



Re: Need to reconfigure sound on every boot

2009-11-03 Thread Dave Witbrodt

Neal Hogan wrote:

On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
 wrote:

Hi!

I need to do a alsaconf after every boot, otherwise I don't get any
sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
built-in sound. How can I make it configure the built-in sound-card
automatically on every boot?


Once you set you sound settings ('alsamixer' is one way of doing so),
you need to enable /etc/init.d/alsasound. Be sure to make sure that
the script is pointing to the correct location of your config
(asound.state) file (on my gentoo machine it is in /etc).


Debian does not have /etc/init.d/alsasound.  It has 
/etc/init.d/alsa-utils instead... at least on Sid, which I use.


Lenny might be different than Sid, so I hope someone corrects what I'm 
saying if it is, but the startup script is provided by the package 
called 'alsa-utils'.


Andreas, do you have 'alsa-utils' installed on your system?  If you're 
not sure, try opening a terminal and running


apt-cache  policy  alsa-utils

Here's what I get:

$ apt-cache policy alsa-utils
alsa-utils:
  Installed: 1.0.21-1
  Candidate: 1.0.21-1
  Version table:
 *** 1.0.21-1 0
990 http://debian.osuosl.org unstable/main Packages
100 /var/lib/dpkg/status

Neal's description of what the startup script is supposed to do is quite 
correct, though.  On Debian, the file called 'asound.state' (where your 
mixer controls are saved) is located in '/var/lib/alsa'.



HTH,
Dave W.


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




Re: install

2009-11-03 Thread Neal Hogan
On Tue, Nov 3, 2009 at 11:08 AM, chandrashekar sasnoor
 wrote:
> i wanted to download the debain install but it dosen t allow me what should
> i do

Can you expand on that?


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



install

2009-11-03 Thread chandrashekar sasnoor

i wanted to download the debain install but it dosen t allow me what should i 
do  
_
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/


Re: a cautionary tale w/ successful recovery

2009-11-03 Thread Johannes Wiedersich
Andrew Sackville-West wrote:
> On Sun, Nov 01, 2009 at 07:08:00PM -0500, Andrew Reid wrote:
>>   For the sysems I back up at work, we do the dpkg --get-selections
>> thing, but I've never kept a copy of the boot sector -- that's an
>> excellent idea.

I guess the 'state of the art' way of recording a list of installed
packages, nowadays is

# aptitude -F "%p" search '~i!~M' > package-list

You can then just install like

# aptitude install $(cat pacage-list)

dpkg --get-selections does not distinguish between packages installed
manually or automatically, so that information is lost on the reinstall.
 The search pattern just looks for packages that were installed
manually. The install will automatically install all dependencies.

> If I had managed to understand what was going on between the part
> where the MBR got munched and other bits started flying out to the
> disk, it would have worked to just rewrite the MBR and reboot.

There is also testdisk to help recover the mbr for you... Worked for me
once.

-- 
Johannes

Three nations have not officially adopted the International System
of Units as their primary or sole system of measurement: Burma,
Liberia, and the United States.

http://en.wikipedia.org/wiki/Si_units


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



2.6.30-2 does not recognize lvm2 volume group at bootup

2009-11-03 Thread Johannes Graumann
Hi,

What might be the issue if stock kernel 2.6.30-1 boots my system just fine, 
but the 2.6.30-2 version after leaving grub just sits around "loading" and 
never recognizes my lvm2 volume group.
I'd appreciate any hints on how to troubleshoot this.

Thanks, Joh


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



Re: Need to reconfigure sound on every boot

2009-11-03 Thread Neal Hogan
On Tue, Nov 3, 2009 at 9:19 AM, Andreas Ronnquist
 wrote:
>
> Hi!
>
> I need to do a alsaconf after every boot, otherwise I don't get any
> sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
> built-in sound. How can I make it configure the built-in sound-card
> automatically on every boot?
>

Once you set you sound settings ('alsamixer' is one way of doing so),
you need to enable /etc/init.d/alsasound. Be sure to make sure that
the script is pointing to the correct location of your config
(asound.state) file (on my gentoo machine it is in /etc).


> I am running debian stable, Linux 2.6.26-2, amd64, and I'm under the
> impression that this has changed somewhat recently.
>
> thanks in advance
> --
> Andreas Ronnquist 
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Need to reconfigure sound on every boot

2009-11-03 Thread Andreas Ronnquist

Hi!

I need to do a alsaconf after every boot, otherwise I don't get any
sound. This is on a ABit motherboard, Nvidia nforce 590 chipset, with
built-in sound. How can I make it configure the built-in sound-card
automatically on every boot?

I am running debian stable, Linux 2.6.26-2, amd64, and I'm under the
impression that this has changed somewhat recently.

thanks in advance
-- 
Andreas Ronnquist 


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



heads-up for upcoming "favourite FLOSS" poll

2009-11-03 Thread Tshepang Lekhonkhobe
Hi,

For the past few years I've been running a "favourite FLOSS" poll and
will do so this year too (real soon). You may check out the results
for previous years, and comment with suggestions for improvement:
2008 results - http://lists.debian.org/debian-user/2008/12/msg00031.html
2007 results - http://lists.debian.org/debian-user/2007/12/msg00144.html
2006 results - http://lists.debian.org/debian-user/2006/11/msg00305.html
2005 results - http://lists.debian.org/debian-user/2005/11/msg03609.html

P.S. I was negotiating whether or not to include the category "any
FLOSS developer deserving great honours" since there's normally too
many to mention, but on checking the replies, it's too interesting a
category, and could very well be motivational to some
under-appreciated devs out there.

-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: Network manager doesn't autoconnect to wireless networks in stable?

2009-11-03 Thread chombee
I don't see any way to set my default networks or autoconnect 
properties. If I right-click on the network manager applet there is 
"Connection Information" which is entirely passive and "Edit Wireless 
Networks" which brings up a dialog that contains an entry for my 
wireless network but there's no apparent way to make that network a 
default one or to tell it to autoconnect to that network. Maybe this is 
because you both have a newer version of network manager than I do or 
maybe I'm missing a package although if I am I can't find it.

On Mon, Nov 02, 2009 at 11:07:31AM -0500, Patrick Wiseman wrote:
> On Mon, Nov 2, 2009 at 10:44 AM, chombee  wrote:
> > Does no one know the answer to this? Is not reconnecting automatically
> > the default behaviour of network manager in Debian 5 stable or am I the
> > only one who has this behaviour?
> >
> > On Mon, Oct 26, 2009 at 11:26:14PM +, chombee wrote:
> >> Hi,
> >>
> >> I've noticed that in Debian 5 network manager doesn't automatically
> >> reconnect to wireless networks that it has connected to before, e.g.
> >> after logging in, you have to use the mouse to tell the applet which
> >> wireless network to connect to. I've been googling and looking through
> >> the man files but I can't seem to find out why the behaviour is disabled
> >> or how to re-enable it. Is there a way to enable network manager's usual
> >> automatic reconnecting behaviour in Debian 5?
> 
> Can't you right-click on the app and choose edit connections, and then
> select any connection to which you wish to autoconnect?  (I'm on
> testing, not stable, so maybe that's not an option for you.)
> 
> Patrick
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> 

On Mon, Nov 02, 2009 at 05:45:12PM +0100, Klistvud wrote:
> Dne, 02. 11. 2009 16:44:55 je chombee napisal(a):
> > Does no one know the answer to this? Is not reconnecting 
> > automatically
> > 
> > the default behaviour of network manager in Debian 5 stable or am I
> > the 
> > only one who has this behaviour?
> > 
> > On Mon, Oct 26, 2009 at 11:26:14PM +, chombee wrote:
> > > Hi,
> > > 
> > > I've noticed that in Debian 5 network manager doesn't automatically 
> > > reconnect to wireless networks that it has connected to before, 
> > e.g.
> > 
> > > after logging in, you have to use the mouse to tell the applet 
> > which
> > 
> > > wireless network to connect to. I've been googling and looking
> > through 
> > > the man files but I can't seem to find out why the behaviour is
> > disabled 
> > > or how to re-enable it. Is there a way to enable network manager's
> > usual 
> > > automatic reconnecting behaviour in Debian 5?
> > > 
> > > Thanks
> > > 
> > > 
> > > -- 
> > > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> > > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org
> > > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org
> > 
> > 
> > 
> 
> Actually, it does reconnect. Every once in a while, I have to select my 
> network by hand (LEFT-clicking on the little network icon on the 
> panel), but that's it. Maybe editing your "Default Networks" would 
> help, as suggested by Patrick Wiseman?
> 
> -- 
> Regards,
> 
> Klistvud
> Certifiable Loonix User #481801
> 
> 
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> 



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



Re: compiled C function for postgresql fails (64-bit only)

2009-11-03 Thread Glyn Astill
--- On Tue, 3/11/09, Frank Miles  wrote:
>
> I have a function that I've used
> since early postgres-7.x days.  Now migrating to a
> 64-bit
> (i7) machine - running 2.6.30/'squeeze' with
> postgresql-8.4.1-1.  This function is a simple
> one that takes a string representation of a number as its
> sole argument (engineering
> notation), and returns the number.  The floating point
> value that it returns is the same
> value {6.9484692498e-310} with every call, even when
> the string changes.
>     The same function works perfectly on a
> separate 2.6.30/'squeeze' system, PG-8.4.1-1,
> that is a 32-bit system - just like it has on previous
> postgres versions.
>     If I enable a diagnostic mid-functon
> dump-to-a-file, I can see that the function
> is receiving its input and computing the output properly -
> it's "just" a matter of
> getting the output translated into sql-land.  This is
> with the "Version 0" calling
> conventions, with a return type of float8* . 
> Attempting "Version 1" calling conventions
> on the 64-bit system has not yet been successful - I
> haven't yet been able to avoid a client
> segfault, whether I use a stack variable for the float8
> result, or use palloc().

From the 8.4 release notes:

"Pass float8, int8, and related datatypes by value inside the server on 64-bit 
platforms (Zoltan Boszormenyi)

Add configure option --disable-float8-byval to use the old behavior. As above, 
this change might break old-style external C functions."

So it could be a bug, send it to pgsql-general and you'll get a prompt response.





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



Re: compiled C function for postgresql fails (64-bit only)

2009-11-03 Thread Boyd Stephen Smith Jr.
I don't see anything Debian-specific with your query, and I doubt there are 
that many persons on the list that have the pgSQL experience required to 
really dig into this.  You might have better luck consulting the pgsql-general 
or pgsql-interfaces list maintained by postgresql.org.

I don't recognize anything wrong with your code off the top of my head, but 
I've never had a need to call a C function from SQL, yet.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



signature.asc
Description: This is a digitally signed message part.


compiled C function for postgresql fails (64-bit only)

2009-11-03 Thread Frank Miles

I have a function that I've used since early postgres-7.x days.  Now migrating 
to a 64-bit
(i7) machine - running 2.6.30/'squeeze' with postgresql-8.4.1-1.  This function 
is a simple
one that takes a string representation of a number as its sole argument 
(engineering
notation), and returns the number.  The floating point value that it returns is 
the same
value {6.9484692498e-310} with every call, even when the string changes.
The same function works perfectly on a separate 2.6.30/'squeeze' 
system, PG-8.4.1-1,
that is a 32-bit system - just like it has on previous postgres versions.
If I enable a diagnostic mid-functon dump-to-a-file, I can see that the 
function
is receiving its input and computing the output properly - it's "just" a matter 
of
getting the output translated into sql-land.  This is with the "Version 0" 
calling
conventions, with a return type of float8* .  Attempting "Version 1" calling 
conventions
on the 64-bit system has not yet been successful - I haven't yet been able to 
avoid a client
segfault, whether I use a stack variable for the float8 result, or use palloc().

In case it would help, the key parts of the function are:


float8 *sick_fct(const char *strng)
{
   float8   *result;
   char stack_string_buffer[BIG_STRING_SPACE];

// string copy operation : strng -> stack_string_buffer
...

result= (float8*)palloc(sizeof(float8));
*result= inner_conversion_function(stack_string_buffer);
// printing this *result to a file shows that the conversion is correct
// the mysteriously wrong part seems to be:
return result;
}

I'm compiling it as:
g++-4.3 -c -I/usr/include -I/usr/lib/gcc/x86_64-linux-gnu/4.3/include 
-Wall -Wshadow -Wpointer-arith -Wcast-align -I/usr/include/postgresql -I(yet 
more includes) -fPIC -x c  sick_fct.c -o sick_fct.o

and building the library as:
g++-4.3 -shared -Wl,-soname,lib_sickfct.so.1 -o lib_sickfct.so.1.0 *.o

and "creating" the function within PG as:
CREATE OR REPLACE FUNCTION sick_fct(text) RETURNS float
  AS '/lib-path/lib_sickfct', 'sick_fct' LANGUAGE C STRICT;

Note that changing the "float" on the last line to "double precision" changes 
nothing.

Odds are that I'm doing something stupid, but so far I haven't figured 
out
what it is.  Thanks for any insights you might have!

-f


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




Re: ffmpeg, h.264, and mpeg2video

2009-11-03 Thread Rakotomandimby Mihamina

10/30/2009 01:32 AM, lrhorer::

OK, thanks.  I tried verious versins, and after a long climb up the
dependency tree, I was finally able to get it installed from stable.


How?

--
  Architecte Informatique chez Blueline/Gulfsat:
   Administration Systeme, Recherche & Developpement
   +261 33 11 207 36


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




Re: ffmpeg, h.264, and mpeg2video

2009-11-03 Thread Alexey Salmin
May be you forget to do "apt-get update"?

Send here your sources.list and we'll tell you if there's something
wrong with it.

Alexey

On Fri, Oct 30, 2009 at 4:37 AM, lrhorer  wrote:
> Eduardo M KALINOWSKI wrote:
>
>> lrhorer wrote:
 Have you tried getting packages from
 ?

>>>
>>> On your advice, I just tried there.  There are a ton of unmet
>>> dependencies, many of which I can't find at all.  For example, the
>>> ffmpeg .deb package on the site depends on libavcodec52 (and about a
>>> dozen others) which is not loaded.  When I try to load libavcodec52,
>>> it depends on libdirac-encoder0, which does not seem to be on the
>>> site, and indeed which I cannot find on any of the Debian distro
>>> sites I
>>> know.  It's not the only one, by a long shot.
>>>
>>
>> Are you trying to manually install the .deb? You can do that, but
>> it'll be complicated: you'll need to download all dependencies from
>> that site, and the dependencies of those dependencies, and so on.
>>
>> Let apt do the work for you. Add the repository (address and
>> instructions are on that page) and then just use aptitude install
>> ffmpeg.
>
> I tried that, but I could not get it to work.  I think I was setting up
> my sources list incorrectly.  I must have been inputting something
> wrong, but for the life of me I cannot figure out what.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Re: ffmpeg, h.264, and mpeg2video

2009-11-03 Thread Chris Davies
lrhorer  wrote:
> I tried that, but I could not get it to work.  I think I was setting up
> my sources list incorrectly.  I must have been inputting something
> wrong, but for the life of me I cannot figure out what.

Tell us what you did, what you expected to happen, and what actually
happened, and we'll try to help!

Chris


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



Re: fetchmail -v

2009-11-03 Thread Johann Spies
On Tue, Nov 03, 2009 at 06:02:47AM -0400, Paul Cartwright wrote:
> I am having issue with email, my /var/log/mail.err is full of socket
> errors over the weekend.  Tech support said to try fetchmail -v from
> the command line. My problem is, my fetchmailrc file has many
> entries for users, none local, so I don't think I can run fetchmail
> from the command line.

Which fetchmailrc are you talking about?  Is it ~/.fetchmailrc?

If you can't use the standard configuration file, make a new one with
a different name and use the -f option for fetchmail telling it which
configuration file to use.


> 
> anyone know how to run fetchmail in VERBOSE mode, from the fetchmailrc method?
> what I get from the command line is:
> # fetchmail -v
> fetchmail: WARNING: Running as root is discouraged.
> fetchmail: no mailservers have been specified.

Don't run it as root. 
> 
> 
> when I run it as my local user I get:
> $ fetchmail -v MAIL_SERVER
> Enter password for p...@mail_server: 
> 
Specify the user on the mail server in your configuration file. Read
"man fetchmailrc".

> pbc is my local user on my box, not my email user..

In the manpage of fetchmailrc you will find inter alia the folowing
example that provides for a situation like yours:

poll pop.provider.net proto pop3 port 3111
   user "jsmith" with pass "secret1" is "smith" here
   user jones with pass "secret2" is "jjones" here keep


Regards.

Johann
-- 
Johann Spies  Telefoon: 021-808 4599
Informasietegnologie, Universiteit van Stellenbosch

 "Lo, children are an heritage of the LORD: and the  
  fruit of the womb is his reward."Psalms 127:3 


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



fetchmail -v

2009-11-03 Thread Paul Cartwright
I am having issue with email, my /var/log/mail.err is full of socket errors 
over the weekend.
Tech support said to try fetchmail -v
from the command line. My problem is, my fetchmailrc file has many entries for 
users, none local, so I don't think I can run fetchmail from the command 
line.

anyone know how to run fetchmail in VERBOSE mode, from the fetchmailrc method?
what I get from the command line is:
# fetchmail -v
fetchmail: WARNING: Running as root is discouraged.
fetchmail: no mailservers have been specified.


when I run it as my local user I get:
$ fetchmail -v MAIL_SERVER
Enter password for p...@mail_server: 

pbc is my local user on my box, not my email user..

what /var/log/mail.err is telling me is:
Nov  1 04:53:13 paulandcilla fetchmail[4950]: socket error while fetc
hing from u...@my_domain.com@EMAIL_SERVER.com 

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: Tgz Backups

2009-11-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Merciadri Luca  writes:

> Hi,
>
> I often backup everything of my Debian systems with the tgz utility.
>
> Is it possible to boot a LiveCD, to put the whole content of the tgz
> (assuming it is complete) on the partition (assuming there is enough
> free space), and to reboot (assuming GRUB is okay)?
>
> I would like to hear others' experience about this.
>
> Thanks.
Okay, thanks for this easy procedure.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEUEARECAAYFAkrv8vUACgkQM0LLzLt8Mhyx6gCdFtf0GQxP7dR6kZaFgzbCFW8K
Q30AmM0nkRkzRbLVkEdZFbvHEOmbBRA=
=3RZo
-END PGP SIGNATURE-


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



system hangs when network shares down

2009-11-03 Thread Robert Robert
Hello all,
I have mounted some windows shares on my linux debian computer using smbfs. 
Everything works fine when the windows shares are available. However sometimes 
the windows samba server goes down and the windows shares are not available. On 
my /home/ directory I created a soft link to a mount point. When the 
windows share are down, simply typing "ls" in my "/home/" directory 
causes the system to have a very very slow response. Even the nautilus file 
manager that I use hangs up. I was wondering how I could solve this problem. 
The response because so slow that I can not work anymore in a convenient way on 
my computer. Anyone any suggestion on how to solve this problem ?
Thanks
RR




  

Re: Tgz Backups

2009-11-03 Thread Γιώργος Πάλλας

Merciadri Luca wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Γιώργος Πάλλας  writes:

  

Merciadri Luca wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I often backup everything of my Debian systems with the tgz utility.

Is it possible to boot a LiveCD, to put the whole content of the tgz
(assuming it is complete) on the partition (assuming there is enough
free space), and to reboot (assuming GRUB is okay)?

I would like to hear others' experience about this.

  
  

yes, it is possible. I also keep backup of my system using tar* and I
have at least once successfully restored a working, booting system
after a failure.


* tar use for backup: tar cvSj --exclude=/tmp --exclude=/proc
--exclude=/lost+found --exclude=/dev  --exclude=/sys
/tmp/backup.tar.bz2 /

and this is what I actually use in order to store the system backup in
4GB encrypted chunks, along with an encrypted index of all the files
and an md5sum checksum of the archive (I love one-liners :-) ):
time tar cvSj --exclude=/home/gpall/.local/share/Trash --exclude=/tmp
--exclude=/proc --exclude=/lost+found --exclude=/dev --exclude=/mnt
--exclude=/media --exclude=/sys /  2> >(gpg -z 9 -e -r gpall -o 
sysbackup-filelist.gpg) | gpg -z 0 -e -r gpall | tee >(split -b 4000m
- 
sysbackup.tbg.split_) | md5sum > sysbackup.tbg.md5


Nice. How do you restore your system with these archives?
  


restore?? never thought about that... :-P

restore is easy:
1. live cd boot
2. create partitions and filesystems
3. restore system: cat /media/MYUSBDISK/sysbackup.tbg_split* | gpg -d | 
tar xvjS"

4. fix GRUB

PS. I would recommend backup and restoring with something like 
Clonezilla. I use my own way because I run a fully encrypted LUKS system 
and bit-to-bit copy has a little overhead ;-)





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Tgz Backups

2009-11-03 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Γιώργος Πάλλας  writes:

> Merciadri Luca wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hi,
>>
>> I often backup everything of my Debian systems with the tgz utility.
>>
>> Is it possible to boot a LiveCD, to put the whole content of the tgz
>> (assuming it is complete) on the partition (assuming there is enough
>> free space), and to reboot (assuming GRUB is okay)?
>>
>> I would like to hear others' experience about this.
>>
>>   
>
> yes, it is possible. I also keep backup of my system using tar* and I
> have at least once successfully restored a working, booting system
> after a failure.
>
>
> * tar use for backup: tar cvSj --exclude=/tmp --exclude=/proc
> --exclude=/lost+found --exclude=/dev  --exclude=/sys
> /tmp/backup.tar.bz2 /
>
> and this is what I actually use in order to store the system backup in
> 4GB encrypted chunks, along with an encrypted index of all the files
> and an md5sum checksum of the archive (I love one-liners :-) ):
> time tar cvSj --exclude=/home/gpall/.local/share/Trash --exclude=/tmp
> --exclude=/proc --exclude=/lost+found --exclude=/dev --exclude=/mnt
> --exclude=/media --exclude=/sys /  2> >(gpg -z 9 -e -r gpall -o 
> sysbackup-filelist.gpg) | gpg -z 0 -e -r gpall | tee >(split -b 4000m
> - 
> sysbackup.tbg.split_) | md5sum > sysbackup.tbg.md5
Nice. How do you restore your system with these archives?

I was using a simpler one:
dpkg --get-selections "*" > MyPackets && tar cvpfz backuptotal.tgz / 
--exclude=/proc --exclude=/lost+found --exclude=/backuptotal.tgz --exclude=/mnt 
--exclude=/sys --exclude=/media --exclude=/tmp


Thanks.

- -- 
Merciadri Luca
First year in civil engineering
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 

iEYEARECAAYFAkrv7c4ACgkQM0LLzLt8MhxsrQCfab/N8RPgdLhfF0qvyBVpa7Rk
/EgAn1fYWdVp2sSqUK6wGCKmfyg2RH78
=z8pz
-END PGP SIGNATURE-


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



Re: Tgz Backups

2009-11-03 Thread Γιώργος Πάλλας

Merciadri Luca wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I often backup everything of my Debian systems with the tgz utility.

Is it possible to boot a LiveCD, to put the whole content of the tgz
(assuming it is complete) on the partition (assuming there is enough
free space), and to reboot (assuming GRUB is okay)?

I would like to hear others' experience about this.

  


yes, it is possible. I also keep backup of my system using tar* and I 
have at least once successfully restored a working, booting system after 
a failure.



* tar use for backup: tar cvSj --exclude=/tmp --exclude=/proc 
--exclude=/lost+found --exclude=/dev  --exclude=/sys 
/tmp/backup.tar.bz2 /


and this is what I actually use in order to store the system backup in 
4GB encrypted chunks, along with an encrypted index of all the files and 
an md5sum checksum of the archive (I love one-liners :-) ):
time tar cvSj --exclude=/home/gpall/.local/share/Trash --exclude=/tmp 
--exclude=/proc --exclude=/lost+found --exclude=/dev --exclude=/mnt 
--exclude=/media --exclude=/sys /  2> >(gpg -z 9 -e -r gpall -o 
sysbackup-filelist.gpg) | gpg -z 0 -e -r gpall | tee >(split -b 4000m - 
sysbackup.tbg.split_) | md5sum > sysbackup.tbg.md5




smime.p7s
Description: S/MIME Cryptographic Signature