Linux-Misc Digest #691, Volume #27 Sun, 22 Apr 01 18:13:01 EDT
Contents:
Re: gnome & gnucash (Michael Powe)
Re: Cloning drives w/ Different geometry? ($[EMAIL PROTECTED])
Re: How to set up Tomcat to start on boot up? ("Ulrich Herberg")
Re: Cloning drives w/ Different geometry? ("Peter T. Breuer")
Lexmark Z52 printer woes! (Ron Le Blanc)
Re: gnome & gnucash ("Peter T. Breuer")
Re: How to set up Tomcat to start on boot up? ("Jeffrey J. Bacon")
Re: What program languages (or tools) are X-apps written in ? (Juergen Heinzl)
NFS is evil (Chris Nicholson)
Re: Reliability of "time" command? (MH)
Gnome KeymaPPing? (Chris Bogart)
Disk druid rpm? (Doug O'Leary)
RAID question. ("AK")
Re: Reliability of "time" command? ("Peter T. Breuer")
APCSSD Problem (Skylar Thompson)
----------------------------------------------------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Subject: Re: gnome & gnucash
Date: 22 Apr 2001 12:23:11 -0700
>>>>> "Peter" == Peter T Breuer <[EMAIL PROTECTED]> writes:
Peter> Michael Powe <[EMAIL PROTECTED]> wrote:
>> <rant> I've just wasted about 4 hours over 2 days trying to get
>> all the dependencies worked out so that I could compile &
>> install gnucash.
Peter> Eh? Worked fine here last time I tried it.
>> download one library after another, do the './configure make
>> install'
Peter> You don't, surely. That's all taken care of for you by
Peter> debian.
Hahaha -- what a kidder. That's the point -- it wasn't taken care
of. Gnome is installed, but gnome-libs is not.
>> thing. But, after going to all that trouble, and have the
>> gnome-lib compile break because one of those other libs uses a
>> header I don't have (xpm.h) & which I can't find -- it's the
>> last straw. I can blame
Peter> xpm.h is part of the very old X development kit, isn't it?
Peter> I don't think it's current!
Yes, and I installed imlib, according to instructions (namely,
gnome-lib won't compile if imlib is not installed) and imlib is
supposed to replace xpm.h. Imlib gives warnings if libjpeg is not
installed and libjpeg seems to be the one looking for xpm.h!
Peter> oboe:/usr/oboe/ptb/src/shellutils-2.0.11% locate xpm.h
Peter> /usr/X11R6/include/X11/xpm.h
>> some of it on debian -- the world's worst installer makes it
>> impossible for me to even think about using the system
>> installer for binaries. And as is usually the case with debian,
>> about half what you
Peter> Eh? Are you confused? Debian magics everything binary into
Peter> place, resolving all dependencies automatically. Just out
Peter> of curiousity, I tried it, and it installs fine:
No, I'm not confused, I'm irritated.
>> actually need to make it work is installed by default, and the
>> rest
Peter> There is no such thing as "default". You get what you ask
Peter> for, plus the dependencies required to make it work.
That's certainly true -- I installed debian, using the default options
for "development environment" -- so if I get screwed, it's my own
fault for trusting their defaults. This is 2.2 potato, btw. Isn't it
about time they started getting it right? Or do we have to wait for
version 4?
>> trained enough to actually use dselect. I'm about done with
>> debian,
Peter> dselect? Never used it ... isn't that that headache
Peter> inducing thing that they used to use? I always do "apt-get
Peter> install foo" to download and install foo and all
Peter> prerequirements.
>> too. I think slack is going back on this machine. PDQ.
Peter> Not bad.
>> But, my real beef is with gnome & gnucash, two of the most
>> USER-UNFRIENDLY installations on the linux planet. These
>> applications
Peter> Possibly. I wouldn't touch gnome, but meany people like it.
>> a lot of respects. I can do a lot & I'm really willing to put
>> up with a lot (like kernel 2.4 breaking SB soundcard support
>> that had been
Peter> Mine is working fine.
I wish I could say the same.
>> The bottom line is, I'm going to wind up using MS Money for my
>> financials because all I have to do is stick in a CD & in ten
>> minutes,
Peter> It took me about 20s to install gnucash. But I have no
Peter> intention of using it. I don't have any dollars!
It may not matter much to me if I go insane trying to make this stuff
work!
mp
--
------------------------------
From: $[EMAIL PROTECTED]
Subject: Re: Cloning drives w/ Different geometry?
Date: Sun, 22 Apr 2001 20:27:47 GMT
Peter T. Breuer <[EMAIL PROTECTED]> wrote:
> $[EMAIL PROTECTED] wrote:
>> I'm trying to clone a 6 GB hd to a 10GB hd w/ DD. I don't mind if the other
>> 4gb is not used.
>> The problem is that the geometry is different, and the cloning is not
>> proper. I am DD'ing with a bs of 1024k.
> Geometry does not affect copying. Only the bios/boot sequence (and fdisk/lilo)
> cares about c/h/s. You and linux don't.
Peter, it is appearing to matter, in this case. Fdisk informs me that
"Partition X has different physical/logical beginnings", and the partitions
seem truncated. The data on the disk is also unusable.
--
............................................................................
It is no measure of health to be well adjusted to a profoundly sick society
............................................................................
www.geocities.com/pentagon/bunker/1022 [EMAIL PROTECTED]
------------------------------
From: "Ulrich Herberg" <[EMAIL PROTECTED]>
Subject: Re: How to set up Tomcat to start on boot up?
Date: Sun, 22 Apr 2001 22:29:52 +0200
In SuSE 7.1 there is a boot script called /etc/init.d/boot and a second file
/etc/init.d/boot.local. The path may differ in other Linux versions. I
inserted the following lines in 'boot.local' (you may also insert them in
'boot'):
TOMCAT_HOME=/PathToTomcat
export TOMCAT_HOME
/PathToTomcat/bin/startup.sh
Uli Herberg
"Benjamin Lai" <[EMAIL PROTECTED]> schrieb
> Could anybody tell me how to setup TOMCAT
> to start on boot up? ...
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Cloning drives w/ Different geometry?
Date: Sun, 22 Apr 2001 20:39:20 GMT
$[EMAIL PROTECTED] wrote:
> Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>> $[EMAIL PROTECTED] wrote:
>>> I'm trying to clone a 6 GB hd to a 10GB hd w/ DD. I don't mind if the other
>>> 4gb is not used.
>>> The problem is that the geometry is different, and the cloning is not
>>> proper. I am DD'ing with a bs of 1024k.
>> Geometry does not affect copying. Only the bios/boot sequence (and fdisk/lilo)
>> cares about c/h/s. You and linux don't.
> Peter, it is appearing to matter, in this case. Fdisk informs me that
> "Partition X has different physical/logical beginnings", and the partitions
> seem truncated. The data on the disk is also unusable.
That does not matter. Don't use fdisk and you won't see the complaint!
Your clone is perfect as it is. I said that only fdisk/lilo could
notice that the copied partition table doesn't match your disk.
If you also want the copied partition table to "make sense" to fdisk/lilo,
then change the geometries so that all but the cylinder counts match (again,
as I said ..). It won't affect the copied data, of course. Actually, I
don't think it matters to lilo anyway (with option linear or lba32), but
it won't hurt.
Peter
------------------------------
From: Ron Le Blanc <[EMAIL PROTECTED]>
Subject: Lexmark Z52 printer woes!
Date: Sun, 22 Apr 2001 12:43:07 -0400
Reply-To: [EMAIL PROTECTED]
Lexmark Z52 printer woes!
I have Redhat 7.1 installed. Yes, 7.1, off "official" Redhat CDs.
Redhat uses LPRng-3.7.4-22 version of the printer drives. The
printer configuration tool only lists the Z11 and Z32 printers.
I tried using the Z32 driver, nada.
I then installed the IBM Lexmark printer driver for the Z52, that
is, cjlx52le.tar.gz as per the included instructions.
Here is the printcap created:
# /etc/printcap
#
# DO NOT EDIT! MANUAL CHANGES WILL BE LOST!
# This file is autogenerated by printconf-backend during lpd init.
#
# Hand edited changes can be put in /etc/printcap.local, and will be
included.
lexmarkz52:\
:sh:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/lexmarkz52:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/mf_wrapper:
###############################################################################
## Everything below here is included verbatim from
/etc/printcap.local ##
###############################################################################
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
As you can see the correct :lp device is selected, but I still get no
output.
I have tried lpr <filename> and lpr -Plexmarkz52 <filename> and still
the
printer sits there fat, dumb, and apparently happy, but no printout.
Has anyone gotten a Lexmark z52 to work with either Redhat 7.0 or 7.1?
Any help would be greatly appreciated!
Thanks!
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: gnome & gnucash
Date: Sun, 22 Apr 2001 20:49:20 GMT
Michael Powe <[EMAIL PROTECTED]> wrote:
> Hahaha -- what a kidder. That's the point -- it wasn't taken care
> of. Gnome is installed, but gnome-libs is not.
You are lying, AND you cut the part where I showed you that apt-get
magics everything into place automagically by DOING it, and recording
the install. I don't like that.
Goodbye, liar.
> Peter> Eh? Are you confused? Debian magics everything binary into
> Peter> place, resolving all dependencies automatically. Just out
> Peter> of curiousity, I tried it, and it installs fine:
> No, I'm not confused, I'm irritated.
[here the liar snips my log of the install]
> >> actually need to make it work is installed by default, and the
> >> rest
Peter
------------------------------
From: "Jeffrey J. Bacon" <[EMAIL PROTECTED]>
Subject: Re: How to set up Tomcat to start on boot up?
Date: Sun, 22 Apr 2001 20:57:45 GMT
That doesn't work for me, here's my post from
comp.infosystems.www.server.linux:
(RedHat 7.1)
well, I added "TOMCAT_HOME/bin/tomcat.sh start" to my rc.local file
(that line is how I start it manually) but that didn't work. So, it
made my rc.local look like this:
...
# import daemon function
. /etc/rc.d/init.d/functions
# Start Tomcat for Servlet/JSP support in Apache
# paths setup
TOMCAT_HOME="/usr/java/jakarta-tomcat-3.2.1"
JAVA_HOME="/usr/java/jdk1.3"
CLASSPATH="/usr/java/jdk1.3/:/usr/java/std_ext/jaf-1.0.1:/usr/java/std_ext/javamail-1.2:/usr/java/std_ext/jce1.2.1/lib"
PATH="$PATH:/usr/java/jdk1.3/bin:/usr/java/j2sdkee1.3/bin"
export TOMCAT_HOME JAVA_HOME CLASSPATH PATH
echo -n "Tomcat startup . . . . "
# call startup script
daemon /usr/java/jakarta-tomcat-3.2.1/bin/startup.sh -D
...
I use the startup.sh script here as I'm not sure whether I can use a
script that needs parameters with the daemon function.
on startup, it prints:
Tomcat startup . . . . [ Done ]
and in the /var/log/messages:
local: startup.sh startup succeeded
but it doesn't respond to requests. Also, when I start it manually, I
have a LOT of java processes running, when I try to start it like this,
I have none. (as root: 'ps -aux | grep java')
if I now call TOMCAT_HOME/bin/shutdown.sh, I get a
java.net.ConnectionException: Connection refused, which I take to mean
that Tomcat wasn't actually running,
I need servlet/jsp for a couple of the sites I'm going to host and I'd
like to have it start on boot so i don't have to remember to start it al
the time.
Richard Watson wrote:
>
> "Jeffrey J. Bacon" <[EMAIL PROTECTED]> writes:
>
> > ok, so I can't see it (8007,8009 are my tomcat ports), have you any
> > experience with it? I want it to start on boot but that doesn't seem to
> > be working.
>
> I've had a bit of a play with tomcat. It's kind of hard to set
> up at the moment (but possible).
>
> Usually tomcat needs to be running on a port of it's own (usually
> 8080). Also the ports 8007 and 8009 are used to listen to apache
> so that they can communicate.
>
> Can you give some details of how you installed it and how
> you're trying to start it up?
>
> Generally you'll need to run a script in the bin directory under
> your tomcat installation.
>
Ulrich Herberg wrote:
>
> In SuSE 7.1 there is a boot script called /etc/init.d/boot and a second file
> /etc/init.d/boot.local. The path may differ in other Linux versions. I
> inserted the following lines in 'boot.local' (you may also insert them in
> 'boot'):
>
> TOMCAT_HOME=/PathToTomcat
> export TOMCAT_HOME
> /PathToTomcat/bin/startup.sh
>
> Uli Herberg
>
> "Benjamin Lai" <[EMAIL PROTECTED]> schrieb
> > Could anybody tell me how to setup TOMCAT
> > to start on boot up? ...
--
================================
Jeffrey Bacon
================================
Administrator, Breakfast.ca
Student, Carleton U.
Java Programmer, Extrordinaire!
================================
[EMAIL PROTECTED]
http://www.breakfast.ca/~jjbacon
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: What program languages (or tools) are X-apps written in ?
Date: Sun, 22 Apr 2001 21:00:43 GMT
In article <9bvcvq$[EMAIL PROTECTED]>, tvn wrote:
>Hello, I am an api, mfc windows programmer and recently just try to play
>around with linux - unix. I am running rh and freebsd now. I noticed there
>are 3 categories the nix apps are divided in - console, kde , gnome and X .
>As far as I know, X is the the standard for both Linux and Unix. So I am
>wondering what programming languages are used to make these X - apps. And
>could someone explain to me further about QT and GTK because I heard about
>them but not really sure what they are for. Thanks
[-]
Qt, Motif, KDE etc. are built on top of the X Window System, so it depends.
You can use C, C++ or (almost) any other language to write an X application
as long as there're an API or a way to provide one.
Ta',
Juergen
--
\ Real name : Juergen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: Chris Nicholson <[EMAIL PROTECTED]>
Subject: NFS is evil
Date: Sun, 22 Apr 2001 14:03:48 -0700
when i try to start rpc.statd, it says RPC unable to recieve;
errno = Connection refused
how do i fix it?
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: Reliability of "time" command?
Date: Sun, 22 Apr 2001 14:08:11 -0700
Peter T. Breuer wrote:
>
> What is stopping you simply reporting the command you use and the
> results? That's minimal science! We'd also need the data sizes,
> and controller and disk stats. With those, we might have enough of an
> idea of what you are really doing to be able to comment on your
> supposed anomaly.
>
Once again, you are illustrating the point of my earlier flame in this
thread. ALL of the above were previously reported. READ the damn thread!
--
I use GNU/Linux and support the Free Software Foundation. This message was
composed and transmitted using free software, licensed under the General
Public License.
--
------------------------------
From: Chris Bogart <[EMAIL PROTECTED]>
Subject: Gnome KeymaPPing?
Date: Sun, 22 Apr 2001 15:14:41 -0600
I have a weird Problem -- I can no longer tyPe a small P in any aPP in
Gnome. It PoPs uP the "Run Program" dialog. I think my
windows-comPatible boyfriend did something accidentally but I can't
imagine what. I don't know where to start looking for this!
When I boot into windows, everything works fine. If I use KDE instead
of Gnome, no Problem. So it's not hardware. If I switch from Sawtooth
to tvm, the Problem remains.
Your helP for my very silly Problem will be greatly aPPreciated!!!
Thanks,
Chris
------------------------------
From: Doug O'Leary <[EMAIL PROTECTED]>
Subject: Disk druid rpm?
Date: Sun, 22 Apr 2001 16:17:54 -0700
Hey, all;
My father in law is looking to install Linux - lucky me, I get to help
him out. He's having some issues with disk druid - not the partitioning
app that I tend to use on Linux installs. I have fdisk on my system; I
don't appear to have disk druid - or, if I do, I don't know the program
name & it doesn't show up in the "man -k".
Anybody know what the disk druid's name is (Mandrake 6.1 ver) and where I
might be able to find it?
Appreciate any info.
Doug
--
===================
Douglas K. O'Leary
Senior System Administrator
[EMAIL PROTECTED]
------------------------------
From: "AK" <[EMAIL PROTECTED]>
Crossposted-To: alt.windows98
Subject: RAID question.
Date: Sun, 22 Apr 2001 22:34:37 +0100
I am thinking of RAIDing my drive... basically I got a free 30GB
IBM GXP.. which is identical to the one in my system already.
I am want speed and am not bothered about the reduancy
that some modes of RAID offer.
But I am a newbie when it comes to RAID and need some advice
in whether its possible to have both windows 98 and Linux on the
same machine..
My current set-up is 4 primary partitions:
c: 7.5gb
d: 7.5gb
e: 7.5gb
f: 7.5gb
Although I have no Linux on this GXP .. how can I add a Linux
partion and have the RAID performance increase. I guess RAIDing
would destroy my partitions?
My guess is that I cant but.. I am confused at what RAID does to
the partitions and at what layer it operates.
--
Kila_m
E-mail: [EMAIL PROTECTED]
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Reliability of "time" command?
Date: Sun, 22 Apr 2001 23:38:29 +0200
MH <[EMAIL PROTECTED]> wrote:
> Peter T. Breuer wrote:
>>
>> What is stopping you simply reporting the command you use and the
>> results? That's minimal science! We'd also need the data sizes,
>> and controller and disk stats. With those, we might have enough of an
>> idea of what you are really doing to be able to comment on your
>> supposed anomaly.
>>
> Once again, you are illustrating the point of my earlier flame in this
> thread. ALL of the above were previously reported. READ the damn thread!
None of what you claim was reported was reported. The difference
between reporting and what you did has been explained and illustrated
to you several times now. I regret to say that it seems you are one of
those obstinate types who place their ego ahead of the facts, so I doubt
that you have learned anything from the experience. But .. if you really
do have some respect for accuracy down inside somewhere, just do as you
are requested to do and all will become plain. Cut and paste the
command you are using and the results from it here:
<space for pasting experiment + results>
and your data can be evaluated and you can thereby be helped. The truth
doesn't hurt.
Or are you going to claim that you already cut and pasted the experiment
and the results in "the damn thread" (which, by the way, I have no
intention of READing).
Peter
------------------------------
From: Skylar Thompson <[EMAIL PROTECTED]>
Subject: APCSSD Problem
Date: Sun, 22 Apr 2001 16:05:15 -0500
Reply-To: [EMAIL PROTECTED]
I have been trying to get APC's SS d�mon to run for the past several
weeks, but have not encountered success yet. I had a little problem
the first time I ran it (I set it to the wrong port on accident, and
it shut the computer off instantly) but, after that, it complains that
there cannot be more than one copy of SSD running at any given time,
even though I have checked the process list for it, and removed
/var/lock/subsys/ssd. Is there some other lock file that I need to
remove?
--
--Skylar Thompson ([EMAIL PROTECTED])
`All that is gold does not glitter/Not all who wander are lost
The old that is strong does not wither/Deep roots are not reached by the frost
>From the ashes a fire shall be woken/A light from the shadows shall spring
Renewed shall be blade that was broken/The crownless again shall be king.'
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************