Re: Debian GNU/Linux 3.0 r1
On Sat, 2003-10-18 at 15:34, Brian Walker wrote: > Meanwhile, if you want to rush into things, it sounds as if you need to > enable booting from the CDROM, which you must change in the BIOS. On older machines, there may be no capability of booting from CD, in which case you _have_ to build a set of boot floppies, as previously described. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Commit thy way unto the LORD; trust also in him and he shall bring it to pass." Psalms 37:5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A newbie's confusion about GPL
On Mon, 2003-10-20 at 09:44, Johann Spies wrote: > On Sat, Oct 18, 2003 at 05:31:33PM +0200, Henning Moll wrote: > > On Saturday 18 October 2003 17:09, Paul Smith wrote: > > > If you use GPL'd code and you distribute the results, you have to > > > give the source code, either along with the program or when people > > > ask you for it. > > > > And you have to put your own code also under a GPL compatible license. > > I don't think that is necessary but I may be wrong. > > This is how I understand it: if you use GPL libraries you will have to > mention that in your documentation and make available the source code > of those libraries. You can license your own program differently even > if you use GPL code and then you don't have to reveal your code except > for the open source parts of the libraries. That is true of libraries licensed under the LGPL, but not of those licensed under the GPL. If they are GPL licensed, any thing that links to them must also be licensed under a compatible license, which means that the source code must be made available. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "For the LORD God is a sun and shield; the LORD will give grace and glory; no good thing will he withhold from them that walk uprightly."Psalms 84:11 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: big troubles in little libc
On Mon, 2003-10-20 at 18:35, iain d broadfoot wrote: > Hey list, > > I'm having a few problems with programs dying: > > liferea:0x407196c9 in free () from /lib/libc.so.6 > gaim: 0x407466c9 in free () from /lib/libc.so.6 > > I can't see a bugreport about this on libc6, and it doesn't feel > like the individual apps are doing anything in particular > wrong... It may be a problem in some library common to both programs. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "For the LORD God is a sun and shield; the LORD will give grace and glory; no good thing will he withhold from them that walk uprightly."Psalms 84:11 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Your debian-user@lists.debian.org subscription has been terminated
On Tue, 2003-10-21 at 18:17, Debian Listmaster Team wrote: > Dear subscriber, > > The following unsubscription has been done on your behalf: > [EMAIL PROTECTED] from [EMAIL PROTECTED] > > This email address was removed from the list, as we received > 1478 messages in the last 24 hours. During this time period, 295 > messages were sent out. From whom were 1478 messages received? What kind of messages are these? > The current bounce threshold for debian-user is 236. > > Please feel free to subscribe to the list again as soon as your > email problems have been resolved. > > For your convenience, we have attached the final bounce message > which caused your address to be removed from the list. Take a look at that message - it is SPAM! (At least I suppose it is, since I can't read Japanese/Chinese/Korean characters.) I bounce spam during the SMTP conversation. If you can't filter the damn stuff out before sending it to me, at least don't unsubscribe me for not taking it! > You are welcome to contact us, if you think this message was > sent in error. > > This message has been generated by reaper.pl (0.16). > > Sincerely, > > The Listmaster Team > > > __ > From: Mail Delivery System <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Undelivered Mail Returned to Sender > Date: Tue, 07 Oct 2003 01:51:06 -0500 > > This is the Postfix program at host murphy.debian.org. > > I'm sorry to have to inform you that the message returned > below could not be delivered to one or more destinations. > > For further assistance, please send mail to > > If you do so, please include this problem report. You can > delete your own text from the message returned below. > > The Postfix program > > <[EMAIL PROTECTED]>: host mailgate.lfix.co.uk[80.177.205.209] said: 550 > Classified as spam (score 15.5) > > __ > Reporting-MTA: dns; murphy.debian.org > Arrival-Date: Tue, 7 Oct 2003 01:40:48 -0500 (CDT) > > Final-Recipient: rfc822; [EMAIL PROTECTED] > Action: failed > Status: 5.0.0 > Diagnostic-Code: X-Postfix; host mailgate.lfix.co.uk[80.177.205.209] said: 550 > Classified as spam (score 15.5) > > __ > From: 酷兔电影[Cooto] <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: 新鲜大片抢先看!激情大片随便看! > Date: Tue, 07 Oct 2003 14:27:03 +0800 > > debian-user 您好: > > 很高兴认识您,这是一封电影网站的介绍信件 > > > 买碟贵,而且费时、费力。最新大片不间断更新,想看就下载 > > 保证满足您追求新鲜电影的欲望。充实您的业余时间,来 > 酷兔影视: http://www.cooto.com 看看吧。 > > > 现在的网络电影几乎已经找不到免费的了,泡论坛没有3、5个月 > > 是没法下载电影的。为了保证付费会员的高速下载,我们仅收取 > > 最少的费用。10元即可包月以300K/S的速度无限下载,是目前最 > 便宜的收费电影网站。 > > DVD品质的高清晰大片、电影、连续剧、动漫、综艺 + > MTV > > 300K/S的飞速下载,想看电影、即刻下载、无需等待。这一切高 > 品质的服务,一个月仅仅10元。 > 我们承诺,每天更新的影片不少于5部! > > > 1500GB的磁盘阵列。1000MB独享的ChinaNet主干线接入。 > 保证您得到的服务 - 稳定高速! > 如果您对电影还有兴趣,请您来看看。 > 酷兔影视: http://www.cooto.com > > > 不间断的电话以及QQ在线寻片服务,想找到您想看的电影吗?Call我们! > 我们会在第一时间帮您找到您需要的影片。 > > 新片上架介绍: > 天地英雄[北京影院正在上映]、无间道2、 > > 大块头有大智慧[北京影院正在上映]、同是天下快乐人。 > > 爱在娱乐圈的日子、初恋、不可不信缘[北京影院正在上映] > > 刘德华你是我的骄傲演唱会、郑秀文明星秀演唱会、非典人生 > 我的老婆是大佬2、六度心寒、日本首席车摸 - > 相马茜写真电影。 > 日本超摸 - > 小仓优子写真电影、终结者3、绿茶、黑客帝国2、 > > 神鬼奇航、霹雳娇娃2、绝地站警2、地心强险记、超胆[夜魔]侠 > > 海底总动员[国语]、紫蝴蝶、小鬼当家4、特工小子3、指环王2 、 > > 奶爸别动队、千机变、双雄、恋上你的床、炮制女朋友、龙钔、 > 千王之王2003、左麟[谭咏麟]右李[克勤]2003演唱会4DVD > > > 成为会员,您还可以免费收到我们的定期电影快报和娱乐咨询。 > > > 如果耽误了您的时间,很抱歉。只是想和您做个朋友。 > > > 酷兔电影[Cooto] [EMAIL PROTECTED] 2003-10-07 14:27:02 -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "If ye then be risen with Christ, seek those things which are above, where Christ sitteth on the right hand of God. Set your affection on things above, not on things on the earth." Colossians 3:1,2 N [EMAIL PROTECTED] 隊[huæâj{¬zºު笶X¬¶Ç^n&§¢¸0ØZ²æãyËh~é칻®&ÞNº.nW¢{ZrÙb²ٚ²+-±כ©è®
Re: Newbie .deb question, help needed
On Tue, 2003-10-21 at 06:01, Ralph F. De Witt wrote: > I am new to Debian, one week old, and still trying to come to grips with the > differencies. I have a deb which carries the dependiencies for sid. I am > running a up to date sarge. All dependiencies are meet excepet for kdelibs, I > am one version back. Is there a way to rework the deb so that I can install > it on my Sarge based system? Thanks for your help? The most certain way is to download the source package and build it on your own machine. Install devscripts; add the source line in /etc/apt/sources.list; apt-get update; cd /usr/src [or somewhere]; apt-get source package; cd package-directory; debuild; cd ..; dpkg -i package*.deb. If you don't want to do that, you can investigate pinning in apt (read the docs - I haven't used it myself!) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "If ye then be risen with Christ, seek those things which are above, where Christ sitteth on the right hand of God. Set your affection on things above, not on things on the earth." Colossians 3:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Gender in language (was Re: way-OT: regularity of german v. english [was: ])
On Fri, 2003-10-24 at 12:12, David Palmer. wrote: ... > Most of our modern knowledge of the Celts > comes from the Roman campaigners' reports, in particular Julius Caesar > who fought a protracted campaign against the Celts in Britain, as the > Celts had an oral history not written. There are Welsh records going back a very long way before Caesar, and giving the native view of his campaign. See http://www.ldolphin.org/cooper/ch4.html -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Only take heed to thyself, and keep thy soul diligently, lest thou forget the things which thine eyes have seen, and lest they depart from thy heart all the days of thy life; but teach them to thy sons, and to thy sons' sons..."Deuteronomy 4:9 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Multiple postgresql packages proposed
I'm currently considering whether and how to have multiple versions of the PostgreSQL packages installed at once. This is to get round problems with upgrading major versions, and to allow people to have multiple database clusters, possibly at different software versions. The full proposal is at http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/~checkout~/common/postgresql-client.html?rev=1.1&content-type=text/html&cvsroot=pkg-postgresql Will postgresql package users please take a look and comment. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Now unto him that is able to do exceeding abundantly above all that we ask or think, according to the power that worketh in us..."Ephesians 3:20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Replying to the list in evolution [was Re: Outgoing SMTP ports]
On Wed, 2003-10-29 at 13:50, Richard Lyons wrote: > On Wednesday 29 October 2003 14:23, BruceG wrote: > [...] > > (I noticed when replying using Ximian Evolution, it does the to: as the > > original poster. If I reply to all, it cc:'s the debian-user list. I had > > to delete the to: and move debian-users from cc: to to: Wonder why that > > is?) If you want to reply to the list only, that option is available in evolution from the pop-up menu put up by your mouse right-button. (At least in evolution 1.4 -- I don't remember seeing it in earlier releases.) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Now unto him that is able to do exceeding abundantly above all that we ask or think, according to the power that worketh in us..."Ephesians 3:20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: can you help me?
On Sat, 2003-11-01 at 07:11, Joel Goodin wrote: > debian?, > it seemed like you might have some christian values > from what i saw on a forum on the net. Some of us do. Not Debian as an organisation, except insofar as the ideal of free software is compatible with Christian ideas of community. Other members of Debian would get very cross at the very idea of having Christian values! > i am not > completely illiterate with computers, but still could > use some help in finding a way, if possible to > restrict my search on the net, so that my computer > will not accept certain words that i might type in > during a lapse in my moral stability. understand? :) > if you have any ideas for ways to protect myself from > temptation, please e-mail back. i want to find > something that won't restrict me from sites that i > would feel are ok. maybe just words that i couldn't > type in and get a response from search engines. > ideas? i would appreciate help. You can install web proxies such as privoxy. It has a demonstration filter called crude-parental which you could expand on. There is also a package in the unstable release called dansguardian, which seems to do almost exactly what you want. The upstream site is http://dansguardian.org/ -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "But they that wait upon the LORD shall renew their strength; they shall mount up with wings as eagles; they shall run, and not be weary; and they shall walk, and not faint."Isaiah 40:31 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: New user help...
On Wed, 2003-11-12 at 08:49, Kevin Krumwiede wrote: > I feel like RedHat has sold out on me as a paying customer, so I'm > looking at Debian. I've run into a few problems, though... ... > Second, I tried 'apt-get install kernel-image-2.4.18-586'. I got the > new kernel installed and running (which nicely took care of the above > problem), but it didn't come with pcmcia modules so now I have no > network. Are those in another package? kernel-pcmcia-modules-2.4.18-586tsc Hint: look at http://packages.debian.org > Third, to see if apt-get is as easy as everyone says, I did 'apt-get > install xfce'. It downloaded all the dependencies, or so it says... > but when I run startxfce, it bombs because it can't find 'xinit'. > What am I missing? Install x-window-system. xfce depends on xlibs, but since X is client server, installing a package that uses X does not automatically install the whole X system; it could be using a display on a different machine. There might not even be a display on the local machine. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "He that loveth father or mother more than me is not worthy of me; and he that loveth son or daughter more than me is not worthy of me. And he that taketh not his cross, and followeth after me, is not worthy of me." Matthew 10:37,38 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to use ssh tunnel to reach a machine on a private network?
I wonder if anyone can help me work out how to do this, please: I have two private networks (192.168.1.0/24) each with a firewall machine connecting through ADSL to the Internet. Each private network can reach the Internet through the firewall (using NAT); therefore no machine except the firewall is visible from outside (at static IP addresses allocated by the ISP). I can, from any machine on either private network, do "ssh -X remote.firewall.address" and connect to the remote firewall. What I am trying to do is to use ssh tunnelling to go direct to one of the machines on the remote private network, because I need to be able to run X programs from that machine on my own display. However, I can't work out how to do it. So far, I tried ssh -X -L 8877:remote.private.machine:22 remote.firewall.address (using 8877 as an arbitrary unassigned port) but all that gives me is a connection to the remote firewall itself. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "It is better to trust in the LORD than to put confidence in man."Psalms 118:8 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Kernel Recompile
On Fri, 2003-01-24 at 18:17, Irish, Jon D MEVATEC wrote: > Can anyone tell me if there is a HOW-TO, or paper available that covers > recompiling the kernel for Debian? I found the Kernel HOWTO, but it appears > to be slanted more toward RedHat, and I am a 'newbie' so I want to make sure > that I am doing it right. Install the package kernel-package and read its documentation. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "If anyone has material possessions and sees his brother in need but has no pity on him, how can the love of God be in him?" I John 3:17 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Gimp Print Problem
On Wed, 2003-01-29 at 18:37, Thomas H. George wrote: > I ran the error_log as suggested. The first 'false' result occurred on > line 285. I saved this and the following 10 lines but can't figure out > how to use vi to insert them here. vi wont let me switch to the file I > saved without exiting this message. :r other/file will insert the contents of other/file at the cursor position. -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: postgreSQL install - user password
On Sun, 2003-02-02 at 05:27, Cameron Hutchison wrote: > Once upon a time Kevin Coyner said... > > > > As I dig through the docs, I find that I need to su postgres in order to > > create other users. Problem is that if I su postgres, I get queried for > > a password. I've tried the obvious, including nothing, but haven't got > > in as postgres yet. > > su to root first. Then when you su to postgres, you wont need to enter a > password. Once you are root, do "su - postgres" rather than just "su postgres"; this sets you up as for a direct login by postgres. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Love not the world, neither the things that are in the world. If any man love the world, the love of the Father is not in him...And the world passeth away, and the lust thereof; but he that doeth the will of God abideth for ever." I John 2:15,17 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: A few very simple Evolution questions...
On Sat, 2003-02-08 at 00:22, Davor Balder wrote: > When I start-up Evolution from the console, it gives message that locale > is not supported by C library. Is this important? > > Also, I noticed that when I am typing up an email (like now for > example), the font is very small and I cannot increase its size by using > Ctrl-+. I can however increase the size of the font for reading on > emails in my inbox. In 1.2, Ctrl-8 and Ctrl-0 increase and decrease the font size. -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: shuttle disaster
On Sun, 2003-02-09 at 08:51, Ron Johnson wrote: > On Sun, 2003-02-09 at 00:57, Gary Turner wrote: > > Paul Johnson wrote: > > > > >On Sat, Feb 08, 2003 at 10:32:10PM -0600, Gary Turner wrote: > [snip] > > >From a logic class many years ago: > > > > "All Volvo drivers are liberal, but not all liberals drive Volvos." > > Hey, I resent that!! If they still made 240s, and were affordable, I'd > definitely still drive one. What's to stop you? Find a second-hand one. Our last one did 250,000 miles before it rusted across the bottom and had to be scrapped. The current one has done 120,000. We even bought one new once, and only sold it when it became too small to hold 5 growing children -- we had two in the extra rear-facing seat with their knees round their ears. But I can safely assert that the premise is false: not all Volvo drivers are liberals! (Now where else can this thread go?) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Let the words of my mouth, and the meditation of my heart, be acceptable in thy sight, O LORD, my strength, and my redeemer." Psalms 19:14 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: shuttle disaster
On Sun, 2003-02-09 at 11:32, Paul Johnson wrote: > > By RA, you mean RAF? > > Royal Army, not Air Force. Royal Navy, Royal Air Force, Royal Marines but not Royal Army. It's just The Army or the British Army. Perhaps because each regiment has its separate traditions, whereas the navy and the air force were more centralised. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Let the words of my mouth, and the meditation of my heart, be acceptable in thy sight, O LORD, my strength, and my redeemer." Psalms 19:14 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems installing Debian on PIII using Adaptec 2400A RAID 5 array as boot drive
On Tue, 2003-09-09 at 07:11, Derek Chew En-Hock wrote: > With a heavy heart, I attempted install Redhat 9 on my machine and it > automatically detected the Adaptec 2400A and installed flawlessly... I > guess installing Debian on this machine maybe beyond my current > abilities... > > Does anyone know of a way I can extract the drivers from the Redhat > disc or boot disc and use it to help in the Debian Installation? feel > a little uncomfortable moving away from my comfy Debian machines... You need CONFIG_SCSI_DPT_I2O set in the kernel. The woody install disks' bf24 kernel does not have this included, so you need to build a kernel for it. If the RAID card has the only disks, this gives you a bootstrapping problem; I can provide you with a kernel-image deb for such a kernel, but you would need to be in a position to run dpkg in order to make use of it. I had to build a new bootable CD in order to get Debian loaded onto the machine in question. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Submit yourselves therefore to God. Resist the devil, and he will flee from you."James 4:7 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems installing Debian on PIII using Adaptec 2400A RAID 5 array as boot drive
You wrote: > ..Oliver, would your boot image cover software raid setups too? And > install from network? Say from a lan mirror? If so, image url? ;-) Sorry; it was a specific build for a hardware RAID machine. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Submit yourselves therefore to God. Resist the devil, and he will flee from you."James 4:7 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Open-source opportunuity?
On Thu, 2003-09-11 at 00:36, Clive Menzies wrote: [ re Network Rail tender request ] > I'm London (UK) based and have a business background. I lack the > technical skills and knowledge to approach this but I'd be happy to > contribute. I'm an accountant by training, but technical by long-settled choice. Making a tender is very much a business and marketing exercise. We would need to convince the customer not only of the technical merits of our proposal but also that we have an organisation capable both of doing the job and of providing long-term support. We would first have to build such an organisation. If that can be done, I would like to be involved. > I lurk on this list generally to expand my knowledge and > have been a beneficiary of your collective wisdom and individual > knowledge ;) > > Regards > > Clive > > http://www.clivemenzies.co.uk > strategies for business -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "I am crucified with Christ; nevertheless I live; yet not I, but Christ liveth in me; and the life which I now live in the flesh I live by the faith of the Son of God, who loved me, and gave himself for me." Galatians 2:20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Weird network behaviour - can anyone explain it?
We have a machine whose network configuration is in some way wrong, but I don't know how. When it boots, the network is configured correctly, according to ifconfig, but it takes forever for things (a deliberately vague word) to be processed. Then it seems to handle a number of requests all at once and goes back to sleep for a while. The effect is illustrated by this ping across the local ethernet (other machines on the same net have no problems): # ping braydb PING braydb.somedomain.com (192.168.1.18): 56 data bytes 64 bytes from 192.168.1.18: icmp_seq=33 ttl=64 time=0.6 ms 64 bytes from 192.168.1.18: icmp_seq=34 ttl=64 time=0.8 ms 64 bytes from 192.168.1.18: icmp_seq=35 ttl=64 time=1.4 ms 64 bytes from 192.168.1.18: icmp_seq=18 ttl=64 time=17002.5 ms 64 bytes from 192.168.1.18: icmp_seq=19 ttl=64 time=16003.6 ms 64 bytes from 192.168.1.18: icmp_seq=20 ttl=64 time=15004.2 ms 64 bytes from 192.168.1.18: icmp_seq=21 ttl=64 time=14004.8 ms 64 bytes from 192.168.1.18: icmp_seq=22 ttl=64 time=13005.4 ms 64 bytes from 192.168.1.18: icmp_seq=23 ttl=64 time=12005.9 ms 64 bytes from 192.168.1.18: icmp_seq=24 ttl=64 time=11006.5 ms 64 bytes from 192.168.1.18: icmp_seq=25 ttl=64 time=10007.0 ms 64 bytes from 192.168.1.18: icmp_seq=26 ttl=64 time=9007.6 ms 64 bytes from 192.168.1.18: icmp_seq=27 ttl=64 time=8008.1 ms 64 bytes from 192.168.1.18: icmp_seq=28 ttl=64 time=7008.6 ms 64 bytes from 192.168.1.18: icmp_seq=29 ttl=64 time=6009.1 ms 64 bytes from 192.168.1.18: icmp_seq=30 ttl=64 time=5009.7 ms 64 bytes from 192.168.1.18: icmp_seq=31 ttl=64 time=4010.3 ms 64 bytes from 192.168.1.18: icmp_seq=32 ttl=64 time=3010.9 ms --- braydb.somedomain.com ping statistics --- 49 packets transmitted, 18 packets received, 63% packet loss round-trip min/avg/max = 0.6/8339.2/17002.5 ms After some considerable time, this effect stops and normal response times resume. (I hope that this will also be the case on this occasion; the machine has been running for 5 hours so far.) Kernel is 2.4.20 SMP, built for this machine. I can't identify the network card until the machine starts to respond correctly (I am not on site). The problem began a couple of months back; I do not know of any relevant software change. Since then, the machine has not been rebooted again until today. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Honour the LORD with thy substance, and with the firstfruits of all thine increase; So shall thy barns be filled with plenty, and thy presses shall burst out with new wine." Proverbs 3:9,10 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: installin postgresql-contrib
On Wed, 2003-09-17 at 14:24, Alexei Chetroi wrote: > Hi All, > > I want to add some function to postgres database from > postgresql-contrib package (some encryption functions). Packages install > normally, but when I'm trying to add functions to database it complains: > > [lex.lexa]$ psql mf SET > SET > ERROR: c: permission denied > ERROR: c: permission denied You will find it easier to understand what is happening if you use the -e option to psql, which will show you the queries that are being executed. This is the start of the sql script: -- Adjust this setting to control where the objects get created. SET search_path = public; SET autocommit TO 'on'; CREATE OR REPLACE FUNCTION digest(text, text) RETURNS bytea AS '$libdir/pgcrypto', 'pg_digest' LANGUAGE 'C'; CREATE OR REPLACE FUNCTION digest(bytea, text) RETURNS bytea AS '$libdir/pgcrypto', 'pg_digest' LANGUAGE 'C'; I think that your problem is that you (the current postgresql user) does not have permission to create a C language function. Such a function would have complete access to any database structures and could be used to bypass access security, so you should probably be running as postgres superuser to do this successfully. I can't find the documentation references for this, and I am running 7.4beta so I can't conduct a valid test. I asssume you are running 7.2.1? -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Give, and it shall be given unto you; good measure, pressed down, and shaken together, and running over, shall men pour into your lap. For by your standard of measure it will be measured to you in return." Luke 6:38 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT: BT Broadband - which ADSL modem?
On Thu, 2003-09-18 at 18:21, Jonathan Matthews wrote: > After a couple of years of um-ing and ah-ing, my dad's finally got round > to installing broadband. Specifically, BT broadband (here in the uk). > > He's asked me to slip in a 486 class router/firewall inbetween his > Windows machines and the ADSL modem, so I'd much rather go with a modem > that has RJ45 (ethernet) connections over any USB-type port. > > I'm sure there are some debian users out there who can help me make this > choice - > > Which ADSL modem > > o has an ethernet port > o works with BT broadband > o offers most bang per buck I have combined the modem and firewall by installing a Bewan adsl card, which has Linux support: http://www.bewan.com/bewan/products/adsl/bwadslpcist.php -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Give, and it shall be given unto you; good measure, pressed down, and shaken together, and running over, shall men pour into your lap. For by your standard of measure it will be measured to you in return." Luke 6:38 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT: BT Broadband - which ADSL modem?
On Fri, 2003-09-19 at 14:45, Jonathan Matthews wrote: > On Thu, Sep 18, 2003 at 11:15:35PM +0100, Oliver Elphick wrote: > > On Thu, 2003-09-18 at 18:21, Jonathan Matthews wrote: > [snip] > > > Which ADSL modem > > > > > > o has an ethernet port > > > o works with BT broadband > > > o offers most bang per buck > > > > I have combined the modem and firewall by installing a Bewan adsl card, > > which has Linux support: > > http://www.bewan.com/bewan/products/adsl/bwadslpcist.php > > Cheers for that - it looks rather nice. Hope you don't mind if I ask a > couple of questions. > > Are there any issues with it being internal, as with winmodems? > Does it steal much cpu (I hope to put this in a P60)? I haven't noticed any problems with response time on that machine. The current load average reported by tload is: 0.01, 0.04, 0.01 > The PDF techspec says "standard ATM driver" - does this take much > figuring out? Is it a kernel configuration issue? It needs a kernel with ATM enabled, some kernel modules which I got from http://www.linuxdsl.co.uk/ and it needs a patched version of ppp, which they provide as a binary, but which I built from source according to the instructions at http://www.wlug.org.nz/LinuxPPPoA > What spec PC do you have it in, and how many other NICs are there in it? > Does it provide any other services? How loaded does it get? It's a pc with a Duron processor, 512Mb memory and a 40Gb IDE disk; it's using shorewall as a firewall. It runs my incoming mailserver, with MailScanner, spamassassin and clamav to filter spam and viruses (using the daemon versions of both) and Cyrus IMAP server to receive mail for users on other machines. It's also got an Apache server running, but that has only 1 static page to serve, together with sugarplum (to poison spam address harvesters). It is doing a bit more than my previous gateway machine, but that was a 486 with only 64Mb memory, which tended to choke up when too much mail came in at once (and that was just sendmail, with no filtering). I would guess that a P60 would be fine as gateway and firewall, but I would pass email through to another machine for filtering. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Bring ye all the tithes into the storehouse, that there may be meat in mine house, and prove me now herewith, saith the LORD of hosts, if I will not open you the windows of heaven, and pour you out a blessing, that there shall not be room enough to receive it." Malachi 3:10 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Getting rid of worms and viruses
On Wed, 2003-09-24 at 08:43, Ross Boylan wrote: > I have been getting over 100 of these stupid MS virus emails a day. > Some are the "install this patch from MS" variety, while some are > embedded in returns of mail I didn't send. > > This is driving me nuts, and certainly proves that Windows viruses can > be very harmful to Linux users, even if they can't replicate on Linux. > What do I need to take care of this (i.e., automatically delete the > junk)? In particular, will anti-spam software (e.g., spamassassin) > take it out, or do I need anti-virus software (e.g., amavis)? > > Is there a clear dividing line between anti-spam and anti-virus > anymore? And do people have recommendations other than spamassassin > and amavis? > > I run Debian systems at home and work, with somewhat different > configurations. I plan to migrate home to exim4 at some point, so > really stuff that works with that would be best. Here are some high > points of the systems: > Home: ISP (earthlink) -> dialup -> fetchmail -> exim3 -> mbox There is no provision that I know of in fetchmail to filter stuff before it downloads it, but you could have exim4 filter it before it gets to your mailbox. > Work: the internet -> exim4 -> courier IMAP server My setup rejects both viruses and spam by scanning the message at the DATA stage of the SMTP conversation. You need exim4-daemon-heavy with the acl patch, clamav for virus checking and spamassassin for spam. Use sa-learn to educate spamassassin's Bayes filter. I installed this set up about 4 days ago and instead of deleting hundreds of spams and viruses each day, I now have hardly any. > I'm getting hit on both accounts, and work forwards to home for even > more fun. Earthlink claims this is not their problem, which is an > absurd position, but I'm stuck with it for now. Can you go to someone else who will let you use SMTP to get mail? (Like Demon Internet in the UK.) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "And we know that all things work together for good to them that love God, to them who are the called according to his purpose." Romans 8:28 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Getting rid of worms and viruses
On Wed, 2003-09-24 at 11:09, Martin Jungowski wrote: > > Can you go to someone else who will let you use SMTP to get mail? (Like > > Demon Internet in the UK.) > > Uh... I think you got that wrong. Isn't SMTP just for delivering/sending > mail? Receiving mail is either POP3 or IMAP but as far as I know, not > SMTP. No. SMTP is the way that mail gets to your ISP, who then put it into a mailbox which you access with POP or IMAP. If you can use SMTP, you bypass the ISP. If you have a permanently connected machine (as I do with an ADSL link), the DNS MX record should point to that machine, with a backup (lower priority) MX pointing somewhere else, such as your ISP. Then machines that want to send you mail connect to you directly. If you have a dialup connection it is more difficult. Most dialup providers only offer POP or IMAP, but Demon Internet, in addition to the standard POP and IMAP, also sends mail to you by SMTP when you are connected. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "And we know that all things work together for good to them that love God, to them who are the called according to his purpose." Romans 8:28 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Configuration file and auxiliary packages
On Wed, 2003-10-01 at 00:20, Patrick Goetz wrote: > A less easily solved problem has to do with auxiliary files. We are heavy > TeX users, and consequently have various TeX gadgets that are not packaged > by Debian. OK, so we have our own tex-utm package containing these > things. What do you do, though, if you want to actually replace a > file from, say, the tetex package with one you've customized yourself? > The package system breaks down at this point, since the local and debian > packages will conflict. There are ways to get around this (forced > installs, etc.) but these complicate package installation considerably. There is a tool to handle this problem: dpkg-divert (which is part of the dpkg package). Check its manpage to see if it will do what you want. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Yet if any man suffer as a Christian, let him not be ashamed; but let him glorify God on this behalf." I Peter 4:16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Paranoid Admin: Keystroke Logger for Debian
On Wed, 2003-10-01 at 00:20, ListDude1 wrote: > Hey all, I was just wondering if there is a keystroke logger avaialble for > Debian...I MUST give out an account and MUST know what it is > doing. Perhaps you could set up his login to run script (in the bsdutils package). script captures everything that appears on the screen, even cursor movements and options presented by readline(). -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Yet if any man suffer as a Christian, let him not be ashamed; but let him glorify God on this behalf." I Peter 4:16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Postgres
On Sun, 2003-10-05 at 01:17, Dan Roscoe wrote: > Hello! > > I'm wondering if anyone has had any problems setting up phpbb2 > (http://phpbb2.com) with PostgreSQL on a woody box. > > I am consistently getting error messages along the lines of > > > Warning: Unable to connect to PostgreSQL server: FATAL 1: IDENT > authentication failed for user "dan" in /var/www/boards/db/postgres7.php > on line 79 > phpBB : Critical Error > > Could not connect to the database ... > Postgres as well as all the web services required are. > > If anyone has any ideas at all, please let me know. I am trying to > migrate a small site from one box to another, and this is the only thing > holding me back right now. Your authentication failed, so the server refused you access. You need an identd server for ident authentication of TCP/IP access. If you are using ident authentication for access from remote machines, this is very insecure, since you are effectively trusting the remote machine to tell the truth. If PHP is doing a local connection, you probably need to use md5 (password) authentication, so as to supply the correct username. Presumably PHP is running as a different user, and ident authentication will give the wrong answer any way. Authentication policies are defined in /etc/postgresql/pg_hba.conf and can be set according to access method, user and database. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Wherefore take unto you the whole armour of God, that ye may be able to withstand in the evil day, and having done all, to stand." Ephesians 6:13 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: simple text formatting
On Mon, 2003-10-06 at 07:37, Mike Egglestone wrote: > Hi, > > I have a file in this format of words: > > joe jill bill bob frank tom harry > > and want to convert the file to this format: > > joe > jill > bill > bob > frank > tom > harry > > Is there an easy way to this? The file I have has hundreds of entries. for word in `cat file` do echo $word done > new_file -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful. But his delight is in the law of the LORD; and in his law doth he meditate day and night." Psalms 1:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT: Makefile & sed-Problem
On Mon, 2003-10-06 at 12:31, Lukas Ruf wrote: > Dear all, > > although I know it isn't anything that directly refers to Debian, I > dare to post since I have seen many similar questions. Please excuse! It's not off topic for debian-user. > The Problem: from a friend, I receive text-files that have a lot of > whitespace before the end of a line or even lines consisting of only > whitespace. For this reason, I set up a Makefile that would remove > all whitespaces: > ## > receive: > cat in_file \ > | sed -e 's/\s*$$//' \ > > new_in_file > ## > I expect this to remove all whitespaces '\s*'ending a line. > > But, funny enough, it removes all 's' ending a line. This has been > driving me mad for a couple of hours that's why I dare to post. > > What's wrong with 's/\s*$$//' in a Makefile? > I tried 's/\\s*$$//' -- with no success. > > Hopefully someone immediately sees the problem and can give me any > hint. You are trying to use a Perl regular expression with sed; that doesn't work. Although the sed manpage refers to perlre, sed does not seem to support Perl regular expressions. You should look at man 7 regexp instead. Try: sed -r -e 's/[[:space:]]+$$//' NB, you don't need to do "cat in_file | sed [pattern]"; you can do "sed [pattern] in_file" -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful. But his delight is in the law of the LORD; and in his law doth he meditate day and night." Psalms 1:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pam_pgsql problems
On Mon, 2003-10-06 at 18:01, martin f krafft wrote: ... > All in all, this make pam_pgsql pretty unusable, and I don't really > know why. I have never told it to use SSL, and that's where the > errors seem to come from. Postgres allows cleartext access: > > /etc/postgres/pg_hba.conf: > hostallall 127.0.0.1 255.0.0.0 password > > why in the world is SSL being used at all? What may be worth > noticing is that PostgreSQL started the use SSL when possible in > 7.3.3-1. If I connect with psql to localhost, being allowed to use > clear text, I am told that I am using a > > SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256) > > However, if I connect with psql to localhost on a 7.2.1-2woody2 > machine, I do not get this notice and the connection is clear-text. > > There is no mention in the changelog about this, so maybe Oliver has > a comment? The documentation on authentication methods in pg_hba.conf says: hostssl This record matches connection attempts using SSL over TCP/IP. host records will match either SSL or non-SSL connection attempts, but hostssl records require SSL connections. To be able make use of this option the server must be built with SSL support enabled. Furthermore, SSL must be enabled by enabling the option ssl in postgresql.conf (see Section 3.4). So it seems that pam_pgsql is choosing to use SSL to connect to the PostgreSQL server. SSL is always accepted on a TCP/IP connection in 7.3. Your note on the use of psql suggests that somehow SSL is the default access method on your machine. That does not happen for me, adn I don't know what in your setup may be causing it. If you never want to use SSL connections, you can turn SSL off in postgresql.conf. In 7.4, you will be able to use hostnossl as an access method in pg_hba.conf. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful. But his delight is in the law of the LORD; and in his law doth he meditate day and night." Psalms 1:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: galeon REALLY slow in loading pages
On Tue, 2003-10-07 at 00:16, Clive Menzies wrote: > I'm running the same version of galean without any noticeable > degradation in speed. I guess it must have been something that you've > added or changed recently I find that galeon, when left running for a long while, tends to get slower and slower. If it is closed down and restarted, it speeds up again. I am using current unstable versions. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Blessed is the man that endureth temptation; for when he is tried, he shall receive the crown of life, which the Lord hath promised to them that love him." James 1:12 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pam_pgsql problems
On Mon, 2003-10-06 at 21:40, martin f krafft wrote: > also sprach Oliver Elphick <[EMAIL PROTECTED]> [2003.10.06.2214 +0200]: > > Your note on the use of psql suggests that somehow SSL is the > > default access method on your machine. That does not happen for > > me, adn I don't know what in your setup may be causing it. > > Even weirder. I have definitely never changed a "default access > method". Are you trying TCP based connections (-h localhost)? I am. I was running with ssl disabled. I have set up SSL for the PostgreSQL server, and now a TCP/IP connection to localhost uses SSL. It seems to me then that SSL is used by default if it is available. So the next question is, what is pam_pgsql doing wrong? -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Blessed is the man that walketh not in the counsel of the ungodly, nor standeth in the way of sinners, nor sitteth in the seat of the scornful. But his delight is in the law of the LORD; and in his law doth he meditate day and night." Psalms 1:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Incorrect system time
On Tue, 2003-10-07 at 22:50, Clive Menzies wrote: > I'm not sure if this is related but I found (I'm in London on British > Summer Time ie GMT +1) that if when configuring the base system I > selected yes to "Set Hardware Clock to GMT", Debian would be an hour > out. The hardware clock should always be set to UTC (formerly GMT). Then you should select the appropriate timezone (e.g. Europe/London). (Consider a machine which is being used by people in different countries; the machine has a default timezone, but each user can set a session timezone to suit his own location: [EMAIL PROTECTED] export TZ=Australia/Sydney [EMAIL PROTECTED] date Wed Oct 8 15:38:15 EST 2003 [EMAIL PROTECTED] unset TZ [EMAIL PROTECTED] date Wed Oct 8 06:38:25 BST 2003 The only time you want the hardware clock on local time is when you are dual-booting Windows, since Windows runs with local time in the hardware clock. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Let no man say when he is tempted, I am tempted of God; for God cannot be tempted with evil, neither tempteth he any man; But every man is tempted, when he is drawn away of his own lust, and enticed." James 1:13,14 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: netsaint
On Wed, 2003-10-08 at 16:50, Paul William wrote: > Hi, > > I installed netsaint but when I access it throught my browser I get the > following error message: > > Forbidden > You don't have permission to access /netsaint/ on this server. > > I am using woody and my web server is apache. The netsaint deb made the > needed changes to my httpd.conf. > Perhaps you need to restart or reload Apache? (I had a similar problem with phppgadmin, for which that was the solution.) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Let no man say when he is tempted, I am tempted of God; for God cannot be tempted with evil, neither tempteth he any man; But every man is tempted, when he is drawn away of his own lust, and enticed." James 1:13,14 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: upgrading postgres on unstable
On Sat, 2003-10-11 at 06:39, Monique Y. Herman wrote: > home:/var/lib/dpkg/info# apt-get install postgresql ... > Preconfiguring packages ... > (Reading database ... 76051 files and directories currently installed.) > Unpacking postgresql (from .../postgresql_7.3.4-6_i386.deb) ... > dpkg: error processing /var/cache/apt/archives/postgresql_7.3.4-6_i386.deb > (--unpack): > subprocess pre-installation script returned error exit status 20 ... > > So here's my question. How do I figure out what "exit status 20" means? > I d/l'd the source and grepped around in preinst.in, but I couldn't > figure it out. First, try installing after doing: # export DEBCONF_DEBUG=developer because the value of the error code suggests a debconf error. If that doesn't help, get the preinst script as below; add set -x at line 2 and run it (as root). Let me know where it stops. (You may have to extract the debconf files and load them into the debconf database - see debconf-devel(7) in the debugging section.) > Secondarily, is there a place that debian stores the currently-used > install files so that I don't have to download the whole source package > just to find them? It seems like /var/lib/dpkg/info only has this sort > of thing for fully-installed packages. You can extract it from the deb file: ar p /var/cache/apt/archives/postgresql_7.3.4-6_i386.deb control.tar.gz | tar xzf - ./preinst -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "I waited patiently for the LORD; and he inclined unto me, and heard my cry. He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings." Psalms 40:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian experimental packages of PostgreSQL 7.4beta4
Debian packages of PostgreSQL 7.4beta4 are available in the experimental section of the Debian archive. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "He that covereth his sins shall not prosper; but whoso confesseth and forsaketh them shall have mercy." Proverbs 28:13 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Probs Installing Testing pkgs on Woody stable
On Sat, 2003-10-11 at 05:34, Eric Walstad wrote: > Hi All, > > I'm a Debian newbie. Please be gentle. > > I've installed Woody stable and now find that I need to install: > .html > hostap-utils.html > wireless-tools.html > for a project I'm working on[1]. I think these packages are only available in > Debian's Sarge/Testing, but I'm not entirely clear on how to tell that for > sure. http://packages.debian.org/cgi-bin/search_packages.pl?keywords=hostap-source&searchon=names&subword=1&version=all&release=all (If you have galeon, just type the package name into the debs field in the bookmarks toolbar and it will fetch that URL for you.) > When I try to dpkg --install them or apt-get install them I get errors > to the effect that I'm going to screw with other packages if I install these. > Sorry, I'm at home now and don't have the command lines I issued nor the > error messages. Some apt requests can be impossible to fulfil; you would need to show the error messages. ... > I think my problems are, and hope for help with: > - I'm confused about apt-get vs. dpkg, when to use which and what they can and > can't do. I thought that one or both would magically handle the dependencies > for me, installing what is needed for me even if it meant replacing packages > with newer, testing, versions. apt-get will install all packages needed to fulfil your request, if it is possible. The command is apt-get install package dpkg installs a single package from a deb file: dpkg -i /path/to/package_1.2.3-4_i386.deb Using dpkg may leave dependencies unmet. Apt-get uses dpkg to install packages. > - Should I up[grade|date] my entire installation to Sarge/Testing? If so, > how? The best I could find on Debian.org said that I should burn a minimal > CD and then install from the net. Burning the CD is no trouble but, when I > tried to take this approch when installing Woody, it was not clear to me how > to specify a network install and from which site[s] the deb packages should > come. I would not advise using sarge; things tend to be out of date for a long time and non-bugginess is not guaranteed. unstable gets problems fixed much more quickly, though you are at the small risk of serious problems if there are bad bugs in a package. > - Should I just install these packages in non-debian form (from sources)? If you do, put them in /usr/local so as not to conflict with files installed by packages. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "I waited patiently for the LORD; and he inclined unto me, and heard my cry. He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings." Psalms 40:1,2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PostgresSQL database recovery
On Tue, 2002-10-22 at 20:06, Nils-Erik Svangård wrote: > Hi! > > Yesterday my main hd gave up (40gig up in smoke), /usr and /lib was on > another hd so they where saved. > in /lib there seems like the data from my postgressql databas survived, > but now when I have reinstalled and try to access the data it says data > test2 doesnt exist (thats the old database). > I have just copied the old files over the new installation, since its > the same version och postgres. Im running unstable, doesanyone know how > to use the data again?? You need to copy the whole tree of $PGDATA. (By default, that is in /var/lib/postgres, unless you set it to be somewhere else.) Its contents should look like this: olly@linda$ sudo ls $PGDATA PG_VERSION global pg_hba.confpg_xlog postmaster.opts basepg_clog pg_ident.conf postgresql.conf postmaster.pid To be clear, the database includes eseential files at the top level of $PGDATA; you cannot simply copy part of the tree. Your backup procedures should include the use of pg_dumpall to copy the database either to another machine, or to a tape, or at least to another disk in the same machine. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "I press toward the mark for the prize of the high calling of God in Christ Jesus." Philippians 3:14 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why debian sucks.
On Sun, 2002-08-11 at 04:52, Greg Ray wrote: > Actually I like debian but I hate this list, I used to post about 7 months > ago but then I had to sell my server. I have been trying to get off this > list since then but it seems it is ran by a monkey or a guy who could'nt > give a rats ass. Now I am trying the dumbass aproach and maby, just maby > someone will kick me off. Your problem is that, since you have changed your server, your unsubscribe message is coming from the wrong address. You will have to be removed manually. If you are getting no response from [EMAIL PROTECTED], keep trying them; they are very busy people. Alternatively, arrange for all messages from the list to your old address to be bounced; that will get you unsubscribed automatically, I think. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Cast thy burden upon the LORD, and he shall sustain thee; he shall never allow the righteous to fall." Psalms 55:22 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [kosuke@rustybear.com] Re: can't kill a PID
On Sun, 2002-11-03 at 12:23, Rupert wrote: > > > Kevin Coyner told: > > > > I always thought that with 'kill -9 PID' you could clean up just about > > > > any process, but I've run into one that just won't go ... > > > > > > > > sakura:~$ ps aux |grep xmms > > > > kosuke9026 0.0 0.9 14460 4932 ? D 00:16 0:00 xmms > > > > kosuke9027 0.0 0.0 00 ? Z 00:16 0:00 [xmms ] > > > > > > > > I've tried 'kill -9 9026 9027', but every time I go back and ps/grep it, > > > > it's still there. And in the meantime, if I try to start a new xmms, it > > > > will start a new PID in addition to 9026, but the program itself won't > > > > show up. > > > > > > > > Brainwashed from too many early years in the MS world, I'm tempted to > > > > reboot. But hoping there's a better, Linux way to clean this up. > > > > > > killall -9 xmms > > > > > > > Just tried that, and the monster continues to live . > > > > Kevin > > I've done something along the lines of > > while killall -9 xmms; echo -n .; sleep 1; done > > in the past, with varying success. If kill won't work, killall and the like won't; they are merely convenient front-ends to kill a collection of process all at once. Sometimes a process gets stuck waiting for an event that is never going to happen. xmms (9026), in that ps report, is in state D - uninterruptible sleep. It's probably waiting for some kind of IO event. Because it is uninterruptible, it never wakes up to find that it has been killed, so it won't go away, even for a SIGKILL (kill -9). Process 9027 is dead, but it won't go away until its parent (9026) wakes up and cleans up; until then it is in state Z - zombie. I think you will have to reboot the machine. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Lo, children are an heritage of the LORD; and the fruit of the womb is his reward."Psalms 127:3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: repost - printing - help please
On Tue, 2002-11-12 at 04:44, Sandip P Deshmukh wrote: > hello all! > > my umpteen number of attempts to set my printer have been unsuccessful. > > here is the set-up: > > computer is running on woody 3.0 > > hp deskjet 710c printer is connected to it on lpt1 (i am using windows nomenclature) > > i tried reading linuxprinting.org - could not unsderstand much > > here is what confuses me: > > lpd, lpr-ppd, lprng, cups, /dev/lp0 - too too confusing. lpd = spooler daemon from the packages lpr or lprng /dev/lp0 = hardware device for the printer cups = modern spooling system; replacement for lpr/lprng > what i really want to do is this: > > set-up a printer (i miss windows 'add printer wizard') > > be able to print basic documents from my shell and X > > is it really so difficult? could someone post simple to understand list of >instructions? Install packages cupsys-server, cupsys-client and cupsys-bsd. These are your print spooler packages. (cupsys-bsd provides commands that are compatible with those from lpr and lprng.) The kernel must support use of the parallel port and printing through it. You need the kernel modules lp, parport and parport_pc to be installed (or built into the kernel). You should have lp listed in /etc/modules, so that the module gets loaded at boot time. If this command echo "You should see this on paper" >/dev/lp0 does not produce anything on the printer, it probably means that the kernel modules are not loaded; /sbin/lsmod will tell you what is loaded. If the modules are not present, do (as root) /sbin/depmod -a /sbin/modprobe lp parport_pc to load them. (modprobe will fail if the modules are actually built into your kernel.) If the modules are present or built in, and that echo command does not work, you may have a hardware problem. Once you know that the printer device is working, read the CUPS documentation and set up the spooler. Once the spooler is set up, the commands lpr (from cupsys-bsd) or lp (from cupsys-client) can be used to print documents. Read their manpages. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "He that loveth father of mother more than me is not worthy of me; and he that loveth son or daughter more than me is not worthy of me. And he that taketh not his cross, and followeth after me, is not worthy of me." Matthew 10:37,38 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: postgresql problem in woody and sid
On Mon, 2002-11-18 at 02:31, marco wrote: > I cannot get postgresql to install : > > Here is the error message: > > Now installing the PostgreSQL database files in /var/lib/postgres/data > su - postgres -c cd /var/lib/postgres; . ./.bash_profile; LANG=C initdb > --encoding UNICODE --pgdata /var/lib/postgres/data > -su: initdb: command not found ... > > I played around with the .profile and .bash_profile in /var/lib/postgres > which were both not exporting the PATH but this did not help. ~postgres/.bash_profile should contain: . /etc/postgresql/postmaster.conf PATH=/bin:/usr/bin:/usr/lib/postgresql/bin PGDATA=${POSTGRES_DATA:-/var/lib/postgres/data} PGLIB=/usr/lib/postgresql/lib export PGLIB PGDATA -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "A Song for the sabbath day. It is a good thing to give thanks unto the LORD, and to sing praises unto thy name, O most High." Psalms 92:1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How can I make root filesystem read-only?
On Thu, 2002-11-21 at 10:36, Hiroki Horiuchi wrote: > Hello. > > My /etc/fstab is like below. > > /dev/sda1 / ext2 errors=remount-ro 0 1 > /dev/sdb1 none swap sw0 0 > /dev/sdc1 /tmp ext2 defaults 0 2 > /dev/sdd1 /var ext2 defaults 0 3 > /dev/sde1 /home ext2 defaults 0 4 > > I am trying to make the root filesystem including /usr subdirectory > read-only. But, if I set the mount option of / to ro, system cannot boot. > Making only /usr read-only is not enought for me. > Cannot root filesystem be read-only? In effect, no. For example, /etc must be in the root filesystem and mount writes to /etc/mtab Perhaps you could arrange to have a RAM disk for root? (See initrd.) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "A new commandment I give unto you; That ye love one another. As I have loved you, so ye also must love one another. By this shall all men know that ye are my disciples, if ye have love one to another." John 13:34,35 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Tora & PostgreSQL
On Sun, 2002-11-24 at 19:17, Christophe Courtois wrote: > Hi, > > I've tried TORA from both woody and sarge, but after launching it, it > always says "No enabled connection provider, plugin probably missing". > No base or connection can ce selected after that. > > Although it seems everybody is there : > christ@choupi:/usr/lib/qt3/plugins/sqldrivers$ ll > -rw-r--r--1 root root86200 2002-03-29 22:11 > libqsqlodbc.so > -rw-r--r--1 root root47644 2002-04-24 06:45 > libqsqlpsql.so > > I've got a similar plugin-mt directory too (don't know the > difference). I've set this directory in the OPtions box, without any > result. Judging by my setup (which works) the plugin directory should be /usr/lib/tora. There should be a symbolic link there to /usr/lib/qt3/plugins/sqldrivers/libqsqlpsql.so -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Jesus saith unto him, I am the way, the truth, and the life; no man cometh unto the Father, but by me." John 14:6 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Calculator for X
On Tue, 2002-11-26 at 11:32, [EMAIL PROTECTED] wrote: > Hi there, > > I might be totally stupid, but when I do a dselect, I just cannot find > a calculator for an X-Window system. The only module I've found is > named 'calc', but dosn't work in an X-window system, does it?? gnome-calculator is in gnome-utils xcalc is in xbase-clients kcalc is in kcalc -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited signature.asc Description: This is a digitally signed message part
Re: kernel building for newbies
On Sat, 2002-11-30 at 00:44, Caitrin Torres wrote: > Can anyone recommend a tutorial or howto on debian kernel building > that'd be suitable for someone who's never built a kernel before? I > have an external CD burner that is supposed to use the bpck6 module. > A search confirmed that it's a part of the kernel-image and > kernel-headers packages, but I'm not entirely sure what to *do* with > those packages or what else I need. > > Also, is there anything to be gained by switching from 2.4.18 to > 2.4.19 while I'm at it? This is my home computer, not a production > machine, but I still don't want to upgrade if there isn't a good > reason. Install the "kernel-package" package and study its documentation. It is designed to build kernel packages for Debian. Install a kernel-source package to build from. As for a kernel-image package: install it, check /etc/lilo.conf, run lilo and reboot. -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited signature.asc Description: This is a digitally signed message part
IDE disks won't interoperate
Situation: I have a 6Gb 2.5" drive from a laptop, that won't boot in the laptop and has been replaced by a 10Gb drive. (The old disk is Hitachi DK228A-65, and the new is DK23BA-10.) The laptop repairers copied the Windows partition but couldn't handle the ext2 partitions. I need to get those partitions onto the new laptop disk. I mounted the old 6Gb drive in a desktop pc (running woody, with kernel 2.4.18-k7) as /dev/hdd and copied the files from the ext2 partitions onto another disk. Then I put the 10Gb disk onto /dev/hdd, intending to copy back on to it. However, the machine won't boot with it there; I get complaints about lost interrupts. (The drive is correctly jumpered as a slave, according to the instructions printed on it.) From dmesg: ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio hda: QUANTUM FIREBALLlct10 10, ATA DISK drive hdb: Conner Peripherals 1080MB - CFS1081A, ATA DISK drive hdc: IDE/ATAPI CD-ROM 50XS, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=19885/16/63, UDMA(33) hdb: 2114180 sectors (1082 MB), CHS=2097/16/63, DMA On booting, if /dev/hdd is present, the BIOS may complain: Primary IDE channel no 80 conductor cable installed Secondary IDE channel no 80 conductor cable installed and refuse to boot. Last time, I got round this by auto-detecting each of the four drives, but the BIOS settings seem to get lost. If I boot without the drive; then put it back in and boot again, it shows as 2Gb instead of 10Gb and needs to be autodetected again. (At the moment it won't boot at all with that drive in.) Can anyone suggest what the problem is and how I can get round it. -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited signature.asc Description: This is a digitally signed message part
Re: How stable is SiD ?
On Fri, 2003-09-05 at 14:27, Joris Lambrecht wrote: > Hi, > > Can anyone advise on starting to use SiD as resource for my Debian > Workstation ? Doesn't it have to many issues left open, broken > dependencies etc. If the dependencies are broken, apt won't load the broken packages. I use sid all the time, and rarely have problems, but if you don't feel competent to deal with possible problems, stay with woody. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "He hath not dealt with us after our sins; nor rewarded us according to our iniquities. For as the heaven is high above the earth, so great is his mercy toward them that fear him. As far as the east is from the west, so far hath he removed our transgressions from us." Psalms 103:10-12 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sudo: howto ls directories, &c ???
On Fri, 2003-09-05 at 21:56, Michael D Schleif wrote: > Consider this scenario, whereby sudo *cannot* seem to facilitate > necessary access: ># ls -al /var/log/exim/rejectlog* >ls: /var/log/exim/rejectlog*: Permission denied Here the user does not have permission to read the contents of /var/log/exim ># sudo ls -al /var/log/exim/rejectlog* >ls: /var/log/exim/rejectlog*: No such file or directory This time, sudo would allow you to read /var/log/exim, but the wildcard in rejectlog* is interpreted by the shell _before_ sudo executes. The user does not have permission, so the shell finds no files to match the wildcard, so it passes it through unchanged. Now sudo is effectively running ls -al '/var/log/exim/rejectlog*' (no interpretation by the shell, because no shell is being run) and of course no such file exists. ># sudo -u mail ls -al /var/log/exim/rejectlog* >ls: /var/log/exim/rejectlog*: No such file or directory Same again here. > Occasionally, I run into similar glitches using sudo. I want to better > define, in my own head, what can and cannot be done under sudo; and, how > best to _always_ avoid su to root. > > What do you think? sudo sh -c "ls -al /var/log/exim/rejectlog*" so that you start a shell which can interpret the wildcard as root. The quotes protect the wildcard from being interpreted by the user's shell. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "He hath not dealt with us after our sins; nor rewarded us according to our iniquities. For as the heaven is high above the earth, so great is his mercy toward them that fear him. As far as the east is from the west, so far hath he removed our transgressions from us." Psalms 103:10-12 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: problem updating postgresql package
On Sat, 2003-09-06 at 00:35, Malcolm Warren wrote: > Got the following message updating postgresql to 7.3.2 > > Any ideas? > > Unpacking postgresql (from .../postgresql_7.3.2r1-5_i386.deb) ... > dpkg: error processing > /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb (--unpack): > subprocess pre-installation script returned error exit status 128 > Errors were encountered while processing: > /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > Any help welcome. I need to see what the error was, so you must modify the preinst script in the package and put a trace in it. This is a bit complicated since it is the preinstallation script that is failing and it is only in the deb: # mkdir /tmp/pg # cd /tmp # ar x /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb control.tar.gz # cd /tmp/pg # tar xzf ../control.tar.gz # vi ./preinst Add the line "set -x" at line 2 of the script and file it. # tar czf ../control.tar.gz . # cd .. # ar r /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb control.tar.gz # dpkg -i /var/cache/apt/archives/postgresql_7.3.2r1-5_i386.deb Now when it fails, we should know roughly what it was trying to do. (FYI, 7.3.4 is now in unstable.) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Behold, I stand at the door, and knock; if any man hear my voice, and open the door, I will come in to him, and will sup with him, and he with me." Revelation 3:20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Similar app for Disk Catalog?
On Sat, 2003-09-06 at 23:16, [EMAIL PROTECTED] wrote: > Hi, > > There's this handly tool: > http://www.rob.cybercomm.nl/diskcat/index.html > I found for windows, is there an app similar to this? It basically scans > cd's, directories for filenames/directories and catalogs them, it then > saves the database into a file for viewing/searching using the tool. Something like this (using PostgreSQL)? $ psql -d mydatabase -c "CREATE TABLE diskcat (directory text not null, file text not null, primary key (directory, file))" $ for f in `find mydirectory -type f` do echo -e "`dirname $f`\t`basename $f`" done | psql -d mydatabase -c "COPY diskcat FROM STDIN" -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Behold, I stand at the door, and knock; if any man hear my voice, and open the door, I will come in to him, and will sup with him, and he with me." Revelation 3:20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Postgresql: pg_dumpall
On Sun, 2003-06-15 at 15:12, [EMAIL PROTECTED] wrote: > I use Postgresql 7.2.1-2woody2 which is currently included in the Woody > distribution. > I tried to use /usr/lib/postgresql/dumpall/pg_dumpall, but it doesnt work at > all. That program is copied from the previous installed version in order to automate the upgrade procedure. Once you have successfully upgraded, all the contents of /usr/lib/postgresql/dumpall/ can be deleted. ... > Is the pg_dumpall, which is bundled with Woody broken or why > doesnt it work? Wrong Version? You need to use /usr/lib/postgresql/bin/pg_dumpall. If you log in (or su -) as postgres, this should be in your path. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Jesus said unto her, I am the resurrection, and the life; he that believeth in me, though he were dead, yet shall he live." John 11:25 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
PostgerSQL 7.3 packages for woody
Packages of PostgreSQL 7.3 built for woody are available at http://people.debian.org/~elphick -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "For thou art my hope, O Lord GOD; thou art my trust from my youth." Psalms 71:5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PostgerSQL 7.3 packages for woody
On Fri, 2002-12-13 at 16:20, eric lin wrote: > Oliver Elphick wrote: > > Packages of PostgreSQL 7.3 built for woody are available at > > http://people.debian.org/~elphick > > > when I do apt-get isntall postgresql > > it finaaly response error > > Setting up postgresql (7.3rel-7) ... > initdb: pg_encoding failed ... > please help This is a new one... First of all, can you do this: $ /usr/lib/postgresql/bin/pg_encoding 2 EUC_CN If that is OK, try (as user postgres): $ pg_encoding 2 If that fails, the search path is wrong; /etc/postgresql/postgresql.env (from package postgresql-client) needs to be sourced by postgres's .profile If that works, make sure $PGDATA is empty and owned by postgres, or non-existent and able to be created by postgres. Then (change C and SQL_ASCII to suit your site): $ LANG=C initdb --debug --pgdata $PGDATA --encoding SQL_ASCII This will produce a lot of output, but it should indicate what is going wrong. Post the relevant bits. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "For thou art my hope, O Lord GOD; thou art my trust from my youth." Psalms 71:5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cron problem
On Fri, 2002-12-13 at 11:58, Ludwig wrote: > This only started a week or two ago: I've been getting emails from the > cron daemon indicating a problem with /etc/crontab or cron itself. I've > tried using crontab to regenerate /etc/crontab, and purging and > reinstalling cron, and but am still getting the following: The problem is not with cron itself. > From: Cron Daemon <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] and reinstalling, and dns.org > Subject: Cron roottest -e > /usr/sbin/anacron || run-parts --report /etc/cron.daily This is the command it was trying to run So run "/bin/run-parts --verbose /etc/cron.daily" and see where the error is occurring. Then take the offending scripts from /etc/cron.daily/* and turn on debugging (for example add set -x near the top of the script) so that you can see what is going wrong. Then report a bug against the appropriate package. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "For thou art my hope, O Lord GOD; thou art my trust from my youth." Psalms 71:5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PostgerSQL 7.3 packages for woody
On Sat, 2002-12-14 at 02:57, eric lin wrote: > Oliver Elphick wrote: ... > > If that is OK, try (as user postgres): > > > > $ pg_encoding 2 > > > > If that fails, the search path is wrong; /etc/postgresql/postgresql.env > > (from package postgresql-client) needs to be sourced by postgres's > > .profile > > this step I failed, both as root and end-user, > so how should I modify?(at /etc/postgresql/postgresql.env ? or anywhere > to do anything?) You need a file in the home directory of postgres to load its environment. Become user postgres Use your favourite editor, such as vi, to edit the profile for postgres: $ vi ~postgres/.profile The contents of the file should look like this: . /etc/postgresql/postmaster.conf PATH=/bin:/usr/bin:/usr/lib/postgresql/bin PGDATA=${POSTGRES_DATA:-/var/lib/postgres/data} PGLIB=/usr/lib/postgresql/lib export PGLIB PGDATA After you have done that, logout of postgres and log into it again. You should then be able to do: $ pg_encoding 2 If that works, log out of postgres, become superuser and retry the installation of postgresql: # dpkg --pending --configure -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: probable newbie cannot get X to run (Was: no subject)
On Fri, 2002-12-27 at 00:49, Seneca wrote: > Before my reply, I have a message for Bear. Please configure Outlook to > send messages in plain text (not HTML) and add a meaningful subject > line. You are more likely to get a response from a real person that way. > Please also check the spelling in your messages, which can be important > when referring to file names (with file systems like ext2, even the case > of it can make a difference; XF86Config is a config file, xf86config is > a configurator, and XF86config does not exist). > > On Thu, Dec 26, 2002 at 04:11:46PM -0800, Bear wrote: > > I have tried to reconfigure to get x windows to run, plus tried reload > > of the entire system to get x windows to run, but x windows still does > > not work. I am getting the following error > > > > _x11 TransSockectUnix Connect Can't connect errno = 111 > > > > unable to communicate with xsever > > Is your xserver installed and running? What is the output of startx? Are > all the packages necessary for X to run installed? The packages that are > generally required/useful for a desktop machine are: > > 0) xserver-xfree86 > 1) xserver-common > 2) xfree86-common > 3) xfonts-base > 4) xfonts-scalable > 5) xfonts-75dpi or xfonts-100dpi > 6) xlibs > 7) xbase-clients > 8) xterm > 9) a window manager > > > the/ect/x111/XF86 config file was not created > ^^-> should be /etc/X11/XF86Config > > Run the command: > > # dpkg-reconfigure xserver-xfree86 > > The '#' at the beginning of the command refers to the prompt. As it is > '#', run the command as root. If the prompt were '$', then the command > would be run as an ordinary user. > > -- > Seneca [EMAIL PROTECTED] -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re:
On Fri, 2002-12-27 at 00:11, Bear wrote: > I have tried to reconfigure to get x windows to run, plus tried reload > of the entire system to get x windows to run, but x windows still does > not work. I am getting the following error > > _x11 TransSockectUnix Connect Can’t connect errno = 111 > > unable to communicate with xsever error 111 indicates a permissions problem. You need to say more about what you are doing. -- Oliver Elphick <[EMAIL PROTECTED]> LFIX Limited -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: apt-get upgrade (potato -> woody) dependency problem?
On Tue, 2002-12-31 at 04:14, will trillich wrote: > couldn't get the ~elphick/postgresql apt thingie to work, so i'm I think that is now fixed. Please, let me know. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Ye have heard that it hath been said, Thou shalt love thy neighbour, and hate thine enemy. But I say unto you, Love your enemies, bless them that curse you, do good to them that hate you, and pray for them which despitefully use you, and persecute you;" Matthew 5:43,44 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can you install programs without apt packages?
On Tue, 2002-12-31 at 19:09, Scott wrote: > Hi, > > I am fairly new to the Linux world and am going through all of the > documentation and installation info for Debian 3.0. > > I will have a system that is going to be offline and probably never > connected to the internet. Am I going to be able to choose source files and > tarballs, etc. to compile on this system offline, or am I going to be > screwed on updating since I will not have an internet connection on it for a > while? You can compile anything you like, though without a net connection you will obviously be limited to things you can get from other sources. For Debian packages, you can use apt with a local repository or a set of CDs. > Just curious, as I don't see this in the docs or forums. I see everyone > loving apt-get and Gentoo's portage, but that is not going to work on my > current setup. In the future, yes, but I don't know how long it will be. If you have a bare package file (foo*.deb) you can install it directly with dpkg, though you may have to spend time tracking down dependencies and acquiring the relevant packages. You can use alien to convert a tarball or rpm into a Debian pacakge (results NOT guaranteed!), or you can compile from source and install in /usr/local (to avoid conflicts with packages). -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "Ye have heard that it hath been said, Thou shalt love thy neighbour, and hate thine enemy. But I say unto you, Love your enemies, bless them that curse you, do good to them that hate you, and pray for them which despitefully use you, and persecute you;" Matthew 5:43,44 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Upgrade to Snort 1.9.0
On Fri, 2003-01-03 at 18:29, Stefan Drees wrote: > Hello, > im working with debian since three months (coming from suse) and its great. > But now i need to upgrade snort 1.8.7 (from testing) to 1.9.0 because there > are no more rule files for 1.8.X. > > So i have looked in unstable and found out, that i must upgrade to libpcap > 0.7, > libc6-2.2.5-13 and libdb1-compat 2.1.3-7. > libdb1-compat 2.1.3-7 seems to be ok, no problems listed. > libpcap 0.7 seems to be ok, no "critical" problems listed only a missing > link to libpcap.so.0. > libc6-2.2.5-13 has many listed bugs and other problems. => problem => system > stable? > > I need snort 1.9.0 but i want the system to be stable. Hope someone can help > me, how to do it. If you don't want to pull in the dependencies, you will have to build it from source, something like this: # apt-get devscripts fakeroot $ cd .../src $ apt-get source snort $ cd snort-1.9.0 $ debuild That will create a package in .../src, which you can then install: # dpkg -i .../src/snort_1.9.0*deb -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "I love them that love me; and those that seek me early shall find me."Proverbs 8:17 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Upgrade to Snort 1.9.0
On Fri, 2003-01-03 at 18:55, Oliver Elphick wrote: > If you don't want to pull in the dependencies, you will have to build it > from source, something like this: > > # apt-get devscripts fakeroot I forgot to mention that this needs a source entry for unstable in /etc/apt/sources.list, such as: deb-src http://ftp.de.debian.org/debian unstable main contrib non-free And do an `apt-get update' before running `apt-get source'. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "I love them that love me; and those that seek me early shall find me."Proverbs 8:17 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How does one use debugging library packages?
I have libgtk1.2-dbg installed; it contains /usr/lib/debug/libgtk.so and libgtk-1.2.so.0*, which contain debugging symbols. I have not found a way to get these libraries used in preference to the standard ones in /usr/lib. I had thought of using -rpath, but gcc 3.2 does not seem to contain that option. In the end I had to copy the debug libraries into /usr/lib. What is the proper way to do it? -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C "For I know that my redeemer liveth, and that he shall stand at the latter day upon the earth" Job 19:25 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: PS/2 vs Serial mouse.
Fu-Dong Chiou wrote: >Hi, > >I have a question regarding using a Logitech cordless MouseMan Pro PS/2 >mouse on a Compaq LTE 5200 notebook. Although it is a PS/2 mouse, I can >only hook it up to COM1 to get it to work in X. If I plug it into PS/2 >port, the cursor won't move. I assume it's because ttyS0 is taken by >COM1 and not PS/2 port. Can anyone tell me if this is the case, and >which one is for PS/2, or will the mouse work as a PS/2 mouse? I am >using "MouseMan" as the mouse protocal. Thanks! The device to use for PS/2 is /dev/psaux, not ttyS0. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Let your conversation be without covetousness; and be content with such things as ye have. For he hath said, I will never leave thee, nor forsake thee." Hebrews 13:5
Re: Setting software clock (gmt)
Chris Frost wrote: > >--dDRMvlgZJXvWKvBx >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: quoted-printable > >I'd like to have a box setup so that it's hardware clock is set to gmt, >while in software the box presents the time in the local time (central >fwiw); how would I do this? Is there a pre-setup way to account for >daylight savings time, or should I either do it manually or through cron? Use tzconfig to set up your timezone, which is best defined by the nearest city in the same zone (so mine is Europe/London). Use date to set the system time to the correct local time. Then use `hwclock --systohc --utc' to set the hardware clock to UTC (= GMT). (All as root, of course.) -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Let your conversation be without covetousness; and be content with such things as ye have. For he hath said, I will never leave thee, nor forsake thee." Hebrews 13:5
Re: Newbie trouble: How to log on as "root"
[EMAIL PROTECTED] wrote: >How do I change from user to root when Linux by default asks for my "user" >password on startup? root is another username, that happens to have special privileges. To log in as root, use the name `root' when you are asked to log in, and then give the password that you were asked to assign to root (the superuser) while you were installing the base system. When you type `exit' or ctrl-d you are returned to the login prompt. If you are already logged in, you can use the command `su -' to become root, as if you had logged in directly as root. This command prompts you for the superuser password. When you type `exit' or ctrl-d you are returned to your own session. >Is it possible to change the user-privileges to allow me a large degree of >freedom within the system as "user" (suppose it is, but how?!) It is possible, but undesirable to do this. Part of the reason for not operating as root is to protect yourself from your own mistakes. If you are root, it is perfectly possible to wipe out your system with a few keystrokes. I recommend you to read the Debian Tutorial, which is available via a link on the Debian Documentation Project page at www.debian.org/~elphick/ddp/. There is a lot of information in the Tutorial for people like yourself who need to learn basic Unix stuff. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "There is a way that seems right to a man, but in the end it leads to death." Proverbs 16:25
Re: Kernel Panic (RE: kernel too big)
"Camilo Alejandro Arboleda" wrote: >Thanks to every one for the help with my first problem. > >Finaly I could compile the new kernel, but I could not start the system >with the new kernel. > >I get this message: >'kernel panic: no init found. Try passing init = option to kernel' > >What is the value of 'option'? >How I pass this value to the kernel? You should never need to do so. By default, /sbin/init is run. If this is suddenly not available to your kernel, it suggests that you have not included support for your hard disk in the kernel. (Your root disk support cannot be a module; it must be in the kernel itself.) My guess is that the BIOS is loading your kernel, but the kernel doesn't know how to read the disk. Do your boot messages from the kernel suggest that it is finding the hard disk? Look for references to /dev/hda, or /dev/sda if it's SCSI. -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Fear not, for I am with thee; be not dismayed, for I am thy God. I will strengthen thee and I will help thee; yea, I will uphold thee with the right hand of my righteousness." Isaiah 41:10
Re: exmh question
trapstep wrote: >Hi! > >i now use exmh for my mails, but i miss a "sent-mail" folder :-( doesn't exm >h >save the mails i send? if yes, where will i find them and if no, is there a >way to automatically send me a copy of all outgoing mail? You can do it on a one-off basis by adding Fcc: folder to the mail headers. To do this for every mail you send, you need to create a components file in your ~/Mail directory (and a replcomps and forwcomps file, too). components is used when you press the Comp button (or do comp in a text window); forwcomps is used for Forward and replcomps for Reply. These files set up your headers to your personal taste. My files look like this: components X-URL: http://www.lfix.co.uk/oliver X-face: "xUFVDj+ZJtL_IbURmI}!~xAyPC"Mrk=MkAm&tPQnNq(FWxv49R}\>[EMAIL PROTECTED] KMLl*!h}B)[EMAIL PROTECTED]|B}6[EMAIL PROTECTED] KMLl*!h}B)[EMAIL PROTECTED]|B}6http://www.lfix.co.uk/oliver X-face: "xUFVDj+ZJtL_IbURmI}!~xAyPC"Mrk=MkAm&tPQnNq(FWxv49R}\\>[EMAIL PROTECTED] KMLl*!h}B)[EMAIL PROTECTED]|B}6%>%>)\ %<(nonnull)%(void(width))%(putaddr To: )\n%>\ %<(mymbox{to})%|%(lit)%(formataddr{to})%(formataddr{cc})\ %<(nonnull)%(void(width))%(putaddr cc: )\n%>%>\ cc: Fcc: fcc %<{subject}Subject: Re: %{subject}\n%>\ In-reply-to: Message from %<{from}%{from}%|%{sender}%>\n\ of %<(nodate{date})%{date}%|%(pretty{date})%>.%<{message-id}\ %{message-id}%>\n\ _ replcomps -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Verily, verily, I say unto you, He that heareth my word, and believeth on him that sent me, hath everlasting life, and shall not come into condemnation; but is passed from death unto life." John 5:24
Re: ipacset
Alisdair McDiarmid wrote: >> > Cron continues to mail me every six minutes with this message. >> > Has anyone got any idea why, or how to stop it? >> > >> > From: [EMAIL PROTECTED] (Cron Daemon) >> > Subject: Cron <[EMAIL PROTECTED]> test -f /etc/ipac.conf && test -f >> > /usr/sbin/fetchipac >> > +&& /usr/sbin/fetchipac >> > To: [EMAIL PROTECTED] >> > /usr/sbin/fetchipac: Cant read "/var/run/ip-accounting-rules" - ipacset >not >> > run? ... >It tells me that the Cron Daemon is looking for something to do >with ip-accounting-rules every six minutes, not finding it and >emailing me to say so, and very little else. > >I don't know what ip-accounting rules are. Heck, I don't even >know what ip-accounting is. To find out where the command is, look at /etc/crontab and /etc/cron.d/* for a line that contains `test -f /etc/ipac.conf && test -f /usr/sbin/fetchipac' To find out about the package that contains fetchipac or ip-accounting-rules do dpkg -S fetchipac. That will tell you the name of the package (I don't have it installed, whatever it is). Then you can research the package and find out how to create a /var/run/ip-accounting-rules that satisfies it. From the message, it rather looks as if you need to run ipacset; so `man ipacset' might be a good start. -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "And he said unto Jesus, Lord, remember me when thou comest into thy kingdom. And Jesus said unto him, Verily I say unto thee, To day shalt thou be with me in paradise." Luke 23:42,43
Re: libXt.a, libX11.a
"Eric G . Miller" wrote: >Hello, > I'm trying to compile GRASS, but it wants these X libraries: libXt.a & >libX11.a. Unfortunately, they don't exist. I do have libXt.so.6 and li >bX11.so. Question: Would rewriting the config script so it uses the Elf > shared libraries as opposed to the "ar" type libraries work? If not, w >here can I get the "ar" type libraries? They are in package xlib6g-static -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "There is therefore now no condemnation to them which are in Christ Jesus, who walk not after the flesh, but after the Spirit." Romans 8:1
Re: Kernel Panick: VFS: Unable to mount root.fs on 16:02
Johann Spies wrote: >I got this message after recompiling my kernel and I cannot find out what >is causing it. I have a single computer that uses a dialup ppp connection >to the ISP. > >Before the error message in the subject line there were two other error >lines: > >request_module[block-major-22]: root fs not mounted >VFS: Cannot open device 16:02. That says you're trying to mount /dev/hdc2 as your root partition, and are failing. Is that what is meant to be happening? -- Vote against SPAM: http://www.politik-digital.de/spam/ ======== Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Train up a child in the way he should go, and when he is old, he will not depart from it."Proverbs 22:6
Re: more fetchmail questions
Chris Flipse wrote: ... >I say until now because I hadn't noticed my setup's behavior where >bounced mail is concerned -- basically, fetchmail grabs the mail, shunts >it to my local sendmail deamon, and tries to deliver it. > >The problem is that when sendmail cannot deliver it, it sends out a >bounce message, and the fetchmail client terminates the fetch, since it >is unable to deliver the mail. Which is fine, and desireable behavior. >What isn't desireable is that fetchmail leaves the offending piece of >mail on the server, to be bounced *again* the next time fetchmail is >run. > >So, basically ... how on earth do I get rid of a piece of mail from my >server when my local sendmail can't deliver it? What I have done in a like case was to connect to the server with telnet on the pop-3 port and delete the message by hand. It goes something like this: telnet mail-server pop-3 # connect to the server user # give it your username pass # give it your password retr 1 # assuming message 1 is the problem # this should let you see the message dele 1 # delete it quit # quit! Check the RFC's for the correct syntax; once you are connected, you may be able to say `help' - I can't remember. -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Love not the world, neither the things that are in the world. If any man love the world, the love of the Father is not in him."I John 2:15
Re: postgresql errors after upgrade
Pollywog wrote: >Every time Postgresql gets upgraded, I get these errors: > >On 01-Jul-99 Cron Daemon wrote: >> Connection to database 'template1' failed. >> connectDB() -- connect() failed: Connection refused >> Is the postmaster running at 'localhost' and accepting connections on Unix >> socket '5432'? > >Ouch!! What can I do to fix this, other than uninstalling postgresql? You may have to start up the postmaster yourself (there are problems with su from pam-apps): /etc/init.d/postgresql start If that doesn't work, you will need to give more information. -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Seeing then that we have a great high priest who has gone into the heavens, Jesus the Son of God, let us hold firmly to the faith we profess. For we do not have a high priest who is unable to sympathize with our weaknesses, but we have one who was tempted in every way, just as we are-yet was without sin." Hebrews 4:14,15
sendmail - cannot email out from a laptop with no DNS?
Can anyone help, please, with this problem? I use a laptop at a customer's site, and when I am there, my laptop is configured as if it were one of their own machines and is listed in their /etc/hosts; they do not run DNS. Their mailserver is running Microsoft Exchange(?); I can download mail with POP3 and am supposed to be able to upload mail with SMTP. However, in every configuration I have tried, including specifying the IP address directly in the "To:" address, sendmail defers the mail, saying that it is unable to resolve the reference. /etc/nsswitch contains only "files"; the "dns" word is commented out. I have made sure that the SMTP server is listed in my /etc/hosts; this is the same host from which I successfully get mail with fetchmail (POP-3 protocol). -- Vote against SPAM: http://www.politik-digital.de/spam/ ======== Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "God is our refuge and strength, a very present help in trouble." Psalms 46:1
Re: What provides glib.h?
... >You have glib.h. The error is saying it cannot find glibconfig.h. I had the >same problem just now. A search yields: > >$ dpkg -S glibconfig.h >libglib1.2-dev: /usr/lib/glib/include/glibconfig.h > >So the answer to this is to add /usr/lib/glib/include to our include paths. For portability in compiling gtk+ programs, use gtk-config: $ gtk-config --cflags -I/usr/X11R6/include -I/usr/lib/glib/include $ gtk-config --libs -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm include these in your Makefile something like this: LIBS += `gtk-config --libs` CFLAGS += `gtk-config --cflags` -- Vote against SPAM: http://www.politik-digital.de/spam/ ======== Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life." John 3:16
Re: postgres install error from apt
Pollywog wrote: > > >Does anyone know what the problem might be? > > >running dpkg --pending --configure >... >Setting up postgresql-pl (6.5-3) ... >Enabling the PL procedural language in all PostgreSQL databases... >Could not execv /usr/lib/postgresql/bin/psql >Cannot select databases >dpkg: error processing postgresql-pl (--configure): > subprocess post-installation script returned error exit status 2 >Errors were encountered while processing: > postgresql-pl There was a filename clash between libpgsql2 and a previous release of postgresql. You will probably find that libpgsql2 is not properly installed. This was because the psql executable was moved between the two packages and I seem to have messed up the procedure slightly. psql is used by postgresql-pl's postinst script, which is why you have this problem. Make sure that libpgsql2 is properly installed (which will work fine the second time around), and you will then be able to configure postgresql-pl. -- Vote against SPAM: http://www.politik-digital.de/spam/ ==== Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Blessed is the man that trusteth in the LORD, and whose hope the LORD is."Jeremiah 17:7
Re: postgres install error from apt
Pollywog wrote: > >On 19-Jul-99 Oliver Elphick wrote: >> >> There was a filename clash between libpgsql2 and a previous release of >> postgresql. You will probably find that libpgsql2 is not properly >> installed. This was because the psql executable was moved between the two >> packages and I seem to have messed up the procedure slightly. psql is use >d >> by postgresql-pl's postinst script, which is why you have this problem. >> >> Make sure that libpgsql2 is properly installed (which will work fine the >> second time around), and you will then be able to configure postgresql-pl. > >I know the problem is related to postgresql-pl, as you said. I have removed >it. I will purge libpgsql2 and then install the most recent version. You only need to reinstall the copy you have got; the problem is a temporary one caused by the order of upgrading. If dpkg attempted to install libpgsql2 before postgresql, the problem occurred. Once postgresql is updated, there is no problem in installing libpgsql2. -- Vote against SPAM: http://www.politik-digital.de/spam/ Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Blessed is the man that trusteth in the LORD, and whose hope the LORD is."Jeremiah 17:7
Re: find -exec
Ulisses Alonso wrote: > >Hi all > >I would like to know if there is a way to make something like this > >find -exec command1 {} | command2 \; I take it you want to run the pipeline `command1 | command2' on each file. I don't think you can do this with find's own command line; the easiest way is probably to write a little script and execute that instead: myscript: #! /bin/bash if [ -z "$1" ] then echo No parameter exit 1 fi command1 $1 | command2 chmod a+x myscript find -exec myscript {} \; -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "He that hath my commandments, and keepeth them, he it is that loveth me; and he that loveth me shall be loved of my Father, and I will love him, and will manifest myself to him." John 14:21 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: Trouble With Simple Thing.
Chris Wong wrote: >Hello, > > I'm sorta new to Debian.. and I was wondering if anyone could help >me with limiting users to their own directory. I've read docs about it, >but still can't get it working. Anyone help? Thanks. > I don't understand what you want to do. The normal state of affairs is that users can go anywhere in the file system. It is possible to use permissions to restrict access to some directories; for example you may have a private directory under your home directory, to which you deny access to anyone else. For information on permissions and their use see <http://www.debian.org/~hp/tut orial/debian-tutorial.html/ch-files.html>; for detailed information, use `man chmod' and `man 2 chmod'. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "And Samuel said, Hath the LORD as great delight in burnt offerings and sacrifices, as in obeying the voice of the LORD? Behold, to obey is better than sacrifice, and to hearken than the fat of rams." I Samuel 15:22 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: [off-topic] out of mailing lists .....
Nuno Carvalho wrote: >Hi, > > Sorry, about this mail, but is the second or third time that I stop from >getting mail from debian-user, debian-devel and debian-changes mailing >lists! To resolve it I need to subscribe again! :( > > Had this happened to someone else !? Yes. Any time my ISP screws up, I get dropped. This seems to be because the list server counts the number of bounced messages rather than the length of time that a recipient cannot be contacted. So a high volume list like -devel or -user will drop you within a couple of hours. Can this be changed to measure the length of time that an address fails - say 2 days? -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Give, and it shall be given unto you; good measure, pressed down, and shaken together, and running over, shall men pour into your lap. For by your standard of measure it will be measured to in return." Luke 6:38
Re: A Cry For Help
Bert Conliffe wrote: ... > Now that I have the basic Debian installed what do I do? > I have a chapter for the yet unreleased user manual on the subject of basic commands. You can read this at http://www.lfix.co.uk/oliver/user.html. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Study to show thyself approved unto God, a workman who does not need to be ashamed and who correctly handles the word of truth." II Timothy 2:15 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Debian 2 frozen problems
W Paul Mills wrote: >On Wed, 13 May 1998, Eddie Seymour wrote: >> My /usr/lost+found directory has numerous "#12345" type files. Can't >> seem to find way to remove them. Permissions start with c,s, or b. >> Chmod doesn't reference this. These are not real `files' but device pointers. c = character device s = socket b = block device -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Let not your heart be troubled: ye believe in God, believe also in me." John 14:1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: segmentation fault with glimpseindex
Thomas Vaughan wrote: > >After investigating the segmentation fault that I have observed in >the e-mail report from cron.weekly, I ran glimpseindex by hand and >observed the following output. ... >Is there an easy way for me to fix this, or is it a bug that needs to >be addressed? There's an easy fix, which I reported to the bugs database; however I have had no response from the maintainer. Check the bugs database because I can't remember the details. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "O come, let us worship and bow down; let us kneel before the LORD our maker." Psalms 95:6 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [saioa@jet.es: hamm,bo...?]
Liran Zvibel wrote: ... >non-free -- (I'm not sure whether I'm correct) Are packages that can not >be freely distributed, but can be used by individuals. Packages that do not meet the Debian Social Contract Guidelines; they may or may not be free to use, or even distribute. If a package is in non-free you have to check its licensing terms to see what you can do with it. > >contrib -- Free packages that needs packages from non-free to operate. > >non-us -- Those are packages that the government of the U.S doesn't let >distribute in the U.S. (mostly crypto stuff). Packages that cannot be *exported* from USA. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "We are troubled on every side, yet not distressed; we are perplexed, but not in despair; persecuted, but not forsaken; cast down, but not destroyed; Always bearing about in the body the dying of the Lord Jesus, that the life also of Jesus might be made manifest in our body."II Corinthians 4:8-10 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Is this a compiler error?
object, Intel 80386, version 1, stripped /lib/libdl-2.0.7.so: ELF 32-bit LSB shared object, Intel 80386, version 1, stripped /lib/libreadline.so.2.1: ELF 32-bit LSB shared object, Intel 80386, version 1, stripped /usr/lib/libhistory.so.2.1: ELF 32-bit LSB shared object, Intel 80386, version 1, stripped -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "But where shall wisdom be found? And where is the place of understanding? It cannot be gotten for gold, neither shall silver be weighed for the price thereof. Whence then cometh wisdom? and where is the place of understanding? ...Behold the fear of the Lord, that is wisdom; and to depart from evil is understanding." Job 12,15,20,28 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Is this a compiler error?
[EMAIL PROTECTED] wrote: >On Sat, May 23, 1998 at 08:54:35PM +0200, Oliver Elphick wrote: >> +++ >> linda:~/cprogs/priory$ ldd prdb >> prdb: error in loading shared libraries >> prdb: cannot open shared object file: No such file or directory >> +++ >> (why did that not work, while the next command did? it is the same executa >ble) > >No. Not necessarily. ldd has a weird method of searching, where the current >directory is the last in the search path. So if there is a "prdb" in the >search path, but outside the current dir, you get the results of ldd on >that. In this case, there is only one file; it is not a case of two different executables being found. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "I will praise thee; for I am fearfully and wonderfully made..." Psalms 139:14 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Attempting to install on Dell 433/M
I'm attempting to install the 2.0.6 disk image on a Dell 433/M (486 processor). This machine appears to have VGA video integrated on the motherboard. It has a mono monitor. The machine has an Adaptec 1510 or 1520 SCSI card and one SCSI disk. I have tested the boot disk on another machine, and I have read it on this machine (which currently has SCO Unix on it), so I know that this disk is OK. It displays 'Loading root.bin...' and then blanks the screen (which does not happen on the other, non-Dell machine on which I tested this disk.) The floppy continues to be read for a while; I think that it is probably getting as far as the first screen of the installation, but the screen continues blank. I have tried entering `M' and `C' at this point, but without success. Has anyone any suggestions on how to get round this, please? Are there any boot options I can include to change the behaviour of the machine? -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "And Jesus answering said unto them, They that are whole need not a physician; but they that are sick. I come not to call the righteous, but sinners to repentance." Luke 5:31,32 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Enabling XDM on Debian Linux
Yugesh Ramsaha wrote: > I read the FAQOMATIC on about How to enable >xdm and >there it is said that I should uncomment a few lines in the file >/usr/X11/config -- now this >file is not there on my system and moreover it does not seem to play a >major in the >booting process . That should be /etc/X11/config. If that does not exist, reinstall xbase. [Sounds as though that faq-o-matic needs editing...] > After reading the debian documentation , I understand >that I should put >all scripts to be executed at boottime in /etc/init.d and then create a >symbolic link to it in >the /etc/rcN.d directory where N is the default runlevel in the file >/etc/inittab.I'm really >confused here and I no longer know what to do. Too right! You *don't* need to do this; it is done automatically by the package installation scripts. Delete whatever you have put in there and definitely reinstall xbase. The documentation you have been reading correctly describes what happens; your mistake is in thinking that *you* have to do it. > I tried placing xdm in the >directory >/etc/init.d and a symbolic link to it in /etc/rcN.d. At first it seems >to work , but every time >I put my login and password , it returns to the xlogin widget each >time. You have put xdm itself in place of the script that should be controlling it. If you ever think you need to perform such convoluted exercises on any package, think again. Any such package would be so broken as to be unusable. A package ought to install straight off with no problems and very little interaction. >This has driven me >crazy and I just want someone to tell me how to do it the right way.It >should be no secret >you that I am quite new to Linux and managing my own system though I've >been using >HP-UX as a user at college.I'll be glad if you could email me to help me >out .Thanks a >lot. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Let nothing be done through strife or vainglory; but in lowliness of mind let each esteem other better than themselves." Philippians 2:3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: I need an HTML Editor
Bonard B. Timmons III wrote: >Bob Hilliard <[EMAIL PROTECTED]> writes: > >> What is the name of the .deb file that provides the PSGMLK >> package? I can not find it in hamm or slink, and can't find a >> reference in the emacs info file. It sounds like a package I want to >> have available. > >psgml is yet another reason why emacs rules. > >ftp://ftp.debian.org/pub/debian/dists/slink/main/binary-all/text/psgml_1.0.1 >-17.deb > >is one possible URL for it. If you use xemacs-20, psgml is included in it. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Let no man despise thy youth; but be thou an example of the believers, in word, in conversation, in charity, in spirit, in faith, in purity." I Timothy 4:12 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: help: uid_t structure !
Nuno Carvalho wrote: > I am trying to compile one file called xpriv.c which belongs to the >Radio Track install ! Unfortunally i get that: > > >xpriv.c: In function `give_up_root`: >xpriv.c:30: `uid_t` undeclared (first use this function) >xpriv.c:30: (Each undeclared identifier is reported only once >xpriv.c:30: for each function it appears in.) >xpriv.c:30: parse error before `uid` >xpriv.c:33: `uid` undeclared (first use this function) > >--- > > The code is: > >--- >#include >#include > >int give_up_root(void) >{ > /* get the real uid and give up root */ > uid_t uid; > int err; > > uid=getuid(); > err=seteuid(uid); > return (err); >} >- > >What is going wrong ? > > uid_t structure isn`t already defined ? You also need: #include I am reporting this as a bug in the manpage of getuid and setuid against manpages-dev. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Therefore being justified by faith, we have peace with God through our Lord Jesus Christ." Romans 5:1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to copy partition?
[EMAIL PROTECTED] wrote: > >Hi, All > >i had 330M old segate disk as my /. > >Now i'm getting 2Gig disk, but the question is - >how to copy the system from >old seagate to the new disk >(or to the new disk partition). I don't want >to reinstall/reconfigure everything... > >Is there Debian way/package for such things? If you can have both disks installed, make the partition on the new disk (`fdisk /dev/hdc' or whatever); make the filesystem (mkfs) Then mount the new disk: # mount /dev/hdc1 /mnt [make appropriate substitutions for hdc1] then copy the root file system (excluding /mnt) # mount /dev/hdc1 /mnt # find / -xdev | cpio -pdm /mnt If you are using lilo, you should probably run /sbin/lilo and tell it to write a boot sector on the new disk. Now you can shutdown and replace the old disk with the new one, and it ought to work. An alternative: With so large a disk, you may want to make separate partitions for root, /var, /usr and /home, or some combination; this means that a disaster to one partition won't affect the others. Suppose that you want to fill a new /usr partition which is on /dev/hdc1: mount the new partition on /mnt: # mount /dev/hdc1 /mnt # cd / # cp -a usr /mnt [cp -a is an alternative to the find|cpio I used above; find|cpio should work on any Unix, whereas cp -a may not.] # umount /mnt Do the same for the other partitions; the trickiest is root itself, since you must exclude the directories that go to other partitions. I think that `cp -a' and `find / -xdev' do that, but it needs checking. (If you are going to keep the old disk in your machine, there's no need to move root - just delete the contents of the directories that you have copied and mount the new partitions on them. That will leave root on the old disk, with more space, and everything else on the new one.) Edit /etc/fstab to list the partitions and say which ones are to be mounted automatically; shutdown and reboot. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "I love them that love me; and those that seek me early shall find me." Proverbs 8:17 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: XF86Setup/Mouse Device
Dennis Dixon wrote:... >1) I have succesfully installed XFree86 and am now attempting to run the >XF86Setup routine. In trying to get the mouse to work it appears to me all I >should have to do is select one of the 'devices' and hit 'apply'. However, >I tried all possible device options and none got a response from the mouse. >(The mouse says Microsoft right on it, so I assume 'Microsoft' is the >correct protocol. I tried different protocols with the 'inbortbm' device >and still got nothing.) Someone else suggested it might be a PS/2 mouse. If so, its connector will be a little circular plug. The correct devicename for this is /dev/psaux. > >The real problem is I don't understand how 'devices' work. I found a >'MAKEDEV' command, but I'm not sure what this does. Is there a command to >query the contents of '/dev/smouse', etc.? Plus, if I run a command like >'MAKEDEV' it would obviously create a new file in '/dev', but how would it >know to hook up to the mouse port on the machine? Devices look like files but are actually pointers to device drivers in the kernel (the operating system program). For example: $ ls -l /dev/{psaux,hda}* brw-rw 1 root disk 3, 0 Dec 9 1996 /dev/hda brw-rw 1 root disk 3, 1 Dec 9 1996 /dev/hda1 brw-rw 1 root disk 3, 2 Dec 9 1996 /dev/hda2 crw--- 1 root sys 10, 1 Jun 16 01:44 /dev/psaux The first character of the modes (b or c) shows whether it is a block- or character-device. (Block devices, such as disks, expect to send and receive data in blocks rather than one character at a time.) The pair of numbers separated by a comma are the major and minor device numbers. The major number tells the kernel which device driver is wanted (3 = IDE hard disk, 10 = PS/2) and the minor number is an entry point in the device driver. The full list of device major and minor numbers is in the documentation of the kernel-doc- package and is to be found at /usr/doc/kernel-doc-/Documentation/devices.txt.gz. Unix treats devices as if they were files, so you can read and write them (subject to permissions - you don't want arbitrary writes to your hard disk!). > > >2) I have several other miscellaneous questions, although not necessary, >would make my life a lot easier. When I go to '/var/log/messages' ( or any >log file for that matter) I get a huge file. Does this file clear >automatically somehow eventually or does it just keep growing forever? There >must be a command to clear log files. If you leave your machine running all the time, your log files will get purged by programs run in the background by cron. If you turn it off, they can't run, so you need to install the anacron package, which should catch up with necessary maintenance when you turn your machine on. > >3) The 'find','locate', and 'dpkg -search' commands would be great if I >could get them to work. Logged in as 'root' if I type 'find ' >from any directory it should find that file anywhere in the system? >However, it doesn't do this for me. Am I doing something wrong? The syntax for find is find / -name find has many options. Run `man find' and read carefully! dpkg: $ dpkg -S devices.txt kernel-doc-2.0.32: /usr/doc/kernel-doc-2.0.32/Documentation/devices.txt.gz ... locate: $ locate devices.txt /usr/doc/gs-aladdin/devices.txt.gz ... > >4) The last questions is a repeat from a previous post. I am trying to make >it so a 'user' can run 'pon'. ('pon' currently runs fine when logged in as >'root') >A response from Martin Bialasinski suggested that I use the following comman >d: > >adduser theuser dialout > >Although this command ran fine and added 'theuser' to the dialout group, >when logged in as theuser I still couldn't use the 'pon' command. What happens when the user tries to run it? -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Cease from anger, and forsake wrath; do not fret- it leads only to evil."Psalms 37:8 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Partitioning/Dual Booting
"M. Phillips" wrote: >I'm a newby to the whole Linux/GNU/Debian system, being a long-time MS >devotee, and although I am very close to being sold on getting it, I have a >couple of questions to clear up first. > >1: In the FAQ, section 3.4 ><http://www.us.debian.org/doc/FAQ/debian-faq-3.html#ss3.4> states that one >should partition a 1.6 GB hard disk with the following partitions: >" >30 MBytes for the root directory (/) >450 MBytes for /usr >50 MBytes for swap space >1000 MBytes for home directories (some of this could be used for >/usr/local/) >0 MBytes for /tmp; make /tmp a symbolic link to /var/tmp >40 MBytes for /var " > >Pardon my ignorance, or mayhaps it's the ambiguity of the whole section, >but does this mean I need five separate partitions on the single disk, or >(more likely, methinks) does it mean that the single partition consists of >1570 MBytes? Any clarification would be most appreciated. > This is indeed 5 partitions. The swap partition is used as a runtime memory extension; the other partitions separate out parts of the directory tree to limit the extent of damage in case of any disaster. If one filesystem gets corrupted, the others should still be OK. > > >Also, seeing as how I _am_ new to the idea, I would very much like to >perform a dual boot between Win95/MS-DOS, and Debian/GNU Linux operating >systems. Seems like somewhere in the dark recesses of the PC World >archives there's a miniscule article about dual-booting between 2 or more >OSes, but I've since lost/given away the issue, and I'd like to hear it >from a user more experienced than myself in the area. When you install Debian, you can get dual booting by using LILO. This is my config file (/etc/lilo.conf): boot=/dev/hda3 root=/dev/hda3 compact install=/boot/boot.b map=/boot/map vga=normal delay=50 # Linux - 2.0.32 image=/boot/vmlinuz-2.0.32 label=linux append="mem=96m aic7xxx=ultra" read-only # Linux - 2.0.33 image=/boot/vmlinuz-2.0.33 label=linux2033 append="mem=96m aic7xxx=ultra" read-only # Win 95 other=/dev/hda1 label=w95 This particular configuration allows me to boot Linux with either of two kernel versions; it also allows for Windows95. Important! 1 After changing /etc/lilo.conf, and especially after changing the kernel, you must run /sbin/lilo to update the boot map. 2 Install any Microsoft product first; Microsoft has no respect for the presence of any other OS and is liable to overwrite the boot sector. 3 Make sure you have a rescue floppy or a bootable CD. If you don't want to risk using LILO you can boot Linux from inside DOS with LOADLIN.EXE. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Honor thy father and mother; which is the first commandment with promise; That it may be well with thee, and thou mayest live long on the earth." Ephesians 6:2,3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Once burned...
[EMAIL PROTECTED] wrote: >Hi all, > >I hope this is the right list for utterly and incredibly new Linux newbies. >I had another distribution my machine but it was too old to recognize most >of my hardware to I gave it away. I'm waiting now for Debian 2 to start >anew but I wanted to be sure my hardware will work with this one. Hope you >can help. > >I have a Logitech TrackMan Marble (same connector as the standard PS/2 port >mouse)... I can't comment on the rest, but this is fine. It is a PS/2 mouse and uses device /dev/psaux. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Honor thy father and mother; which is the first commandment with promise; That it may be well with thee, and thou mayest live long on the earth." Ephesians 6:2,3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Partitioning/Dual Booting
[EMAIL PROTECTED] wrote: > >> Important! >> >> 1 After changing /etc/lilo.conf, and especially after changing the >> kernel, you must run /sbin/lilo to update the boot map. > >Might I inquire as to what this bootmap stuff is about and why its >important? I've built and used kernels 2.0.29,2.0.30,2.0.32,2.0.33 and 2.0.3 >4 on >my machine and never thought of running lilo again, yet everything still wor >ks >fine. Answer off the top of my head (so check the details if it matters): Lilo stores the actual disk address of the kernel in the boot map (this is run before there is an operating system to interpret the file system). If you recompile the kernel, it will almost certainly be somewhere different and you won't be able to boot. If you build the kernel with `make zlilo' this is done for you, which is perhaps why you haven't had any problem. If you use `make zimage', on the other hand, you must run lilo before you reboot. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "Love not the world, neither the things that are in the world. If any man love the world, the love of the Father is not in him."I John 2:15 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: postgres intallation failed
Networking Wizard wrote: >After Shared PostgreSQL library intsallation (libpgsql 6.3.2-8) >i've been trying to inttall postgresql (6.3.2-8) severl times, >but i did not succeed; dpkg terminates because of unspecified errors. >Here is the log: > >> Unpacking replacement postgresql ... >> Setting up postgresql (6.3.2-8) ... >> Now installing the PostgreSQL database files in /var/postgres/data >> su - postgres -c PATH=/usr/uxs:/root/uxs:/root/bin:/sbin:/usr/sbin:/usr/lo >cal/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/lib/postgresql >/bin:/usr/lib/postgresql/bin; initdb -l /usr/lib/postgresql/lib -r /var/ >postgres/data -u postgres >> dpkg: error processing postgresql (--install): >> subprocess post-installation script returned error exit status 1 >> Errors were encountered while processing: >> postgresql > >Shadow passwords have been installed on machine. Could this error be >ascribed to shadow password for 'postgres' postmater account? I don't think so. I use shadow passwords and have no problem. The current state of the package is that it is unpacked and should be present on your disk. If you have never installed it before, it needs to create a new database - this is the step it has failed on. However, I see that this was a 'replacement postgresql': had you created a database with an earlier version? To find out what is going wrong with initdb: Edit /usr/lib/postgresql/bin/initdb and add the line `set +x' after the first line. Then become root and run the initialisation command (this is all one line): su - postgres -c "PATH=$PATH:/usr/lib/postgresql/bin; initdb -l /usr/lib/postgresql/lib -r /var/postgres/data -u postgres" It should now be possible to see where failure is occurring - please send me the screen output. >By the way, which password will be assigned to postmaster, during the >installation? If postgres is installed from base-passwd; it needs (I think) to be enabled by assigning it a password. If it does not exist when postgresql's preinst script runs, it is created with `adduser --disabled-password'. You cannot log in as postgres until it is assigned a password (but root can still su to it.) Oliver Elphick PostgreSQL maintainer for Debian -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "For I am not ashamed of the gospel of Christ; for it is the power of God unto salvation to every one that believeth; to the Jew first, and also to the Greek." Romans 1:16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: postgres intallation failed
Networking Wizard wrote: ... >It seemed a write-permission denial in /var/postgres sub-tree. Therefore >i switched back to root and changed the owner of /var/postgres: > >%% chown -R postgres.postgres /var/postgres I think I'll add this to the postinst script > >This time postgres user was able to complete the initiatization script. >I was able to create users allowed to access and change databases, so i thin >k >postgres is running correctly now. >Yet i had to start postmaster by line command; i noticed that postgres direc >tive >is not contained in /etc/rc*.d/ directories. Is it a desired feature or is >it >due to my non-orthodox installation procedure? It's probably because the postinst script failed. You should have a /etc/init.d/postgresql file, with the following symbolic links to it: /etc/rc0.d/K20postgresql /etc/rc3.d/S20postgresql /etc/rc6.d/K20postgresql /etc/rc1.d/K20postgresql /etc/rc4.d/S20postgresql /etc/rc2.d/S20postgresql /etc/rc5.d/S20postgresql -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "For I am not ashamed of the gospel of Christ; for it is the power of God unto salvation to every one that believeth; to the Jew first, and also to the Greek." Romans 1:16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: postgres intallation failed
Jeff Noxon wrote: >On Sat, Jun 27, 1998 at 11:14:19AM +0200, Networking Wizard wrote: >> After Shared PostgreSQL library intsallation (libpgsql 6.3.2-8) >> i've been trying to inttall postgresql (6.3.2-8) severl times, >> but i did not succeed; dpkg terminates because of unspecified errors. >> Here is the log: >> >> > Unpacking replacement postgresql ... >> > Setting up postgresql (6.3.2-8) ... >> > Now installing the PostgreSQL database files in /var/postgres/data >> > su - postgres -c PATH=/usr/uxs:/root/uxs:/root/bin:/sbin:/usr/sbin:/usr/ >local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/lib/postgres >ql/bin:/usr/lib/postgresql/bin; initdb -l /usr/lib/postgresql/lib -r /va >r/postgres/data -u postgres >> > dpkg: error processing postgresql (--install): > >[snip] > >I think the bug is in base-passwd. > >You need to edit /etc/passwd so that the shell is /bin/sh or similar. I >filed a bug report on base-passwd about this. The bug is not in base-passwd but in postgresql. I used adduser to create the account if it did't exist, but I had not noticed that `adduser --system' assigns /bin/false as the shell. I have changed postgresql-6.3.2-11 to use useradd instead. This is bug#24036. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 "For I am not ashamed of the gospel of Christ; for it is the power of God unto salvation to every one that believeth; to the Jew first, and also to the Greek." Romans 1:16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]