Linux-Misc Digest #566, Volume #25 Sat, 26 Aug 00 03:13:01 EDT
Contents:
Re: linux/apache/php/mysql setup (Jeff Davis)
Re: internet connection (Akira Yamanita)
Re: [HELP] How to set KDE window titlebar ("Lam Dang")
Re: Diskcopy (Dances With Crows)
Monitor ip masq? ("Devon Harding")
Re: Reading vi files in windows (Dances With Crows)
Re: Maybe OT: RealPlayer vs. Windows Media cost for broadcaster? (Jerry L Kreps)
Numeric keyboard problem under Mandrake Linux 7.0 ("Sinectis News")
Re: From RedHat to SuSE: A simple question (Jerry L Kreps)
Re: I need help right now! (Jerry L Kreps)
X running? from a bash script (Zia Khan)
Reiserfs (Jeff Davis)
Hidden Partition - shouldn't be! Can't boot. (root)
Re: Linux, XML, and assalting Windows (Ian Pulsford)
Re: X running? from a bash script (root)
Re: Linux, XML, and assalting Windows (Ian Pulsford)
Re: Problem with my firewall while backup my Web server ("Eric Tsang")
Re: A Hiding Partition (Markus Kossmann)
Re: Linux, XML, and assalting Windows
Re: Linux, XML, and assalting Windows (Ian Pulsford)
Re: KDE and Gnome (Neuhoff)
----------------------------------------------------------------------------
From: Jeff Davis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: linux/apache/php/mysql setup
Date: Sat, 26 Aug 2000 03:57:00 GMT
I have been through a similar process. Can you be a little more specific
about you problem and errors?
in RH6.1, I think you use:
/etc/rc.d/init.d/httpd start
or replace start with restart or stop.
For more help, I will need to know something more than 'the apache server
no longer runs'. Specific error messages and problems you have would be
most helpful.
Regards,
Jeff Davis
paul simdars wrote:
> I have ReedHat 6.1 installed . Apache and mysql are running. Then I
> thought I'd add php to put it all together. In added the apache-devel
> package from the CD and then I went to php.net (I think that was the
> place). They have released php4 and were encouraging everyone to
> upgrade to it. I downloaded the source and installed it. It went
> well. BUT, now the apache server no longer runs. Any clues as to what
> went wrong?
> A second point, one interesting thing I noted along the way was that in
> two different documents I looked at each had their command to start
> apache. Neither were recognized by my computer.
> Thanks for any help.
> Paul
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: internet connection
Date: Sat, 26 Aug 2000 03:58:04 GMT
roger wrote:
>
> i can connect to my isp and the connection remains, but i cannot get my
> netscape browser to work. So I cannot surf or communicate.
>
> can anyone help
>
> thanks roger
Chances are that you haven't configured DNS properly or at all.
Can you do something like "nslookup redhat.com"? If not, that's
the cuprit. Without knowing what errors you're getting, I can only
guess.
In /etc/resolv.conf, you need to add the IP addresses of your ISP's
DNS servers.
example:
nameserver 10.0.0.1
nameserver 10.0.0.2
------------------------------
From: "Lam Dang" <[EMAIL PROTECTED]>
Subject: Re: [HELP] How to set KDE window titlebar
Date: 25 Aug 2000 23:44:38 -0400
>From [EMAIL PROTECTED] (Dances With Crows) on 26 Aug 2000 02:35:40 GMT:
> On 25 Aug 2000 17:53:15 -0400, Lam Dang wrote:
> >I've installed RedHat 6.2 on several PCs at home at different times.
> >When installing I just went for KDE without messing around with
> >configuring it.
> >
> >Just today I noticed that one of them has KDE window titlebars which
> >show username, node, and the current directory path, while the others
> >have window titlebars which just say "Terminal" or "kvt" all the time.
> >
> >I like the titlebars which show the FULL current directory path. But I
> >haven't been able to figure out how to turn it on and off. I've tried
> >the KDE control center and taken a cursory look at various .kdelnk
> >files, but I didn't see anything obvious.
>
> export PROMPT_COMMAND='echo -e "\033]0;`pwd`\007" '
>
> Put that in your ~/.profile, and it'll work for konsole, kvt, Eterm, and
> xterm, and probably others....
Thanks for the quick reply. Now I realize
what I did. For all my boxes except one, I
replaced RedHat's original /etc/bashrc file,
which contained
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
--
Lam Dang
dangit AT ix DOT netcom DOT com
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Diskcopy
Date: 26 Aug 2000 04:23:52 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 26 Aug 2000 03:08:29 GMT, Stuart Mika Hankel wrote:
>Hi. Does anyone know about making a copy of a floppy under Linux SuSE 6.4? I
>need to backup the LILO diskette.
>Thanks.
This is covered in the Fine Manual; be sure to Read it.
(insert disk to be copied)
dd if=/dev/fd0 of=floppyimage bs=18k
(eject old disk, insert new disk)
dd if=floppyimage of=/dev/fd0 bs=18k
This performs a sector-by-sector copy of the disk. This is necessary
when making copies of boot disks, but for disks that merely contain
data, you can just mount the floppy and use cp as usual. "man dd" if
you want to know what's really going on.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: "Devon Harding" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Monitor ip masq?
Date: Sat, 26 Aug 2000 00:28:03 -0400
How can I monitor IP Masq. traffic, such as which web site each user is
going to?
-Devon
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Reading vi files in windows
Date: 26 Aug 2000 04:29:43 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 26 Aug 2000 02:02:49 GMT, Tanner McCarron wrote:
>Anyone know how to read files written in vi editor in Linux in Windows OS?
>The hard breaks are the problem.
ITYM "text conventions differing between DOS and Unix." vi (and vim,
and emacs, and joe, and nedit...) use '\n' as the line-ending character
within text files. DOS uses '\n\r' as the line-ending sequence. MacOS
uses '\r'. You can convert among the formats in Unix by using the
widely available "dos2unix" and "unix2dos" commands, or by writing a
short C hack, or by using tr....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: Maybe OT: RealPlayer vs. Windows Media cost for broadcaster?
Date: Fri, 25 Aug 2000 23:40:32 -0500
Matt O'Toole wrote:
>
> "Brian Moore" <[EMAIL PROTECTED]> wrote in message
> news:8o69t5$of3$[EMAIL PROTECTED]...
>
> > Our local classical/PBS radio station is now broadcasting on the net.
> > I was interested in this because I now have an office in the interior
> > of a building and can't get regular radio reception.
> >
> > Anyhow, they broadcast only for Windows Media player, not RealPlayer/G2.
> > As a Linux user, obviously I can only listen if it is RealAudio format.
> > When I asked, I got the anwser that the software to broadcast for
> > Windows was free but the RealAudio software was around $2000.
My local PBS is broadcasting with RealAudio... very nice, too!
There must be other reasons...(technical incompetence?)
JLK
> >
> > Is this true? I find it hard to believe that RealAudio would put
> > themselves at such a competitive disadvantage. I wonder if they
> > were comparing apples & oranges (i.e. something like you have to
> > pay for the fully featured product but there is also a similar
> > product which is less or free).
>
> It may or may not be true. I'm not sure about Windows Media pricing, but
> Real's server software comes in a couple of versions, a simpler, free
> version, and a rather expensive, more fully featured one. It may be that
> they needed the features of the more expensive Real software, and the
> Windows one gave them the same thing for free.
>
> Or, they might not know what the hell they're doing. Or, they might have a
> Microsoft zealot in charge of all their computing needs. Who knows.
>
> Matt O.
------------------------------
From: "Sinectis News" <[EMAIL PROTECTED]>
Subject: Numeric keyboard problem under Mandrake Linux 7.0
Date: Sat, 26 Aug 2000 01:27:43 -0300
Reply-To: "Sinectis News" <[EMAIL PROTECTED]>
Hi:
I've a little problem with mi keyboard. I was configured the language
for Spanish then the numeric keypad break off, after configured the language
default the keyboard fail again.
Please help me and sorry for my bad english. Thank
------------------------------
From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: From RedHat to SuSE: A simple question
Date: Sat, 26 Aug 2000 00:01:30 -0500
Sylvain Demers wrote:
>
> Hi,
>
> I've just decided to drop RedHat for SuSE. I am extremely impressed with
> the robustness of SuSE. It is by far the most stable RPM-based disto out
> there, and quite a lot faster than RH & Mandrake in many regards. My
> only problem now is to figure out where is what (I've been using RH and
> Mandrake almost exculively for the last year and a half or so), since
> SuSE is quite different than RH as far as configuration files goes.
>
> Can someone tell me what is the equivalent (if any) of the /etc/rc.local
> file under SuSE? I used to add some commands in rc.local under Redhat,
> but I can't find where to put them under SuSE. I'm seriously considering
> buying the new 7.0 box set, since a book would really come handy. I'm
> currently using the eval copy I got from the Net.
>
> Thanks in advance
>
> Sylvain
Welcome to SuSE! I made the same journey you are on during the fall of
1998. I have never been disappointed with a SuSE distro. When 7.0
comes out I plan to go the PRO route.
In general, you should read chapter 17 of the SuSE manual. You can
download a PostScript of an English version from the SuSE webstite if
you don't have a paper copy. It will detail the SuSE boot sequence and
the order in which files are consulted or run.
~/.bashrc is where you put your local env and var settings (The file
'.profile' is in your
home dir but it is used by SuSE and you are admonished to put your
settings in .bashrc)
jerry@JLKreps:~ > locate bashrc
/etc/skel/.bashrc
/home/jerry/.bashrc
/home/june/.bashrc
If you are going to install special device drivers, set cron stuff,
etc., then boot.local is the file.
jerry@JLKreps:~ > locate boot.local
/sbin/init.d/boot.local
I find that YaST and KPackage (KDE) as root are my two most important
install programs. I do the occasional tar and manual setting stuff,
when I have to, but I prefer the two above.
What YaST does is put your entries into a file called /etc/rc.config.
Then, when you exit YaST, /sbin/SuSEconfig is fired and it reads
rc.config and calls a variety of perl scripts to do the actual work,
feeding to them the parameters taken from rc.config. If you change
rc.config manually then you should envoke /sbin/SuSEconfig manually to
make sure your changes take place. This allows you to change your
system without having to reboot it. Chapter 17 decribes the vars in
rc.config.
You will be in for a pleasent ride with SuSE. I leave my machine on,
connected to the internet 24/7 for weeks at a time, shuting it down only
when lightening is outside. The last hang I had was in the fall of
1998, when I was writing some C++ code and I inadvertantly looped the
mouse and keyboard, necessitating a power cycle. (I couldn't telnet in
because I am not on a network.) Apps do crash, however, and it is good
to know the key strokes on page 419.
Have fun!
Jerry
------------------------------
From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: I need help right now!
Date: Sat, 26 Aug 2000 00:03:11 -0500
[EMAIL PROTECTED] wrote:
>
> I am looking to delete windows off my computer build I still need
> access to something like quickbooks.
>
> if anyone know of anything please email me back right now.
>
> [EMAIL PROTECTED]
>
I've been running MoneyDance 2.xx since it release over a year ago. I
am very satisfied with it. If you want more than a Quicken replacement,
email me and I'll send your some URLs.
JLK
------------------------------
From: Zia Khan <[EMAIL PROTECTED]>
Subject: X running? from a bash script
Date: Sat, 26 Aug 2000 01:14:11 -0400
Is there an easy way to see if X is running from a bash script?
--
_ " _
_ " _ (_\|/_) Zia Khan
(_\|/_) _ " _ _ " _ (/|\) More bugs more glory!!!
(/|\) (_\|/_) " _ (_\|/_)
(/|\)_\|/_) (/|\)
(/|\)
------------------------------
From: Jeff Davis <[EMAIL PROTECTED]>
Subject: Reiserfs
Date: Sat, 26 Aug 2000 05:16:54 GMT
I was installing Mandrake and somewhere I read that Reiserfs was
included as an option for 'enterprise systems'. Why would an average
user not want reiserfs? it sounds good to me (the journaling part at
least). Why would it be good for enterprise?
Thanks,
Jeff Davis
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Hidden Partition - shouldn't be! Can't boot.
Date: Sat, 26 Aug 2000 15:19:23 +1000
Greetings. I have a dual boot setup with linux as default and win 98 as
secondary(as it should be!). My boot manager is bootmagic.
Some monkey was playing with the bootmagic setup and has somehow
'magically' hidden my primary partition so C: no longer exists - each of the
consecutive drives have been renamed accordingly which means I am also having
to floppy into linux.
If I boot via win-floppy into DOS, and use Fdisk the C drive doesn't
exist(non-DOS it says), but from linux /mnt/DOS_hda1/ I can still see all the
structure etc in tact!
Now. Seeing as I can' use windows or DOS to access bootmagic nor access
windows itself to use some other software to make the partition visible again,
can anyone offer a solution? Is there a linux proggy which can UN-hide my drive?
Thanks in advance for saving my child's life.
Shane/
------------------------------
Date: Sat, 26 Aug 2000 15:34:36 +1000
From: Ian Pulsford <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Linux, XML, and assalting Windows
[EMAIL PROTECTED] wrote:
> Joseph T. Adams <[EMAIL PROTECTED]> wrote in message
> news:8o6lm6$f4j$[EMAIL PROTECTED]...
>
> > : <MSWORDDATA>
> > : sdlkfjsda;lfkjsda f;lsdkf 2340985r32j23lkr2j r23o978xdf0sdjalfkwj 32
> > : </MSWORDDATA>
> >
> > : (where that contains some encoded table)
> >
> >
> > That will parse just fine.
> >
> > It won't be very useful to anyone but M$. But XML never promised to
> > make all data useful.
>
> If the data cannot be interpreted, then what is the use of parsing it? If a
> propertary data file were converted to text as a Radix-64 or uuencoded data
> stream and is framed by valid tags it is still no more useful that what we
> have today. If in fact it would be less useful, processing it would be
> slower and it would consume more storage and other resources than otherwise
> needed.
Well you can do whatever you like with the data; you might want to encrypt it
because it contains your customer's credit card details, but the format of the
data file is still standard and that is what matters.
IanP
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Re: X running? from a bash script
Date: Sat, 26 Aug 2000 15:29:47 +1000
On Sat, 26 Aug 2000, Zia Khan wrote:
>Is there an easy way to see if X is running from a bash script?
have a play with the ps command
ps -C <nameofproggyincorrectcase> will return what u need.
eg. ps -C xinit
results in:
PID TTY TIME CMD
553 tty1 00:00:00 xinit
Hope this helps
------------------------------
Date: Sat, 26 Aug 2000 15:40:54 +1000
From: Ian Pulsford <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Linux, XML, and assalting Windows
>
> Well you can do whatever you like with the data; you might want to encrypt it
> because it contains your customer's credit card details, but the format of the
> data file is still standard and that is what matters.
[Maybe I shouldn't have posted so quickly] You probably wouldn't encrypt
non-sensitive data, but everyone tries to hide their sensitive data one way or
another. I don't think the issue is whether or not someone else's obscure or
encypted data is readable by all.
IanP
------------------------------
From: "Eric Tsang" <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.linux,alt.linux,linux.redhat.misc
Subject: Re: Problem with my firewall while backup my Web server
Date: Sat, 26 Aug 2000 13:46:47 +0800
Hi Dan,
which software u used to backup web server?
Eric
"Dany Drapeau" <[EMAIL PROTECTED]> ?????
news:[EMAIL PROTECTED]...
> Hi,
>
> I have a firewall with Redhat Linux 6.1 on a pentium-II 450mhz with 128
> megs and 10 gigs harddisk. I have a server on a private zone that make
> backup on my web server that is on my demilitary zone. While I start
> backup everything are ok since it have about 400 megs of the data backed
> up, the computer with the firewall & linux freeze. I'm new with Linux so
> I really don't know what to do with taht. Somebody have any
> suggestion???
>
> Thank you
>
> Dan
>
>
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: A Hiding Partition
Date: Sat, 26 Aug 2000 08:09:57 +0200
QNA wrote:
>
> while the un-installation of one of my verions of Linux i found that my
> computer only detects the space on my Local Disk which is a FAT32 File
> System, but there is GB's in an Extended Partition that my computer does
> not have access to because it is not detected. can Partition Magic for
> Linux Mandrake help me and if not how can i recover this space. thank you.
>
Yes, the Windows fdisk does not show non-Windows logical partitions .
Use the Linux-fdisk coming with Mandrake or Partition Magic the remove
that partition or to change it's type the type which is shown by Windows
fdisk .
--
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Linux, XML, and assalting Windows
Date: Fri, 25 Aug 2000 23:38:30 -0700
Reply-To: <[EMAIL PROTECTED]>
Ian Pulsford <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> >
> > Well you can do whatever you like with the data; you might want to
encrypt it
> > because it contains your customer's credit card details, but the format
of the
> > data file is still standard and that is what matters.
>
> [Maybe I shouldn't have posted so quickly] You probably wouldn't encrypt
> non-sensitive data, but everyone tries to hide their sensitive data one
way or
> another. I don't think the issue is whether or not someone else's obscure
or
> encypted data is readable by all.
I am not debating on the end user need for privacy and encryption.
I am refering the the files data being encrypted for the benefit of the
software's developer alone inorder to prevent that data being handled by any
program that were not written by that devloper to lock the user into their
products.
In such a case what good does it do if the is in a "standard format" or that
it can be parsed so long as not a single datum can be interpreted?
Let's reexamine the long suffering example again. You are using an office
productivity application. You are working on a document that consumes 5 Meg
stored in a non-XML file. You are given the option of saving it in either
XML or the program's native format. You choose the XML file format. When
you examine the file you have just saved you find the XML the following XML
"tokens" the the start of the file.
<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE RST "http://localhost/fubar.dtd>
<RST>
<R ID="0" >
<F0>
Followed by 6.5Meg of data of the follow kind
alahasdfnaxvc9qweafva8712345lkf0asdf
Followed by the closing tags:
</F0>
</R>
</RST>
What have you gained?
------------------------------
Date: Sat, 26 Aug 2000 17:02:56 +1000
From: Ian Pulsford <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.text.xml,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Linux, XML, and assalting Windows
[EMAIL PROTECTED] wrote:
> Ian Pulsford <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > >
> > > Well you can do whatever you like with the data; you might want to
> encrypt it
> > > because it contains your customer's credit card details, but the format
> of the
> > > data file is still standard and that is what matters.
> >
> > [Maybe I shouldn't have posted so quickly] You probably wouldn't encrypt
> > non-sensitive data, but everyone tries to hide their sensitive data one
> way or
> > another. I don't think the issue is whether or not someone else's obscure
> or
> > encypted data is readable by all.
>
> I am not debating on the end user need for privacy and encryption.
>
> I am refering the the files data being encrypted for the benefit of the
> software's developer alone inorder to prevent that data being handled by any
> program that were not written by that devloper to lock the user into their
> products.
>
> In such a case what good does it do if the is in a "standard format" or that
> it can be parsed so long as not a single datum can be interpreted?
>
> Let's reexamine the long suffering example again. You are using an office
> productivity application. You are working on a document that consumes 5 Meg
> stored in a non-XML file. You are given the option of saving it in either
> XML or the program's native format. You choose the XML file format. When
> you examine the file you have just saved you find the XML the following XML
> "tokens" the the start of the file.
>
> <?xml version="1.0" encoding="iso-8859-1" ?>
> <!DOCTYPE RST "http://localhost/fubar.dtd>
> <RST>
> <R ID="0" >
> <F0>
>
> Followed by 6.5Meg of data of the follow kind
>
> alahasdfnaxvc9qweafva8712345lkf0asdf
>
> Followed by the closing tags:
>
> </F0>
> </R>
> </RST>
>
> What have you gained?
Who's me? The casual web browser, the company vice president, the
programmer?
Answer: nothing unless you know what the hell it is.
If two companies wanted to share the data then they would agree on a
method of encryption. If someone wanted to share it with the whole world
then they would make it nice simple english (swahili whatever).
IanP
------------------------------
From: Neuhoff <[EMAIL PROTECTED]>
Subject: Re: KDE and Gnome
Date: Sat, 26 Aug 2000 08:18:10 +0100
Thanks for your help.
> (insert RedHat CD-ROM)
> mount /mnt/cdrom
> rpm -Uvh /mnt/cdrom/RedHat/RPMS/kde*.rpm
> echo "KDE" > /etc/sysconfig/desktop
>
I just did, it comes up with error messages like this:
<file> is needed by <kde*>
It needs the following files: libqt.so.1 , libqimgio.so.0, qt1x-GL, qt1x-devel
A simple "whereis <file>" doesn't find them anywhere on the CD nor on the disk.
How can I install the missing components?
Juergen Neuhoff
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************