Linux-Misc Digest #105, Volume #25               Tue, 11 Jul 00 09:13:03 EDT

Contents:
  Why "/dev/hd has reached max. mount count, check forced" message ? 
([EMAIL PROTECTED])
  Re: Installation problems with SSH on RH 6.2 (zoot) (Sverre Torjussen)
  eth0-eth1 switched?? (Kurt Stremerch)
  Re: Why "/dev/hd has reached max. mount count, check forced" message ? (Florian E.J. 
Fruth)
  kernel modules not loaded RH6.2 (Hans Groeneveld)
  Re: help with ipmasq icq shell script - please ("Matt Ebb")
  Re: Help! Parallel port ZIP drive errors (Dances With Crows)
  Linux Newbie Questions ("Marcm")
  Re: Linux Newbie Questions (Dances With Crows)
  Re: Linux Newbie Questions (Big Daddy)
  Can anyone help me out? ([EMAIL PROTECTED])
  Re: the "i hate it when that happens" dept. (mindglow)
  Re: Linux Newbie Questions (Big Daddy)
  Tarball definition ("Marcm")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED]
Subject: Why "/dev/hd has reached max. mount count, check forced" message ?
Date: Tue, 11 Jul 2000 10:59:07 GMT

Hi,
About one on 5 times, or maybe on 6 times, I get the following
error (?) message when booting (after the line "fsck.ext2 -a
/dev/hda5"):
/dev/hda5 has reached maximal mount count, check forced

and it hangs for about one minute and a half or 2...
(I'm using Red Hat 5.2 on a pentium 75)

Normally the mount command outputs "/dev/hda5 clean, <nb> files,
<nb> blocks".

Is it normal ? Doest it mean either something special (and
bad) ??

Thanks !

Regards,
Seb


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Sverre Torjussen <[EMAIL PROTECTED]>
Subject: Re: Installation problems with SSH on RH 6.2 (zoot)
Date: 11 Jul 2000 13:13:47 +0200

Nina Kucklaender <[EMAIL PROTECTED]> writes:
> Hm, if you don't want to compile ssh, there are rpm's at
> ftp://ftp.zedz.net/pub/crypto/redhat/i386/
Hello,

Thx. I installed the packages at this site which passed okay, i.e.
   ssh-1.2.27-7i.i386.rpm 
   ssh-clients-1.2.27-7i.i386.rpm
   ssh-server-1.2.27-7i.i386.rpm

(I am used to have just one SSH package to install though with
all of the ssh, sshd stuff included - not three).

Previous attempts to install SSH rpms from other sites have failed in
a similar manner as posted in this article (tar.gz package). But maybe
they were slightly earlier releases (1.2.27-x). Would prefer to have
a working SSH/RPMs of the most recent release though (1.2.30).

Thanks again,

Cheers Sverre

------------------------------

From: Kurt Stremerch <[EMAIL PROTECTED]>
Subject: eth0-eth1 switched??
Date: Tue, 11 Jul 2000 11:25:41 GMT

Helllo.

When I use kernel 2.2.14 everything works and my netconfig is eth0
(ne2000 with DHCP) and eth1 (3com vortex with static ip).. I compiled a
new kernel, the 2.2.16. Everything except the networkcards works.. When
I boot the new kernel, it sends a DHCP request as soon as the modules
are loaded..  The strange thing here is that with the new kernel eth0
and eth1 are switched.. But linux still knows that it was the ne2000 who
needed the DHCP-request. But when the boot goes on, the interface lo
gets up, interface eth0 does not get a DHCP request!, and eth1 gets up..

Eth0 has become the 3com-card!! My netconf says it is eth0 who needs a
DHCP request and that is a ne2000-card.. But during the boot it is
different!!!! How is this possible?? How can I switch them back? Not by
changing the netconf because it's correct.. Why does the kernel switch
them?  Thanks in advance! K


Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
3c59x.c:v0.99H 27May00 Donald Becker http://cesdis.gsfc.nasa.gov/....
eth0: 3Com 3c900 Boomerang 10baseT at 0x6200,  00:10:4b:aa:56:7a, IRQ 10

8K word-wide RAM 3:5 Rx:Tx split, autoselect/10baseT interface.
Enabling bus-master transmits and whole-frame receives.
ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker http://....
ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0x6100, IRQ 11.
eth1: RealTek RTL-8029 found at 0x6100, IRQ 11, 00:50:BA:B5:89:9C.
Sending DHCP requests .. OK
IP-Config: Got DHCP answer from 195.130.132.18
IP-Config: Complete:
 device=eth1, addr=213.224.98.148, mask=255.255.255.0, gw=213.224.98.1,
 host=213.224.98.148, domain=pandora.be, nis-domain=(none),
 bootserver=195.130.132.18, rootserver=195.130.132.18, rootpath=
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 >
NTFS version 990411
VFS: Mounted root (ext2 filesystem) readonly.


--
=======================================================================
Kurt Stremerch                                    Department Technology
Student at NaRaFi                                    Option Electronics

           I'm artist enough to draw freely on my imagination
              imagination is more important that knowlegde
                        knowlegde is limited
                  imagination encircles the world..
                                                            A. Einstein
=======================================================================



------------------------------

From: Florian E.J. Fruth <fejf@gmx*/dev/null*.de>
Subject: Re: Why "/dev/hd has reached max. mount count, check forced" message ?
Date: Tue, 11 Jul 2000 13:36:26 +0200

In article <8keull$b5l$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> Hi,
> About one on 5 times, or maybe on 6 times, I get the following
> error (?) message when booting (after the line "fsck.ext2 -a
> /dev/hda5"):
> /dev/hda5 has reached maximal mount count, check forced

no error

> and it hangs for about one minute and a half or 2...
> (I'm using Red Hat 5.2 on a pentium 75)

it does not hang - it works hard :-)

> Normally the mount command outputs "/dev/hda5 clean, <nb> files,
> <nb> blocks".
> 
> Is it normal ? Doest it mean either something special (and
> bad) ??

yes, it checks your harddisk. linux checks the harddisk for errros. this 
is done if your hds weren't unmounten before shutting down your computer, 
or every x times. u can set the x value for your harddisks, but at the 
moment i don't know where...
fejf

-- 
the backup of my harddisk only takes the half time it 
did yesterday. i started to pipe it to /dev/null

------------------------------

From: Hans Groeneveld <[EMAIL PROTECTED]>
Subject: kernel modules not loaded RH6.2
Date: Tue, 11 Jul 2000 11:29:22 GMT

Dear all,

The RH6.2 installation has been succesfull. Nevertheless, when I tried
to make my Xircom PCMCIA card working by trying to load the appropriate
modules I discovered that I have two entries /lib/modules/2.2.14-5.0 and
/lib/modules/2.2.5-15.

Trying 'uname -a' shows kernel version 2.2.5-15 while there aren't any
directories under this kernel version! Instead, the 2.2.14-5 dir has all
the appropriate directories including pcmcia. Is this correct or did
something go wrong during the install?? The RH source CD has only the
sources for kernel 2.2.14-5.0.
I just want to load the modules with 'insmod' but that's unsuccesful and
lsmod tells me that NOTHING is loaded by the kernel??

Any hints??
thanks,
-hans


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: "Matt Ebb" <[EMAIL PROTECTED]>
Subject: Re: help with ipmasq icq shell script - please
Date: Tue, 11 Jul 2000 22:19:29 +1000

Hi,

> Anyway, from the ipmasq howto, the following example is given using port
> forwarding (substituting ipvsadm for ipportfw) to get icq working the
> manual way.  I use ipvsadm cause ipportfw also is not available for
> sparcs (i am not at all proficient with compiling yet).

IIRC, ipvsadm was replaced by ipchains in the 2.2.x kernels. I am running
a RH6.0 system and this works fine for me:

/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 10.1.1.65/8 -j MASQ

I have those two lines in my /etc/profile .

(10.1.1.65 is the IP of the machine that is getting forwarded through the
linux machine). The ICQ MASQ module has been insmodded and so everything's
fine.

> Not knowing anything about shell scripts, i have no idea what is wrong
> with the command structure.  I copied it exactly from the ipmasq how-to.
>  Can someone please tell what is wrong?

Actually, I think it mentions ipchains in the HOWTO, but its a bit
misleading as it goes on and describes how to do it for the 2.0 kernel
first.


Cheers,

Matt


------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Help! Parallel port ZIP drive errors
Date: 11 Jul 2000 08:25:17 EDT
Reply-To: [EMAIL PROTECTED]

On 11 Jul 2000 08:18:37 GMT, Krzys Majewski 
<<8kel8t$hou$[EMAIL PROTECTED]>> shouted forth into the ether:
>The following happens sporadically. For example, just now I was
>successfully reading/writing a zip disk. Then I changed disks.
>When I tried to mount the second disk, I got these errors.
>Any help or suggestions where to look appreciated. -chris
>
>Jul 11 01:13:34 cr275960-a kernel: sdc: Write Protect is off 
>Jul 11 01:13:34 cr275960-a kernel:  sdc: sdc1 sdc2 sdc3 sdc4 

Hmmm.  I saw a ZIP disk a few weeks ago that gave a similar (but worse)
error message when I attempted to access it.  The fact that 4 partitions
are being reported is not a good sign--ZIP disks are supposed to have one
partition on them.[0]

What does fdisk -l report for the disk?  The aforementioned ZIP disk gave
a royally messed-up partition table that reported one partition as being
1.2G.  Don't precisely know the cause of it, but I suspect a program that
a cow-orker was using to "allow PCs and Macs to share the same
disk"[1].  I managed to recover the data on that particular disk by dd'ing
the whole disk to the hard drive and running dosfsck on the file that
resulted, then running fdisk and mkdosfs on the ZIP disk and copying the
files in the DOS filesystem image back over.

ZIP drives are usually not this difficult--how are you managing to run
into so many problems?

[0] Yes, I read your earlier messages about not partitioning your
disks.  Most systems *expect* ZIPs to be partitioned, so most people
follow the standard as it makes things easier.
[1] Er, they can both read and write VFAT, so why not just use that?

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

------------------------------

From: "Marcm" <[EMAIL PROTECTED]>
Subject: Linux Newbie Questions
Date: Tue, 11 Jul 2000 05:32:26 -0700

I have installed RedHat 6.0 and connected to my ISP via PPPD and CHAT. Now I
want to use SQUID so I downloaded it and have the following questions:

1) What are ".rpm" files? There are a heap of them in a folder
"/contrib/binaries/RPM-v1.1",
    (ie: "squid-1.1.21-1.src.rpm")

2) What is a "gz" file? (I see a lot of these as well, ie:
"squid-2.3.STABLE3-src.tar.gz").
    "tar" files ... I already know about.

3) Also what does the word STABLE indicate, (there is a folder named STABLE,
and many files with the word STABLE as part of the file name, ie:
"squid-2.3.STABLE3-src.tar.gz").

3) I see a lot of PERL scripts, (ie: "cache-compare.pl"). Does "perl" come
with RedHat 6.0 or do you have to download it separately? What kinds of
things is "perl" used for, (there are only several lines on it in my Sybex
Linux book, saying that it's used for CGI scripting or writing KDE
applications, but it says nothing else whatsoever).

Thanks for help in advance,

Mark M
LWB (Linux WannaBe)



------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Linux Newbie Questions
Date: 11 Jul 2000 08:48:51 EDT
Reply-To: [EMAIL PROTECTED]

On Tue, 11 Jul 2000 05:32:26 -0700, Marcm 
<<9pEa5.13088$[EMAIL PROTECTED]>> shouted forth into the ether:
>1) What are ".rpm" files? There are a heap of them in a folder

Redhat Package Manager files.  You install them by using the rpm program,
generally doing "rpm -Uvh package.rpm" as root.  man rpm.

>2) What is a "gz" file? (I see a lot of these as well, ie:

THis indicates a file compressed with the gzip program.  Often, programs
are distributed as masses of source code, stuck together with tar and
compressed with gzip.  Such files usually have the extension .tar.gz or
.tgz and are referred to as "tarballs".  You generally install programs
contained in tarballs this way:
  tar xvzf packagename.tar.gz
  cd packagename
  ./configure
  make
  make install

>3) Also what does the word STABLE indicate

Consult your dictionary :-)

>3) I see a lot of PERL scripts, (ie: "cache-compare.pl"). Does "perl" come
>with RedHat 6.0 or do you have to download it separately? What kinds of
>things is "perl" used for

Perl is included with every Linux distribution; there should be a couple
of packages with "perl" in their names on your distro CDs.  Perl is used
for a lot of things; it's a very powerful if occasionally incomprehensible 
tool.

-- 
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

------------------------------

From: Big Daddy <[EMAIL PROTECTED]>
Subject: Re: Linux Newbie Questions
Date: 11 Jul 2000 12:45:16 GMT

Scribbling furiously, Marcm managed to write....
: 1) What are ".rpm" files? There are a heap of them in a folder
: "/contrib/binaries/RPM-v1.1",
:     (ie: "squid-1.1.21-1.src.rpm")

RPM is "Redhat Package Manager (management?)"... Basically, it's an
"install file" for RedHat Linux.  from a prompt, run "man rpm" for
more... basically, it allows you to install/uninstall/upgrade software
that has been packaged in RPM format pretty easily.

: 2) What is a "gz" file? (I see a lot of these as well, ie:
: "squid-2.3.STABLE3-src.tar.gz").
:     "tar" files ... I already know about.

a .gz file is a gzip'ed file (man gzip).  Many tar files are also
gzip'ed, thus creating a .tar.gz file.  gzip is simply compression (e.g.
very similar to .zip in windows).

: 3) Also what does the word STABLE indicate, (there is a folder named STABLE,
: and many files with the word STABLE as part of the file name, ie:
: "squid-2.3.STABLE3-src.tar.gz").

It is a stable release of that particular piece of software, as opposed
to a beta-testing one, or what-not.

: 3) I see a lot of PERL scripts, (ie: "cache-compare.pl"). Does "perl" come
: with RedHat 6.0 or do you have to download it separately? What kinds of
: things is "perl" used for, (there are only several lines on it in my Sybex
: Linux book, saying that it's used for CGI scripting or writing KDE
: applications, but it says nothing else whatsoever).

Well, use your new-found RPM knowledge to see if you installed it!  ;-)  

$ rpm -qa | grep perl


-- 
Big Daddy

Energizer Bunny arrested - charged with battery.

------------------------------

From: [EMAIL PROTECTED]
Subject: Can anyone help me out?
Date: Tue, 11 Jul 2000 12:40:32 GMT

Hi there...
everything works fine (mor eor less), except I get some
authentification problems when using FTP or Mail protocols (IPAM/POP).
Telnet & SSH work fine!

When I try to log on via FTP, I get a "530 Login incorrect." error, and
when I look into /var/log/messages I get to see the following:

ftpd[4211]: cannot open access file /etc/ftpaccess: Permission denied
...                     conversion file .. permission denied
...      host_access: can't open host access file
FTP LOGIN REFUSED
ACCESS DENIED (error reading access file)...

The /etc/ftp* files are -rx------- and should be readable by root. But
the silly thing is, after a failed login, the ps -aux |grep ftpd
returns ftpd running under some username that has no root rights.

So my question is... Why in earth is FTPD running as johndoes' process
and not as root (or whoever should be the owner).



P.S. RH6.1


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: mindglow <[EMAIL PROTECTED]>
Subject: Re: the "i hate it when that happens" dept.
Date: Tue, 11 Jul 2000 12:36:27 GMT

Heya ppl,

firstly thanks for your thoughts.

Secondly I think I have to clarify my reasons for posting the "i hate
it.." story to ..linux.misc. It wasn't to bitch about linux or to ask
for help or anything. It was.. well maybe it was a cry from the heart.

The problem (and major frustration) for me is this:

fact: for the re-occuring incident at work I have a linux based
solution.
prob: i work in a _very_ protected environment. think bank, hi-risk
chem. research etc. Then you'll have a good idea what I'm talking about.
All services on the network and anything that has to do with it is
totally compartmentalized, protected, re-compartmentalized etc.

Even if this may sound totally paranoid to some, it is _very_ nessesary
in my line of work.
The downside of this is that _nothing_ goes into the production network
that hasn't been tested, stripped, retested, documented about a million
times and then _maybe_.

Don't worry, I'm working on putting linux into the test process. It's
hard and F.U.D is omipresent though. I'll get it done one day.

Anyway back to the point: I thought I had a big break when I was lent
some hardware (the server I run linux on) by a department for
"unspecified testing purposes" ie. to play with.
Some months went by and my server ran (not in the network). Every once
in a while someone would come in and look at the server, talk to me and
leave again.

When the problem with the cdrom servers came to light, I thought I could
implement Linux as a solution. What happen was that I was rebuked for
"irisponcible idiocy" (any ex-army guys remember ii?) nothing serious,
but I was slightly miffed 'cos of this: _why_ am I being allowed to
unofficially test a linux server implementation if I'm _not_ going to be
allowed to let it shine in the network albite as a cdrom server??

Don't get me wrong though, I really like my job. I get to do all kinds
of cool stuff. I just don't get to run Linux.

-mindglow


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: Big Daddy <[EMAIL PROTECTED]>
Subject: Re: Linux Newbie Questions
Date: 11 Jul 2000 12:52:28 GMT

Scribbling furiously, Big Daddy managed to write....
: : 3) I see a lot of PERL scripts, (ie: "cache-compare.pl"). Does "perl" come
: : with RedHat 6.0 or do you have to download it separately? What kinds of
: : things is "perl" used for, (there are only several lines on it in my Sybex
: : Linux book, saying that it's used for CGI scripting or writing KDE
: : applications, but it says nothing else whatsoever).

Realized I only answered 1/2 your question.  Perl is a pretty nifty
programming language that is "specialized" around text and string
manipulation (Practical Extracting and Reporting Language, if I
rememeber correctly).  It indeed is used for a lot of CGI scripting, but
it also can be used for a wide variety of smaller programs for use on
your system that might make things easier when dealing with plain text
(as many configuration files, etc, are plain text, it can help).  try
wwl.perl.com and go from there.  ;-)

-- 
Big Daddy

Crime doesn't pay, but the hours are good.

------------------------------

From: "Marcm" <[EMAIL PROTECTED]>
Subject: Tarball definition
Date: Tue, 11 Jul 2000 06:10:09 -0700

If a filename.tar.gz is commonly referred to as a Tarball, then is a
filename.tar also commonly referred to as a Tarball?, (or is it just the gz
compressed tar file that is the Tarball?).

Mark M.



------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to