Re: count # files in directory

2000-09-14 Thread Peter Blomgren

On Thu, Sep 14, 2000 at 08:26:15PM -0700, Adam Sleight wrote:
> can't think today...how doe one count the number of files within a
> directory...yes I know du, df, and wc for words in a file.  

To count _files_, excluding symlinks and directories:

find . -type f -maxdepth 1 | wc -l
-- 
\Peter.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread Rob Hardowa

On Fri, 15 Sep 2000, you wrote:
> AND yes a smaller kernel is faster i would imagine although i've never gotten
> mine that small.

Whoops!  I should have mentioned that was done with make bzImage so that's
the compressed size :)  I'd love to have the kernel that size though!

The stock redhat kernels on my machine are:

1603112 Jun 19 18:55 vmlinux-2.2.16-3
 619492 Jun 19 18:55 vmlinuz-2.2.16-3

..and the version I did was:

 445228 Sep  4 17:33 vmlinuz-2.2.16_rob

Some of the lesser used stuff is modularizednot much though.
For a while there it was very intruiging for me to spend time reading
through the little help buttons on the sidebar of the xconfig
script...doing anything to optimize the kernel without going into code. 
There were a few good tips in the linux source directory too..I can't
remember which text file they were in, but the docs were quite
informative.  It's kind of an obsession to compile a kernel, test, check
for installed modules, and then try to get it as minimal as possible.  I'm
using icewm on X and I compiled that from source and there really is a
noticeable speed increase from the i386 packageespecially with
something like that.  I'd love to compile X on this system, but I got the
source and I couldn't even understand the directions! :)

> 
> hmmm benchmarks anyone? :)
> 
Sure, that could be fun!  Anyone care to post instructions for various
tests???  Anyone care to keep tabs on the results and post them in
numerical order?  Anyone care to continue on with this crazee thread? :)

Rob

-- 
Sentimentality -- that's what we call the sentiment we don't share.
-- Graham Greene


 This mail proudly composed and transmitted without the  
 interference of any Micro$oft products or protocols. 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread lee johnson

Rob Hardowa wrote:

> Kernel.org is where I get my goods from :)
>
> Keep in mind that the latest stable kernel (last time I checked) is
> 2.2.16 and redhat's latest rpm's are 2.2.16-3, so unless you wanted a
> development kernel, using the rpms is just fine.

that reminds me i'm slightly behind with   2.2.14-50 :)


>  Regarding the how to,
> it's been a while since I read it, but if you do use the RPMs to obtain
> the source, just skip the part about obtaining it and move onto
> configuration.  I figured out how to do it from Sams Red Hat Linux
> Unleashedonce you learn the config options, the actual process is
> really easy...

same here i've got sams redhat linux 6.0 and its very good at these issues
and way more
that I've barely touched surface of...whew!
yes once you've learned the options the rest is actually quite simple and a
matter of being used to it
AND yes a smaller kernel is faster i would imagine although i've never gotten
mine that small.

hmmm benchmarks anyone? :)

lee
-



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Virtual Server intranet

2000-09-14 Thread Glen Lee Edwards

Jonathan,

I had similar trouble when I first configured Apache behind a firewall.
You might go back to the 192.168.0.81 box and try the following:


 ServerAdmin webmaster@localhost
 DocumentRoot /Webhomes/Testsite.com
 ServerName localhost
 ErrorLog logs/testsite.com-error_log
 CustomLog logs/testsite.com-access_log common


This tells apache to match any request for a web page that comes through
port 80 for any IP address.

I had trouble because I was putting in the IP address of the WAN.  But the
firewall box was translating the IP address to my LAN address, so I
couldn't get the VirtualHost directive to recognize the request.  Based on
this I would say that either your request isn't making it to the
192.168.0.81 box, or it is but under a different IP address, or there's
something wrong with the httpd.conf file.

Glen



On Thu, 14 Sep 2000, Jonathan Wilson wrote:

>Now _this_ is weird...I made an exact copy ofboth the dir, and the VHost 
>entry and put it on 192.168.0.82... and it works.
>
>Queer.
>
>ifconfig [properly & correctly] shows IPs from .80 through .89, including .81
>
>Funky!
>
> JW
>
>
>>Date: Thu, 14 Sep 2000 16:09:22 -0500
>>To: [EMAIL PROTECTED]
>>From: JW <[EMAIL PROTECTED]>
>>Subject: Virtual Server intranet
>>
>>Howdy,
>>
>>I'm trying to set up a local copy of Apache on our LAN to try things on 
>>before I try them on our main web server.
>>
>>My Virtual hosts section looks like this:
>>
>>
>> ServerAdmin webmaster@localhost
>> DocumentRoot /Webhomes/Testsite.com
>> ServerName localhost
>> ErrorLog logs/testsite.com-error_log
>> CustomLog logs/testsite.com-access_log common
>>
>>
>>
>>I can't use a real domain name. because we don't have one here.
>>
>>The virtual host section on the live server looks exactly like that, but 
>>it uses a real domain name. It works fine, but here on our LAN it's 
>>showing me the default Apache page instead of the index.html file that's 
>>in the dir.
>>
>>Any suggestions? the perms are ok, all dirs are ugo+rx and all files are 
>>ugo+r.
>>
>> JW
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: unsubscribe?

2000-09-14 Thread Glen Lee Edwards

On Thu, 14 Sep 2000, Gustav Schaffter wrote:

>If so, do you think they would read your question and answer: "Yes, I
>successfully unsubscribed a few days ago."?
>
>:-)
>
>Gustav

We could have fun with this one!

Actually, yes, I've unsubscribed successfully a couple of times.  I was in
a state of delirium while I was trying to decide which email address to
use.  I kept the instructions which state the following:

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:
https:[EMAIL PROTECTED]

I then followed the instructions.

Glen



>Shanmuga Raj wrote:
>> 
>> Is there any one who did it successfuly?
>> 
>> -Original Message-
>> From: Imran [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, September 14, 2000 10:48 AM
>> To: [EMAIL PROTECTED]
>> Subject: unsubscribe?
>> 
>> how can i unsubscribe from this list
>
>




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread Rob Hardowa

Kernel.org is where I get my goods from :)

Keep in mind that the latest stable kernel (last time I checked) is
2.2.16 and redhat's latest rpm's are 2.2.16-3, so unless you wanted a
development kernel, using the rpms is just fine.  Regarding the how to,
it's been a while since I read it, but if you do use the RPMs to obtain
the source, just skip the part about obtaining it and move onto
configuration.  I figured out how to do it from Sams Red Hat Linux
Unleashedonce you learn the config options, the actual process is
really easy...

Recompiling is a good idea and good to learnI run an old slow limited
mem Pentiumby recompiling the kernel to only what I need I've scaled
it back from 640k to 440k.

Enjoy!  Playing with the kernel is fun! :)

Rob

On Thu, 14 Sep 2000, you wrote:
> www.kernel.org (the official kernel archives site) is where the kernel
> archives are located.
> 
> Now.. Keep in mind that the last time I offered this info (last night) I
> got blasted for it.
> 
> So, no, the kernel source isn't packaged only in RPM format... you just
> have to look for it outside of RedHat's archives :)
> 
>
-- 
Information Processing:
What you call data processing when people are so disgusted with
it they won't let it be discussed in their presence.


 This mail proudly composed and transmitted without the  
 interference of any Micro$oft products or protocols. 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: count # files in directory

2000-09-14 Thread madhu


 hello Adam,

 you said that you know wc,...

 didn't you try 

ls | wc

 i.e 'ls' piped to wc.

 i think it works(atleast for me).

 or you try 

ls -l | wc

 i think you want to count the no of files in a

 directory. these will count all the files including

 the directories. if you want to count just the files

 and not directories, i have to think of someything

 else.

 think it helps.

Madhu P   
   

On Thu, 14 Sep 2000, Adam Sleight wrote:

> can't think today...how doe one count the number of files within a
> directory...yes I know du, df, and wc for words in a file.  
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: count # files in directory

2000-09-14 Thread Ray Curtis

> "as" == Adam Sleight <[EMAIL PROTECTED]> writes:

as> can't think today...how doe one count the number of files within a
as> directory...yes I know du, df, and wc for words in a file.  

How about something simple like:

ls -l directoryname | wc -w


-- 
Ray Curtis Unix Programmer/Consultant   Curtis Consulting
mailto:[EMAIL PROTECTED]http://www.clark.net/pub/ray




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: count # files in directory

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Adam Sleight spewed into the bitstream:

AS>can't think today...how doe one count the number of files within a
AS>directory...yes I know du, df, and wc for words in a file.  

This works for me...

ls -1A|wc -l

Note that it does not exclude directory entries but it does exclude the
"." and "..".

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



count # files in directory

2000-09-14 Thread Adam Sleight

can't think today...how doe one count the number of files within a
directory...yes I know du, df, and wc for words in a file.  



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread Thornton Prime



On Thu, 14 Sep 2000, Statux wrote:

> www.kernel.org (the official kernel archives site) is where the kernel
> archives are located.
> 
> Now.. Keep in mind that the last time I offered this info (last night) I
> got blasted for it.
> 
> So, no, the kernel source isn't packaged only in RPM format... you just
> have to look for it outside of RedHat's archives :)
> 
> On Thu, 14 Sep 2000, Stephen King wrote:
> 
> > OK, this is a stupid question but I got to ask. Is the kernel source only
> > packaged in the RPM's? I read the How-to configure the kernel and it keeps
> > telling me to go find the linux-x.y.z.tar.gz file but I can't find it
> > anywhere on the disk or on the ftp site. I can only find the
> > kernel-source.2.2.14-5.0.i386.rpm and or also the
> > kernel.2.2.14-5.0.i386.rpm. So what is the difference? Or is there a web
> > site that explains it better on how to configure the kernel. HOW TO is kind
> > of vague and seems like they assume you know most of the stuff already. Any
> > help would be greatly appreciated.

Statux is correct that that kernel tarballs can always be found at
kernel.org.

The kernel-source package installs the kernel source into /usr/src/linux
for you. kernel-2.2.15-5.0.i386.rpm is the binary-only kernel and modules.

I'd recommend that you also look at the kernel SRPM that comes from
RedHat. It includes the tarball, as well as a number of patches that
RedHat applies, and also has all of RedHat's configuration parameters for
the binary kernels they distribute.

A good number of kernel options can be modified without recompiling your
kernel using the /proc filesystem and/or the sysctl interfaces.

thornton



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread Statux

www.kernel.org (the official kernel archives site) is where the kernel
archives are located.

Now.. Keep in mind that the last time I offered this info (last night) I
got blasted for it.

So, no, the kernel source isn't packaged only in RPM format... you just
have to look for it outside of RedHat's archives :)

On Thu, 14 Sep 2000, Stephen King wrote:

> OK, this is a stupid question but I got to ask. Is the kernel source only
> packaged in the RPM's? I read the How-to configure the kernel and it keeps
> telling me to go find the linux-x.y.z.tar.gz file but I can't find it
> anywhere on the disk or on the ftp site. I can only find the
> kernel-source.2.2.14-5.0.i386.rpm and or also the
> kernel.2.2.14-5.0.i386.rpm. So what is the difference? Or is there a web
> site that explains it better on how to configure the kernel. HOW TO is kind
> of vague and seems like they assume you know most of the stuff already. Any
> help would be greatly appreciated.
> SK
> 

-- 
-Statux



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Intel Arch

2000-09-14 Thread Statux

Correct.. choosing i386 will give you max compatibility, though.. in most
cases :)



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread Thomas Porter

"Kurt A. Brust" wrote:
> 
> Sorry, but going from 5.x to 6.x , does (IN REALITY) need to be fresh
> installed... the install overites just about everything... dont mean to burst
> your bubble...

I don't want to get into any kind of argument here, but I have
continuously upgraded from RH 3 on up through 6.1.

Admittedly it wasn't much fun at times, and I had to look at the install
logs pretty carefully, but it can be done.

Biggest problems have always been when rpms have been split up, or files
moved from one rpm to another, so upgrades to particular packages wiped
out config files.  I generally save off all of /etc somewhere safe so I
can see what has changed after the upgrade.  Changes to initscripts are
a big challenge as well.

I have often had to go out looking for newer versions of rpm's that do
not come stock with RH or powertools.  Big headache was switching from
libc5 to glibc! 

FWIW

-- 
Tom Porter   [EMAIL PROTECTED]

"On two occasions I have been asked [by members of Parliament], 
'Pray, Mr. Babbage, if you put into the machine wrong figures, will 
the right answers come out?'  I am not able rightly to apprehend the 
kind of confusion of ideas that could provoke such a question."



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Bret Hughes wrote:
> Jamie Smith wrote:
> 
> > Has anyone tried to access the archive of this mailing list?
> > (http://www.redhat.com/mailing-lists/redhat-list/index.html)
> >
> > It brings up the list for the "redhat-announce-list" rather than the
> > redhat-list.
> > the index of list archives is
> > http://www.redhat.com/mailing-lists/index.html.
> >
> > Also, does anyone know where the working "search mailing lists" page is (the
> > link on those pages, http://www.redhat.com/mailing-lists/search.html, is
> > broken...
> >
> 
> I too would like to know.  I sent the webmaster a note a couple of weeks ago
> seems like.
> 
www.moongroup.com/old/redhat.php, I believe.
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Virtual Server intranet

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Jonathan Wilson wrote:
> Howdy,
> 
> I'm trying to set up a local copy of Apache on our LAN to try things on 
> before I try them on our main web server.
> 
> My Virtual hosts section looks like this:
> 
> 
>  ServerAdmin webmaster@localhost
>  DocumentRoot /Webhomes/Testsite.com
>  ServerName localhost
>  ErrorLog logs/testsite.com-error_log
>  CustomLog logs/testsite.com-access_log common
> 
> 
> 
> I can't use a real domain name. because we don't have one here.
> 
> The virtual host section on the live server looks exactly like that, but it 
> uses a real domain name. It works fine, but here on our LAN it's showing me 
> the default Apache page instead of the index.html file that's in the dir.
> 
> Any suggestions? the perms are ok, all dirs are ugo+rx and all files are ugo+r.
> 
Hmm...what I'd do is set up a "fake domain" and DNS for it
and use that domain with your own DNS server and the
private IPs. You'll want to replace " with your fake domain name.

Good luck!
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Rob Hardowa wrote:
> On Thu, 14 Sep 2000, you wrote:
> > Has anyone tried to access the archive of this mailing list?
> > (http://www.redhat.com/mailing-lists/redhat-list/index.html)
> > 
> > It brings up the list for the "redhat-announce-list" rather than the
> > redhat-list.
> 
> I found that out toobut if you look at the bottom of any post to the
> list there is an alternate address using https that works.here it is: 
> 
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> You need a password to access the archives.  It was mailed to you with
> your original confirmation letter.  If you forgot it there is a web form
> to have them mail it to you again
>
MoonGroup is also archiving this list.
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Stephen King wrote:
> 
> OK, this is a stupid question but I got to ask. Is the kernel source only
> packaged in the RPM's? I read the How-to configure the kernel and it keeps
> telling me to go find the linux-x.y.z.tar.gz file but I can't find it
> anywhere on the disk or on the ftp site. I can only find the
> kernel-source.2.2.14-5.0.i386.rpm and or also the
> kernel.2.2.14-5.0.i386.rpm. So what is the difference? Or is there a web
> site that explains it better on how to configure the kernel. HOW TO is kind
> of vague and seems like they assume you know most of the stuff already. Any
> help would be greatly appreciated.
> SK
> 
Nope. You can go get the kernel source in a tarball. I've
done it once. I will probably do it again sometime. It's
not that hard, but you have to be careful to remove the old
symlink from your existing source tree to prevent it from
being overwritten (which is what happened to me.)

Try www.kernel.org.
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: HP OpenMail vs. standard imap-4.7

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Eric Wood wrote:
> By knowing this about HP's OpenMail product:
> 
> Q: "But any "generic" IMAP server can talk to Outlook, can't it?"
> A: "Yes and no: there are several flavors of Outlook. The full, "corporate"
> Outlook clients use a set of APIs known as MAPI. Only OpenMail can connect
> corporate Outlook to a UNIX server with this level of functionality, thanks
> to OpenMail's unique Outlook integration technology. Developed in
> collaboration with Microsoft, it enables rich features such as wide-area
> shared calendars, public folders and address book integration. "
> 
> I can assume that the standard imap package will not allow MS Outlook
> clients share calendars and address books via special folders on the Linux
> server.  Does anyone know of a project underway to make this happen (without
> buying the expensive HP OpenMail)?
> 
Just a comment here, but does anyone else find it humorous
(wryly homorous, that is) that a PROPRIETARY mailer would
have a name such as "OpenMail" ??? :-/ 

'Course that's just my impression from the above post, not
knowing anything about OpenMail, but one could reasonably
infer, I think, that the aforementioned product is NOT an
"open source" product. :-)
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Smith, Jonathan wrote:
> is this true??
> 
> I had redhat 5.2 running on a number of computers for
years and about a week ago I upgraded to redhat 6.2 but
running the upgrading install. >  > To make a long store
shot, redhat tech. support now tells me that I have to
format my drive and do a server install to get everything
to work right.  Is this true.  each time a new version of
linux comes out am I going to have to delete everything and
reinstall??? > 
>
Well, no. However, it's strongly suggested, especially for
major upgrades such as the one you did. Switching major
versions is much like trying to go from Windows 3.1 to
Windows 98 in one step. It can be done, but you often won't
be happy with the results. Windows 98 is MUCH better if you
wipe the drive and reinstall from scratch. Same  with major
upgrades of linux.
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bulk e-mailer

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Jonathan Wilson wrote:
> Howdy,
> 
> Several of the web sites we host have once-n-month newsletter-promotion 
> e-mails that we send out in bulk.
> 
> Right now we have all registered users in an MSSQL database, and have an NT 
> bulk mailer that reads the table of names and addresses, and sends the 
> newsletter to each to the recipients listed therein. We'd like to move this 
> to Linux also. Any suggestions  on what Linux mailers are best suited for 
> this? (Would be really nice if it interfaced with a MySQL or PostgreSQL DB)
> 
Mailman does a nice job of handling large lists (that's
what this list runs on! )
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Jamie Smith wrote:
> Has anyone tried to access the archive of this mailing list?
> (http://www.redhat.com/mailing-lists/redhat-list/index.html)
> 
> It brings up the list for the "redhat-announce-list" rather than the
> redhat-list.
> the index of list archives is
> http://www.redhat.com/mailing-lists/index.html.
> 
> Also, does anyone know where the working "search mailing lists" page is (the
> link on those pages, http://www.redhat.com/mailing-lists/search.html, is
> broken...
> 
ISTR that this group is archived on "moongroup.com"??? It
seems to be at http://www.moongroup.com/old/redhat.php
which I found with minimal digging. :-)
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread Kurt A. Brust

Sorry, but going from 5.x to 6.x , does (IN REALITY) need to be fresh
installed... the install overites just about everything... dont mean to burst
your bubble...



On Thu, 14 Sep 2000, you wrote:
> On Thu, 14 Sep 2000, Smith, Jonathan wrote:
> 
> > To make a long store shot, redhat tech. support now tells me that I
> > have to format my drive and do a server install to get everything to
> > work right.  Is this true.  each time a new version of linux comes out
> > am I going to have to delete everything and reinstall???
> 
> Making a long story short doesn't help people solve your problems  :)
> Give some detail and perhaps someone can help you out.
> 
> To answer your question, no.  You should not have to do a clean install of
> Red Hat Linux in order for it to work correctly.  I've done several
> upgrades without any major trouble.
> 
> MSG
> 
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: RPM and removing a package

2000-09-14 Thread Mikkel L. Ellertson

On Thu, 14 Sep 2000, Mobeen Azhar wrote:

> Hello all, I had a few packages that I installed from binary RPMS.  Later on
> I downloaded the sources for those packages (newer version than what was
> available as RPMs), compiled  them, and installed them manually.  However,
> the entries for the RPM still show up in rpm -qa.  I would like to remove
> those entries from the RPM database (I assume that is where RPM stores them,
> I am a relative Linux newbie) without having RPM attempt to delete any of
> the associated files, since some of the files come from my build and are
> needed.  Is there any easy way to do this, other than to un-install the RPM,
> then re-install from source?
> 
> Thanks in advance for any help,
> --Moby
> 
Take a look at the --justdb option.  (man rpm)




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Kernel Question

2000-09-14 Thread Mikkel L. Ellertson

On Thu, 14 Sep 2000, Stephen King wrote:

> OK, this is a stupid question but I got to ask. Is the kernel source only
> packaged in the RPM's? I read the How-to configure the kernel and it keeps
> telling me to go find the linux-x.y.z.tar.gz file but I can't find it
> anywhere on the disk or on the ftp site. I can only find the
> kernel-source.2.2.14-5.0.i386.rpm and or also the
> kernel.2.2.14-5.0.i386.rpm. So what is the difference? Or is there a web
> site that explains it better on how to configure the kernel. HOW TO is kind
> of vague and seems like they assume you know most of the stuff already. Any
> help would be greatly appreciated.
> SK
> 
You can download the kernel source from many locations in .tar or
.tar.gz format.  Or you can download the kernel source in an RPM
package.  But the kernel.2.2.14-5.0.i386.rpm is NOT the kernel source -
it is a pre-compiled kernel optimized to run on 386 machines.  If you
want to install the kernel source, you need the
kernel-source-2.2.14.rpm.  This is about equilivent to the
linux-2.2.14.tar.gz file.  When you install the RPM, you end up with the
same directory structor as if you had used tar -zxvf
linux-2.2.14.tar.gz.  It will put the source code in
/usr/src/linux-2.2.14, and creat a symlink /usr/src/linux.  You can then
change to this directory and follow the directions for building your own
kernel.

You might also want to go to the Red Hat web site, and read the howto
about building your own kernel there.  It is more Red Hat specific.

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Virtual Server intranet

2000-09-14 Thread Greg Wright



*** REPLY SEPARATOR  ***

On 14/09/00 at 16:09 [EMAIL PROTECTED] wrote:

>Howdy,
>
>I'm trying to set up a local copy of Apache on our LAN to try things on 
>before I try them on our main web server.
>
>My Virtual hosts section looks like this:
>
>
> ServerAdmin webmaster@localhost
> DocumentRoot /Webhomes/Testsite.com
> ServerName localhost
> ErrorLog logs/testsite.com-error_log
> CustomLog logs/testsite.com-access_log common
>
>

you need this somewhere...  

NameVirtualHost 192.168.0.81

See if that fixes it for you, you will need names to resolve for it to work.

Regards

Greg Wright
IT Consultant Sydney Australia

-- 

*** Please trim any replies ***
*** Please turn off HTML in your email ***
*** Please don't use the list for test messages ***
*** Why not search the archives? http://moongroup.com/redhat.phtml ***



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread Luke C Gavel

On Thu, 14 Sep 2000, Smith, Jonathan wrote:

> To make a long store shot, redhat tech. support now tells me
> that I have to format my drive and do a server install to get
> everything to work right.  Is this true.  each time a new
> version of linux comes out am I going to have to delete
> everything and reinstall???
> 

Not necessarily.  Do you have your '/home' and '/usr/local' on 
separate partitions?  Unless they do some low-level radical
changes to the ext2 filesystem, you should be safe.  Even when
they do that, you could still mount the old ext2 system even if
/usr and other directories were using something like 'ext3' for
example.  Just don't let the installation process re-format
the partitions you want to keep.

Best Regards,
L.G.

-- Generated Signature --
A real patriot is the fellow who gets a 
parking ticket and rejoices
that the system works.
-- End Sig --



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Mikkel L. Ellertson

On Thu, 14 Sep 2000, Charles Galpin wrote:

> Hey chuck, are working or playing over there? :)
> 
> He said *no* X btw.
> 
> charles
> 
One other posibility that he may not have thought of is to use an X
based program, but have it display on another machine.  That way, it
wouldn't put any load to speak of on the server, and you could check it
from a workstation on the network.

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: UPS

2000-09-14 Thread Chris Watt

At 14:14 14/09/00 +0800, Jeremy Russell wrote:
>Well, I tried this, and have no idea what it means

It means that it was compiled without debugging information (and as such
the gdb's output is pretty well useless ). If you have the source
code it might be a good idea to tweak the Makefile (turn off all
optimizations, turn on debugging) and try running the compiled result
through gdb for a meaningful error message, even if you can't fix it that
at least gives you useful information to give to someone who perhaps can.
If it's closed-source then you can still:
- Make sure you've got exactly the correct binary (not the SunOS version or
something).
- Complain to the company that owns it (good luck).
- Look for an open-source alternative (genpower perhaps?)
--

Q:  What's tiny and yellow and very, very, dangerous?
A:  A canary with the super-user password.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bulk e-mailer

2000-09-14 Thread Charles Galpin

I see Gordon has already offered to help write it, so if you know what's
good for you, take him up on it :)

Otherwise, if you check the mailhelp archives on moongroup (search for
"mass mailer") you will find a small perl script that does basically what
Gordon describes except it uses a simple non-XML template, and currently
gets the email info from a text file.

If you need help converting it to get the names from a MySQL or PostgreSQL
db, just send us your schema. Gordon can get it done in no time :) Just
kidding, I can help too.

Also take Chuck's advice and install postfix. It eats mass emails for
breakfast.

charles

On Thu, 14 Sep 2000, Gordon Messmer wrote:

> On Thu, 14 Sep 2000, (Jonathan Wilson) wrote:
> 
> > Several of the web sites we host have once-n-month newsletter-promotion 
> > e-mails that we send out in bulk.
> > 
> > Right now we have all registered users in an MSSQL database, and have an NT 
> > bulk mailer that reads the table of names and addresses, and sends the 
> > newsletter to each to the recipients listed therein. We'd like to move this 
> > to Linux also. Any suggestions  on what Linux mailers are best suited for 
> > this? (Would be really nice if it interfaced with a MySQL or PostgreSQL DB)
> 
> I don't know of any specifically for that purpose, so if no one else
> responds to this query, you may have to write your own.  However, it
> shouldn't be terribly difficult.  I've got a bunch of code over here that
> you can use to that purpose.  The billing programs which are part of ISPd
> read customers from an SQL database, parse an XML template, and send mail
> to those customers.  You can get extra tricky with that, or you can cut
> out the extra tricky (but still simple to use) parts and do it.
> 
> I'll even help you write it :)
> 
> If you don't find something else that suits your needs, let me know.
> 
> MSG
> 
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: How to delete duplicate headlines in perl with HTML::TokeParser

2000-09-14 Thread Charles Galpin

Hi Gary

A simple way would be to put them in a hash first before printing them,
using $text as the key and $url as the value. Duplicates will dissapear,
with the latest being kept. You could keep the first one by checking if it
exists before inserting.

If you need to preserve the order, then you will need to push them onto an
array as well, after first checking to see if you have done so before (by
looking in the hash). This may get a bit tricky if you are keeping the
latest, and want to keep the order of the latest, not the first occurance
though.

It's high time you newspaper boys moved to XML!

hth
charles

On Thu, 14 Sep 2000, Gary Nielson wrote:

> Hi,
> 
> I am trying to figure out how to do something and frankly, don't know
> where to begin. I am using the perl module HTML::TokeParser to extract a
> list of urls and headlines. I then get rid of those headlines that are
> garbage, but several times a day the same story comes over with a
> different url but the same headline. I need only the latest version of the
> story, but how do I check for duplicate headlines and get rid of all but
> the first one in the list?
> 
> My code thus far is:
> 
> $ignoreItems = '^.*Schedule$|Bc-Fbc-|Eds:|^\(|By The';
> use HTML::TokeParser;
> $p = HTML::TokeParser->new(shift||"testwires.htm");
> while (my $token = $p->get_tag("a")) {
>my $url = $token->[1]{href} || "-";
>my $text = $p->get_trimmed_text("/a");
>if ($text =~ $ignoreItems) { print ""; } else { print "$url\t$text\n"; }
> }
> 
> which produces something like the following:
> 
> 2913-w4apf/f6590.html   Former Dolphins Qb Strock Named Coach
> 2913-w4apf/f6591.html   Former Dolphins Qb Strock Named Coach
> 2913-w4apf/k3225.html   Illinois Qb An Example For Boller
> 2913-w4apf/k3242.html   Cardinals Revenge-Minded
> 
> Any advice on how to check the $text variable for the previous entry and
> not print out th $url and $text if the previous entry for $text is the
> same? Any pointers, suggestions appreciated.
> 
> Gary



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Creating "unprivledged" users, just as "nobody"

2000-09-14 Thread Chris Watt

At 15:01 14/09/00 -0500, Jonathan Wilson wrote:
>Howdy,
>
>I want to set up a new user - listar - for a the mail serv program to run as.
>
>I DO NOT want it to have a login shell and definitely not a /home/~.
>
>What's the proper way to do this?

AFAIK The easiest way is just to add it to your passwd file with a shell
set to some non-usable shell (/bin/false seems to be standard on RH) so it
would look vaguely like:

listar:*:10201:500:List Operator:/var/tmp/listtmp:/bin/false

The "*" password means no password (but also no login). The user won't have
a home dir unless you use a script/program (Linuxconf or some such) to
create the user.

>Should I make a listargroup group to go with it?

 You can if you like, I guess it's basically your call. My general
attitude towards creating groups is that I will create a group
if-and-only-if I want to assign certain permissions specifically to more
than one, but not all users. If not then just make it belong to some
existing unprivileged group (e.g. you should have a "nobody" group). In
fact you might also want to have a look at the passwd file entry for the
user "nobody" as that may be a good template.
--

To be considered half as good as Microsoft,
   Linux has to work twice as fast.
   Fortunately, this is easy. 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Bret Hughes spewed into the bitstream:

BH>Jamie Smith wrote:
BH>
BH>> Has anyone tried to access the archive of this mailing list?
BH>> (http://www.redhat.com/mailing-lists/redhat-list/index.html)
BH>>
BH>> It brings up the list for the "redhat-announce-list" rather than the
BH>> redhat-list.
BH>> the index of list archives is
BH>> http://www.redhat.com/mailing-lists/index.html.
BH>>
BH>> Also, does anyone know where the working "search mailing lists" page is (the
BH>> link on those pages, http://www.redhat.com/mailing-lists/search.html, is
BH>> broken...
BH>>
BH>
BH>I too would like to know.  I sent the webmaster a note a couple of weeks ago
BH>seems like.

They don't provide a search tool and my frustration with that is why I
started doing it myself some time ago... check the link I sent earlier in
this thread.

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread M. Neidorff

At 04:15 PM 09/14/2000 -0400, you wrote:
>is this true??
>
>I had redhat 5.2 running on a number of computers for years and about a 
>week ago I upgraded to redhat 6.2 but running the upgrading install.
>
>To make a long store shot, redhat tech. support now tells me that I have 
>to format my drive and do a server install to get everything to work 
>right.  Is this true.  each time a new version of linux comes out am I 
>going to have to delete everything and reinstall???

I did just that.  I upgraded from 5.2 to 6.2.  I did run into a couple of 
glitches, but they were (more or less) easy to fix.  The only problem that 
I am now having is getting printing to work with samba.  I'm S close, 
but I just can't figure out the last error message coming from nmb.

Did something go very wrong for you?  Do you know what it was?


Mark
   ___
 __HHH__
  (@ @)
.oOO--\_/--OOo.-
| Mark Neidorff|Never assume a conspiracy exists   |
| [EMAIL PROTECTED]|when mere stupidity can explain|
| Just Answers!|an event.  |
| Computer Systems Solutions   |   R. K. Bernstein |
---.ooo0---0ooo.
(   )   (   )
 \ ( ) /
  \_)   (_/



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread Jeff Hogg


-Original Message-
From: Smith, Jonathan <[EMAIL PROTECTED]>
To: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Thursday, September 14, 2000 5:40 PM
Subject: is this true??


>is this true??
>
>I had redhat 5.2 running on a number of computers for years and about a
week ago I upgraded to redhat 6.2 but running the upgrading install.
>
>To make a long store shot, redhat tech. support now tells me that I have to
format my drive and do a server install to get everything to work right.  Is
this true.  each time a new version of linux comes out am I going to have to
delete everything and reinstall???
>
Eh?  This doesn't sound right to me.. I've upgraded steadily since 4.0
without too much trauma.  Sometimes config files get a bit messed up, but
thats about it.  What did you have running on 5.2 that isn't running in 6.2?
Maybe we can help you on a server by server basis..  Give us some details
about the services you need to be running.

Jeff Hogg



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Who broke GCC compiling ...

2000-09-14 Thread Steve Borho

On Thu, Sep 14, 2000 at 01:54:50PM -0400, Rob Hardowa wrote:
> Just a quick note...
> 
> It's been a long time since I studied compilers, and a brief time at that,
> so I'm not really qualified to give you any information other than an
> opinionso I offer this...
> 
> A standard user space program that only uses regular C library functions
> should not require the kernel headers to be installed, because the
> information it requires should have been linked into the compiler.
> If you are installing a new compiler, the kernel headers (at the least)
> should need to be installed in order to obtain certain system defined
> headers.

There is a small portion of this already supported by gcc.  It keeps
knowledge of some platform specific details in
/usr/lib/gcc-lib/'platform'/'compiler-verson'/include

Under Linux, the rest of the information contained in the kernel
header files which user space programs might find useful is actually
handled by the C library header files (at least this is true for
glibc).  The header files bundled in glibc-devel provide 'wrappers'
for the data defined in the kernel headers so that they never need to
be included directly.

-- 
Steve Borho   Voice:  314-439-8342
Member of Technical Staff
Celox Networks Inchttp://www.ietf.org/rfc/rfc1925.txt



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread Gordon Messmer

On Thu, 14 Sep 2000, Smith, Jonathan wrote:

> To make a long store shot, redhat tech. support now tells me that I
> have to format my drive and do a server install to get everything to
> work right.  Is this true.  each time a new version of linux comes out
> am I going to have to delete everything and reinstall???

Making a long story short doesn't help people solve your problems  :)
Give some detail and perhaps someone can help you out.

To answer your question, no.  You should not have to do a clean install of
Red Hat Linux in order for it to work correctly.  I've done several
upgrades without any major trouble.

MSG




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Creating "unprivledged" users, just as "nobody"

2000-09-14 Thread Steve Borho

On Thu, Sep 14, 2000 at 03:01:09PM -0500, Jonathan Wilson wrote:
> Howdy,
> 
> I want to set up a new user - listar - for a the mail serv program to run as.
> 
> I DO NOT want it to have a login shell and definitely not a /home/~.

man adduser

then use something like:

adduser -s /bin/false -u 91 -r listar

-- 
Steve Borho   Voice:  314-439-8342
Member of Technical Staff
Celox Networks Inchttp://www.ietf.org/rfc/rfc1925.txt



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bulk e-mailer

2000-09-14 Thread Gordon Messmer

On Thu, 14 Sep 2000, (Jonathan Wilson) wrote:

> Several of the web sites we host have once-n-month newsletter-promotion 
> e-mails that we send out in bulk.
> 
> Right now we have all registered users in an MSSQL database, and have an NT 
> bulk mailer that reads the table of names and addresses, and sends the 
> newsletter to each to the recipients listed therein. We'd like to move this 
> to Linux also. Any suggestions  on what Linux mailers are best suited for 
> this? (Would be really nice if it interfaced with a MySQL or PostgreSQL DB)

I don't know of any specifically for that purpose, so if no one else
responds to this query, you may have to write your own.  However, it
shouldn't be terribly difficult.  I've got a bunch of code over here that
you can use to that purpose.  The billing programs which are part of ISPd
read customers from an SQL database, parse an XML template, and send mail
to those customers.  You can get extra tricky with that, or you can cut
out the extra tricky (but still simple to use) parts and do it.

I'll even help you write it :)

If you don't find something else that suits your needs, let me know.

MSG




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Charles Galpin spewed into the bitstream:

CG>Hey chuck, are working or playing over there? :)

My work *is* play. :-)

CG>He said *no* X btw.
CG>
CG>charles
CG>
CG>On Thu, 14 Sep 2000, Chuck Mead wrote:
CG>> 
CG>> http://www.xfce.org/user-screenshots/Chuck-M-2-large.jpg
CG>> 
CG>> Look at the item on the extreme right hand side of the picture
CG>> (warning... this is a large pic at 1600x1200 so it could take time on a
CG>> slow link).

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Creating "unprivledged" users, just as "nobody"

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Jonathan Wilson spewed into the bitstream:

JW>Howdy,
JW>
JW>I want to set up a new user - listar - for a the mail serv program to run as.
JW>
JW>I DO NOT want it to have a login shell and definitely not a /home/~.
JW>
JW>What's the proper way to do this?
JW>Should I make a listargroup group to go with it?

listar's binaries get installed in /home/listar by default... I don't
think it will work otherwise.

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: is this true??

2000-09-14 Thread Kurt A. Brust

Sad, but yes, true.


On Thu, 14 Sep 2000, Smith, Jonathan wrote:
> is this true??
> 
> I had redhat 5.2 running on a number of computers for years and about a week ago I 
>upgraded to redhat 6.2 but running the upgrading install.
> 
> To make a long store shot, redhat tech. support now tells me that I have to format 
>my drive and do a server install to get everything to work right.  Is this true.  
>each time a new version of linux comes out am I going to have to delete everything 
>and reinstall???
> 
> 
> Johnathan Mark Smith
> Messaging & Collaboration
> PaineWebber Incorporated
> 1000 Harbor Boulevard, 6th Floor
> Weehawken, NJ 07087-6791
> Phone: 201.352.1387
> Fax: 201.902.5273
> E-mail: [EMAIL PROTECTED]
> 
> 
> 
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Bulk e-mailer

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Jonathan Wilson spewed into the bitstream:

JW>Howdy,
JW>
JW>Several of the web sites we host have once-n-month newsletter-promotion 
JW>e-mails that we send out in bulk.
JW>
JW>Right now we have all registered users in an MSSQL database, and have an NT 
JW>bulk mailer that reads the table of names and addresses, and sends the 
JW>newsletter to each to the recipients listed therein. We'd like to move this 
JW>to Linux also. Any suggestions  on what Linux mailers are best suited for 
JW>this? (Would be really nice if it interfaced with a MySQL or PostgreSQL DB)

postfix

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Jeff Hogg


-Original Message-
From: Bret Hughes <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, September 14, 2000 5:02 PM
Subject: Re: console System monitor?


>Jonathan Wilson wrote:
>
>> Howdy,
>>
>> As I've said several times, my co is in the middle of shifting over to
>> Linux web and email servers.
>>
>> One of my jobs as the new Sys Admin is to find apps that accomplish
certain
>> jobs, in similar fashtion to the apps we use on NT.
>>
>> One thing we use all the time on NT is a resource meter. Current page
hits,
>> current CPU usages, memory usage, SQL querys in progress, etc.
>>
>> Probably the most important of these is the CPU, then the mem usage.
>>
>> Ok, so I need something that will tell me these types of things, but
since
>> we're not running X on this server, it's got to be console-based.
>>
top will handle the cpu and mem usage bits you need.  It's pretty
configurable as well.  For connections going to services, netstat is rather
good at showing such things.  Check out man netstat for all the options,
there are plenty.  I have a postgresql server here, and I've found I can
eyeball whats happening via netstat reasonably well.  A number of log files
can be watched on the terminal if you use tail with an option.. I think that
tail -f.  It stands for follow.  You can have the log entries scrolling by
in the second virtual terminal and just glance at it from time to time.
Hope  this helps.

Jeff Hogg



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread Bret Hughes

Jamie Smith wrote:

> Has anyone tried to access the archive of this mailing list?
> (http://www.redhat.com/mailing-lists/redhat-list/index.html)
>
> It brings up the list for the "redhat-announce-list" rather than the
> redhat-list.
> the index of list archives is
> http://www.redhat.com/mailing-lists/index.html.
>
> Also, does anyone know where the working "search mailing lists" page is (the
> link on those pages, http://www.redhat.com/mailing-lists/search.html, is
> broken...
>

I too would like to know.  I sent the webmaster a note a couple of weeks ago
seems like.

Bret






___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Fujitsu Lifebook I Series

2000-09-14 Thread Marc Davis

 
Anyone have any luck doing a linux (RH 6.2) install on this laptop:
Fujitsu Lifebook I series?

I can find quite a bit of information on B Series, E Series, etc., but
haven't found anything on the I series.  Just a couple of bobbles left:
pcmcia, sound, and the floppy (for some reason).
 
Would appreciate contact from anyone who's been successful.

Thanks.

-- 
Marc Davis
[EMAIL PROTECTED]  [general]
[EMAIL PROTECTED]  [personal]
[EMAIL PROTECTED][work]



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: echo command

2000-09-14 Thread Anthony E . Greene

On 14 Sep 2000  13:55 Stephen King wrote:
>What is the echo command that returns a 0 if the previous command ran
>correctly?

Assuming bash shell:

  echo $?

-- 
Anthony E. Greene <[EMAIL PROTECTED]> 
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AIM: TonyG05ICQ: 91183266/TonyGreene   Jabber: TonyGreene
Linux. The choice of a GNU Generation. 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Rob Hardowa

On Thu, 14 Sep 2000, you wrote:

> As I've said several times, my co is in the middle of shifting over to 
> Linux web and email servers.
> 
> One thing we use all the time on NT is a resource meter. Current page hits, 
> current CPU usages, memory usage, SQL querys in progress, etc.
> 

I recall not too long ago seeing several open source projects that use LCD
displays for this info.  Basically hook up a small display somewhere in or
near the machine that's just big enough to display the info you want.  I
saw one that used multiple pages/screen too.  I'm not sure if you are
using terminals, rack-mount or what...but if you don't need to frequently
access the machine directly and only need to monitor it's health, then a
small LCD may be the way to go...If you wish, I can research this further
and come up with the web links for you...

Rob

-- 
You may get an opportunity for advancement today.  Watch it!


 This mail proudly composed and transmitted without the  
 interference of any Micro$oft products or protocols. 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RPM and removing a package

2000-09-14 Thread Mobeen Azhar

Hello all, I had a few packages that I installed from binary RPMS.  Later on
I downloaded the sources for those packages (newer version than what was
available as RPMs), compiled  them, and installed them manually.  However,
the entries for the RPM still show up in rpm -qa.  I would like to remove
those entries from the RPM database (I assume that is where RPM stores them,
I am a relative Linux newbie) without having RPM attempt to delete any of
the associated files, since some of the files come from my build and are
needed.  Is there any easy way to do this, other than to un-install the RPM,
then re-install from source?

Thanks in advance for any help,
--Moby



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread Chuck Mead

http://www.moongroup.com/old/redhat.php

On Thu, 14 Sep 2000, Jamie Smith spewed into the bitstream:

JS>Has anyone tried to access the archive of this mailing list?
JS>(http://www.redhat.com/mailing-lists/redhat-list/index.html)
JS>
JS>It brings up the list for the "redhat-announce-list" rather than the
JS>redhat-list.
JS>the index of list archives is
JS>http://www.redhat.com/mailing-lists/index.html.
JS>
JS>Also, does anyone know where the working "search mailing lists" page is (the
JS>link on those pages, http://www.redhat.com/mailing-lists/search.html, is
JS>broken...
JS>
JS>TIA,
JS>
JS>-jamie
JS>
JS>
JS>
JS>___
JS>Redhat-list mailing list
JS>[EMAIL PROTECTED]
JS>https://listman.redhat.com/mailman/listinfo/redhat-list
JS>

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Who broke GCC compiling ...

2000-09-14 Thread Rob Hardowa

Just a quick note...

It's been a long time since I studied compilers, and a brief time at that,
so I'm not really qualified to give you any information other than an
opinionso I offer this...

A standard user space program that only uses regular C library functions
should not require the kernel headers to be installed, because the
information it requires should have been linked into the compiler.
If you are installing a new compiler, the kernel headers (at the least)
should need to be installed in order to obtain certain system defined
headers.

Like last night's example, the size of INT on your machine, which was
defined in a kernel header file.
_INT_MIN and was equal to the negative of _INT_MAX minus 1.
For DOS it's 2 bytes or -32,768 to 32,767 and for Linux
it's 4 bytes, or -2,147,438,648 to 2,147,438,647.

That should be defined somewhere in the kernel headers I would imagine,
and will be different for each system.  If your compiler got it wrong and
assumed the size, every program you wrote using integers would be trying to
access memory not available to it.  Any DOS compiler would be written with
that hardcoded because MS will not let you access the source to change any
headers.  On Linux, nothing should be assumed as the source code is always
available.

I would assume that not installing the kernel source and headers as
default using the original version of linux that you installed with, and
the type and method of install that you used, is probably a business
decision by RedHat.  Who is the target audience?  When and how often would
the average user in this group use those packages?  What types of programs
require these?

Considering RH is dedicated to the RPM distribution method, any packages
can be easily added and removed, and the average user would likely use
that method to install binaries for their architecture and save some time.
(Although it would be nice if there was a better error msg so that you
don't spend all day trying to find the cause.)  Although you appeared to
have the RPMs installed, the links were missing for some reason.  If you
ever worked with a standard tarball kernel or similar, those links may
have been destroyed.  I know I've had to recreate mine once, but I don't
remember why...maybe it was the same problem.

Either way, I used MS for 7 years (and Solaris for 1) before trying BSD
and finally switching to Linux as my main development system for two
years.  The learning curve was horendous, and that's mostly due to the
power available with Linux.  I'd much rather be using Linux than the MS
systems again.

That's my overly-simplistic, under-funded lack-wit research and summary on
the matter :)

Rob

PS...for an actual account of how the compiler works, the redhat-devel list
may be able to help...


On Thu, 14 Sep 2000, you wrote:
> >On Thu, 14 Sep 2000, Vidiot wrote:
> >> Wrong.  No compiler building should require that kernel sources be installed.
> >> Many things can be compiled that do not require the kernel sources.  All of
> >> the necessary include files for getting ANYTHING to compile should be
> >> distributed as part of the system.  Only stuff required for the kernel itself
> >> should be part of the kernel sources.
> >> 
> >The kernel headers files are needed to do things like talk to the
> >operating system - things like file I/O, and knowing the size of things
> >like intigers for the system you are compiling for.  
> Exactly.  Which is why I am saying that they should be there as a default
> install, which they currently are not.
> 
> MB
> -- 

-- 
Since a politician never believes what he says, he is surprised
when others believe him.
-- Charles DeGaulle


 This mail proudly composed and transmitted without the  
 interference of any Micro$oft products or protocols. 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: List Archive

2000-09-14 Thread Rob Hardowa

On Thu, 14 Sep 2000, you wrote:
> Has anyone tried to access the archive of this mailing list?
> (http://www.redhat.com/mailing-lists/redhat-list/index.html)
> 
> It brings up the list for the "redhat-announce-list" rather than the
> redhat-list.

I found that out toobut if you look at the bottom of any post to the
list there is an alternate address using https that works.here it is: 

> https://listman.redhat.com/mailman/listinfo/redhat-list

You need a password to access the archives.  It was mailed to you with
your original confirmation letter.  If you forgot it there is a web form
to have them mail it to you again

Rob

-- 
You may get an opportunity for advancement today.  Watch it!


 This mail proudly composed and transmitted without the  
 interference of any Micro$oft products or protocols. 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Jonathan Wilson

Hehe, everyone' is missing the point that it has to be console based (text 
only).

Other wise it'd be easy to find.

I've found one that's done it PHP, I think I'll use it.

Thanks though
 JW

At 01:52 PM 9/14/2000 -0500, you wrote:
>On Thu, 14 Sep 2000, eric clover wrote:
>
> > top
> >
> >
> > > Howdy,
> > >
> > > As I've said several times, my co is in the middle of shifting over to
> > > Linux web and email servers.
> > >
> > > One of my jobs as the new Sys Admin is to find apps that accomplish
> > certain
> > > jobs, in similar fashtion to the apps we use on NT.
> > >
> > > One thing we use all the time on NT is a resource meter. Current page
> > hits,
> > > current CPU usages, memory usage, SQL querys in progress, etc.
> > >
> > > Probably the most important of these is the CPU, then the mem usage.
> > >
> > > Ok, so I need something that will tell me these types of things, but 
> since
> > > we're not running X on this server, it's got to be console-based.
> > >
> > > Any ideas?
> > > Yes, I'll look on freashmeat too :-) I just thought I'd ask.
> > >
> > > Also, would anyone care to explain the load average feature of  "uptime"?
> > >
> > > 12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45
> > >
> > > Thanks,
> > > JW
> > >
>
>Actually, the KDE desktop environment also provides a resource meter that it
>is obviously copied from the one in WinNT, just in case you're interested.  I
>just forgot the name of the thingie, but you can look around the applications
>menus in any Red Hat box.  It's installed by default.
>
>
>---
>Nitebirdz
>http://www.linuxnovice.org
>Your place for tips, news, etc.
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: [RHL] Re: console System monitor?

2000-09-14 Thread eric clover

am i the only one that has read that they are Not running X? :)
thus, top would take care of a few things of what he needs. :)
eric

> On Thu, 14 Sep 2000, eric clover wrote:
>
> > top
> >
> >
> > > Howdy,
> > >
> > > As I've said several times, my co is in the middle of shifting over to
> > > Linux web and email servers.
> > >
> > > One of my jobs as the new Sys Admin is to find apps that accomplish
> > certain
> > > jobs, in similar fashtion to the apps we use on NT.
> > >
> > > One thing we use all the time on NT is a resource meter. Current page
> > hits,
> > > current CPU usages, memory usage, SQL querys in progress, etc.
> > >
> > > Probably the most important of these is the CPU, then the mem usage.
> > >
@@@> > > Ok, so I need something that will tell me these types of things,
but since
@@@> > > we're not running X on this server, it's got to be console-based.
> > >
> > > Any ideas?
> > > Yes, I'll look on freashmeat too :-) I just thought I'd ask.
> > >
> > > Also, would anyone care to explain the load average feature of
"uptime"?
> > >
> > > 12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45
> > >
> > > Thanks,
> > > JW
> > >
>
> Actually, the KDE desktop environment also provides a resource meter that
it
> is obviously copied from the one in WinNT, just in case you're interested.
I
> just forgot the name of the thingie, but you can look around the
applications
> menus in any Red Hat box.  It's installed by default.
>
>
> ---
> Nitebirdz
> http://www.linuxnovice.org
> Your place for tips, news, etc.
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



How to delete duplicate headlines in perl with HTML::TokeParser

2000-09-14 Thread Gary Nielson

Hi,

I am trying to figure out how to do something and frankly, don't know
where to begin. I am using the perl module HTML::TokeParser to extract a
list of urls and headlines. I then get rid of those headlines that are
garbage, but several times a day the same story comes over with a
different url but the same headline. I need only the latest version of the
story, but how do I check for duplicate headlines and get rid of all but
the first one in the list?

My code thus far is:

$ignoreItems = '^.*Schedule$|Bc-Fbc-|Eds:|^\(|By The';
use HTML::TokeParser;
$p = HTML::TokeParser->new(shift||"testwires.htm");
while (my $token = $p->get_tag("a")) {
   my $url = $token->[1]{href} || "-";
   my $text = $p->get_trimmed_text("/a");
   if ($text =~ $ignoreItems) { print ""; } else { print "$url\t$text\n"; }
}

which produces something like the following:

2913-w4apf/f6590.html   Former Dolphins Qb Strock Named Coach
2913-w4apf/f6591.html   Former Dolphins Qb Strock Named Coach
2913-w4apf/k3225.html   Illinois Qb An Example For Boller
2913-w4apf/k3242.html   Cardinals Revenge-Minded

Any advice on how to check the $text variable for the previous entry and
not print out th $url and $text if the previous entry for $text is the
same? Any pointers, suggestions appreciated.

Gary




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Virtual Server intranet

2000-09-14 Thread Jonathan Wilson

Now _this_ is weird...I made an exact copy ofboth the dir, and the VHost 
entry and put it on 192.168.0.82... and it works.

Queer.

ifconfig [properly & correctly] shows IPs from .80 through .89, including .81

Funky!

 JW


>Date: Thu, 14 Sep 2000 16:09:22 -0500
>To: [EMAIL PROTECTED]
>From: JW <[EMAIL PROTECTED]>
>Subject: Virtual Server intranet
>
>Howdy,
>
>I'm trying to set up a local copy of Apache on our LAN to try things on 
>before I try them on our main web server.
>
>My Virtual hosts section looks like this:
>
>
> ServerAdmin webmaster@localhost
> DocumentRoot /Webhomes/Testsite.com
> ServerName localhost
> ErrorLog logs/testsite.com-error_log
> CustomLog logs/testsite.com-access_log common
>
>
>
>I can't use a real domain name. because we don't have one here.
>
>The virtual host section on the live server looks exactly like that, but 
>it uses a real domain name. It works fine, but here on our LAN it's 
>showing me the default Apache page instead of the index.html file that's 
>in the dir.
>
>Any suggestions? the perms are ok, all dirs are ugo+rx and all files are 
>ugo+r.
>
> JW



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Virtual Server intranet

2000-09-14 Thread Jonathan Wilson

Howdy,

I'm trying to set up a local copy of Apache on our LAN to try things on 
before I try them on our main web server.

My Virtual hosts section looks like this:


 ServerAdmin webmaster@localhost
 DocumentRoot /Webhomes/Testsite.com
 ServerName localhost
 ErrorLog logs/testsite.com-error_log
 CustomLog logs/testsite.com-access_log common



I can't use a real domain name. because we don't have one here.

The virtual host section on the live server looks exactly like that, but it 
uses a real domain name. It works fine, but here on our LAN it's showing me 
the default Apache page instead of the index.html file that's in the dir.

Any suggestions? the perms are ok, all dirs are ugo+rx and all files are ugo+r.

JW



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: echo command

2000-09-14 Thread Etienne Larrivee

Hi Stephen,

It depends on what shell you are using.  For csh or tcsh, you can use
$status or $?.  For sh, ash, bash, bash2, ash, use $?.

So,

$ ls
...
$ echo $?
0
$ ls | grep bleah
1
$

The first echoes 0 because the 'ls' command is successful.  The second
echoes 1 because there's not 'bleah' file.

Etienne


Stephen King wrote:

> What is the echo command that returns a 0 if the previous command ran
> correctly?



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Kernel Question

2000-09-14 Thread Stephen King

OK, this is a stupid question but I got to ask. Is the kernel source only
packaged in the RPM's? I read the How-to configure the kernel and it keeps
telling me to go find the linux-x.y.z.tar.gz file but I can't find it
anywhere on the disk or on the ftp site. I can only find the
kernel-source.2.2.14-5.0.i386.rpm and or also the
kernel.2.2.14-5.0.i386.rpm. So what is the difference? Or is there a web
site that explains it better on how to configure the kernel. HOW TO is kind
of vague and seems like they assume you know most of the stuff already. Any
help would be greatly appreciated.
SK


BEGIN:VCARD
VERSION:2.1
N:King;Stephen
FN:Stephen King
ORG:Information Anywhere, Inc
TEL;WORK;VOICE:800-585-3805
TEL;CELL;VOICE:209-304-3459
TEL;WORK;FAX:209-223-1048
URL:
URL:http://www.infoany.net
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:2914T204631Z
END:VCARD



Re: console System monitor?

2000-09-14 Thread Jonathan Wilson

Well, we won't run X on this server, so that doesn't help the Real Q, 
nonetheless that looks like it might be useful for our local boxen - I'll 
see how it likes Window Maker :-)

 JW

At 11:40 AM 9/14/2000 -0600, you wrote:
>http://www.xfce.org/user-screenshots/Chuck-M-2-large.jpg



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



HP OpenMail vs. standard imap-4.7

2000-09-14 Thread Eric Wood

By knowing this about HP's OpenMail product:

Q: "But any "generic" IMAP server can talk to Outlook, can't it?"
A: "Yes and no: there are several flavors of Outlook. The full, "corporate"
Outlook clients use a set of APIs known as MAPI. Only OpenMail can connect
corporate Outlook to a UNIX server with this level of functionality, thanks
to OpenMail's unique Outlook integration technology. Developed in
collaboration with Microsoft, it enables rich features such as wide-area
shared calendars, public folders and address book integration. "

I can assume that the standard imap package will not allow MS Outlook
clients share calendars and address books via special folders on the Linux
server.  Does anyone know of a project underway to make this happen (without
buying the expensive HP OpenMail)?

-Eric Wood



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



is this true??

2000-09-14 Thread Smith, Jonathan

is this true??

I had redhat 5.2 running on a number of computers for years and about a week ago I 
upgraded to redhat 6.2 but running the upgrading install.

To make a long store shot, redhat tech. support now tells me that I have to format my 
drive and do a server install to get everything to work right.  Is this true.  each 
time a new version of linux comes out am I going to have to delete everything and 
reinstall???


Johnathan Mark Smith
Messaging & Collaboration
PaineWebber Incorporated
1000 Harbor Boulevard, 6th Floor
Weehawken, NJ 07087-6791
Phone: 201.352.1387
Fax: 201.902.5273
E-mail: [EMAIL PROTECTED]



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Bulk e-mailer

2000-09-14 Thread Jonathan Wilson

Howdy,

Several of the web sites we host have once-n-month newsletter-promotion 
e-mails that we send out in bulk.

Right now we have all registered users in an MSSQL database, and have an NT 
bulk mailer that reads the table of names and addresses, and sends the 
newsletter to each to the recipients listed therein. We'd like to move this 
to Linux also. Any suggestions  on what Linux mailers are best suited for 
this? (Would be really nice if it interfaced with a MySQL or PostgreSQL DB)

JW



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Charles Galpin

Hey chuck, are working or playing over there? :)

He said *no* X btw.

charles

On Thu, 14 Sep 2000, Chuck Mead wrote:
> 
> http://www.xfce.org/user-screenshots/Chuck-M-2-large.jpg
> 
> Look at the item on the extreme right hand side of the picture
> (warning... this is a large pic at 1600x1200 so it could take time on a
> slow link).




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Creating "unprivledged" users, just as "nobody"

2000-09-14 Thread Jonathan Wilson

Howdy,

I want to set up a new user - listar - for a the mail serv program to run as.

I DO NOT want it to have a login shell and definitely not a /home/~.

What's the proper way to do this?
Should I make a listargroup group to go with it?

JW



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: dhcpd starts, then quits re: net 0.0.0.0 (SOLVED!)

2000-09-14 Thread Gordon Messmer

On Thu, 14 Sep 2000 [EMAIL PROTECTED] wrote:

> Removing linuxconf from ntsysv solved the problem.  Wonderful program,
> that... (NOT!).

Probably the better solution is simply to tell Linuxconf not to manage
dhcp.  Under "Control"->"Control Files and Systems"->"Configure Linuxconf
modules", just disable the dhcp module.

I've not yet looked at the code for that module, but I've never seen a
place that linuxconf will let you specify what interfaces you want to run
DHCP on, so I have no idea why it insists on shutting some of them off.  I
share your pain.

MSG




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Bret Hughes

Jonathan Wilson wrote:

> Howdy,
>
> As I've said several times, my co is in the middle of shifting over to
> Linux web and email servers.
>
> One of my jobs as the new Sys Admin is to find apps that accomplish certain
> jobs, in similar fashtion to the apps we use on NT.
>
> One thing we use all the time on NT is a resource meter. Current page hits,
> current CPU usages, memory usage, SQL querys in progress, etc.
>
> Probably the most important of these is the CPU, then the mem usage.
>
> Ok, so I need something that will tell me these types of things, but since
> we're not running X on this server, it's got to be console-based.
>
> Any ideas?

what do you need that top can't provide?

Bret



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: FW: newaliases

2000-09-14 Thread Nitebirdz

On Thu, 14 Sep 2000, Meghan wrote:

> 
> --
> From: Meghan <[EMAIL PROTECTED]>
> Date: Wed, 13 Sep 2000 09:28:37 +0800
> To: <[EMAIL PROTECTED]>
> Subject: newaliases
> 
> Hello,
> While in the process of changing over to a new server and a different mail
> server, I have been adding and making many changes to /etc/aliases
> (actually it is /etc/postfix/aliases).  When configuring postfix, (so much
> better than sendmail!) I uncommented the lines that would would put the
> aliases file in /etc/postfix and the line that would allow me to run
> newaliases.  I got this info from a Redhat-postfix-HOWTO.  When I run
> newaliases, I get an error that states:  Command not found.
> Any suggestions?
> Thanks,
> Meghan  I 
> 

The newaliases command does not appear to be in your path.  I believe it is in
/usr/bin/newaliases, but you may prefer to run "locate newaliases".


---
Nitebirdz
http://www.linuxnovice.org
Your place for tips, news, etc.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: echo command

2000-09-14 Thread Jamie Smith

echo $?

-Original Message-
From: Stephen King [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 14, 2000 12:55 PM
To: [EMAIL PROTECTED]
Subject: echo command


What is the echo command that returns a 0 if the previous command ran
correctly?




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: echo command

2000-09-14 Thread Bret Hughes

Stephen King wrote:

> What is the echo command that returns a 0 if the previous command ran
> correctly?

echo $? will return the return code of the previously run command.  0 if
successful.


Bret



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Nitebirdz

On Thu, 14 Sep 2000, eric clover wrote:

> top
> 
> 
> > Howdy,
> >
> > As I've said several times, my co is in the middle of shifting over to
> > Linux web and email servers.
> >
> > One of my jobs as the new Sys Admin is to find apps that accomplish
> certain
> > jobs, in similar fashtion to the apps we use on NT.
> >
> > One thing we use all the time on NT is a resource meter. Current page
> hits,
> > current CPU usages, memory usage, SQL querys in progress, etc.
> >
> > Probably the most important of these is the CPU, then the mem usage.
> >
> > Ok, so I need something that will tell me these types of things, but since
> > we're not running X on this server, it's got to be console-based.
> >
> > Any ideas?
> > Yes, I'll look on freashmeat too :-) I just thought I'd ask.
> >
> > Also, would anyone care to explain the load average feature of  "uptime"?
> >
> > 12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45
> >
> > Thanks,
> > JW
> >

Actually, the KDE desktop environment also provides a resource meter that it
is obviously copied from the one in WinNT, just in case you're interested.  I
just forgot the name of the thingie, but you can look around the applications
menus in any Red Hat box.  It's installed by default.


---
Nitebirdz
http://www.linuxnovice.org
Your place for tips, news, etc.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



List Archive

2000-09-14 Thread Jamie Smith

Has anyone tried to access the archive of this mailing list?
(http://www.redhat.com/mailing-lists/redhat-list/index.html)

It brings up the list for the "redhat-announce-list" rather than the
redhat-list.
the index of list archives is
http://www.redhat.com/mailing-lists/index.html.

Also, does anyone know where the working "search mailing lists" page is (the
link on those pages, http://www.redhat.com/mailing-lists/search.html, is
broken...

TIA,

-jamie



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: echo command

2000-09-14 Thread Steve Borho

On Thu, Sep 14, 2000 at 10:55:17AM -0700, Stephen King wrote:
> What is the echo command that returns a 0 if the previous command ran
> correctly?

echo $?

But I find it more useful to use other constructs...

program_foo && echo "It ran fine"

-- 
Steve Borho   Voice:  314-439-8342
Member of Technical Staff
Celox Networks Inchttp://www.ietf.org/rfc/rfc1925.txt



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Problem with mgetty-1.1.22-1.5.x.i386.rpm

2000-09-14 Thread Owen V. Gray

Has anyone on the list updated mgetty on a RH5.2 box to
mgetty-1.1.22-1.5.x.i386.rpm without encountering the
difficulties described in my original post?

Owen

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Charles Galpin
> Sent: September 14, 2000 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with mgetty-1.1.22-1.5.x.i386.rpm
>
>
> The issue with using /dev/modem or /dev/ttyS2 is with
> sharing. You just
> have to be consistant with which one you use, because
> if you mix and
> match, each seperate program will not "place nice"
> with the others. If you
> use the smae name across the board, then they will
> cooperate with each
> other (as best they can anyway)
>
> hth
> charles
>
> On Thu, 14 Sep 2000, Bret Hughes wrote:
>
> > "Owen V. Gray" wrote:
> >
> > > No, I don't use a /dev/modem symlink. The mgetty
> documentation
> > > recommends against using it, and mgetty-1.1.14
> works fine using
> > > /dev/ttyS2 directly. I've looked at the
> documentation for the new
> > > version, and it does not seem to have changed in
> this regard.
> > >
> > > Is there something about the redhat-added patches that now
> > > requires this?
> > >
> > > Owen
> >
> > Not that I know of, I just remembered there was and
> issue with some
> > programs needing it.
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



echo command

2000-09-14 Thread Stephen King

What is the echo command that returns a 0 if the previous command ran
correctly?




BEGIN:VCARD
VERSION:2.1
N:King;Stephen
FN:Stephen King
ORG:Information Anywhere, Inc
TEL;WORK;VOICE:800-585-3805
TEL;CELL;VOICE:209-304-3459
TEL;WORK;FAX:209-223-1048
URL:
URL:http://www.infoany.net
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:2914T175517Z
END:VCARD



Re: Who broke GCC compiling ...

2000-09-14 Thread Vidiot

>On Thu, 14 Sep 2000, Vidiot wrote:
>> Wrong.  No compiler building should require that kernel sources be installed.
>> Many things can be compiled that do not require the kernel sources.  All of
>> the necessary include files for getting ANYTHING to compile should be
>> distributed as part of the system.  Only stuff required for the kernel itself
>> should be part of the kernel sources.
>> 
>The kernel headers files are needed to do things like talk to the
>operating system - things like file I/O, and knowing the size of things
>like intigers for the system you are compiling for.  Considering that the
>same compiler can produce source for more then one processor, things like
>this are important.  You can also change the header files that are used
>when you do things like cross compiling.  You don't need to have the
>complete kernel source installed, but you do need the kernel headers
>installed if you plan on compiling anything that will run on the
>system.  If you were compiling a stand alone program, you wouldn't need
>the kernel headers, but you would still need header files for the system
>you were planning to run the program on.
>Mikkel

Exactly.  Which is why I am saying that they should be there as a default
install, which they currently are not.

MB
-- 
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys?  Lisa: They must have
programmed it to eliminate the competition.  Bart: You mean like
Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Intel Arch

2000-09-14 Thread John Aldrich

On Thu, 14 Sep 2000, Chuck Mead wrote:
> 
> On Thu, 14 Sep 2000, Stephen King spewed into the bitstream:
> 
> SK>I'm trying to download the source code to configure the kernel and have
> SK>three different RPM's to choice from
> SK>
> SK>linux-2.2.14-5.0.i386.rpm
> SK>linux-2.2.14-5.0.i586.rpm
> SK>linux-2.2.14-5.0.i686.rpm
> SK>
> SK>I just want to make sure i386 is for old 486's and earlier, 
> 
> Actually i386 will work on all of the Intel versions IIRC. :-)
> 
And clones. :-) Just had to get that out. :-)
John



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread eric clover

top


> Howdy,
>
> As I've said several times, my co is in the middle of shifting over to
> Linux web and email servers.
>
> One of my jobs as the new Sys Admin is to find apps that accomplish
certain
> jobs, in similar fashtion to the apps we use on NT.
>
> One thing we use all the time on NT is a resource meter. Current page
hits,
> current CPU usages, memory usage, SQL querys in progress, etc.
>
> Probably the most important of these is the CPU, then the mem usage.
>
> Ok, so I need something that will tell me these types of things, but since
> we're not running X on this server, it's got to be console-based.
>
> Any ideas?
> Yes, I'll look on freashmeat too :-) I just thought I'd ask.
>
> Also, would anyone care to explain the load average feature of  "uptime"?
>
> 12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45
>
> Thanks,
> JW
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Jonathan Wilson spewed into the bitstream:

JW>Howdy,
JW>
JW>As I've said several times, my co is in the middle of shifting over to 
JW>Linux web and email servers.
JW>
JW>One of my jobs as the new Sys Admin is to find apps that accomplish certain 
JW>jobs, in similar fashtion to the apps we use on NT.
JW>
JW>One thing we use all the time on NT is a resource meter. Current page hits, 
JW>current CPU usages, memory usage, SQL querys in progress, etc.
JW>
JW>Probably the most important of these is the CPU, then the mem usage.
JW>
JW>Ok, so I need something that will tell me these types of things, but since 
JW>we're not running X on this server, it's got to be console-based.
JW>
JW>Any ideas?
JW>Yes, I'll look on freashmeat too :-) I just thought I'd ask.
JW>
JW>Also, would anyone care to explain the load average feature of  "uptime"?
JW>
JW> 12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45

gkrellm works okay (though I cannot imagine running X on a server). To get
an idea what it looks like go here:

http://www.xfce.org/user-screenshots/Chuck-M-2-large.jpg

Look at the item on the extreme right hand side of the picture
(warning... this is a large pic at 1600x1200 so it could take time on a
slow link).

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: console System monitor?

2000-09-14 Thread Mikkel L. Ellertson

On Thu, 14 Sep 2000, Jonathan Wilson wrote:

> Howdy,
> 
> As I've said several times, my co is in the middle of shifting over to 
> Linux web and email servers.
> 
> One of my jobs as the new Sys Admin is to find apps that accomplish certain 
> jobs, in similar fashtion to the apps we use on NT.
> 
> One thing we use all the time on NT is a resource meter. Current page hits, 
> current CPU usages, memory usage, SQL querys in progress, etc.
> 
> Probably the most important of these is the CPU, then the mem usage.
> 
> Ok, so I need something that will tell me these types of things, but since 
> we're not running X on this server, it's got to be console-based.
> 
> Any ideas?
> Yes, I'll look on freashmeat too :-) I just thought I'd ask.
> 
> Also, would anyone care to explain the load average feature of  "uptime"?
> 
>   12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45
> 
> Thanks,
>   JW
> 
> 
First, for uptime: (man uptime)
   uptime  gives a one line display of the following informa-
   tion.  The current time, how long the system has been run-
   ning, how many users are currently logged on, and the sys-
   tem load averages for the past 1, 5, and 15 minutes.
 
Now, for memory usage, the free command is handy.

There is a ncurses based program that will also give you system
information that is not part of the standard distribution, but I don't
remember the name off hand.  do a search on sysinfo on freashmeat, and I
am sure you will find it.

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Who broke GCC compiling ...

2000-09-14 Thread Mikkel L. Ellertson

On Thu, 14 Sep 2000, Vidiot wrote:
> Wrong.  No compiler building should require that kernel sources be installed.
> Many things can be compiled that do not require the kernel sources.  All of
> the necessary include files for getting ANYTHING to compile should be
> distributed as part of the system.  Only stuff required for the kernel itself
> should be part of the kernel sources.
> 
The kernel headers files are needed to do things like talk to the
operating system - things like file I/O, and knowing the size of things
like intigers for the system you are compiling for.  Considering that the
same compiler can produce source for more then one processor, things like
this are important.  You can also change the header files that are used
when you do things like cross compiling.  You don't need to have the
complete kernel source installed, but you do need the kernel headers
installed if you plan on compiling anything that will run on the
system.  If you were compiling a stand alone program, you wouldn't need
the kernel headers, but you would still need header files for the system
you were planning to run the program on.

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Intel Arch

2000-09-14 Thread Ward William E PHDN

i386 is for any architecture, i586 is for Pentiums, Cyrix/IBM PR and MII
chips, K6 and K6/2 and everything above that, i686 is for Pentium Pro, 
PII, PIII, PIV, Athalon, Celeron, Duron, the new Cyrix chips, etc.
But remember, everything is backward compatible; a PIII can run i686,
i586 and i386, no problem.; might be a little less efficient, but it
works.  I still think gcc needs to come with flags for non-Intel 
chips, though, so that those of us running non-Intel can compile
to our specific chip

Bill Ward
-Original Message-
From: Stephen King [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 14, 2000 12:07 PM
To: [EMAIL PROTECTED]
Subject: Intel Arch


I'm trying to download the source code to configure the kernel and have
three different RPM's to choice from

linux-2.2.14-5.0.i386.rpm
linux-2.2.14-5.0.i586.rpm
linux-2.2.14-5.0.i686.rpm

I just want to make sure i386 is for old 486's and earlier, while i586's are
Pentiums, and i686's are the new Pentium II and III's. Is this correct?

SK




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: dhcpd starts, then quits re: net 0.0.0.0 (SOLVED!)

2000-09-14 Thread bdoster

Removing linuxconf from ntsysv solved the problem.  Wonderful program,
that... (NOT!).

bd



-Original Message-
From:   Brad Doster [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, September 13, 2000 10:39 PM
To: '[EMAIL PROTECTED]'
Subject:dhcpd starts, then quits re: net 0.0.0.0

I'm at my wit's end (yes, that's a singular wit -- all I have left :).  I
have 2 RH boxes, a 6.1 and a 6.2, both running kernel 2.2.16-3.  Both are
configured identically as far as dhcpd is concerned (as far as I can tell),
yet the 6.1 box works and the 6.2 doesn't.  The 6.2 box starts dhcpd
successfully, then later (still pre-login) kills it due to no definition for
eth1 0.0.0.0 (huh??).  I can't find where this net is being defined,
assuming that's the cause.  Of course the 6.2 box is the "real" one, and the
6.1 box was for testing purposes only, and they can't be swapped.


After startup, if I login and then run '/etc/rc.d/init.d/dhcpd start', all
is OK.  Of course, this is not adequate, as I won't be at the client's 24/7
waiting for power outages.

Relevant config files follow, as well as /var/log/messages for both
machines.  Looking for where to look next -- see **[...] for my comments.
TIA...

ifcfg-eth0 (6.2):
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
NAME=PUBLIC

ifcfg-eth1 (6.2):
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
ONBOOT=yes
NAME=PRIVATE

ifcfg-eth0 (6.1):
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
NAME=PUBLIC

ifcfg-eth1 (6.1):
DEVICE=eth1
ONBOOT=yes
NAME=PRIVATE
BOOTPROTO=static
IPADDR=192.168.0.1
NETMASK=255.255.255.0


/etc/rc.d/init.d/dhcpd (identical on both boxes):
#!/bin/sh
#
# dhcpd This shell script takes care of starting and stopping
#   dhcpd.
#
# chkconfig: - 65 35
# description: dhcpd provide access to Dynamic Host Control Protocol.

# Source function library.
. /etc/rc.d/init.d/functions

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

[ -f /usr/sbin/dhcpd ] || exit 0
[ -f /etc/dhcpd.conf ] || exit 0

RETVAL=0

# See how we were called.
case "$1" in
  start)
# Start daemons.
echo -n "Starting dhcpd: "
/sbin/route add -host 255.255.255.255 dev eth1 2> /dev/null**[I
added this to 6.2 -- no diff]
daemon /usr/sbin/dhcpd eth1  **[eth1 only since eth0 is a dhcp
client]
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd
;;
  stop)
# Stop daemons.
echo -n "Shutting down dhcpd: "
killproc dhcpd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/dhcpd
;;
  restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
  status)
status dhcpd
RETVAL=$?
;;
  *)
echo "Usage: dhcpd {start|stop|restart|status}"
exit 1
esac

exit $RETVAL

**[end of /etc/rc.d/init.d/dhcpd]


/var/log/messages (from 6.1, working model):
Sep 13 21:20:32 RHRouter dhcpd: Internet Software Consortium DHCP Server 2.0
Sep 13 21:20:32 RHRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The
Inter
net Software Consortium.
Sep 13 21:20:32 RHRouter dhcpd: All rights reserved.
Sep 13 21:20:32 RHRouter dhcpd:
Sep 13 21:20:32 RHRouter dhcpd: Please contribute if you find this software
usef
ul.
Sep 13 21:20:32 RHRouter dhcpd: For info, please visit
http://www.isc.org/dhcp-c
ontrib.html
Sep 13 21:20:32 RHRouter dhcpd:
Sep 13 21:20:32 RHRouter dhcpd: Internet Software Consortium DHCP Server 2.0
Sep 13 21:20:32 RHRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The
Inter
net Software Consortium.
Sep 13 21:20:32 RHRouter dhcpd: All rights reserved.
Sep 13 21:20:32 RHRouter dhcpd:
Sep 13 21:20:32 RHRouter dhcpd: Please contribute if you find this software
usef
ul.
Sep 13 21:20:32 RHRouter dhcpd: For info, please visit
http://www.isc.org/dhcp-c
ontrib.html
Sep 13 21:20:32 RHRouter dhcpd:
Sep 13 21:20:32 RHRouter dhcpd: Listening on
LPF/eth1/00:a0:c9:9e:4d:38/192.168.
0.0
Sep 13 21:20:32 RHRouter dhcpd: Listening on
LPF/eth1/00:a0:c9:9e:4d:38/192.168.
0.0
Sep 13 21:20:32 RHRouter dhcpd: Sending on
LPF/eth1/00:a0:c9:9e:4d:38/192.168.
0.0
Sep 13 21:20:32 RHRouter dhcpd: Sending on   Socket/fallback/fallback-net
Sep 13 21:20:32 RHRouter dhcpd: Sending on
LPF/eth1/00:a0:c9:9e:4d:38/192.168.
0.0
Sep 13 21:20:32 RHRouter dhcpd: Sending on   Socket/fallback/fallback-net
Sep 13 21:20:33 RHRouter dhcpd: dhcpd startup succeeded  **[All OK here]
Sep 13 21:20:33 RHRouter keytable: Loading keymap:
Sep 13 21:20:33 RHRouter keytable: Loading
/usr/lib/kbd/keymaps/i386/qwerty/us.k
map.gz
Sep 13 21:20:33 RHRouter keytable: Loading system font:
Sep 13 21:20:33 RHRouter rc: Starting keytable succeeded
Sep 13 21:20:35 RHRouter sendmail: sendmail startup succeeded
Sep 13 21:20:35 RHRouter gpm: gpm startup succeeded
Sep 13 21:20:36 RHRouter xfs: xfs startup succeeded
Sep 13 21:20:36 RHRouter xfs: Warning: The directory
"/usr/X11R6/lib

Re: Intel Arch

2000-09-14 Thread Mikkel L. Ellertson

On Thu, 14 Sep 2000, Stephen King wrote:

> I'm trying to download the source code to configure the kernel and have
> three different RPM's to choice from
> 
> linux-2.2.14-5.0.i386.rpm
> linux-2.2.14-5.0.i586.rpm
> linux-2.2.14-5.0.i686.rpm
> 
> I just want to make sure i386 is for old 486's and earlier, while i586's are
> Pentiums, and i686's are the new Pentium II and III's. Is this correct?
> 
> SK
> 
All of these are compiled kernels.  What you want is
kernel-source-2.2.16.rpm

>From the sorce code, you can pick the processor you want to
compile/optimize for.  This is one of the config options.  For the most
part, the same source is used for all processors, including Sparc and
Alpha.

Mikkel
-- 

Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: It's Vidiot's fault! :-)

2000-09-14 Thread Vidiot

>If I can do this, what/where do I d/l and how would it need to be
>installed to avoid corrupting the other version would be the next
>question.

I currently have two versions on the system.  The one where the RPMs
install the gcc as /usr/bin/gcc and the selfcompile version where it is
installed at /usr/local/bin/gcc.

I just have the makefile for the project point at the one I need.

MB
-- 
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys?  Lisa: They must have
programmed it to eliminate the competition.  Bart: You mean like
Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



console System monitor?

2000-09-14 Thread Jonathan Wilson

Howdy,

As I've said several times, my co is in the middle of shifting over to 
Linux web and email servers.

One of my jobs as the new Sys Admin is to find apps that accomplish certain 
jobs, in similar fashtion to the apps we use on NT.

One thing we use all the time on NT is a resource meter. Current page hits, 
current CPU usages, memory usage, SQL querys in progress, etc.

Probably the most important of these is the CPU, then the mem usage.

Ok, so I need something that will tell me these types of things, but since 
we're not running X on this server, it's got to be console-based.

Any ideas?
Yes, I'll look on freashmeat too :-) I just thought I'd ask.

Also, would anyone care to explain the load average feature of  "uptime"?

12:07pm  up 14 days,  1:49, 10 users,  load average: 0.48, 0.43, 0.45

Thanks,
JW



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Problem with mgetty-1.1.22-1.5.x.i386.rpm

2000-09-14 Thread Charles Galpin

The issue with using /dev/modem or /dev/ttyS2 is with sharing. You just
have to be consistant with which one you use, because if you mix and
match, each seperate program will not "place nice" with the others. If you
use the smae name across the board, then they will cooperate with each
other (as best they can anyway)

hth
charles

On Thu, 14 Sep 2000, Bret Hughes wrote:

> "Owen V. Gray" wrote:
> 
> > No, I don't use a /dev/modem symlink. The mgetty documentation
> > recommends against using it, and mgetty-1.1.14 works fine using
> > /dev/ttyS2 directly. I've looked at the documentation for the new
> > version, and it does not seem to have changed in this regard.
> >
> > Is there something about the redhat-added patches that now
> > requires this?
> >
> > Owen
> 
> Not that I know of, I just remembered there was and issue with some
> programs needing it. 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Where in "INT-MAX" defined?

2000-09-14 Thread Vidiot

>On a Redhat 6.1 system, I find:
>
>[test@it-router2 test]$ find /usr/include -type f -exec grep -n INT_MAX {}
>/dev/null \;
>/usr/include/limits.h:91:#  define INT_MIN  (-INT_MAX - 1)
>/usr/include/limits.h:92:#  define INT_MAX  2147483647
>/usr/include/limits.h:96:#   define UINT_MAX4294967295U
>/usr/include/limits.h:98:#   define UINT_MAX4294967295  
>
>[test@it-router2 test]$ rpm -qf /usr/include/limits.h
>glibc-devel-2.1.2-11
>
>Looks to me like it's not a Redhat problem, but yours --  you don't have
>the right stuff installed.

The problem resulted from the missing links to the kernel header files
and my running configure before the missing links were found.

Doing a distclean and a configure solved the problem.

Thanks for the response.

MB
-- 
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys?  Lisa: They must have
programmed it to eliminate the competition.  Bart: You mean like
Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



RE: Intel Arch

2000-09-14 Thread Jamin Collins

That is correct.  Although I would add that the designations are for Intel's
and clones such as Cyrix and AMD chips also.  Essentially you need the
package that corresponds to what your chip functions as.

Jamin W. Collins
-Original Message-
From: Stephen King [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 14, 2000 11:07 AM
To: [EMAIL PROTECTED]
Subject: Intel Arch

I'm trying to download the source code to configure the kernel and have
three different RPM's to choice from

linux-2.2.14-5.0.i386.rpm
linux-2.2.14-5.0.i586.rpm
linux-2.2.14-5.0.i686.rpm

I just want to make sure i386 is for old 486's and earlier, while i586's are
Pentiums, and i686's are the new Pentium II and III's. Is this correct?

SK



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



It's Vidiot's fault! :-)

2000-09-14 Thread Jerry Human

Hello Everyone:

I was following the thread on Vidiot's rant on "Who broke GCC compiling
..." and found it very entertaining and informative. As I read the
various posts a question formed in my mind. First, a little background
info.

Some of you might might remember a recent post of mine concerning  the
GCC compiler ( Is it possible? Sept. 09, 00). What I was trying to
accomplish was to learn C++ at work. My job is a factory job that
includes a lot of "butt time" (sitting and waiting for the next
operation) and I wanted to use that butt time to study. Since that
didn't work out, I decided to do the exercises on the laptop (old 386
with 20 meg HD) with a DOS editor and compile them on my desktop after I
returned home. My desktop has a new 10.2 gig HD that is less than 10%
used even with RH 6.2 installed. Therein lies the second reason for this
post.

Is it possible to have two versions of the GCC compiler installed on the
same HD, one being the default install in RH for maintaining RH and
compiling SRPM's and the other on a different dir/partition just for
compiling the exercises? The two main reasons for the second install are
a) exercises would not be mixed with system files to avoid system
corruption and wouldn't need kernel related files, b) the second install
could be the latest and greatest version if it wouldn't cause lib
problems.

If I can do this, what/where do I d/l and how would it need to be
installed to avoid corrupting the other version would be the next
question.

Obviously, once I get through this learning C/C++ period, I would not be
asking dumb questions like this one.

Thanks.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Solved the printer problem. Moved on to my sound card.

2000-09-14 Thread Rev. David P. Giffen

Dave Reed wrote:

> > Date: Wed, 13 Sep 2000 18:33:06 -0500
> > From: "Rev. David P. Giffen" <[EMAIL PROTECTED]>
> >
> > I solved my printer problem by just giving up on Redhat 6.1 and bought
> > Redhat 6.2.  This plan worked. Now then I have been looking into my
> > sound card problem and have gotten to the stage of hacking my
> > isapnpp.conf file. So I have to find an unused IO address and IRQs. Can
> > anyone tell me which files keeps track of these?
>
> cat /proc/ioports
> cat /proc/interrupts
>
> Have you tried just running "sndconfig" and seeing if it can
> automatically get it working?
>
> Dave
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

Tried it. It does detect my card. However it hangs up when it trys to play
the sample.au and the midi file.

--
**
 Rev. David P. GiffenICQ#: 2857084 AIM Handle: Rev Coyote
--
   "Imagination is more Important than Knowledge" - Albert Einstein
**





___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



CVS again

2000-09-14 Thread chadws

I am still looking into cvs and am wondering if there is a way to 
remotely log in with no password or is this a bad idea? What I am 
trying to do is setup cvs so that I can start an ssh session from 
windows and tunnel to the cvs server. Since cvs (2401) is blocked via 
ipchains, I would like to be able to connect through ssh, but not use 
a password on the server. Is this possible?

wincvs will use a command line ssh in place of rsh, but is there a 
command line ssh that is still being developed?

Thanks,
Chad


--
Is your email secure? http://www.pop3now.com
(c) 1998-2000 secureFront Technologies, Inc. All rights reserved.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Intel Arch

2000-09-14 Thread Chuck Mead

On Thu, 14 Sep 2000, Stephen King spewed into the bitstream:

SK>I'm trying to download the source code to configure the kernel and have
SK>three different RPM's to choice from
SK>
SK>linux-2.2.14-5.0.i386.rpm
SK>linux-2.2.14-5.0.i586.rpm
SK>linux-2.2.14-5.0.i686.rpm
SK>
SK>I just want to make sure i386 is for old 486's and earlier, 

Actually i386 will work on all of the Intel versions IIRC. :-)

SK>while i586's are Pentiums,

Yup.

SK>and i686's are the new Pentium II and III's. Is this correct?

Yup.

--
Chuck Mead, CTO, LinuxMall.com
[EMAIL PROTECTED]
GnuPG Public Key Available: http://www.pgp.net/wwwkeys.html


BEGIN:VCARD
VERSION:2.1
N:King;Stephen
FN:Stephen King
ORG:Information Anywhere, Inc
TEL;WORK;VOICE:800-585-3805
TEL;CELL;VOICE:209-304-3459
TEL;WORK;FAX:209-223-1048
URL:
URL:http://www.infoany.net
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:2914T160702Z
END:VCARD



Re: Where in "INT-MAX" defined?

2000-09-14 Thread Jim Cunning

On a Redhat 6.1 system, I find:

[test@it-router2 test]$ find /usr/include -type f -exec grep -n INT_MAX {}
/dev/null \;
/usr/include/limits.h:91:#  define INT_MIN  (-INT_MAX - 1)
/usr/include/limits.h:92:#  define INT_MAX  2147483647
/usr/include/limits.h:96:#   define UINT_MAX4294967295U
/usr/include/limits.h:98:#   define UINT_MAX4294967295  

[test@it-router2 test]$ rpm -qf /usr/include/limits.h
glibc-devel-2.1.2-11

Looks to me like it's not a Redhat problem, but yours --  you don't have
the right stuff installed.

On Thu, 14 Sep 2000, Vidiot wrote:

> I am having damn lousy luck getting gcc 2.95.2 to compile because
> Red Hat appears to not have installed stuff.
> 
> Now the gcc compile stops at:
> 
> gcc -c  -DIN_GCC -g -O2  -DHAVE_CONFIG_H-I. -I. -I./config -I./../include 
>./genattrtab.c
> ./genattrtab.c: In function `max_attr_value':
> ./genattrtab.c:4733: `INT_MAX' undeclared (first use in this function)
> ./genattrtab.c:4733: (Each undeclared identifier is reported only once
> ./genattrtab.c:4733: for each function it appears in.)
> make[1]: *** [genattrtab.o] Error 1
> make[1]: Leaving directory `/usr/local/src/gcc-2.95.2/gcc'
> make: *** [all-gcc] Error 2
> 
> 
> What really makes this so laughable is that gcc 2.95.2 compiles under RH 5.0.

I forget, was it 5.0 or 6.0 when Redhat started using glibc in place of
libc?  

Jim Cunning



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Intel Arch

2000-09-14 Thread Stephen King

I'm trying to download the source code to configure the kernel and have
three different RPM's to choice from

linux-2.2.14-5.0.i386.rpm
linux-2.2.14-5.0.i586.rpm
linux-2.2.14-5.0.i686.rpm

I just want to make sure i386 is for old 486's and earlier, while i586's are
Pentiums, and i686's are the new Pentium II and III's. Is this correct?

SK




BEGIN:VCARD
VERSION:2.1
N:King;Stephen
FN:Stephen King
ORG:Information Anywhere, Inc
TEL;WORK;VOICE:800-585-3805
TEL;CELL;VOICE:209-304-3459
TEL;WORK;FAX:209-223-1048
URL:
URL:http://www.infoany.net
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:2914T160702Z
END:VCARD



RE: dhcpd starts, then quits re: net 0.0.0.0

2000-09-14 Thread bdoster

Forgot to post my dhcpd.conf file.  10.1.1.0 is another internal net housing
a DHCP server, firewall and gateway to the internet.  In production, this
will be replaced by a DSL modem which is given a dynamic IP address.  Right
now, it looks like this:

dhcp client - 192.168.1.0 - (eth1 - dhcp server) RH6.2 (eth0 - dhcp
client) - 10.1.1.0  (private if, dhcp server) Gateway (public if to
internet) --->

Gateway will be replaced by a DSL modem, and 10.1.1.0 will become an ISP
assigned address.

Here's the file:

#server-identifier DSLRouter;

option routers  192.168.1.1;

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.100  192.168.1.199;
  option domain-name-servers10.1.1.1;
  option domain-name"MyDomain.com";
}

subnet 10.1.1.0 netmask 255.255.255.0 {}

subnet 127.0.0.0 netmask 255.0.0.0 {}

subnet 0.0.0.0 netmask 255.255.255.0 {} **[I added this to try to squelch
the error, but no joy]

And below is my /etc/conf.linuxconf file.  I've found that if I comment out
the 'module.list 1 dhcpd' line and reboot, all comes up OK and dhcpd stays
resident.  However, the line gets automagically readded to the file, so the
next reboot results in the failure again.  Best guess is that I have a
corrupt config file somewhere, but again, I'm at a loss re: where to look
for it.

[base]
LINUXCONF.distribution redhat
notice.10-welcome.help 952435426
module.list 1 redhatppp
module.list 1 modemconf
module.list 1 treemenu
module.list 1 inittab
module.list 1 motd
module.list 1 dnsconf
module.list 1 inetdconf
module.list 1 samba
module.list 1 mailconf
module.list 1 wuftpd
module.list 1 dhcpd
[noarch]
linuxconf.lastlang en_US
[netclient]
DNSCONF.dnsneeded 1

FWIW, here's the end of /var/log/messages after booting with 'module.list 1
dhcpd' commented out:

Sep 14 09:02:02 DSLRouter dhcpd: Internet Software Consortium DHCP Server
2.0
Sep 14 09:02:02 DSLRouter dhcpd: Internet Software Consortium DHCP Server
2.0
Sep 14 09:02:02 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The
Inte
rnet Software Consortium.
Sep 14 09:02:02 DSLRouter dhcpd: All rights reserved.
Sep 14 09:02:02 DSLRouter dhcpd:
Sep 14 09:02:02 DSLRouter dhcpd:
Sep 14 09:02:02 DSLRouter dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The
Inte
rnet Software Consortium.
Sep 14 09:02:02 DSLRouter dhcpd: All rights reserved.
Sep 14 09:02:02 DSLRouter dhcpd: Please contribute if you find this software
use
ful.
Sep 14 09:02:02 DSLRouter dhcpd: For info, please visit
http://www.isc.org/dhcp-
contrib.html
Sep 14 09:02:02 DSLRouter dhcpd:
Sep 14 09:02:02 DSLRouter dhcpd:
Sep 14 09:02:02 DSLRouter dhcpd: Please contribute if you find this software
use
ful.
Sep 14 09:02:02 DSLRouter dhcpd: For info, please visit
http://www.isc.org/dhcp-
contrib.html
Sep 14 09:02:02 DSLRouter dhcpd:
Sep 14 09:02:03 DSLRouter dhcpd: Listening on
LPF/eth1/00:10:4b:dd:53:61/192.168
.1.0
Sep 14 09:02:03 DSLRouter dhcpd: Listening on
LPF/eth1/00:10:4b:dd:53:61/192.168
.1.0
Sep 14 09:02:03 DSLRouter dhcpd: Sending on
LPF/eth1/00:10:4b:dd:53:61/192.168
.1.0
Sep 14 09:02:03 DSLRouter dhcpd: Sending on   Socket/fallback/fallback-net
Sep 14 09:02:03 DSLRouter dhcpd:
Sep 14 09:02:03 DSLRouter dhcpd: Sending on
LPF/eth1/00:10:4b:dd:53:61/192.168
.1.0
Sep 14 09:02:03 DSLRouter dhcpd: Sending on   Socket/fallback/fallback-net
Sep 14 09:02:03 DSLRouter dhcpd: dhcpd startup succeeded
Sep 14 09:02:04 DSLRouter keytable: Loading keymap:
Sep 14 09:02:04 DSLRouter keytable: Loading
/usr/lib/kbd/keymaps/i386/qwerty/us.
kmap.gz
Sep 14 09:02:04 DSLRouter keytable: Loading system font:
Sep 14 09:02:05 DSLRouter rc: Starting keytable succeeded
Sep 14 09:02:07 DSLRouter sendmail: sendmail startup succeeded
Sep 14 09:02:07 DSLRouter gpm: gpm startup succeeded
Sep 14 09:02:07 DSLRouter linuxconf: Linuxconf final setup
Sep 14 09:02:11 DSLRouter rc: Starting linuxconf succeeded


bd


-Original Message-
From:   Brad Doster [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, September 13, 2000 10:39 PM
To: '[EMAIL PROTECTED]'
Subject:dhcpd starts, then quits re: net 0.0.0.0

I'm at my wit's end (yes, that's a singular wit -- all I have left :).  I
have 2 RH boxes, a 6.1 and a 6.2, both running kernel 2.2.16-3.  Both are
configured identically as far as dhcpd is concerned (as far as I can tell),
yet the 6.1 box works and the 6.2 doesn't.  The 6.2 box starts dhcpd
successfully, then later (still pre-login) kills it due to no definition for
eth1 0.0.0.0 (huh??).  I can't find where this net is being defined,
assuming that's the cause.  Of course the 6.2 box is the "real" one, and the
6.1 box was for testing purposes only, and they can't be swapped.


After startup, if I login and then run '/etc/rc.d/init.d/dhcpd start', all
is OK.  Of course, this is not adequate, as I won't be at the client's 24/7
waiting for power outages.

Relevant config files follow, as well as /var/log/messages for both
machines.  Looking for where to 

Re: unsubscribe?

2000-09-14 Thread Ray Curtis

> "tw" == Terry Wright <[EMAIL PROTECTED]> writes:

tw> Actually, (at the risk of prolonging this quite redundant thread) I
tw> successfully unsubscribed the guy who used to work at my job and
tw> successfully subscribed myself.  I used the website to get his password
tw> using his email address (which was forwarded to my account) and
tw> unsubscribed. no problems.  For those not using a browser, i don't know,
tw> but good luck.
tw> Terry

Without a browser, for info:

mail -s help [EMAIL PROTECTED] < /dev/null


-- 
Ray Curtis Unix Programmer/Consultant   Curtis Consulting
mailto:[EMAIL PROTECTED]http://www.clark.net/pub/ray




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



GCC confusion - was Re: Who broke GCC compiling ...

2000-09-14 Thread Vidiot

>Definitely not a redhat problem seeing as how redhat does not distribute
>gnu gcc as tarballs in the first place...if you are unhappy with your
>compiler for some reason (gcc is included in the rpm), then go to an
>update mirror and download the latest version of egcs...which should be
>1.1.2-30 and was just released a couple days ago.

I'm confused.  There are too many versions of gcc running around.

Part of my current problem may be because I've been doing upgrades.

Let me explain.  I've just compiled gcc 2.95.2, because of a work project.
I didn't use what is currently on the system because it is older (I think):

mrvideo.vidiot.com.ZROOT <201> which gcc
/usr/bin/gcc

mrvideo.vidiot.com.ZROOT <200> gcc --version
egcs-2.91.66

Yet when I query the RPM database, I get this:

mrvideo.vidiot.com.ZROOT <199> rpm -q -a | grep egcs
egcs-1.1.2-30
egcs-objc-1.1.2-30
egcs-c++-1.1.2-30

If 1.1.2-30 was just released, how can I have it on my computer already?
My RH 6.2 has been upgraded with the security packages on the RH site.

What is the deal with the gcc version numbering scheme, i.e., when did it
take over.  This is all very confusing when trying to sort out the
chronological evolution of the compiler.  Something tells me that egcs-2.91.66
is later than 2.95.2.

Any and all pointers regarding this will be appreciated.

MB
-- 
e-mail: [EMAIL PROTECTED]
Bart: Hey, why is it destroying other toys?  Lisa: They must have
programmed it to eliminate the competition.  Bart: You mean like
Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Whois Command?(whois2)

2000-09-14 Thread Chris S

(newbie)
i have nothing on my box resembling 'whois2'. is this something i have to 
install, or is it something i have to create?

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Whois Command?
>Date: Thu, 14 Sep 2000 00:43:50 -0400 (EDT)
>
>On Tue, 12 Sep 2000, William J. Salvino wrote:
> > Anybody used whois lately? I must have missed something. Is there a man
> > page for whois? Can't get detailed information with it???
> > I did not find anything to explain on http://www.internic.net. Maybe I
> > am thick.
> > Bill
> > e-mail: [EMAIL PROTECTED]
>
>Someone gave me the instruction on how to fix this. I've since lost his
>instructions, but here's what I now have:
>
>$ ls -l /usr/bin/*whois*
>  -rwxr-xr-x1 root root 4748 Feb  4  2000 /usr/bin/fwhois
>  -rwxrwxr-x1 root root   39 Jul 19 22:44 /usr/bin/whois
>  lrwxrwxrwx1 root root6 Jun  9  1999 /usr/bin/whois2 
>->
>   fwhois
>$ file /usr/bin/*whois*
>  /usr/bin/fwhois: ELF 32-bit LSB executable, Intel 80386, version 1,
>   dynamically linked (uses shared libs), stripped
>  /usr/bin/whois:  ASCII text
>  /usr/bin/whois2: symbolic link to fwhois
>
>So `whois2' is a symbolic link to the binary, `fwhois'. `Whois' is now a
>shell script:
>
>$ less `which whois`
>  #/bin/sh
>  whois2 $[EMAIL PROTECTED]
>
>So if you edit your system so that it's identical to what I now have you'll
>find that the whois command now works very well. In fact, IMHO it works
>better than in previous distributions now that I've made these changes.
>
>Mit freundlichen Grüßen,
>Russ.
>
>"The Internet is like a world with neither walls nor fences.
>Without walls who needs Windows, and without fences who needs Gates?"
>
>TO CONTRIBUTE
>to the Harry Browne for President Committee online
>please visit http://www.harrybrowne2000.org/misc/renew.htm.
>
>
>
>___
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: disks, cables, file corruption..

2000-09-14 Thread Steve Borho

On Thu, Sep 14, 2000 at 10:05:17AM -0400, Charles Galpin wrote:
> yes, I should have thought of that. Now that you mention it, I believe
> lbc was one of the files that e2fsck had to fix. Silly me.

> 
> An upgrade to 6.2 should do it right? Probably a good idea anyway.

that should do it.  Or, you could figure out how to tell rpm to force
an upgrade of the original package (after booting from the other disk)

> Ok, now how about *why* this has happened. Does anyone have any ideas!

PC hardware :^)

> thanks Steve, you are a never ending source of help to me :)

Glad I could help.  I just wish I had more time these days to answer
questions on the list... <* epiphany *> hey!

If anyone on the Red Hat list lives near St Louis MO or Boston MA (or
doesn't mind relocating) and wants to work for one of the coolest
companies there is, let me know.  We're hiring software and hardware
engineers like mad right now.  The opportunity is huge.  We're
building the next gen IP router that's going to cause some serious
market disruption when we go public.  For more info, e-mail me
privately or go visit our (embarrassingly crappy) web page
http://www.celoxnetworks.com

PS:  I apologize in advance for the obvious plug.  If you're annoyed,
hit 'd'.  I won't make a habit of it.

PS2:  If you do reply, _please_ take it offline to my [EMAIL PROTECTED]
or [EMAIL PROTECTED] address.

-- 
Steve Borho   Voice:  314-439-8342
Member of Technical Staff
Celox Networks Inchttp://www.ietf.org/rfc/rfc1925.txt



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



  1   2   >