How to make deb packages when compiling from source?

2007-09-03 Thread Amit Uttamchandani
Hey everyone,

I've recently been compiling a few programs from source. I then realized that I
might have to uninstall them in the future. Thus, I did a quick google search
and the main point was that after compiling create a .deb file and then install
the software. Then I could just use dpkg to install and uninstall the software
correct?

How is this done? And what is the proper procedure?

Thanks!
Amit


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to make deb packages when compiling from source?

2007-09-03 Thread Steve Kemp
On Mon Sep 03, 2007 at 07:04:43 +, Amit Uttamchandani wrote:

> I've recently been compiling a few programs from source. I then realized that 
> I
> might have to uninstall them in the future. Thus, I did a quick google search
> and the main point was that after compiling create a .deb file and then 
> install
> the software. Then I could just use dpkg to install and uninstall the software
> correct?

   Try using checkinstall:

http://www.debian-administration.org/articles/147

Steve
--
http://www.steve.org.uk/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Rickard Lindberg
Thank you guys for all the information. I might try a dist upgrade to
sid, and if that is not working well, I might do a complete reinstall
of etch.

Does anyone have any experience running the 'testing' release? I
watched 'The Technology Behind Debian's Testing Release' from google
video yesterday, and in the end of the presentation he mentioned that
in the future, it might be possible to run a stable release, but at
the same time install some packages from unstable. Does anyone know
anything about that? When will it be available? Is someone is working
on it?

Again, thanks for all the helpful information.

-- 
Rickard Lindberg
[EMAIL PROTECTED]
+46 733 464794


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: a LaTeX question

2007-09-03 Thread Anthony Campbell
On 02 Sep 2007, Richard Lyons wrote:
> 
> Yes, I had spotted that it was installed on mine too.  texdoctk was new
> to me, though.  I had to install perl-tk and tetex-doc, but after that,
> --wow!  There is a lot of additional information there!  
> 
> Thanks Douglas
> 

Indeed. This amazingly useful tool should be more widely noted; I'd
never heard of it.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Kumar Appaiah
On Mon, Sep 03, 2007 at 09:31:27AM +0200, Rickard Lindberg wrote:
> Does anyone have any experience running the 'testing' release? I
> watched 'The Technology Behind Debian's Testing Release' from google
> video yesterday, and in the end of the presentation he mentioned that
> in the future, it might be possible to run a stable release, but at
> the same time install some packages from unstable. Does anyone know
> anything about that? When will it be available? Is someone is working
> on it?

You can, even now, try putting testing in your sources.list and try to
move to testing. Testing is also a trifle better than instable because
the secutiry team now gives security updates for testing as
well. Added advantage: it gets all newer packages from unstable after
10 days of no critical bug reports in unstable.

In a sense, testing (now lenny) may be just the right balance you are
looking for, but YMMV.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Where and how do I install a TTF font?

2007-09-03 Thread Mumia W..

On 09/02/2007 08:24 PM, Nelson A. de Oliveira wrote:


The PDF is generated by a third part online system that we use here.
We don't have control over the PDF.
We want to change all machines running Windows to Linux, but the only
missing thing is this barcode font on the PDFs. Windows displays them
correctly while we couldn't make it works on Linux :-/

Thank you!

Best regards,
Nelson



It looks like I'm out of my league since I don't even know what a 
hintfile is.


I hope someone can help you.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to make deb packages when compiling from source?

2007-09-03 Thread Kamaraju S Kusumanchi
Amit Uttamchandani wrote:

> Hey everyone,
> 
> I've recently been compiling a few programs from source. I then realized
> that I might have to uninstall them in the future. Thus, I did a quick
> google search and the main point was that after compiling create a .deb
> file and then install the software. Then I could just use dpkg to install
> and uninstall the software correct?
> 
> How is this done? And what is the proper procedure?

There are multiple ways of achieving this. Assuming that the package that
you are interested is already in debian, you can use pdebuild to build the
packages.

1) simplest way
download the source
  apt-get source packagename
install the necessary dependencies
  apt-get build-dep packagename
change directory
  cd packagename
make necessary changes in the source
build the package
  dpkg-buildpackage -us -uc -rfakeroot

I use the above procedure to build gnuplot packages with readline and
history support. More detailed instructions can be found at
http://malayamaarutham.blogspot.com/2007/04/build-gnuplot-with-gnu-readline-and.html

2) most general way - use pbuilder, pdebuild
This method, for example, can be used to build packages for a machine
running Sid on a machine running stable. Instructions on this can be found
at
http://malayamaarutham.blogspot.com/2007/04/recipe-for-building-texmacs-package.html

There might be other ways but I am not familiar with them.

For more detailed documentation, you can read the "Debian New Maintainers'
guide" (apt-get install maint-guide).

hth
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NMI received, likely on the PCI bus

2007-09-03 Thread Anthony Campbell
On 02 Sep 2007, Henrique de Moraes Holschuh wrote:
> On Fri, 31 Aug 2007, Anthony Campbell wrote:
> > "NMI received, likely on the PCI bus ..." together with stuff about a
> > hardware problem.
> ...
> > I'm using a Thinkpad Z61M with Sid, kernel 2.6.20.1-slh-smp-2.
> 
> Thinkpads do NMIs and SMIs for system management.  It is likely something
> stupid, thay you should not worry much about.  Try disabling "pci bus power
> saving", see if that helps.  If it does, just reenable it and ignore the
> warning.
> 

I tried this but the error message still appears. However, I now have
more information.

1. It does not seem to occur with Ubuntu, only with Sid (actually,
Sidux). And not every time either; about 1 in 3.

2. I ran the PC Doctor program downloaded from the Lenovo site. This
shows no errors except for the parallel port, but this machine has no
parallel port. I've therefore disabled the parallel support in the BIOS
but I don't know if that will make any difference.

3. I rang Lenovo support, who predictably said it was a Linux problem,
not a hardware problem.

As everything else is working correctly I think I shall have to ignore
it for the moment, unless or until something else happens.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Linux Gnu-Debian
http://www.acampbell.org.uk (blog, book reviews, 
on-line books and sceptical articles)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



does anyone work on SMSer ?

2007-09-03 Thread Jabka Atu
Hello ,..


i wish to create a debian package for SMSer by guySoft i didn't found an
itp for it but maybe someone is working and didn't send one ;-)



-- 
--
Could you at least use man ?
Jabka Atu (aka mha13/Mashrom Head)
--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Mumia W..

On 09/03/2007 02:31 AM, Rickard Lindberg wrote:
Thank you guys for all the information. I might try a dist upgrade to 
sid, and if that is not working well, I might do a complete reinstall 
of etch.


Does anyone have any experience running the 'testing' release? I 
watched 'The Technology Behind Debian's Testing Release' from google 
video yesterday, and in the end of the presentation he mentioned that 
in the future, it might be possible to run a stable release, but at 
the same time install some packages from unstable. Does anyone know 
anything about that? When will it be available? Is someone is working 
on it?


Again, thanks for all the helpful information.



That can be done now--with some caveats.

I'm using Sarge, but I've installed a very few packages from Etch and 
Lenny; these are mostly Perl (and Python) scripts and documentation, and 
I always use the aptitude interactive environment before installing, 
because I want to see if something will break my system.


So installing scripts and documentation from a different distribution is 
somewhat safe, so long as you avoid compiled programs that require 
compiled libraries.


And I also have installed some packages from the excellent 
www.backports.org (which I need to remember to donate some money to).


However, if there is not an acceptable backport for the software you 
want, and the software is a compiled program that links against compiled 
libraries, and it's in Sid, the only safe way to get that software is to 
compile the source.


You can grab the source using 'apt-get source ' and compile 
it for your platform. Read "man 8 apt-get" if you haven't already.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: workaround for: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-09-03 Thread Mumia W..

On 09/03/2007 12:56 AM, Paul Scott wrote:

Takehiko Abe wrote:

(snip)

Note that I've never had to do it myself.  My /etc/fstab on a Sarge
system has this entry:

none/dev/ptsdevptsgid=5,mode=62000

I will try putting this in my fstab after I send this email.

But my lenny box does not have it. I don't know who mounts devpts for
me on lenny (perhaps it's udev but I'm not sure.)

This still leaves the mystery of how it happened and whether the fstab
entry is the correct Debian solution for sid.



I suspect not, but I don't use Sid. Both my Sarge and Etch systems mount 
/dev/pts through startup scripts in /etc/rcS.d.


Sarge uses S02mountvirtfs, and Etch uses S04mountdevsubfs.sh.

Probably there's a bug in one of Sid's startup scripts.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Problems regarding sound

2007-09-03 Thread Bert Schulze
On 3 Sep., 07:00, "vivek shah" <[EMAIL PROTECTED]> wrote:
> hello,
> I am using Debain Etch on my Acer laptop and it was running
> fine till the sound stopped working suddenly. I was playing a movie on
> VLC player and in the middle it just stopped working. After that I
> tried
> cat /dev/urandom > /dev/dsp
> but I didnt get any sound.
> I checked that my user was in the group audio and the above command
> didn't give anything as root too.

Uhm ok. Did you check your syslog, dmesg for any suspicious entry that
may indicate a hardware problem?

> I checked with alsamixer and nothing was muted. I ran alsaconf which
> ran successfully but still nothing. Even after rebooting nothing
> happened.
>
> Please note I did no upgrade or package install when this problem
> occured. It just stopped in the middle.
> I checked to see if the sound-card had shorted out and so I ran Ubuntu
> 7.04 Live CD and I got the startup sounds in that.

You could compare the kernel modules in debian with those ones ubuntu
live cd to see which modules are loaded for your card. Try to rmmod
and modprobe them again or mebbe some are missing. If nothing happens
id try to rebuild the corresponding kernel modules. The last step
would be download sources and compile them in.

> Please suggest what should I do
>
> Regards,
> Vivek


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Mathias Brodala
Hi.

Kumar Appaiah, 03.09.2007 09:44:
> On Mon, Sep 03, 2007 at 09:31:27AM +0200, Rickard Lindberg wrote:
>> Does anyone have any experience running the 'testing' release? I
>> watched 'The Technology Behind Debian's Testing Release' from google
>> video yesterday, and in the end of the presentation he mentioned that
>> in the future, it might be possible to run a stable release, but at
>> the same time install some packages from unstable. Does anyone know
>> anything about that? When will it be available? Is someone is working
>> on it?
> 
> You can, even now, try putting testing in your sources.list and try to
> move to testing. Testing is also a trifle better than instable because
> the secutiry team now gives security updates for testing as
> well.

Well, Unstable gets security updates too, only as regular package updates.

> Added advantage: it gets all newer packages from unstable after
> 10 days of no critical bug reports in unstable.

This is an added disadvantage for me, since it also can take 10 or more days
until a fix can enter Testing where it is fixed sometimes on the same day in
Unstable.

> In a sense, testing (now lenny) may be just the right balance you are
> looking for, but YMMV.

Agreed.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Extending ext3 root-fs

2007-09-03 Thread jan . johansson
Hello!

I am running Debian 4.0 64bit on an Opteron.
My disks are two RAID5 on a IPC VOrtex controller (gdth).

My / is becoming a bit to small (Mostly stuff in /lib), so i extended it 
with

 lvextend -L +200M /dev/Debian/root

Now, to resize the fs i intend to boot from a knoppix-live CD and then use 
resize2fs to resize the fs.

Am i missing anything? might i screw up GRUB or anything else like this?

Please introduce a sane way to merge config file differences during package installation

2007-09-03 Thread Richard Hartmann
Package: debconf
Version: 1.5.14
Severity: Wishlist

Everyone will know a message like this:

Configuration file `/etc/sysctl.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
  What would you like to do about it ?  Your options are:
   Y or I  : install the package maintainer's version
   N or O  : keep your currently-installed version
 D : show the differences between the versions
 Z : background this process to examine the situation
 The default action is to keep your current version.
*** sysctl.conf (Y/I/N/O/D/Z) [default=N] ?

What I would want is something like

M: merge files interactively

which would then call vimdiff, probably via $DIFF_EDITOR
or some other variable if something like it does already exist.

For discussion that might happen in the initial thread, look
into the debian-user archive [1]. I am CC'ing the list and
interested parties so they will see the bug, as well.


Richard

[1] http://lists.debian.org/debian-user/2007/09/msg00101.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exim4/fetchmail/mutt problem

2007-09-03 Thread Thomas H. George

Kumar Appaiah wrote:

On Sun, Sep 02, 2007 at 06:16:05PM -0400, Thomas H. George wrote:
  

Does /var/log/mail.log say to where the messages were delivered?

Ben
  
  

It says connection refused by 127.0.0.1



What is the output of mailq?

Kumar
  

exim: permission denied.

In ./usr/sbin exim is a symlink to exim4.  exim is owned by root:root 
with 777 permissions.  exim4 was owned by root:tom with 731 
permissions.  I changed the permissions to 777 but this did not correct 
the problem.  I still got exim: permission denied when I executed mailq 
as user tom.  mailq works for root.


Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Douglas A. Tutty
On Sun, Sep 02, 2007 at 09:11:57PM -0500, Ron Johnson wrote:
 
> You're right: it depends on if big honkers like openoffice,
> iceweasel, icedove, celestia-common, "gcc" or any of the other
> myriad Big Packages are being upgraded.
> 
> Today, there's about 120MB of data to download.
> 

About 17 hrs of download, or about 3 days worth.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread John Hasler
Kumar writes:
> You can, even now, try putting testing in your sources.list and try to
> move to testing.

Good idea.

> Testing is also a trifle better than instable because the secutiry team
> now gives security updates for testing as well. Added advantage: it gets
> all newer packages from unstable after 10 days of no critical bug reports
> in unstable.

More important advantage: packages do not migrate to testing until all
their dependencies can be satisfied.

You can handle security updates by installing the fixed package from Sid.

-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: a LaTeX question

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 08:34:10AM +0100, Anthony Campbell wrote:
> On 02 Sep 2007, Richard Lyons wrote:
> > 
> > Yes, I had spotted that it was installed on mine too.  texdoctk was new
> > to me, though.  I had to install perl-tk and tetex-doc, but after that,
> > --wow!  There is a lot of additional information there!  
> > 
> > Thanks Douglas
> > 
> 
> Indeed. This amazingly useful tool should be more widely noted; I'd
> never heard of it.

I had never used tetex before but for a while when Etch was testing (and
I had to use Etch on my new box), Lout wasn't available so I took the
plunge (including a 10 day download).  Apropos is your friend; I just
browsed all the results of apropos tex.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: capture real audio stream

2007-09-03 Thread bob
Lorenzo Bettini wrote:

> cothrige wrote:
>> This is pretty easy if you have either mplayer or audacity installed.
>> If you happen to be playing from BBC 7 it is particularly easy, and all
>> you have to do is right click on the listen link and save the ram file
>> to your drive.  Then you just read it as it is plain text, and inside
>> you will find something like:
>> 
>>
rtsp://rmv8.bbc.net.uk/bbc7/0930_sun.ra?BBC-UID=34f67dd2ff9daa4baac9cd5c20f0b659244a9c75a07060437bfa8149d4698951&SSO2-UID=
>> 
> 
> I'm trying with this one
> 
> http://www.bbc.co.uk/radio2/musicclub/events_andrewlloydwebber.shtml
> 
> and can't find such links, not even with Page Info (as suggested by
> Joachim); could it be they changed something in their site?
> 
>> 
>> BTW, if all of that fails for some reason then you can always open
>> audacity (before the audio player to make sure your sound card is
>> available for recording), adjust your input to volume and set the volume
>> levels.  Then you can open the browser and start the player, and begin
>> the recording in audacity.  This will record the stream as a wav as
>> well, though if your signal drops out you will have to clean up any
>> silent patches in the file.  The mplayer way is much, much better as it
>> will automatically correct any failures in the feed and so the resulting
>> file will have no blank patches in it, so I really would recommend that
>> way first.
> 
> I'll also try with audacity, but I'd like to use mplayer as you suggest...
> 
> thanks in advance
> Lorenzo
> 
The reason you couldn't find the link was that you need to click on the
left hand side - the grey "Now Playing" section.  This is a separate frame
from the rest of the page and obviously gives different results to the right
hand side, when using Firefox/Iceweasel's View Page Info.  The media tab
now shows the required link:

  /radio/aod/shows/rpms/radio2/fridaymusic.rpm

Append this to the BBC website address and use curl in a terminal window to
identify the direct 
realaudio link, ie: 

  curl http://www.bbc.co.uk/radio/aod/shows/rpms/radio2/fridaymusic.rpm

The BBC isn't deliberately hiding the link - some pages come with a "Open in
standalone player" link, others don't.

I would also reiterate the need for saving the stream in .wav format as
there is usually dross (news/announcements etc) at the beginning and end of
the file that needs deleting.  This is best done on the lossless .wav file
rather than the lossy .mp3 - the latter is akin to re-editing a jpg file. 
And the source audio isn't exactly CD quality to start with.
Audacity does a good job and offers many editing options and features.

To avoid having to remember the lengthy mplayer command line switches, I
generally record the stream then convert it, ie:

  mplayer -dumpstream URL (this is .ra format and can be played with
helix/realplayer)
  mplayer -ao pcm stream.dump (this is .wav format and can be opened in
audacity)

Incidently, others have already created direct links to many of the BBC
progs, see:

  http://www.2blu.co.uk
  http://beebotron.timeforabrew.com/#listenagainlinks

Funnily enough, your Friday Night is Music Night link is different in
each! Oh well, that's why we're using Linux - choice!

HTH

Cotton






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exim4/fetchmail/mutt problem

2007-09-03 Thread Kumar Appaiah
On Mon, Sep 03, 2007 at 08:26:19AM -0400, Thomas H. George wrote:
> In ./usr/sbin exim is a symlink to exim4.  exim is owned by root:root with 
> 777 permissions.  exim4 was owned by root:tom with 731 permissions.  I 
> changed the permissions to 777 but this did not correct the problem.  I 
> still got exim: permission denied when I executed mailq as user tom.  mailq 
> works for root.

OK, I meant su;mailq or sudo mailq.

You should be able to run mailq as root. Otherwise, you have a
problem. For me, it's just a symbolic link to /usr/sbin/exim4.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SVG broke after installing Pidgin unstable package

2007-09-03 Thread Kumar Appaiah
On Mon, Sep 03, 2007 at 12:30:22PM +0200, Mathias Brodala wrote:
> This is an added disadvantage for me, since it also can take 10 or more days
> until a fix can enter Testing where it is fixed sometimes on the same day in
> Unstable.

Finally, it all depends only on one thing: you! What you want decides
your choice. But I think it's just because you tried sid that you
decided to stay with it. So, others can also try if they have the time
(and a little courage :-). But believe me, it's NOT unstable!

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mail (un)delivery

2007-09-03 Thread michael
I'm feeling a bit dense today so any help welcome!

Essentially, I've just noticed that local mail hasn't been delivered for
a couple of weeks. I can email off my box but not to my username on the
box. I can't see what the problem is. They are probably both a red
herring [1] but (a) I did have some DNS problems just prior to the last
received email and (b) switched off the box and physically moved it to a
new location (and the new IP number) just after the last received email.

I'm unsure how to go about debugging this so all pointers welcome!

Thanks, Michael


[1] http://en.wikipedia.org/wiki/Red_herring


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Shut down or leave on?

2007-09-03 Thread Cousin Stanley

> Yes, that´s right but if you have to perform many operations 
> maybe the "echo" + "bc" form is quite faster
>  

Felix  

  If I had to perform many computations and found 
  that the speed of Python was too slow, I would
  probably code in C or Fortran instead  


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona


== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet 
News==
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ 
Newsgroups
= East and West-Coast Server Farms - Total Privacy via Encryption =


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problems with text file going from Linux to MS Windows

2007-09-03 Thread 应富鸣
On 9/3/07, G.W. Haywood <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> On Sun, 2 Sep 2007 Matus UHLAR wrote:
>
> > On 21.07.07 10:46, Rodolfo Medina wrote:
> > > If I want to send a text file to an MS Windows user there are problems:
> in
> > > fact, in MS Windows a text file which has been composed under Linux is
> not
> > > correctly read: the line ends are not recognised.
> >
> > how do you transfer those files? FTP has ASCII transfer which translates
> > line ends correctly and mail has also well-defined line ends, so all mail
> > clients know how to convert.
> >
> > It can be a problem when you edit the same file on the same disk using
> > different editors, but meny editors support both line ends...
> >
> > > The remedy is to cut the text and paste it into an MS Word file, then
> cut
> > > it again and re-paste it into the text file, which is not so good
> because
> > > this way I need rebooting every time into the Windows partition.
>
> No, the remedy is to use the proper tool.  You're looking for 'todos'
> or one of its aliases.  However, so was I on this newly-installed
> Debian system of mine...
>
> tornado:~# >>> man todos
> No manual entry for todos
> tornado:~# >>> apt-cache search todos
> ...
> sysutils - Miscellaneous small system utilities - dummy package
> tofrodos - Converts DOS <-> Unix text files, alias tofromdos
> ...
> tornado:~# >>> apt-get install sysutils
> Reading package lists... Done
> Building dependency tree... Done
> The following extra packages will be installed:
>   memtester procinfo tofrodos
> The following NEW packages will be installed
>   memtester procinfo sysutils tofrodos
> 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/83.4kB of archives.
> After unpacking 336kB of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Media Change: Please insert the disc labelled
>  'Debian GNU/Linux 4.0 r0 _Etch_ - Official amd64 DVD Binary-1
> 20070407-12:15'
> in the drive '/cdrom/' and press enter
> Selecting previously deselected package memtester.
> (Reading database ... 86755 files and directories currently installed.)
> Unpacking memtester (from .../memtester_2.93.1-3.1_amd64.deb) ...
> Selecting previously deselected package procinfo.
> Unpacking procinfo (from .../procinfo_18-1_amd64.deb) ...
> Selecting previously deselected package tofrodos.
> Unpacking tofrodos (from .../tofrodos_1.7.6-2_amd64.deb) ...
> Selecting previously deselected package sysutils.
> Unpacking sysutils (from .../sysutils_2.0.1_all.deb) ...
> Setting up memtester (2.93.1-3.1) ...
> Setting up procinfo (18-1) ...
> Setting up tofrodos (1.7.6-2) ...
> Setting up sysutils (2.0.1) ...
> tornado:~# >>> man tofrodos
> No manual entry for tofrodos
> tornado:~# >>> man tofromdos
> No manual entry for tofromdos
> tornado:~# >>> man -k tofromdos
> tofromdos: nothing appropriate.
> tornado:~# >>> man -k tofrodos
> tofrodos: nothing appropriate.
> tornado:~# >>> man procinfo
> Reformatting procinfo(8), please wait...
> tornado:~# >>> tofrodos
> -su: tofrodos: command not found
> tornado:/usr/bin# >>> man fromdos
> Reformatting fromdos(1), please wait...
>
> Yeearrggg
>
> Is there a bugzilla for man pages?
>
> --
>
> 73,
> Ged.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
H, when you install the package tofrodos, the command(s) wil not
be tofrodos or the similar ones, but these two: dos2unix and unix2dos.
dos2unix transfers the file format from MS Windows (DOS) to Unix
(Linux), and unix 2dos do the reverse.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 02:12:42PM +0100, michael wrote:
> I'm feeling a bit dense today so any help welcome!
> 
> Essentially, I've just noticed that local mail hasn't been delivered for
> a couple of weeks. I can email off my box but not to my username on the
> box. I can't see what the problem is. They are probably both a red
> herring [1] but (a) I did have some DNS problems just prior to the last
> received email and (b) switched off the box and physically moved it to a
> new location (and the new IP number) just after the last received email.
> 
> I'm unsure how to go about debugging this so all pointers welcome!

Assuming that you're using exim4, check you
/etc/exim4/update-exim4.conf.conf file for the wrong IP addresses.  If
you find any, follow the instructions at the top of the file.

Assuming that you have written yourself an email on the same box, what
error messages do you get?  What does mailq say?  Are you having exim do
a reverse DNS lookup for every mail?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Auto update for kde menu

2007-09-03 Thread John W. Foster
Anyone know how to or IF the kde menu editor can be made to auto update the 
menu system? Does gnome have a auto updater for the menu system? For example 
I removed several debian packages from the system and the menu links are 
still in kde-menu. It seems to me that this should be automatic. I currently 
have to run a command line update-menus after every maintainence of my system 
in order to keep it up to date.
Thanks!
-- 
John W. Foster


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread michael
On Mon, 2007-09-03 at 09:27 -0400, Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 02:12:42PM +0100, michael wrote:
> > I'm feeling a bit dense today so any help welcome!
> > 
> > Essentially, I've just noticed that local mail hasn't been delivered for
> > a couple of weeks. I can email off my box but not to my username on the
> > box. I can't see what the problem is. They are probably both a red
> > herring [1] but (a) I did have some DNS problems just prior to the last
> > received email and (b) switched off the box and physically moved it to a
> > new location (and the new IP number) just after the last received email.
> > 
> > I'm unsure how to go about debugging this so all pointers welcome!
> 
> Assuming that you're using exim4, check you
> /etc/exim4/update-exim4.conf.conf file for the wrong IP addresses.  If
> you find any, follow the instructions at the top of the file.

>From what I can tell it seems fine:

[EMAIL PROTECTED]:/etc/exim4$ less update-exim4.conf.conf 
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='ratty'
dc_local_interfaces='127.0.0.1'
dc_readhost='ratty.phy.umist.ac.uk'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mailrouter.mcc.ac.uk'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'




> 
> Assuming that you have written yourself an email on the same box, what
> error messages do you get?  What does mailq say?  Are you having exim do
> a reverse DNS lookup for every mail?

Yes, the box is ratty.phy.umist.ac.uk and if I email myself (mail
localusername) I get no error msgs. 

mailq gives me a permission error unless I use 'sudo mailq
localusername' which then gives me 
  michael-H
*** spool read error: No such file or directory ***


(not sure what that means...)

I said 'no' to keeping num of DNS lookups minimal. 

NB: nslookup on the machine gives multiple entries:
$ nslookup ratty.phy.umist.ac.uk
Server: 130.88.13.7
Address:130.88.13.7#53

Name:   ratty.phy.umist.ac.uk
Address: 130.88.15.179
Name:   ratty.phy.umist.ac.uk
Address: 130.88.128.163





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 02:49:56PM +0100, michael wrote:
> On Mon, 2007-09-03 at 09:27 -0400, Douglas A. Tutty wrote:
> > On Mon, Sep 03, 2007 at 02:12:42PM +0100, michael wrote:
> > > I'm feeling a bit dense today so any help welcome!
> > > 
> > > Essentially, I've just noticed that local mail hasn't been delivered for
> > > a couple of weeks. I can email off my box but not to my username on the
> > > box. I can't see what the problem is. They are probably both a red
> > > herring [1] but (a) I did have some DNS problems just prior to the last
> > > received email and (b) switched off the box and physically moved it to a
> > > new location (and the new IP number) just after the last received email.
> > > 
> > > I'm unsure how to go about debugging this so all pointers welcome!
> > 
> > Assuming that you're using exim4, check you
> > /etc/exim4/update-exim4.conf.conf file for the wrong IP addresses.  If
> > you find any, follow the instructions at the top of the file.
> 
> >From what I can tell it seems fine:
agreed

 > 
> > Assuming that you have written yourself an email on the same box, what
> > error messages do you get?  What does mailq say?  Are you having exim do
> > a reverse DNS lookup for every mail?
> 
> Yes, the box is ratty.phy.umist.ac.uk and if I email myself (mail
> localusername) I get no error msgs. 
> 
> mailq gives me a permission error unless I use 'sudo mailq
> localusername' which then gives me 
>   michael-H
> *** spool read error: No such file or directory ***
> 
> 
> (not sure what that means...)

What it means is that you used mailq wrong.  You don't need any
parameters but if you provide any, they are a list of message IDs.
Since no message ID will be your localusername it will fail.  Try mailq
all by itself.
> 
> I said 'no' to keeping num of DNS lookups minimal. 
> 
> NB: nslookup on the machine gives multiple entries:
> $ nslookup ratty.phy.umist.ac.uk
> Server: 130.88.13.7
> Address:130.88.13.7#53
> 
> Name:   ratty.phy.umist.ac.uk
> Address: 130.88.15.179
> Name:   ratty.phy.umist.ac.uk
> Address: 130.88.128.163

I don't have nslookup installed but it seems wierd to me that one
hostname would have more than one IP address.

See what mailq say and see what are in exim's logs.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread Steve Kemp
On Mon Sep 03, 2007 at 10:20:36 -0400, Douglas A. Tutty wrote:

> I don't have nslookup installed but it seems wierd to me that one
> hostname would have more than one IP address.

  Not at all.  e.g:
  nslookup  google.com
  Server: 80.68.80.24
  Address:80.68.80.24#53

  Non-authoritative answer:
  Name:   google.com
  Address: 72.14.207.99
  Name:   google.com
  Address: 64.233.187.99
  Name:   google.com
  Address: 64.233.167.99

Steve
--
#  Kink-Friendly Dating
http://ctrl-alt-date.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



DDNS service for domain name

2007-09-03 Thread KS
Hi,

I have been using a free DDNS service with a sub-domain for my machine
running over a DSL line. It has been good enough for a few web pages.

But I was wondering if there is free DDNS service which supports
personal registered domain names. I have a domain name that will be used
with a hosting when we buy one. But is it possible to test run it with a
free DDNS service for the time being?

Thanks,
KS.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread michael
On Mon, 2007-09-03 at 10:20 -0400, Douglas A. Tutty wrote:
> On Mon, Sep 03, 2007 at 02:49:56PM +0100, michael wrote:
> > On Mon, 2007-09-03 at 09:27 -0400, Douglas A. Tutty wrote:
> > > On Mon, Sep 03, 2007 at 02:12:42PM +0100, michael wrote:
> > > > I'm feeling a bit dense today so any help welcome!
> > > > 
> > > > Essentially, I've just noticed that local mail hasn't been delivered for
> > > > a couple of weeks. I can email off my box but not to my username on the
> > > > box. I can't see what the problem is. They are probably both a red
> > > > herring [1] but (a) I did have some DNS problems just prior to the last
> > > > received email and (b) switched off the box and physically moved it to a
> > > > new location (and the new IP number) just after the last received email.
> > > > 
> > > > I'm unsure how to go about debugging this so all pointers welcome!
> > > 
> > > Assuming that you're using exim4, check you
> > > /etc/exim4/update-exim4.conf.conf file for the wrong IP addresses.  If
> > > you find any, follow the instructions at the top of the file.
> > 
> > >From what I can tell it seems fine:
> agreed
> 
>  > 
> > > Assuming that you have written yourself an email on the same box, what
> > > error messages do you get?  What does mailq say?  Are you having exim do
> > > a reverse DNS lookup for every mail?
> > 
> > Yes, the box is ratty.phy.umist.ac.uk and if I email myself (mail
> > localusername) I get no error msgs. 
> > 
> > mailq gives me a permission error unless I use 'sudo mailq
> > localusername' which then gives me 
> >   michael-H
> > *** spool read error: No such file or directory ***
> > 
> > 
> > (not sure what that means...)
> 
> What it means is that you used mailq wrong.  You don't need any
> parameters but if you provide any, they are a list of message IDs.
> Since no message ID will be your localusername it will fail.  Try mailq
> all by itself.

I see. I get no output doing that:

[EMAIL PROTECTED]:~$ sudo mailq
Password:

[EMAIL PROTECTED]:~$ 

> > 
> > I said 'no' to keeping num of DNS lookups minimal. 
> > 
> > NB: nslookup on the machine gives multiple entries:
> > $ nslookup ratty.phy.umist.ac.uk
> > Server: 130.88.13.7
> > Address:130.88.13.7#53
> > 
> > Name:   ratty.phy.umist.ac.uk
> > Address: 130.88.15.179
> > Name:   ratty.phy.umist.ac.uk
> > Address: 130.88.128.163
> 
> I don't have nslookup installed but it seems wierd to me that one
> hostname would have more than one IP address.

As Steve said it's not unusual but in this case the 130.88.128.163 is a
'dead' IP (the 'old' IP for the same box)

> See what mailq say and see what are in exim's logs.

I don't have a /var/log/exim.log (or sim) and the /var/log/mail* files
don't have any recent info in them, and syslog has nothing that seems
relevant...

is there a command for showing all output as it happens of 'mail
michael'?

thanks, M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: a LaTeX question

2007-09-03 Thread Hugo Vanwoerkom

Douglas A. Tutty wrote:

On Sun, Sep 02, 2007 at 01:10:15PM +0100, Ari Constancio wrote:

On 9/2/07, Ari Constancio <[EMAIL PROTECTED]> wrote:

I suppose I'll have to get a copy.  This is not the first time I have
seen that recommendation.  It is just that I prefer to use online
resources.  TeX/LaTeX seems unique in lacking a good online manual.

Probably because there *is* a good online manual, called  "The not so
Short Introduction to LaTeX2e" (http://tobi.oetiker.ch/lshort/).

The link is http://tobi.oetiker.ch/lshort/lshort.pdf


Funny, I have that doc on my Etch system as part of one of the Texlive
doc packages.  Try running texdoctk.  You'll get a selection of online
manuals.  Click on one and the correct viewer will pop up.



Good clue. Interesting package

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim4/fetchmail/mutt problem

2007-09-03 Thread Thomas H. George

Kumar Appaiah wrote:

On Mon, Sep 03, 2007 at 08:26:19AM -0400, Thomas H. George wrote:
  
In ./usr/sbin exim is a symlink to exim4.  exim is owned by root:root with 
777 permissions.  exim4 was owned by root:tom with 731 permissions.  I 
changed the permissions to 777 but this did not correct the problem.  I 
still got exim: permission denied when I executed mailq as user tom.  mailq 
works for root.



OK, I meant su;mailq or sudo mailq.

You should be able to run mailq as root. Otherwise, you have a
problem. For me, it's just a symbolic link to /usr/sbin/exim4.

Kumar
  

strace -e trace=open,write mailq run from user tom exits after

   open ("/etc/passwd
   write(2, "exim: permission denied

If I run /etc/init.d/exim4 restart I get a warning that the exim4 
paniclog is not empty.  tail/var/exim4/paniclog ends with "failed to 
read delivery status for [EMAIL PROTECTED] from the delivery subprocess.


I have tried editing exim4.conf.template and uncommenting the Login 
lines in the Authentication section and entering my user name and 
password after the colons in the server_promts line.  This does not 
solve the problem.


Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




nvidia-glx redux...

2007-09-03 Thread ZephyrQ
I am also still having problems getting nvidia-glx to work under Etch 
with latest updates.  nv works fine (but no glx...).  I've checked my 
apt-sources list and made sure that the appropriate drivers are pointing 
to the appropriate version.


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.)


Unfortunately, none of it helped.  I'm running a GeoForce FX 5500 on an 
AMD Duron (1.3G) but using the i386 stock kernel.  Does this have 
anything to do with my problem (i.e. do I need to upgrade the kernel to 
i686 or k7?).  Note that glx worked fine before last xorg up-dates.


Or do I need to downgrade xorg to its previous version?

Thank you for the help.  I was using Ubuntu the past couple of years and 
 I think it made me lazy  (I went back to straight Debian this summer).



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




How to pipe from python script to system process that script starts

2007-09-03 Thread Freddy Freeloader

Hi all,

This will be sort of involved

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.


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.


And, yes, I know, I could have done this very simply with a bash script, 
but that is not the point.  I'm doing this as much to learn python as I 
am to accomplish the task.  So, please, no tips on how to do this in a 
bash script.  I already know how to do that.  I'm just very much a 
Python noob at the moment



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mail (un)delivery

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 03:47:31PM +0100, michael wrote:
 
> I see. I get no output doing that:
> 
> [EMAIL PROTECTED]:~$ sudo mailq
> Password:
> 

All right.  Exim4 doesn't have anything in its queues.  Either it
delivered the mail or it didn't accept it for delivery in the first
place.
> > See what mailq say and see what are in exim's logs.
> 
> I don't have a /var/log/exim.log (or sim) and the /var/log/mail* files
> don't have any recent info in them, and syslog has nothing that seems
> relevant...
> 

Look in /var/log/exim4/mainlog

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: nvidia-glx redux...

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 09:56:36AM -0500, ZephyrQ wrote:
> I am also still having problems getting nvidia-glx to work under Etch 
> with latest updates.  nv works fine (but no glx...).  I've checked my 
> apt-sources list and made sure that the appropriate drivers are pointing 
> to the appropriate version.
> 
> 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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Radius using passwd file

2007-09-03 Thread Sergio Belkin
Hi,
I am trying to run radius in order to authenticate against
passwd/shadow files (unix users), but I can't do that.
In radiusd.conf I have:

unix {

cache = no
cache_reload = 600
passwd = /etc/passwd
shadow = /etc/shadow
group = /etc/group
radwtmp = ${logdir}/radwtmp
}

And users file contains:
DEFAULT  Auth-Type = System
   Fall-Through = 1

When I issue :
radtest test test  localhost 0 testing123

It outputs:

Sending Access-Request of id 11 to 127.0.0.1:1812
User-Name = "test"
User-Password = "test"
NAS-IP-Address = spike.myhost.com
NAS-Port = 0
Re-sending Access-Request of id 11 to 127.0.0.1:1812
User-Name = "test"
User-Password = "\223O%\23105\016T\244\227\035\201\255a%{"
NAS-IP-Address = spike.myshost.com
NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=11, length=2

Why??
Thanks in advance!
-- 
--
Sergio Belkin -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exim4/fetchmail/mutt problem

2007-09-03 Thread Benjamin A'Lee
On Mon, Sep 03, 2007 at 10:52:12AM -0400, Thomas H. George wrote:
> Kumar Appaiah wrote:
>> On Mon, Sep 03, 2007 at 08:26:19AM -0400, Thomas H. George wrote:
>>   
>>> In ./usr/sbin exim is a symlink to exim4.  exim is owned by root:root 
>>> with 777 permissions.  exim4 was owned by root:tom with 731 permissions.  
>>> I changed the permissions to 777 but this did not correct the problem.  I 
>>> still got exim: permission denied when I executed mailq as user tom.  
>>> mailq works for root.
>>> 
>>
>> OK, I meant su;mailq or sudo mailq.
>>
>> You should be able to run mailq as root. Otherwise, you have a
>> problem. For me, it's just a symbolic link to /usr/sbin/exim4.
>>
>> Kumar
>>   
> strace -e trace=open,write mailq run from user tom exits after
>
>open ("/etc/passwd
>write(2, "exim: permission denied
>
> If I run /etc/init.d/exim4 restart I get a warning that the exim4 paniclog 
> is not empty.  tail/var/exim4/paniclog ends with "failed to read delivery 
> status for [EMAIL PROTECTED] from the delivery subprocess.
>
> I have tried editing exim4.conf.template and uncommenting the Login lines 
> in the Authentication section and entering my user name and password after 
> the colons in the server_promts line.  This does not solve the problem.

Firstly, IIRC, Exim4 has its own ideas about who can run it as
/usr/sbin/sendmail or /usr/sbin/exim; you'd need to run it as root or
find the setting to permit other users to run the commands. This isn't a
problem for Fetchmail, though, as Fetchmail is trying to connect to a
mailserver running on the local machine, port 25. Fetchmail's problem is
that Exim isn't configured to run as a server, so it has no idea what to
do with the mail it's fetching. You need to either configure Exim to
listen on port 25, or configure Fetchmail to deliver to a program such
as procmail; the second option is probably better all round, unless
fetchmail is downloading mail for more than one local user.

Ben


signature.asc
Description: Digital signature


Re: mail (un)delivery

2007-09-03 Thread Freddy Freeloader

Douglas A. Tutty wrote:

On Mon, Sep 03, 2007 at 02:49:56PM +0100, michael wrote:
  

On Mon, 2007-09-03 at 09:27 -0400, Douglas A. Tutty wrote:


On Mon, Sep 03, 2007 at 02:12:42PM +0100, michael wrote:
  

I'm feeling a bit dense today so any help welcome!

Essentially, I've just noticed that local mail hasn't been delivered for
a couple of weeks. I can email off my box but not to my username on the
box. I can't see what the problem is. They are probably both a red
herring [1] but (a) I did have some DNS problems just prior to the last
received email and (b) switched off the box and physically moved it to a
new location (and the new IP number) just after the last received email.

I'm unsure how to go about debugging this so all pointers welcome!


Assuming that you're using exim4, check you
/etc/exim4/update-exim4.conf.conf file for the wrong IP addresses.  If
you find any, follow the instructions at the top of the file.
  

>From what I can tell it seems fine:


agreed

 > 
  

Assuming that you have written yourself an email on the same box, what
error messages do you get?  What does mailq say?  Are you having exim do
a reverse DNS lookup for every mail?
  

Yes, the box is ratty.phy.umist.ac.uk and if I email myself (mail
localusername) I get no error msgs. 


mailq gives me a permission error unless I use 'sudo mailq
localusername' which then gives me 
  michael-H

*** spool read error: No such file or directory ***


(not sure what that means...)



What it means is that you used mailq wrong.  You don't need any
parameters but if you provide any, they are a list of message IDs.
Since no message ID will be your localusername it will fail.  Try mailq
all by itself.
  
I said 'no' to keeping num of DNS lookups minimal. 


NB: nslookup on the machine gives multiple entries:
$ nslookup ratty.phy.umist.ac.uk
Server: 130.88.13.7
Address:130.88.13.7#53

Name:   ratty.phy.umist.ac.uk
Address: 130.88.15.179
Name:   ratty.phy.umist.ac.uk
Address: 130.88.128.163



I don't have nslookup installed but it seems wierd to me that one
hostname would have more than one IP address.

See what mailq say and see what are in exim's logs.

Doug.


  
If you traceroute ratty.ph.umist.ac.uk it will go to one ip address and 
then the other the next time you traceroute the url, so I'm assuming 
this is some form of load balancing using dns.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mail (un)delivery

2007-09-03 Thread michael
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:
>  
> > I see. I get no output doing that:
> > 
> > [EMAIL PROTECTED]:~$ sudo mailq
> > Password:
> > 
> 
> All right.  Exim4 doesn't have anything in its queues.  Either it
> delivered the mail or it didn't accept it for delivery in the first
> place.
> > > See what mailq say and see what are in exim's logs.
> > 
> > I don't have a /var/log/exim.log (or sim) and the /var/log/mail* files
> > don't have any recent info in them, and syslog has nothing that seems
> > relevant...
> > 
> 
> Look in /var/log/exim4/mainlog
> 

aha, thanks for that!

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 <= [EMAIL PROTECTED]
U=michael 
P=local S=409
2007-09-03 16:23:55 1ISDm0-00010w-6z => [EMAIL PROTECTED]
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


> Doug.
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Welcome to SI Network - Your Career, Your Country.

2007-09-03 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas A. Tutty wrote:
> On Sun, Sep 02, 2007 at 01:54:52PM -0500, ArcticFox wrote:
>> Uh, what the heck is this crap? I hope I'm not going to start getting 
>> spam through this list now
>  >
>> Yup, it's spam. Someone needs to get the list off this
> 
> Yup, and by quoting spam and putting it back on the list, you teach
> Debian's spam filter that this wasn't spam after all.  Thanks.
> 
> The list maintainers are in a constant battle.  If you must respond to
> spam on it, the best way is to locate the post in the archives on the
> web at http://lists.debian.org/debian-user then click on the 'report
> this as spam' link.  That teaches the filter what you want.

If you happen to live in the country where the spam originates and if
that country happens to have decent anti-spam laws, you might help to
fight spam at its roots by reporting it to the network owner and/or take
legal action.

[The trace of the mail can be seen in the full header. 'whois' and a bit
of general knowledge will tell you the owner (usually also the abuse
e-mail) of the IP, that sent the spam out. In this particular case, the
IP is 72.52.77.20 and it appears to come from Bangalore, India.]

Johannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG3CvbC1NzPRl9qEURAjvRAJ0Uz6aq5fpBXmlkVkJNRoqbvkp0iwCfapem
p+kiXrbRhhdR3tjTgQCHXOU=
=asWC
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread Douglas A. Tutty
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 <= [EMAIL PROTECTED]
> U=michael 
> P=local S=409
> 2007-09-03 16:23:55 1ISDm0-00010w-6z => [EMAIL PROTECTED]
> 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?  If its by fetchmail, it will pull it
from the smarthost and give it to exim to deliver which will send it
back to the smarthost.  The smarthost is probably recognizing a mail
loop and dropping the message.

At least we know that exim4 itself is working OK.

I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
local name and the name of the smarthost?  I'm missing something (I
haven't had enough sleep).

Try filling in the blanks for me:

Name of the box on which you send mail to yourself:

Name of the smarthost that you told exim to use:

Names of hosts/domains that you told exim to treat as local; that it is
the final destination:

I think we're getting close to figuring out what is going on.

Doug.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Douglas A. Tutty
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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Kumar Appaiah
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

-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Welcome to SI Network - Your Career, Your Country.

2007-09-03 Thread Kumar Appaiah
On Mon, Sep 03, 2007 at 05:44:27PM +0200, Johannes Wiedersich wrote:
> If you happen to live in the country where the spam originates and if
> that country happens to have decent anti-spam laws, you might help to
> fight spam at its roots by reporting it to the network owner and/or take
> legal action.
>
> [The trace of the mail can be seen in the full header. 'whois' and a bit
> of general knowledge will tell you the owner (usually also the abuse
> e-mail) of the IP, that sent the spam out. In this particular case, the
> IP is 72.52.77.20 and it appears to come from Bangalore, India.]

Though we have laws for unsolicited SMS on mobiles, I don't think we
have any anti-spam laws. Tough luck on that front! :-(

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



pkg download using apt-get - but the gcc didn't bring crt1.o

2007-09-03 Thread Chan Lee
Hi,
  
  After I did install Debian using DVD set from CheapBytes,
  I found that the gcc is not installed. Looking around what's
  the best way to install gcc, I found the 'apt' and did install
  the gcc using 'apt-get install gcc', which asked to mount the
  DVD1 and then the gcc installation was completed.
  
  But then using the gcc complains that the loader cannot
  find the crt stuffs - particular, the crt1.o & crti.o in the gcc
  library. This is strange as the library contains crtStart.o &
  crtEnd.o, but no crt1.o (nor crt0.o either). The host/target
  is AMD64 and I wonder if the loader/gcc are not in sync
  or if the gcc installation was not done properly (somehow
  the required crt lib module were not installed).
 
 The other question is whether this binary install for the latest
 Debian is ever possible and supported - or do I need a GNU
 gcc-src download to build my own ?
  
  Debian is the latest version built on July and the gcc is 4.2.1
  
  Any help will greatly be appreciated,
  
  Chan

Re: How to pipe from python script to system process that script starts

2007-09-03 Thread G.W. Haywood
Hi there,

> This will be sort of involved

Why make it involved? :)

> I'm wanting to learn python so ... use a python script to call
> exipick to find all frozen messages in the Exim queue, then feed the
> message id's to something ... so I can look at the message headers.
> ...
> I'm assuming that a pipe is the logical way to do this

As a general point I don't think you should assume the solution,
especially not in the subject line of a mailing list.  Instead, I
think you should explain the issues - I think you might have done
although I'm still a bit unclear about it - and ask for suggestions.
That way you might find that you get more and more useful responses,
and people searching the archives later will have more chance to
profit from the correspondence.

> 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

I'm not sure that I understand any of that.  Maybe what you really
want is "Inter-Process Communication" or IPC for short.  A bit of
Googling should get you going in short order but you might find these
links useful:

http://www.amk.ca/python/howto/sockets/
http://www.faqts.com/knowledge_base/view.phtml/aid/4965/fid/235

--

73,
Ged.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problems with text file going from Linux to MS Windows

2007-09-03 Thread Richard Rudnick

On Mon, 2007-09-03 at 21:26 +0800, 应富鸣 wrote:
> On 9/3/07, G.W. Haywood <[EMAIL PROTECTED]> wrote:

> >
> H, when you install the package tofrodos, the command(s) wil not
> be tofrodos or the similar ones, but these two: dos2unix and unix2dos.
> dos2unix transfers the file format from MS Windows (DOS) to Unix
> (Linux), and unix 2dos do the reverse.
> 
> 

a useful tool when you can't seem to find the executables in a package
is   dpkg -L  | grep bin

-- 
It is always easier to fight for one's principles than live up to them.
- Alfred Adler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread Wayne Topa
Douglas A. Tutty([EMAIL PROTECTED]) is reported to have said:
> 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 <= [EMAIL PROTECTED]
> > U=michael 
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => [EMAIL PROTECTED]
> > 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?  If its by fetchmail, it will pull it
> from the smarthost and give it to exim to deliver which will send it
> back to the smarthost.  The smarthost is probably recognizing a mail
> loop and dropping the message.
> 
> At least we know that exim4 itself is working OK.
> 
> I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
> local name and the name of the smarthost?  I'm missing something (I
> haven't had enough sleep).
> 
> Try filling in the blanks for me:
> 
> Name of the box on which you send mail to yourself:
> 
> Name of the smarthost that you told exim to use:
> 
> Names of hosts/domains that you told exim to treat as local; that it is
> the final destination:

And the contents of the /etc/email-addresses file.
> 
> I think we're getting close to figuring out what is going on.
> 
> Doug.

Wayne

-- 
All wiyht. Rho sritched mg kegtops awound?
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mail (un)delivery

2007-09-03 Thread G.W. Haywood
Hi there,

On Mon, 3 Sep 2007 Doug wrote:

> I don't have nslookup installed but it seems wierd to me that one
> hostname would have more than one IP address.

Any host which is on more than one network interface (for example a
firewall or a router) will have more than one IP address.  It may also
have more than one hostname.  Routing determines which interface is
used for any given packet.  If you have a Virtual Private Network your
virtual IPs will be different from your physical IPs, and routing may
still be needed, but there may only be a single physical interface.

There are many other reasons why multiple IPs might exist for a single
host, and a few reasons why a single IP might be used by several hosts. :)

--

73,
Ged.




  [NON-Text Body part not included]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



invisibility of Ensoniq audio to users

2007-09-03 Thread Peter Easthope

Folk,

Lenny works fairly well here with several useful
applications.  This problem is reminiscent of another
a few months back.  This time there is more to it than
an entry in /etc/group.

alsaconf has no trouble configuring both the USB audio
and the Ensoniq.  In any application using sound, the USB
works but the Ensoniq is invisible to users.  Users are
present in /etc/group > audio; that seems OK.  Also,
both sound devices work in etch; the problem is only in
Lenny.

Any suggestions.  If nothing else, perhaps someone can
tell me which log file might report an error when Skype
or vlc looks for audio devices.

Thanks,  ... Peter E.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mail (un)delivery

2007-09-03 Thread michael
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 <= [EMAIL PROTECTED]
> > U=michael 
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => [EMAIL PROTECTED]
> > 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?  

Yes. If I 'mail [EMAIL PROTECTED]' it gets delivered there, but 'mail me'
doesn't get delivered to 'me' on my machine (ratty)


> But its sending your mail to the smarthost.  How do
> you get mail from the smarthost?  If its by fetchmail, it will pull it
> from the smarthost and give it to exim to deliver which will send it
> back to the smarthost.  The smarthost is probably recognizing a mail
> loop and dropping the message.

It's poss I've forgotten something but it all worked once (famous last
words?)

> At least we know that exim4 itself is working OK.
> 
> I've forgotton the details, but isnt' ratty.phy.umist.ac.uk both your
> local name and the name of the smarthost?  I'm missing something (I
> haven't had enough sleep).

ratty.phy.umist.ac.uk is the local machine name:

[EMAIL PROTECTED]:~$ hostname
ratty


(outgoing) smarthost is mailrouter.mcc.ac.uk



> Try filling in the blanks for me:
> 
> Name of the box on which you send mail to yourself:

ratty.phy.umist.ac.uk

> 
> Name of the smarthost that you told exim to use:

mailrouter.mcc.ac.uk

> Names of hosts/domains that you told exim to treat as local; that it is
> the final destination:

err... not sure what you mean. Do you mean (from `sudo dpkg-reconfigure
exim4-config`) ''other dest for which mail is accepted'' for which I
have
 ratty
and nothing for machines to relay


> contents of the /etc/email-addresses file.

[EMAIL PROTECTED]:~$ cat /etc/email-addresses  
# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: [EMAIL PROTECTED]
#otheruser: [EMAIL PROTECTED]



> I think we're getting close to figuring out what is going on.

thanks!!! 
M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cups printing problem

2007-09-03 Thread Florian Kulzer
On Sun, Sep 02, 2007 at 14:47:52 -0600, Robert Jerrard wrote:
> On Sun, 2007-09-02 at 22:03 +0200, Florian Kulzer wrote:
> > On Sat, Sep 01, 2007 at 11:43:18 -0600, Robert Jerrard wrote:
> > > I have just installed Debian etch from scratch. In attempting to set up
> > > the printing the cups printer section tells me:
> > > 
> > > "/usr/lib/cups/backend/http failed"
> > > 
> > > and /var/log/cups/error_log gives:
> > > 
> > > E [01/Sep/2007:10:22:33 -0600] [Job 1] Destination printer does not exist!
> > > E [01/Sep/2007:10:22:33 -0600] PID 27798 (/usr/lib/cups/backend/http) 
> > > stopped with status 4!
> > > 
> > > when using http://localhost:631/ipp/9100
> > > 
> > > If I try socket://localhost:9100 cups tells me:
> > > 
> > > "Network host 'localhost' is busy; will retry in 5 seconds..."
> > > 
> > > and /var/log/cups/error_log gives:
> > > 
> > > E [01/Sep/2007:11:40:59 -0600] CUPS-Add-Modify-Printer: Unauthorized
> > > 
> > > Any ideas what to try next to get printing to work?
> > 
> > Tell us what printer this is (maker/model) and how it is connected to
> > your computer (parallel port, USB, network).
> 
> I have a Xerox Phaser 8500 for which I had a ppd file from Xerox
> originally but did not think to save it for the install. Now Xerox no
> longer makes it available so I have been trying with a UNIX ppd file and
> just a generic postscript printer ppd.

I think the correct ppd file is available here:

http://www.support.xerox.com/go/getfile.asp?objid=61334

You need to download CupsPrinterPkg2007_May_10.tar and extract
XRX_Phaser_8500n.ppd from this archive. This file should replace
/etc/cups/ppd/Xerox.ppd.

> The printer is connected with an
> ethernet connection to a small hub which is connected to my computer
> with a network card with address 10.10.11.3, the printer has address
> 10.10.11.10. I have another network card connecting my computer to the
> internet using dhcp.

Can you ping the printer at this address? (10.10.11.10)

> > Also, post your /etc/cups/printers.conf.
> 
> # Printer configuration file for CUPS v1.3.0
> # Written by cupsd on 2007-09-02 14:34
> 
> Info Xerox 8500
> Location home
> DeviceURI socket://localhost:9100
> State Idle
> StateTime 1188765273
> Accepting Yes
> Shared Yes
> JobSheets none none
> QuotaPeriod 0
> PageLimit 0
> KLimit 0
> OpPolicy default
> ErrorPolicy stop-printer
> 

I would expect that one of these DeviceURIs should work:

DeviceURI ipp://10.10.11.10
DeviceURI ipp://10.10.11.10/ipp/
DeviceURI socket://10.10.11.10
DeviceURI socket://10.10.11.10:9100
DeviceURI http://10.10.11.10:631
DeviceURI http://10.10.11.10:631/ipp/

Your CUPS server runs on "localhost", but the DeviceURI should point to
the network address of the printer. You have to restart cupsys if you
change the configuration file. You can also use the "add printer"
function of the CUPS frontend (http://localhost:631) to add a new
printer with the correct DeviceURI and to select the ppd file from
Xerox.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Where and how do I install a TTF font?

2007-09-03 Thread Sjoerd Hiemstra
Nelson A. de Oliveira:
> Mumia W..:
> > See if you can get the barcode font embedded in the PDF file.
> 
> The PDF is generated by a third part online system that we use here.
> We don't have control over the PDF.
> We want to change all machines running Windows to Linux, but the only
> missing thing is this barcode font on the PDFs. Windows displays them
> correctly while we couldn't make it works on Linux :-/

I work at a printshop where I have tools to take a closer look at the
pdf. It appears that *none* of the fonts are included or embedded.
These are: Times New Roman, Times New Roman Bold, Arial, Arial Bold,
Arial Bold Italic, Bar25if.  So none of these fonts are guaranteed to
look like the original on your screen.
Moreover, Bar25if could not be embedded due to "licensing limitations".

This means that the pdf is simply a bad one, and not acceptable!  All
fonts should be included, so the pdf will display well on a system where
these fonts are not installed.  That is precisely the purpose of a pdf.

What I could do is to turn all characters into outlines ('vectorize'
the characters) so no fonts are needed, and make a new pdf out of this.
It's a big one: 4.3 MB, but if you can use it, get it with this command:

wget http://home.kpnplanet.nl/[EMAIL PROTECTED]/giap.pdf

I suppose you could also do this with programs like pdfedit and
inkscape.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Disk usage

2007-09-03 Thread Daniel D Jones
[EMAIL PROTECTED]:/# 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.


[EMAIL PROTECTED]:/# df -H
Filesystem Size   Used  Avail Use% Mounted on
/dev/hda3   18G17G68M 100% /
tmpfs  265M  0   265M   0% /lib/init/rw
udev11M54k11M   1% /dev
tmpfs  265M  0   265M   0% /dev/shm
/dev/hda2  192M22M   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?  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: nvidia-glx redux...

2007-09-03 Thread ZephyrQ

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...



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to make deb packages when compiling from source?

2007-09-03 Thread Amit Uttamchandani
That's exactly what I was looking for! Thank you so much.


Amit


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Disk usage

2007-09-03 Thread tabris
Daniel D Jones wrote:
> [EMAIL PROTECTED]:/# 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.
>
>
> [EMAIL PROTECTED]:/# df -H
> Filesystem Size   Used  Avail Use% Mounted on
> /dev/hda3   18G17G68M 100% /
> tmpfs  265M  0   265M   0% /lib/init/rw
> udev11M54k11M   1% /dev
> tmpfs  265M  0   265M   0% /dev/shm
> /dev/hda2  192M22M   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?  
>
>
>   
_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.



signature.asc
Description: OpenPGP digital signature


Re: Disk usage

2007-09-03 Thread Jeff D

On Mon, 3 Sep 2007, Daniel D Jones wrote:


[EMAIL PROTECTED]:/# 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.


[EMAIL PROTECTED]:/# df -H
Filesystem Size   Used  Avail Use% Mounted on
/dev/hda3   18G17G68M 100% /
tmpfs  265M  0   265M   0% /lib/init/rw
udev11M54k11M   1% /dev
tmpfs  265M  0   265M   0% /dev/shm
/dev/hda2  192M22M   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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: workaround for: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-09-03 Thread Vincent Lefevre
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.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Grub boot of new install.

2007-09-03 Thread [EMAIL PROTECTED]
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Freddy Freeloader

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.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: nvidia-glx redux...

2007-09-03 Thread ZephyrQ



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.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Freddy Freeloader

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. 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mail (un)delivery

2007-09-03 Thread michael
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 <= [EMAIL PROTECTED]
> > U=michael 
> > P=local S=409
> > 2007-09-03 16:23:55 1ISDm0-00010w-6z => [EMAIL PROTECTED]
> > 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



etch : system hangs

2007-09-03 Thread Mridul Manohar Mishra
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


Re: Disk usage

2007-09-03 Thread Justin Piszcz



On Mon, 3 Sep 2007, Jeff D wrote:


On Mon, 3 Sep 2007, Daniel D Jones wrote:


[EMAIL PROTECTED]:/# 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.


[EMAIL PROTECTED]:/# df -H
Filesystem Size   Used  Avail Use% Mounted on
/dev/hda3   18G17G68M 100% /
tmpfs  265M  0   265M   0% /lib/init/rw
udev11M54k11M   1% /dev
tmpfs  265M  0   265M   0% /dev/shm
/dev/hda2  192M22M   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 [EMAIL PROTECTED] with a subject 
of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




What does df -i show?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: etch : system hangs

2007-09-03 Thread Justin Piszcz



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?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




etch : system hangs

2007-09-03 Thread Mridul Manohar Mishra
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


[SOLVED] mail (un)delivery

2007-09-03 Thread michael
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 <= [EMAIL PROTECTED]
> > > U=michael 
> > > P=local S=409
> > > 2007-09-03 16:23:55 1ISDm0-00010w-6z => [EMAIL PROTECTED]
> > > 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: etch : system hangs

2007-09-03 Thread Giorgos Pallas
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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Douglas A. Tutty
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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [SOLVED] mail (un)delivery

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 08:25:39PM +0100, michael wrote:
 
> 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!

YaHOOO! (so to speak)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: nvidia-glx redux...

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 01:54:02PM -0500, ZephyrQ wrote:
 >
> >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)?
> 

The more specific the better.  I don't know the Duron.  I'm assuming
that its not amd64.  Will it run k7?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Disk usage

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 02:07:01PM -0400, Daniel D Jones wrote:
> [EMAIL PROTECTED]:/# 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.
> 
> 
> [EMAIL PROTECTED]:/# df -H
> Filesystem Size   Used  Avail Use% Mounted on
> /dev/hda3   18G17G68M 100% /
> tmpfs  265M  0   265M   0% /lib/init/rw
> udev11M54k11M   1% /dev
> tmpfs  265M  0   265M   0% /dev/shm
> /dev/hda2  192M22M   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?  
> 
 
Try running 
/# du -c -h --max-depth=1 /*

The -c will give a grand total.  Without it, its telling you that you
have 9.7G in the root directory itself.  Also, use df -h.  -H is --si.
With one, multiples of a thousand are 1000, with the other they are
1024.  You may as well compare apples XOR oranges.

Doug.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Grub boot of new install.

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 11:29:08AM -0700, [EMAIL PROTECTED] wrote:
 
> 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.

There will be somthing starting up in /etc/rc2.d that causes the reboot.
Shouldn't happen.

I'm assuming that before it reboots you see something like "entering
run level 2"?  If not, I suppose it could be something as simple as
/etc/inittab having an initdefault of 0 or 6.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: nvidia-glx redux...

2007-09-03 Thread ZephyrQ

Douglas A. Tutty wrote:

On Mon, Sep 03, 2007 at 01:54:02PM -0500, ZephyrQ wrote:
 >

   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)?




The more specific the better.  I don't know the Duron.  I'm assuming
that its not amd64.  Will it run k7?


	Again, did some research.  The Duron is an Athlon fork (?).  So it 
should run k7.  But other than installing the nvidia kernel specific to 
what I am running now, I'll save the kernel tweaking for another 
extended weekend ;->


Thanx again.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: flac and wav

2007-09-03 Thread H.S.
Adam Hardy wrote:
> Marko Randjelovic on 12/08/07 16:52, wrote:
>> Ron Johnson wrote:
>>> Hmmm.  I don't know why I automatically assumed (yeah, yeah, I know)
>>> was a Windows app.  :(
>>>
>>> Anyway, rezound in Unstable is a beta version (0.12.2beta-10), and
>>> quite an early version.  Maybe that's why there are bugs.  Also, it
>>> seems to use OSS instead of ALSA.  Not encouraging.
>>>
>>> I'd look for it's home page on the internet and see how actively
>>> it's developed and what it's future plans are.
>>>
>>
>> Rezound is also in Etch, version 0.12.2beta-8 (earlier). Anyway,
>> Audacity should be fine for the purpose.
> 
> Audacity is v1.2.4b-2.1
> 
> Is that not also beta?
> 
> 

It is. I have experienced crashes when I was trying to "repair" some
saturated samples. A series of do's and undo's caused it to crash. Other
than that, it has never crashed.

I frequently use it to process live recordings (label each track, export
each track to flac and to ogg, make CD's from flac (k3b) and put ogg's
on a website). Never crashed during these normal operations. Oh, another
thing. If you choose to "export multiple ..." the various labels, the
resulting windows says "exporting the whole project", which is wrong.
But the exports are correct though.

->HS



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



hard disk crash revisiited

2007-09-03 Thread steef

dear florian, pinneped and others,

thanks to your help (and some further study of myself) did I  succeed 
this afternoon in recovering 50GB of data from a completely crashed hd 
(see a former thread).

dd_rescue and fsck did the job in this case.

thanks again for all your help for which i am deeply grateful

steef


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: nvidia-glx redux...

2007-09-03 Thread David Baron
Using nvidia's own installer will likely work first time every time. (You will 
have to restore the symlink on xorg updates if you do not change the 
directories).

The first time I tried Debian's modules, it did not work. Later on, they did 
but with a lower frame rate. In any event, use m-a (module assistant) and 
compile against your kernel sources (or headers which need be installed) 
rather than look for any precompiled modules. This should work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Freddy Freeloader

Douglas A. Tutty wrote:

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.


  


Mainly the issue is learning to use python. 

What I want the script to read from stdin in will be my choice to either 
thaw the message or remove it from the queue.  And, yes, I know Exim 
will delete anything in the queue after so many tries to deliver it.   
This is more a learning project than anything else at this point.  I'm a 
newbie exim admin and a newbie to python, and I'm just wanting to make 
sure all frozen messages have nothing to do my acl's, and learn 
something about python at the same time. 

So, if you don't like my dinky little Python project all I can say is, 
stop replying.  It's my time, and my energy being put into it.  If you 
don't want to help any further, don't.  I'll get my answers elsewhere, 
and there will be no hard feelings on my part



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




can't play Flash anymore

2007-09-03 Thread Steve Kleene
I'm quite perplexed.  I have two Etch machines, and on each of them, Flash
recently stopped working.  It worked on both within the past month.

I have these packages installed:
  flashplayer-mozilla   9.0.48.0-0.2   Macromedia Flash Player
  libflash-mozplugin0.4.13-8   GPL Flash (SWF) Library - 
Mozilla-compatible plugin
  libflash0c2   0.4.13-8   GPL Flash (SWF) Library - shared library

and these files:
  -rw-r--r-- 1 root root 856 2007-06-19 20:31 
/usr/lib/mozilla/plugins/flashplayer.xpt
  -rw-r--r-- 1 root root   15348 2006-07-25 10:22 
/usr/lib/mozilla/plugins/libflash-mozplugin.so
  -rw-r--r-- 1 root root 7029820 2007-08-31 07:10 
/usr/lib/mozilla/plugins/libflashplayer.so

  lrwxrwxrwx 1 root root  37 2007-09-01 09:55 
/usr/lib/iceweasel/plugins/flashplayer.xpt -> 
../../mozilla/plugins/flashplayer.xpt
  lrwxrwxrwx 1 root root  46 2007-03-16 17:04 
/usr/lib/iceweasel/plugins/libflash-mozplugin.so -> 
/usr/lib/mozilla/plugins/libflash-mozplugin.so
  lrwxrwxrwx 1 root root  39 2007-09-01 09:55 
/usr/lib/iceweasel/plugins/libflashplayer.so -> 
../../mozilla/plugins/libflashplayer.so

  lrwxrwxrwx 1 root root  18 2007-01-21 09:33 /usr/lib/libflash.so.0 -> 
libflash.so.0.13.0
  -rw-r--r-- 1 root root  16 2006-07-25 10:22 /usr/lib/libflash.so.0.13.0

If I do "about:plugins" from iceweasel, I see
File name: libflash-mozplugin.so
Flash Movie player Version 0.4.12 compatible with Shockwave Flash 4.0

File name: libflashplayer.so
Shockwave Flash 9.0 r48

But if I try to run any Flash movie, I get sent to Adobe to download the
"newest" Flash.  This turns out to be 9.0.48.0, which I already have.  For
the heck of it, I unpacked that anyway.  flashplayer.xpt was identical to
what I already have.  libflashplayer.so was not, but installing that didn't
help.

As tests, I've been trying anything at youtube or at the Flash showcase:

  http://www.adobe.com/cfusion/showcase/index.cfm

Youtube videos all seem to fail, and then iceweasel crashes too.  Any ideas
what's gone wrong?  Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Acceptable CPU temperature range of idle computer?

2007-09-03 Thread Felix Karpfen
On Sat, 01 Sep 2007 21:13:42 -0400, Douglas A. Tutty wrote:

On Sat, 01 Sep 2007 21:13:42 -0400, Douglas A. Tutty wrote:

> On Sat, Sep 01, 2007 at 09:17:44PM +, Felix Karpfen wrote:

>> Since upgrading from Sarge to Etch, my CPU temperature appears to be
>> running 5-10 deg.C higher; 
>> 
SNIP

>> and I have failed to locate any reference to an acceptable temperature
>> range.
>> 
>> All advice will be gratefully received.
> 
> Run top.  Do you really have 120 processes actually running?  What are
> they if you consider the computer idle?
>
The info came from "KSysGuard" - which, I believe, analyses the "top"
data.
> 
> I can't even load up my P-II lower than about 60% idle momentarily or
> 80% consistantly.  Then again it only has 64 MB ram so to do anything
> big gets into swapping which gives the CPU pleanty of time to rest :)

Looks as though "bigger is not always better".  I have 512 MB RAM.  My
CPU works hard; the swap partition is just a decoration - it never gets
used.
> 
> My Athlon64 never gets above 35 C, my video card's GPU never above 40C.
> Then again, the internal case temp is ambient == 20 C.

There are some benefit to living in Canada!  Here (Australia) our
ambient temperatures (and the motherboard temperatures) creep up to the
high 30s in summer; now (our Spring) it is 24 deg C and the CPU
temperature is (currently) 44 deg C.  Yesterday, during a Systems
backup, the CPU temperature reached 62 deg C! And the computer still
works today!  But, one day my luck will run out.
> 
> What controlls your fans?
>
I do not think that the fan (I have only one) is the problem.
Otherwise the MB temperature would also be higher.

Thank you for sharing your experience,

Felix



-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to pipe from python script to system process that script starts

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 01:58:59PM -0700, Freddy Freeloader wrote:
> Douglas A. Tutty wrote:
> >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?
> 
> Mainly the issue is learning to use python. 
> 
> What I want the script to read from stdin in will be my choice to either 
> thaw the message or remove it from the queue.  And, yes, I know Exim 
> will delete anything in the queue after so many tries to deliver it.   
> This is more a learning project than anything else at this point.  I'm a 
> newbie exim admin and a newbie to python, and I'm just wanting to make 
> sure all frozen messages have nothing to do my acl's, and learn 
> something about python at the same time. 
> 
> So, if you don't like my dinky little Python project all I can say is, 
> stop replying.  It's my time, and my energy being put into it.  If you 
> don't want to help any further, don't.  I'll get my answers elsewhere, 
> and there will be no hard feelings on my part

I'll help this evening (then I'm away for a while).  I just wasn't sure
what you meant by polling stdin; I thought that perhaps some other
process was going to give you the message ID that the script was to
process.

OK.  So you run your script and it gets the list of frozen messages and
runs exim4 -Mvh [message-id] which prints out the headers to your
screen.  Now you just need python to ask what you want to do: [T]haw the
message, [R]emove the message, or [D]o nothing.  It is vastly easier to
get the input as a string where the user would type the choice letter
and hit enter than it is to capture the choice letter by itself.

Something like this:

raw_choice = raw_input('[T]thaw the message, [R]emove the message, or [D]o
nothing?  Enter choice: ')

Now you need to massage raw_choice:

remove whitespace (in case they hit space before a choice letter)

choice = raw_choice.strip()

test only the first char:

choice = raw_choice.strip()[0]

test only the first char as upper case:

choice = raw_choice.strip()[0].upper()

Of course, you could combine all this:

choice = raw_input('[T]haw the message, [R]emove the message, or [D]o
nothing? Enter choice: ').strip()[0].upper()

However, that can look a little daunting in the middle of the night.  I
tend to break it up into getting the user's input, cleaning it up,
testing it, then respond to it.

Define a list of valid choices.  Since strings are already sequence
types:

valid_choices = 'TRD'

Wrap it in a while (1) loop to test for a valid choice:

if choice in valid_choices:
break

Then decide if you want to trap exceptions such as Ctrl-C
(KeyboardInterrupt).  If so, wrap it in a try block and decide how to
handle it.

The joy of all this is, you can get the basics working, then add
refinements rather than doing it all at once then having a problem.

--

I have the Python 2.1 Bible.  Its great.  There may be other great
python books out since.  That plus the python docs package are all I've
ever needed.

When I have a programming problem, I tend to write it out in rough
python as a pseudocode.  However, unless you already know python or
another language, it may be easier to use a flow-chart.  This is one of
the few times that I still recommend flow charts.

Enjoy.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to bind keys to commands, without requiring login?

2007-09-03 Thread Celejar
On Sat, 1 Sep 2007 02:37:58 +0530
"Masatran, R. Deepak" <[EMAIL PROTECTED]> wrote:

> * Celejar <[EMAIL PROTECTED]> 2007-08-30
> > On Thu, 30 Aug 2007 22:27:56 +0530
> > "Masatran, R. Deepak" <[EMAIL PROTECTED]> wrote:
> > > I want to bind some keys to commands. I can do this using my window 
> > > manager,
> > > but I want it to work even if (1) Nobody is logged in OR if (2) the screen
> > > is locked with a screen-saver.
> > > 
> > > I am using Debian 4.0, with GDM, and Sawfish.
> > 
> > Have you tried the standard 'xbindkeys'?
> 
> I tried it, but how can I make it work in spite of the screen-saver?

Sorry, it was just a guess; I don't use a screensaver or DM.

> Masatran, R. Deepak 

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Two Xorg processes?

2007-09-03 Thread Davide Mancusi
I have noticed that I have two Xorg processes running, one of which is 
always stuck at CPU=0.0% but nevertheless shows the same memory usage as 
the other process.


From top:
 3062 root  15   0  132m  59m 7984 S  0.7  5.9  10:34.47 Xorg
 3140 root  20   0  132m  59m 7984 S  0.0  5.9   0:00.00 Xorg

Is this normal? I am running Sid on AMD64.

Snippet from the pstree output:
$ pstree root
init─┬─acpid
[snip]
 ├─kdm─┬─Xorg───Xorg
 │ └─kdm───startkde─┬─kwrapper
 │  ├─seahorse-agent───{seahorse-agent}
 │  └─ssh-agent
[snip]

Xorg spawning itself?!

Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Grub boot of new install.

2007-09-03 Thread [EMAIL PROTECTED]
On Sep 3, 4:00 pm, "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 03, 2007 at 11:29:08AM -0700, [EMAIL PROTECTED] wrote:
> > 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.
>
> There will be somthing starting up in /etc/rc2.d that causes the reboot.
> Shouldn't happen.
>
> I'm assuming that before it reboots you see something like "entering
> run level 2"?  If not, I suppose it could be something as simple as
> /etc/inittab having an initdefault of 0 or 6.
>
> Doug.
>
> --
> T

Ah a wierd solution. I found that the usb plug for my scanner was half
in and half out. (I just replaced some hardware.) When I seated it
properly the boot process righted itself. Onward and upward!

John Culleton


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can't play Flash anymore

2007-09-03 Thread steve

Steve Kleene wrote:

I'm quite perplexed.  I have two Etch machines, and on each of them, Flash
recently stopped working.  It worked on both within the past month.

I have these packages installed:
  flashplayer-mozilla   9.0.48.0-0.2   Macromedia Flash Player
  libflash-mozplugin0.4.13-8   GPL Flash (SWF) Library - 
Mozilla-compatible plugin
  libflash0c2   0.4.13-8   GPL Flash (SWF) Library - shared library

and these files:
  -rw-r--r-- 1 root root 856 2007-06-19 20:31 
/usr/lib/mozilla/plugins/flashplayer.xpt
  -rw-r--r-- 1 root root   15348 2006-07-25 10:22 
/usr/lib/mozilla/plugins/libflash-mozplugin.so
  -rw-r--r-- 1 root root 7029820 2007-08-31 07:10 
/usr/lib/mozilla/plugins/libflashplayer.so

  lrwxrwxrwx 1 root root  37 2007-09-01 09:55 
/usr/lib/iceweasel/plugins/flashplayer.xpt -> 
../../mozilla/plugins/flashplayer.xpt
  lrwxrwxrwx 1 root root  46 2007-03-16 17:04 
/usr/lib/iceweasel/plugins/libflash-mozplugin.so -> 
/usr/lib/mozilla/plugins/libflash-mozplugin.so
  lrwxrwxrwx 1 root root  39 2007-09-01 09:55 
/usr/lib/iceweasel/plugins/libflashplayer.so -> 
../../mozilla/plugins/libflashplayer.so

  lrwxrwxrwx 1 root root  18 2007-01-21 09:33 /usr/lib/libflash.so.0 -> 
libflash.so.0.13.0
  -rw-r--r-- 1 root root  16 2006-07-25 10:22 /usr/lib/libflash.so.0.13.0

If I do "about:plugins" from iceweasel, I see
File name: libflash-mozplugin.so
Flash Movie player Version 0.4.12 compatible with Shockwave Flash 4.0

File name: libflashplayer.so
Shockwave Flash 9.0 r48

But if I try to run any Flash movie, I get sent to Adobe to download the
"newest" Flash.  This turns out to be 9.0.48.0, which I already have.  For
the heck of it, I unpacked that anyway.  flashplayer.xpt was identical to
what I already have.  libflashplayer.so was not, but installing that didn't
help.

As tests, I've been trying anything at youtube or at the Flash showcase:

  http://www.adobe.com/cfusion/showcase/index.cfm

Youtube videos all seem to fail, and then iceweasel crashes too.  Any ideas
what's gone wrong?  Thanks.


  
hi,  what usually works for me is to unistall and reinstall. never had 
the problem in etch, dont use x but ubuntu on occasion have the problem 
and its worked for me.  remove and reinstall, dont just download flash 
again, maybe thatll help..?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




can't play Flash anymore

2007-09-03 Thread Steve Kleene
On Mon, 3 Sep 2007 17:13:11 -0400, I wrote:

> I'm quite perplexed.  I have two Etch machines, and on each of them, Flash
> recently stopped working.  It worked on both within the past month.

On Mon, 03 Sep 2007 19:50:22 -0400, [EMAIL PROTECTED] replied:

> what usually works for me is to unistall and reinstall

I did the following:
  apt-get remove flashplayer-mozilla libflash-mozplugin libflash0c2
  apt-get install flashplayer-mozilla libflash-mozplugin libflash0c2

but still have the problem.  Thanks for the suggestion.  Did you mean for me
to reinstall more than just flash?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



crontab -e

2007-09-03 Thread Raquel
I have a new install of Etch.  When I issue the command
  #crontab -e
I get the nano editor.  I would really rather use the vim editor. 
How do I change what gets used?

-- 
Raquel

If you would be a real seeker after truth, it is necessary that at
least once in your life you doubt, as far as possible, all things.
  --Rene Descartes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: crontab -e

2007-09-03 Thread Mathias Brodala
Hi Raquel.

Raquel, 04.09.2007 02:22:
> I have a new install of Etch.  When I issue the command
>   #crontab -e
> I get the nano editor.  I would really rather use the vim editor. 
> How do I change what gets used?

Set the EDITOR environment variable in the config file of your preferred shell.
(~/.bashrc for Bash)


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: crontab -e

2007-09-03 Thread Jan C. Nordholz
> Raquel, 04.09.2007 02:22:
> > I have a new install of Etch.  When I issue the command
> >   #crontab -e
> > I get the nano editor.  I would really rather use the vim editor. 
> > How do I change what gets used?
> 
> Set the EDITOR environment variable in the config file of your preferred 
> shell.
> (~/.bashrc for Bash)

Or, if you want to change the system-wide default, run (as root)

] update-alternatives --config editor


Regards,

Jan


signature.asc
Description: Digital signature


Re: crontab -e

2007-09-03 Thread Raquel
On Tue, 04 Sep 2007 02:24:16 +0200
Mathias Brodala <[EMAIL PROTECTED]> wrote:

> Hi Raquel.
> 
> Raquel, 04.09.2007 02:22:
> > I have a new install of Etch.  When I issue the command
> >   #crontab -e
> > I get the nano editor.  I would really rather use the vim
> > editor.  How do I change what gets used?
> 
> Set the EDITOR environment variable in the config file of your
> preferred shell. (~/.bashrc for Bash)
> 
> 
> Regards, Mathias
> 
> -- 
> debian/rules
> 
> 

Hmmm, I thought it was configured using the update-alternatives
system.  However, when I run (as root):
  #update-alternatives --set editor /usr/bin/vim
I get an error:
  #update-alternatives: Cannot find alternative `/usr/bin/vim'.

-- 
Raquel

Constitutions should consist only of general provisions; the reason
is that they must necessarily be permanent, and that they cannot
calculate for the possible change of things.
  --Alexander Hamilton


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: crontab -e

2007-09-03 Thread Raquel
On Tue, 4 Sep 2007 02:32:39 +0200
"Jan C. Nordholz" <[EMAIL PROTECTED]> wrote:

> > Raquel, 04.09.2007 02:22:
> > > I have a new install of Etch.  When I issue the command
> > >   #crontab -e
> > > I get the nano editor.  I would really rather use the vim
> > > editor.  How do I change what gets used?
> > 
> > Set the EDITOR environment variable in the config file of your
> > preferred shell. (~/.bashrc for Bash)
> 
> Or, if you want to change the system-wide default, run (as root)
> 
> ] update-alternatives --config editor
> 
> 
> Regards,
> 
> Jan
> 

Thank you!  This worked like a charm.

-- 
Raquel

Constitutions should consist only of general provisions; the reason
is that they must necessarily be permanent, and that they cannot
calculate for the possible change of things.
  --Alexander Hamilton


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Grub boot of new install.

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 04:27:56PM -0700, [EMAIL PROTECTED] wrote:
> On Sep 3, 4:00 pm, "Douglas A. Tutty" <[EMAIL PROTECTED]> wrote:
> > On Mon, Sep 03, 2007 at 11:29:08AM -0700, [EMAIL PROTECTED] wrote:
> > > 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.
> >
 
> Ah a wierd solution. I found that the usb plug for my scanner was half
> in and half out. (I just replaced some hardware.) When I seated it
> properly the boot process righted itself. Onward and upward!
> 

I'm curious, were there no error messages to the screen or to a log, or
does this cause an error at the BIOS level?

Good catch in any case.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: crontab -e

2007-09-03 Thread Douglas A. Tutty
On Mon, Sep 03, 2007 at 05:22:28PM -0700, Raquel wrote:
> I have a new install of Etch.  When I issue the command
>   #crontab -e
> I get the nano editor.  I would really rather use the vim editor. 
> How do I change what gets used?

Do you have an EDITOR environment variable set?  The man page says that
it follows EDITOR or VISUAL if set.  If not, it likely follows
sensible-editor which is part of the debian alternatives system.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can't play Flash anymore

2007-09-03 Thread steve

Steve Kleene wrote:

On Mon, 3 Sep 2007 17:13:11 -0400, I wrote:

  

I'm quite perplexed.  I have two Etch machines, and on each of them, Flash
recently stopped working.  It worked on both within the past month.



On Mon, 03 Sep 2007 19:50:22 -0400, [EMAIL PROTECTED] replied:

  

what usually works for me is to unistall and reinstall



I did the following:
  apt-get remove flashplayer-mozilla libflash-mozplugin libflash0c2
  apt-get install flashplayer-mozilla libflash-mozplugin libflash0c2

but still have the problem.  Thanks for the suggestion.  Did you mean for me
to reinstall more than just flash?


  

does it work in firefox?

and have you tried the below or using automatix?  sorry, dont have a 
direct answer, dont use x alot on etch.


debian:/# apt-get install flashplugin-nonfree




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exim4/fetchmail/mutt problem

2007-09-03 Thread Thomas H. George

Benjamin A'Lee wrote:

On Mon, Sep 03, 2007 at 10:52:12AM -0400, Thomas H. George wrote:
  

Kumar Appaiah wrote:


On Mon, Sep 03, 2007 at 08:26:19AM -0400, Thomas H. George wrote:
  
  
In ./usr/sbin exim is a symlink to exim4.  exim is owned by root:root 
with 777 permissions.  exim4 was owned by root:tom with 731 permissions.  
I changed the permissions to 777 but this did not correct the problem.  I 
still got exim: permission denied when I executed mailq as user tom.  
mailq works for root.



OK, I meant su;mailq or sudo mailq.

You should be able to run mailq as root. Otherwise, you have a
problem. For me, it's just a symbolic link to /usr/sbin/exim4.

Kumar
  


In man update-exim4.conf an example reads "You want to be able to check 
exim's queue as a normal user: Generate a new file, e.g. 
/etc/exim4/conf.d/main/40_local_mailq, containing only the line 
queue_list_requires_admin = false.


I did this and still the command mailq   as a normal user results in 
exim:permission denied.


Tom

  
  

strace -e trace=open,write mailq run from user tom exits after

   open ("/etc/passwd
   write(2, "exim: permission denied

If I run /etc/init.d/exim4 restart I get a warning that the exim4 paniclog 
is not empty.  tail/var/exim4/paniclog ends with "failed to read delivery 
status for [EMAIL PROTECTED] from the delivery subprocess.


I have tried editing exim4.conf.template and uncommenting the Login lines 
in the Authentication section and entering my user name and password after 
the colons in the server_promts line.  This does not solve the problem.



Firstly, IIRC, Exim4 has its own ideas about who can run it as
/usr/sbin/sendmail or /usr/sbin/exim; you'd need to run it as root or
find the setting to permit other users to run the commands. This isn't a
problem for Fetchmail, though, as Fetchmail is trying to connect to a
mailserver running on the local machine, port 25. Fetchmail's problem is
that Exim isn't configured to run as a server, so it has no idea what to
do with the mail it's fetching. You need to either configure Exim to
listen on port 25, or configure Fetchmail to deliver to a program such
as procmail; the second option is probably better all round, unless
fetchmail is downloading mail for more than one local user.

Ben
  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




  1   2   >