Re: How to pipe from python script t [ "Douglas A. Tutty" <dtutty@porchlig ]
Date: Mon, 03 Sep 2007 11:26:54 -0700
From: tabris <tabris@tabris.net>
To: Daniel D Jones <ddjones@riddlemaster.org>
Cc: debian-user@lists.debian.org
Subject: Re: Disk usage
Message-ID: <46DC51EE.2050203@tabris.net>
Content-Type: multipart/signed; micalg=pgp-ripemd160;
protocol="application/pgp-signature";
boundary="------------enigCEEF401F3C2657E701C1098D"
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCEEF401F3C2657E701C1098D
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Daniel D Jones wrote:
> root@etch:/# du --max-depth=3D1 -h
> 1.7G ./var
> 32K ./tmp
> 4.0K ./selinux
> 16K ./lost+found
> 16M ./boot
> 852K ./home
> 0 ./sys
> 4.0K ./initrd
> 22M ./etc
> 81M ./lib
> 515M ./proc
> 6.3G ./root
> 3.3M ./sbin
> 3.7M ./bin
> 8.0K ./media
> 8.0K ./mnt
> 208K ./dev
> 4.0K ./opt
> 1.3G ./usr
> 4.0K ./srv
> 9.7G .
>
>
> root@etch:/# df -H
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda3 18G 17G 68M 100% /
> tmpfs 265M 0 265M 0% /lib/init/rw
> udev 11M 54k 11M 1% /dev
> tmpfs 265M 0 265M 0% /dev/shm
> /dev/hda2 192M 22M 160M 13% /boot
>
> Why is du telling me that I'm using 9.7G of the disk while df says I'm =
using=20
> over 17G? =20
>
>
> =20
_Could_ be slack space. I'm not quite convinced mind you. However,
iirc ext3 uses 4k blocks, so if you have an average file size of 2k,
each file will take up 4k anyway. Plus, if a file is 4097 bytes
according to stat(), it will take up 8192 bytes of space.
Not to say I'm definitely right, but it's a working theory.
--------------enigCEEF401F3C2657E701C1098D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG3FHuS8cLRnypNnERAxqmAJ9+CgnSDU9RjQaTKnPfAB96DVgCjQCfRHcx
J3N5k2Xib6l9Eaa0D1cQ2Yc=
=Lbvz
-----END PGP SIGNATURE-----
--------------enigCEEF401F3C2657E701C1098D--
Date: Mon, 3 Sep 2007 14:07:01 -0400
From: Daniel D Jones <ddjones@riddlemaster.org>
To: debian-user@lists.debian.org
Subject: Disk usage
Message-Id: <200709031407.01518.ddjones@riddlemaster.org>
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
root@etch:/# du --max-depth=1 -h
1.7G ./var
32K ./tmp
4.0K ./selinux
16K ./lost+found
16M ./boot
852K ./home
0 ./sys
4.0K ./initrd
22M ./etc
81M ./lib
515M ./proc
6.3G ./root
3.3M ./sbin
3.7M ./bin
8.0K ./media
8.0K ./mnt
208K ./dev
4.0K ./opt
1.3G ./usr
4.0K ./srv
9.7G .
root@etch:/# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 18G 17G 68M 100% /
tmpfs 265M 0 265M 0% /lib/init/rw
udev 11M 54k 11M 1% /dev
tmpfs 265M 0 265M 0% /dev/shm
/dev/hda2 192M 22M 160M 13% /boot
Why is du telling me that I'm using 9.7G of the disk while df says I'm using
over 17G?
Date: Mon, 03 Sep 2007 13:05:51 -0500
From: ZephyrQ <zephyrq@earthlink.net>
To: Debian Users <debian-user@lists.debian.org>
Subject: Re: nvidia-glx redux...
Message-ID: <46DC4CFF.5070204@earthlink.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 09:56:36AM -0500, ZephyrQ wrote:
>
>> I've edited the xorg.conf file back and forth several times (usually
>> manually changing 'nv' to 'nvidia' and back again when glx couldn't
>> load) and checked the previous thread for help (read the man pages and
>> other docs.)
>
> Just changing nv to nvidia doesn't help. Look at nvidia-xconfig.
>
> Doug.
This didn't work either. I ran it and re-started--it failed.
Current error message says
"Failed to load the NVIDIA kernel module"
which lead me to the question about kernels...
Date: Mon, 3 Sep 2007 18:11:32 +0000 (UTC)
From: Amit Uttamchandani <amit.uttam@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: How to make deb packages when compiling from source?
Message-ID:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
That's exactly what I was looking for! Thank you so much.
Amit
Date: Mon, 3 Sep 2007 11:36:51 -0700 (PDT)
From: Jeff D <fixedored@gmail.com>
To: debian user <debian-user@lists.debian.org>
Subject: Re: Disk usage
Message-ID: <Pine.LNX.4.62.0709031112540.12467@proto.technobounce.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Mon, 3 Sep 2007, Daniel D Jones wrote:
> root@etch:/# du --max-depth=1 -h
> 1.7G ./var
> 32K ./tmp
> 4.0K ./selinux
> 16K ./lost+found
> 16M ./boot
> 852K ./home
> 0 ./sys
> 4.0K ./initrd
> 22M ./etc
> 81M ./lib
> 515M ./proc
> 6.3G ./root
> 3.3M ./sbin
> 3.7M ./bin
> 8.0K ./media
> 8.0K ./mnt
> 208K ./dev
> 4.0K ./opt
> 1.3G ./usr
> 4.0K ./srv
> 9.7G .
>
>
> root@etch:/# df -H
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda3 18G 17G 68M 100% /
> tmpfs 265M 0 265M 0% /lib/init/rw
> udev 11M 54k 11M 1% /dev
> tmpfs 265M 0 265M 0% /dev/shm
> /dev/hda2 192M 22M 160M 13% /boot
>
> Why is du telling me that I'm using 9.7G of the disk while df says I'm using
> over 17G?
>
-H reports back by powers of 1000 while -h reports back 1024, but that
still doesnt account for the ammount of difference there. Did you
recently delete a lot of files? It could be that a process still has a
file open that needs to be closed before reporting that space free to df.
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.
Date: Tue, 4 Sep 2007 00:27:34 +0530
From: "Mridul Manohar Mishra" <mridulmmishra@gmail.com>
To: debian-user-digest@lists.debian.org
Subject: etch : system hangs
Message-ID: <3c4db4070709031157xc7375c0i95146fb30f07cf1e@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="----=_Part_15653_12572265.1188845854966"
------=_Part_15653_12572265.1188845854966
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
I am using following configuration as my hardware -:
PIII 700 MHz
128 MB SDRAM
no graphics card
It shows 5080 as free.
I am using debian 4.0 and it's my first time with debian based distro. I am
facing a weird problem. My system either hangs or screen gets filled with
vertical coloerd lines (like thin copper wires). Previously I thought It was
related to gnome so i switched to xfce but the problem remains. This occures
every now or then randomly.
I a not sure whether it's a hardware or software problem and how to
catagorise this problem in either of them. Can anyone please help me out?
Thanx,
Mridul
------=_Part_15653_12572265.1188845854966
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,<br> I am using following configuration as my hardware -:<br>PIII 700 MHz<br>128 MB SDRAM<br>no graphics card<br><br>It shows 5080 as free.<br>I am using debian 4.0 and it's my first time with debian based distro. I am facing a weird problem. My system either hangs or screen gets filled with vertical coloerd lines (like thin copper wires). Previously I thought It was related to gnome so i switched to xfce but the problem remains. This occures every now or then randomly.
<br>I a not sure whether it's a hardware or software problem and how to catagorise this problem in either of them. Can anyone please help me out?<br><br>Thanx,<br>Mridul<br>
------=_Part_15653_12572265.1188845854966--
Date: Mon, 3 Sep 2007 20:27:28 +0200
From: Vincent Lefevre <vincent@vinc17.org>
To: debian-user@lists.debian.org
Subject: Re: workaround for: xterm won't start on AMD K6 with stock
2.6.22-1-486 kernel
Message-ID: <20070903182728.GH27290@prunille.vinc17.org>
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2007-09-03 03:38:13 -0500, Mumia W.. wrote:
> Sarge uses S02mountvirtfs, and Etch uses S04mountdevsubfs.sh.
>
> Probably there's a bug in one of Sid's startup scripts.
My machine is sid and has no problems.
--=20
Vincent Lef=E8vre <vincent(at)vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Date: Mon, 03 Sep 2007 11:29:08 -0700
From: "john@wexfordpress.com" <john@wexfordpress.com>
To: debian-user@lists.debian.org
Subject: Grub boot of new install.
Message-ID: <1188844148.172538.31380@19g2000hsx.googlegroups.com>
Content-Type: text/plain; charset="iso-8859-1"
I have built a Debian Etch partition from the buisness card cdr mainly
so I can use/upgrade programs that depend on Gnome libraries. I tried
an Ubuntu install earlier.
Both Debian and Ubuntu show this peculiar trait. When I boot and
select the first choice from the grub menu the OS goes into a loop. I
sign on and then it does another hard boot ultimaely preenting me the
rub menu again. . But the single user boot seems to work. However it
is as advertised, just single user.
Here is the info from menu.lst:
title Debian GNU/Linux, kernel 2.6.18-5-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18-5-686
savedefault
title Debian GNU/Linux, kernel 2.6.18-5-686 (single-user
mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-5-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.18-5-686
savedefault
### END DEBIAN AUTOMAGIC KERNELS LIST
I am new to Debian/Ubuntu so this confuses me.
John Culleton
Date: Mon, 03 Sep 2007 11:48:48 -0700
From: Freddy Freeloader <fredddy@cableone.net>
To: Debian User <debian-user@lists.debian.org>
Subject: Re: How to pipe from python script to system process that script
starts
Message-ID: <46DC5710.9020900@cableone.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 08:05:16AM -0700, Freddy Freeloader wrote:
>
>> I'm wanting to learn python so I'm starting with projects that I want to
>> automate at work. What I want to do in this specific instance is use a
>> python script to call exipick to find all frozen messages in the Exim
>> queue, then feed the message id's to something such as "exim -Mvh" so I
>> can look at the message headers.
>>
>> So far I've been able to get everything working except for how to get my
>> python script to be able to pass the message id's to the exim command as
>> the needed single parameter. I'm assuming that a pipe is the logical
>> way to do this, but just haven't found any kind of example for what I am
>> wanting to do. My Python reference book is just a little too cryptic
>> for me yet and "Learning Python" barely touches on piping. All the
>> examples there are on how to pipe from stdin with sys.stdin and that
>> won't work for this task.
>>
>>
>
> Since exim -Mvh, as you say, only takes a single message id, you'll be
> starting a new process for each message. What you didn't say was where
> you want the output to go. If you just want to run the command and use
> exim's way of displaying the info as if you had typed the command from
> the shell, then you would use os.system(). If you want to get its
> output back into python you would use one of the os.popen() functions,
> depending on what pipes you want. Probably just os.popen() with its
> mode defaulting to 'r'.
>
> Now you just have to make up the command line which is simple string
> processing. Probably define EXIMCMD as '/usr/bin/exim4 ' somewhere near
> the top of the script as a pseudo constant. Then you would make up the
> command line with something like (NOTE: haven't tried this, just going
> from memory and cursory look at my Python bible):
>
> exim_cmd_line = EXIMCMD + '-Mvh ' + message_id
> message_header = os.popen(exim_cmd_line)
>
> You now have a file-like object message_header that you can use in the
> script.
>
> I hope this gets you on the right track.
>
> Doug.
>
>
>
Ah, thank you. That put me on the right track. I did it a little
differently, but you got me thinking in the right direction. I used
os.system() as I need the output printed to screen so I can read email
headers.
Now on to the next step, to figure out a way to poll for stdin, pass
that to exim, and process the message(thaw or remove it) based on what I
read in the header.
Date: Mon, 03 Sep 2007 13:54:02 -0500
From: ZephyrQ <zephyrq@earthlink.net>
To: Debian Users <debian-user@lists.debian.org>
Subject: Re: nvidia-glx redux...
Message-ID: <46DC584A.3020806@earthlink.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
ZephyrQ wrote:
> Douglas A. Tutty wrote:
>> On Mon, Sep 03, 2007 at 09:56:36AM -0500, ZephyrQ wrote:
>>
>>> I've edited the xorg.conf file back and forth several times (usually
>>> manually changing 'nv' to 'nvidia' and back again when glx couldn't
>>> load) and checked the previous thread for help (read the man pages
>>> and other docs.)
>>
>> Just changing nv to nvidia doesn't help. Look at nvidia-xconfig.
>>
>> Doug.
>
> This didn't work either. I ran it and re-started--it failed.
>
> Current error message says
> "Failed to load the NVIDIA kernel module"
> which lead me to the question about kernels...
Did some double checking. I'm running on 2.6.18-5-486. The nvidia
kernel module is the one for 2.6.18-4-486. Installing the module for
5-486 will probably help...
...so dumb question. Running the AMD Duron (1.3), which is better: the
i486, the i686, or the k7 modules (and kernel)?
Again, thanx for your time.
Date: Tue, 4 Sep 2007 00:33:13 +0530
From: "Mridul Manohar Mishra" <mridulmmishra@gmail.com>
To: debian-user@lists.debian.org
Subject: etch : system hangs
Message-ID: <3c4db4070709031203o93f0c0cwd7b691d94c43fa2a@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="----=_Part_15693_17703451.1188846193344"
------=_Part_15693_17703451.1188846193344
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
I am using following configuration as my hardware -:
PIII 700 MHz
128 MB SDRAM
no graphics card
It shows 5080 as free.
I am using debian 4.0 and it's my first time with debian based distro. I am
facing a weird problem. My system either hangs or screen gets filled with
vertical coloerd lines (like thin copper wires). Previously I thought It was
related to gnome so i switched to xfce but the problem remains. This occures
every now or then randomly.
I a not sure whether it's a hardware or software problem and how to
catagorise this problem in either of them. Can anyone please help me out?
Thanx,
Mridul
------=_Part_15693_17703451.1188846193344
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
I am using following configuration as my hardware -:
PIII 700 MHz
128 MB SDRAM
no graphics card
It shows 5080 as free.
I am using debian 4.0 and it's my first time with debian based distro. I am facing a weird problem. My system either hangs or screen gets filled with vertical coloerd lines (like thin copper wires). Previously I thought It was related to gnome so i switched to xfce but the problem remains. This occures every now or then randomly.
<br>I a not sure whether it's a hardware or software problem and how to catagorise this problem in either of them. Can anyone please help me out?<br><br>Thanx,<br><span class="sg">Mridul<br>
</span>
------=_Part_15693_17703451.1188846193344--
Date: Mon, 03 Sep 2007 12:05:18 -0700
From: Freddy Freeloader <fredddy@cableone.net>
To: Debian User <debian-user@lists.debian.org>
Subject: Re: How to pipe from python script to system process that script
starts
Message-ID: <46DC5AEE.3060105@cableone.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Kumar Appaiah wrote:
> On Mon, Sep 03, 2007 at 08:05:16AM -0700, Freddy Freeloader wrote:
>
>> So far I've coded everything as process oriented rather than object
>> oriented as that is what I am familiar with, but I'm beginning to believe
>> that using classes is probably the way to go as it would be much easier to
>> abstract concepts out that way. If someone has an example or two they
>> could share with me on how to do interprocess piping in either oo or
>> process oriented, or both, manner I would appreciate the help.
>>
>
> Read the documentation for os.popen. It opens the command and it's
> stdin and stdout as pipes.
>
> The commands module might also be of interest.
>
> Kumar
>
>
Thanks.
I got os.popen4 to sort of work, I think, as it will capture stdout
from the child process, but haven't figured out, yet, how to capture
that and print it to the screen so I can read the headers.
Date: Mon, 03 Sep 2007 20:05:35 +0100
From: michael <cs@networkingnewsletter.org.uk>
To: "Douglas A. Tutty" <dtutty@porchlight.ca>
Cc: debian-user@lists.debian.org
Subject: Re: mail (un)delivery
Message-Id: <1188846335.3307.32.camel@manchester-campaigns>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2007-09-03 at 11:59 -0400, Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 04:26:49PM +0100, michael wrote:
> > On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> > > On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
>
> > here's the o/p when I try to email myself:
> >
> > 2007-09-03 16:13:43 Start queue run: pid=3893
> > 2007-09-03 16:13:43 End queue run: pid=3893
> > 2007-09-03 16:23:32 1ISDm0-00010w-6z <= michael@ratty.phy.umist.ac.uk
> > U=michael
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => michael@ratty.phy.umist.ac.uk
> > R=smarthos
> > t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [130.88.200.145]
> > X=TLS-1.0:RSA_
> > AES_256_CBC_SHA1:32
> > DN="C=GB,2.5.4.17=#13074d36302031514,ST=England,L=Manchester
> > ,STREET=Manchester,2.5.4.18=#1302383,O=Manchester University,OU=Internet
> > Service
> > s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL
> > Pro,CN=mailrouter.mcc.ac.u
> > k"
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
> >
>
> OK. So, IIRC, the problem was that local mail wasn't being delivered
> locally, correct? But its sending your mail to the smarthost. How do
> you get mail from the smarthost?
just wondering... maybe this is the problem? does local email need to
use smarthost at all? I'm pretty sure that I've not emailed the local
account from an external account before (but that I have emailed a local
account from another local account and that I have emailed an external
account from a local account)
M
Date: Mon, 3 Sep 2007 15:15:50 -0400 (EDT)
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: Jeff D <fixedored@gmail.com>
Cc: debian user <debian-user@lists.debian.org>
Subject: Re: Disk usage
Message-ID: <Pine.LNX.4.64.0709031515430.9996@p34.internal.lan>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Mon, 3 Sep 2007, Jeff D wrote:
> On Mon, 3 Sep 2007, Daniel D Jones wrote:
>
>> root@etch:/# du --max-depth=1 -h
>> 1.7G ./var
>> 32K ./tmp
>> 4.0K ./selinux
>> 16K ./lost+found
>> 16M ./boot
>> 852K ./home
>> 0 ./sys
>> 4.0K ./initrd
>> 22M ./etc
>> 81M ./lib
>> 515M ./proc
>> 6.3G ./root
>> 3.3M ./sbin
>> 3.7M ./bin
>> 8.0K ./media
>> 8.0K ./mnt
>> 208K ./dev
>> 4.0K ./opt
>> 1.3G ./usr
>> 4.0K ./srv
>> 9.7G .
>>
>>
>> root@etch:/# df -H
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/hda3 18G 17G 68M 100% /
>> tmpfs 265M 0 265M 0% /lib/init/rw
>> udev 11M 54k 11M 1% /dev
>> tmpfs 265M 0 265M 0% /dev/shm
>> /dev/hda2 192M 22M 160M 13% /boot
>>
>> Why is du telling me that I'm using 9.7G of the disk while df says I'm
>> using
>> over 17G?
>>
>
>
> -H reports back by powers of 1000 while -h reports back 1024, but that still
> doesnt account for the ammount of difference there. Did you recently delete
> a lot of files? It could be that a process still has a file open that needs
> to be closed before reporting that space free to df.
>
> -+-
> 8 out of 10 Owners who Expressed a Preference said Their Cats Preferred
> Techno.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
What does df -i show?
Date: Mon, 3 Sep 2007 15:16:20 -0400 (EDT)
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: Mridul Manohar Mishra <mridulmmishra@gmail.com>
Cc: debian-user-digest@lists.debian.org, debian-user@lists.debian.org
Subject: Re: etch : system hangs
Message-ID: <Pine.LNX.4.64.0709031516090.9996@p34.internal.lan>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 4 Sep 2007, Mridul Manohar Mishra wrote:
> Hi,
> I am using following configuration as my hardware -:
> PIII 700 MHz
> 128 MB SDRAM
> no graphics card
>
> It shows 5080 as free.
> I am using debian 4.0 and it's my first time with debian based distro. I am
> facing a weird problem. My system either hangs or screen gets filled with
> vertical coloerd lines (like thin copper wires). Previously I thought It was
> related to gnome so i switched to xfce but the problem remains. This occures
> every now or then randomly.
> I a not sure whether it's a hardware or software problem and how to
> catagorise this problem in either of them. Can anyone please help me out?
>
> Thanx,
> Mridul
>
Run memtest86 and see if the memory is good?
Date: Mon, 03 Sep 2007 22:23:12 +0300
From: Giorgos Pallas <gpall@ccf.auth.gr>
To: debian-user-digest@lists.debian.org
Cc: Mridul Manohar Mishra <mridulmmishra@gmail.com>
Subject: Re: etch : system hangs
Message-ID: <46DC5F20.40405@ccf.auth.gr>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mridul Manohar Mishra wrote:
> Hi,
> I am using following configuration as my hardware -:
> PIII 700 MHz
> 128 MB SDRAM
> no graphics card
>
> It shows 5080 as free.
> I am using debian 4.0 and it's my first time with debian based distro.
> I am facing a weird problem. My system either hangs or screen gets
> filled with vertical coloerd lines (like thin copper wires).
> Previously I thought It was related to gnome so i switched to xfce but
> the problem remains. This occures every now or then randomly.
> I a not sure whether it's a hardware or software problem and how to
> catagorise this problem in either of them. Can anyone please help me out?
>
> Thanx,
> Mridul
Just my two cents as I am not an experienced linux user: I was seeing
these very same colored vertical lines (but without the computer
hanging) when I was using with my ATI mobility radeon X700 card the vesa
(generic) driver. Which driver are you using for your graphics card (you
can't have none!)? What do you see at the syslog/dmesg after the reboot?
G.
Date: Mon, 03 Sep 2007 20:25:39 +0100
From: michael <cs@networkingnewsletter.org.uk>
To: debian-user@lists.debian.org
Subject: [SOLVED] mail (un)delivery
Message-Id: <1188847539.3307.44.camel@manchester-campaigns>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Mon, 2007-09-03 at 20:05 +0100, michael wrote:
> On Mon, 2007-09-03 at 11:59 -0400, Douglas A. Tutty wrote:
> > On Mon, Sep 03, 2007 at 04:26:49PM +0100, michael wrote:
> > > On Mon, 2007-09-03 at 11:05 -0400, Douglas A. Tutty wrote:
> > > > On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
> >
> > > here's the o/p when I try to email myself:
> > >
> > > 2007-09-03 16:13:43 Start queue run: pid=3893
> > > 2007-09-03 16:13:43 End queue run: pid=3893
> > > 2007-09-03 16:23:32 1ISDm0-00010w-6z <= michael@ratty.phy.umist.ac.uk
> > > U=michael
> > > P=local S=409
> > > 2007-09-03 16:23:55 1ISDm0-00010w-6z => michael@ratty.phy.umist.ac.uk
> > > R=smarthos
> > > t T=remote_smtp_smarthost H=mailrouter.mcc.ac.uk [130.88.200.145]
> > > X=TLS-1.0:RSA_
> > > AES_256_CBC_SHA1:32
> > > DN="C=GB,2.5.4.17=#13074d36302031514,ST=England,L=Manchester
> > > ,STREET=Manchester,2.5.4.18=#1302383,O=Manchester University,OU=Internet
> > > Service
> > > s,OU=Issued through UMIST E-PKI Manager,OU=InstantSSL
> > > Pro,CN=mailrouter.mcc.ac.u
> > > k"
> > > 2007-09-03 16:23:55 1ISDm0-00010w-6z Completed
> > >
> >
> > OK. So, IIRC, the problem was that local mail wasn't being delivered
> > locally, correct? But its sending your mail to the smarthost. How do
> > you get mail from the smarthost?
>
> just wondering... maybe this is the problem? does local email need to
> use smarthost at all? I'm pretty sure that I've not emailed the local
> account from an external account before (but that I have emailed a local
> account from another local account and that I have emailed an external
> account from a local account)
aha, if i set
dc_other_hostnames='ratty.phy.umist.ac.uk' (ie not just 'ratty')
(using dpkg-reconfigure exim4-config's screen "enter a ;-sep list of
recipient domains for which this machine should consider itself final
dest") then mail is delivered from local account to local account
phew!
M
Date: Mon, 3 Sep 2007 15:38:10 -0400
From: "Douglas A. Tutty" <dtutty@porchlight.ca>
To: debian-user@lists.debian.org
Subject: Re: How to pipe from python script to system process that script starts
Message-ID: <20070903193810.GA10318@titan.hooton>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Sep 03, 2007 at 11:48:48AM -0700, Freddy Freeloader wrote:
> Now on to the next step, to figure out a way to poll for stdin, pass
> that to exim, and process the message(thaw or remove it) based on what I
> read in the header.
Before we get too far down the garden path with this, what is the big
issue? I'm on dialup. I've never had to deal with removing messages
from the queue since I have exim run with -qqff which automatically
thaws the list every time it runs. After enough retries, exim returns
the message to sender. Then again, I'm going to a smarthost.
Under what circumstances would you need to manually remove a message
from the queue?
As for polling stdin, why? What will it get from stdin?
Doug.
End of debian-user-digest Digest V2007 Issue #2305
Received on Mon Sep 3 16:02:57 2007