Linux-Misc Digest #374, Volume #20               Thu, 27 May 99 22:13:10 EDT

Contents:
  Help: Maple V 5.1 &  Suse 6.1 & Seg Fault (Martin Opitz)
  Re: error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' 
(111)' ("test")
  Re: How to Stay Online - ISP Kicks my off during inactivity ("K.A. Steensma")
  "Art Format" images? (Jim Osborn)
  Re: Netscape crashes and it takes the whole machine with it! (Dave Ulrick)
  Re: xterm & background processes (Conway Yee)
  Re: Port scanner (Ian Hay)
  Linux not shutting down ("Jay")
  Re: choosing an OS for a retired Sun workstation (Carl Anderson)
  Re: Linux Read win95/98 Long File Names? (Ian Hay)
  Re: RH6.0 & General Linux Question ("Dale Sykora")
  Re: edit commands in linux telnet (Ed Young)
  Re: choosing an OS for a retired Sun workstation (W. Jeffrey Rankin)
  gdbm: What is it!? (Jason Nickerson)
  choosing an OS for a retired Sun workstation (Mikhail Teterin)
  Linux switching time (He Zhu)
  Re: How to run a script when logging out ? (John McKown)
  Re: PPP under RedHat 6.0 (Velvet Acid Christ)
  Re: NFS Server in Linux 2.0 (L J Bayuk)
  Re: Lilo having a problem (DefCon3)

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

From: [EMAIL PROTECTED] (Martin Opitz)
Subject: Help: Maple V 5.1 &  Suse 6.1 & Seg Fault
Date: 23 May 1999 17:39:05 GMT

Hello,

I use glib Suse 6.1, Xfree86 3.3.3.1 and Maple V 5.1. Installation was
ok but the follwoing happened:

(Non-X)
>maple
/usr/local/maple/bin_IBM_INTEL_LINUX/mapleTTY: can't load library 'libm.so.5'

So I installed libc-5.4.46bin.tar.gz to 
/usr/i486-linux-libc5/lib

and now it worked.

But NOW xmaple:

>xmaple
/usr/local/maple/bin_IBM_INTEL_LINUX/xmaplev5: can't load library 'libXt.so.6'

When I do : export LD_LIBRARY_PATH="/usr/X11R6/lib"
Then I get a "Segmentation Fault"

hat can I do ? PLEASE help me !

Some more info:
ldd /usr/local/maple/bin_IBM_INTEL_LINUX/xmaplev5
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40000000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40048000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4005a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x400ff000)
        libdl.so.1 => /lib/libdl.so.1 (0x4010e000)
        libm.so.5 => not found
        libc.so.5 => not found
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40112000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4011b000)
        libc.so.6 => /lib/libc.so.6 (0x40130000)
        /lib/ld-linux.so.1 => /lib/ld-linux.so.2 (0x2aaaa000)

lddlibc5 /usr/local/maple/bin_IBM_INTEL_LINUX/xmaplev5
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4000b000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40053000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40065000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4010a000)
        libdl.so.1 => /lib/libdl.so.1 (0x40116000)
        libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x40119000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x40121000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x401e1000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x401ea000)
        libc.so.6 => /lib/libc.so.6 (0x401ff000)
        ld-linux.so.2 => /lib/ld-linux.so.2 (0x402ac000)

> echo $DISPLAY
:0.0

MANY THANKS !
Martin


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

From: "test" <[EMAIL PROTECTED]>
Subject: Re: error: 'Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (111)'
Crossposted-To: 
redhat.hardware.arch.intel,redhat.general,linux.redhat.misc,alt.linux,alt.os.linux,comp.databases,comp.infosystems.www.servers.unix
Date: Thu, 27 May 1999 22:49:13 GMT

> > Nevermind, I found out it was because /tmp needed to be world-writable
> > which it wasn't before.  Now everything works great...
> Don't forget to set the sticky bit of /tmp as well.  The sticky bit will
> prevent users deleting other users files. 

HOW do I "set the sticky bit" of /tmp?


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

From: "K.A. Steensma" <[EMAIL PROTECTED]>
Subject: Re: How to Stay Online - ISP Kicks my off during inactivity
Date: Fri, 28 May 1999 00:08:00 GMT

That doesn't work with most ISP's  KAS

Ben Short wrote:

> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> > Does anyone out there know of a program that automatically sends out a
> > packet every (specified) amount of time?
> > My damn ISP kicks me off if I'm inactive for something like 5
> > minutes....and it's starting to get annoying.  I used to use Netprophet
> > for windows....is there something similiar for Linux?  Thanks kindly,
> >
> >   Jason
> >
> >
> hehe, have a cron job perhaps?
>
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * ping -c 3 <someIP> >/dev/null
> 2>&1
>
> I'm sure theres programs out there, but they would all work on a similar
> method ;)
>
> Ben
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Ben Short                http://www.shortboy.dhs.org
> Shortboy Productions     mailto:[EMAIL PROTECTED]
>
> *Remove n0spam to email me*
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


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

From: [EMAIL PROTECTED] (Jim Osborn)
Subject: "Art Format" images?
Date: 27 May 1999 23:40:49 GMT

I grabbed a few images from someone's web page, noticing they were
rather small, and had suffix ".art."  I couldn't get xv to display
them, nor the K image viewer or browser from my (now ancient) SuSE 5.3
distribution.  The web page's author, on AOL, says they're "in art
format which displays well in MSIE."  Well, I'm not about to get
a Microsoft computer for most any reason, least of all a few images,
but I thought I'd ask around if anyone knows about this format,
and what we Linux folks can use to view it.

TIA,

Jim

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

From: [EMAIL PROTECTED] (Dave Ulrick)
Crossposted-To: comp.os.linux.x
Subject: Re: Netscape crashes and it takes the whole machine with it!
Date: 27 May 1999 21:06:02 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 27 May 1999 01:53:15 -0400, Do-Hoon Kwon <[EMAIL PROTECTED]> wrote:
>Hello,
> Netscape 4.6 on my RedHat 6.0 (kernel 2.2.9 SMP) sometimes hangs the
>whole machine! No, I should say the only times this occurs is
>when I'm on the net with netscape.

I've experienced X server lockups with Netscape 4.x and fvwm 2.0.46.
Both keyboard and mouse events were ignored, so my PC seemed to be
locked up, but the hard drive continued to work, so I think the Linux
kernel was still running.  I mention Netscape because that was the
program I was actively using when the lockup occurred, but the problem
went away when I downgraded to fvwm 1.24 and stayed away when I
reupgraded to fvwm 2.2.0.  (fvwm 2.0.46 was a beta release so it's
understandable that I had problems.)

I suggest that you try a different window manager and see if your
problem goes away.  Note that fvwm95 is based on a fvwm 2.0.something
beta release. 

> Does this sound familiar to anyone? 
> Thanks in advance.

>Do-Hoon Kwon
>[EMAIL PROTECTED]

Your configuration sounds a little different than mine, but I thought
I'd mention my experience in case it helps you out.  I hope it helps.

Dave
-- 
===========================================================================
Dave Ulrick, Systems Programmer                 Internet:  [EMAIL PROTECTED]
Northern Illinois University
DeKalb, IL, USA

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

From: Conway Yee <[EMAIL PROTECTED]>
Subject: Re: xterm & background processes
Date: 27 May 1999 18:10:37 -0400

On 27 May 1999 14:39:58 -0400, Conway Yee <[EMAIL PROTECTED]> wrote:
>Running a terminal and involking a background process, say "foo &"
>should invoke foo in the background that is detached from the parent
>process.  Specifically, when I terminate the parent process, the
>xterm, foo should continue to run.  As a specific example, I run emacs
>in the background and then terminate the xterm from which it runs
>should not kill emacs.  Is there a setting somewhere that I am
>missing?  I am running RedHat 6.0 and have noticed this problem since
>5.2 although the problem is getting more annoying.  I am also running
>GNOME and Metro-X.  I doubt a GNOME error because it predates my use
>of GNOME.

Erik Rissanen writes:
>I don't really know what is going on here, but I have noticed that if
>I kill the xterm by closing it with the mouse, then the emacs will
>also die. But if I exit the xterm by typing "exit", then the emacs
>will survive. That might be a solution to your problem.

That MUST be it!!!  I do occasionally ^D the xterm while at other
times I kill using the mouse key.  The question, then is WHY does this
happen and what can I do to fix this annoying thing?

-- 
tnx es 73 de Conway Yee, N2JWQ | DON'T | Department of Radiology | 3 BOXES:
                               | TREAD | BIDMC                   |  BALLOT
[EMAIL PROTECTED]      |  ON   | 330 Brookline Avenue    |   JURY
[EMAIL PROTECTED]     |  ME   | Boston, MA 02215        | CARTRIDGE

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

From: Ian Hay <[EMAIL PROTECTED]>
Subject: Re: Port scanner
Date: Fri, 28 May 1999 00:36:31 GMT

Bill Unruh wrote:
> 
> In <[EMAIL PROTECTED]> "Kerry J. Cox" <[EMAIL PROTECTED]> writes:
> 
> ]Okay, dumb questions and I'm sure I already know the answer.  We have a
> ]customer who wants to have a static IP address, but we are concerned
> ]that he would try to run a server on his side and with a simple dial-up
> ]account, that falls into a different payment bracket.  To make sure that
> ]he doesn't run a server on his end and stays compliant with the
> ]agreement, I'd like to know a useful port scanner application out there
> ]that would check the ports on an IP address. A GUI interface would work
> ]well, but it doesn't have to be GUI.

> In certain jurisdicitons your attempt to portscan him would be
> considered a criminal offense.

Please name a jurisdiciton where port scanning -your own- IP, leased out
to a customer, is a criminal offense.

I.

-- 
========================================================
Ian R. Hay                 <mailto:[EMAIL PROTECTED]>
Toronto, Canada      <http://www3.sympatico.ca/ian.hay/>
"Linux already IS user-friendly ... it's just very picky
about who it makes friends with!"     -- source unknown.
========================================================

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

From: "Jay" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Linux not shutting down
Date: Thu, 27 May 1999 20:39:36 -0400

When I try to reboot it says INND "failed" and then it stops at 'shutting
down SQUID'. What do I do?



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

From: Carl Anderson <[EMAIL PROTECTED]>
Crossposted-To: 
comp.unix.bsd.openbsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc,comp.os.linux.hardware,comp.sys.sun.hardware,comp.unix.solaris
Subject: Re: choosing an OS for a retired Sun workstation
Date: Thu, 27 May 1999 23:23:03 +0000

Mikhail Teterin wrote:

> The requirements  are to be stable  (of course), have PPP  software, and
> run  Netscape...  I'd prefer  to  set  the disk  up  at  home, using  my
> FreeBSD/i386 machines, but I'm not sure I  can make it bootable by a Sun
> box.
>
> Thanks for your comments!
>
>         -mi

I installed Debian 2.1 on a SUN IPX with 32mb of memory.  It made the
machine quite snappy
especially comaped to its previous OS (Solaris 2.5).  It is stable, and can
do ppp,  However
it will not run Netscape 4.5.  It always returns a bus error.  Chimera and
Arena and Lynx all work though.


==================================
E-Mail: Carl Anderson <[EMAIL PROTECTED]>

Flying Monkeys Usually Mean Trouble.
==================================



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

From: Ian Hay <[EMAIL PROTECTED]>
Subject: Re: Linux Read win95/98 Long File Names?
Date: Fri, 28 May 1999 00:28:15 GMT

There is almost certainly no need to rebuild the kernel.  He's just not
mounting the partition with the 'vfat' option.  Unfortunately almost all
the books and HOWTO's I've read still use 'msdos' to mount MS partitions
despite the fact that most people are looking for 'vfat'.

carl wrote:
> 
> There may be another way, but best I know is you rebuild the kernel and select
> VFAT support in the file system options.
> 
> carl
> 
> spaten wrote:
> 
> > Is there a trick or utility to enable Linux to see the full extended file
> >
> > name used by windows on my FAT partitions instead of cutting it off with a
> >
> > tilde?

-- 
========================================================
Ian R. Hay                 <mailto:[EMAIL PROTECTED]>
Toronto, Canada      <http://www3.sympatico.ca/ian.hay/>
"Linux already IS user-friendly ... it's just very picky
about who it makes friends with!"     -- source unknown.
========================================================

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

From: "Dale Sykora" <[EMAIL PROTECTED]>
Crossposted-To: linux.help,comp.os.linux.questions,linux.redhat.misc
Subject: Re: RH6.0 & General Linux Question
Date: Thu, 27 May 1999 19:21:58 -0500

I believe it has to do with your path.
As root, your path includes /sbin,etc... , as a normal user by default you
don't, but you could add a path to /sbin in your normal user acct.
See the configuration How To.

[EMAIL PROTECTED]

Michael Olsen wrote in message <[EMAIL PROTECTED]>...
>    I have been fooling around with Linux for a few months..   I had RH
>5.2 and got RH6.0..
>
>Since 6.0 and GNOME has a warning about using the ROOT account I decided
>that I will try to create an account for myself and stop using the root
>as my primary login acct.
>
>Now I know to do some functions you have to do the su from the prompt
>
>but what I can not figure out is why from a prompt I can not do
>ifup
>ifdown
>ifconfig
>
>but If I go to the /sbin directory and type "./ifup"
>or ./ifdown
>or ./ifconfig
>
>it works..
>
>I have noticed a lot in linux that you have to do the ./ before the
>command/program.
>
>Why is this/how do I fix it.. and can ANYONE point me to some good FAQ's
>about why to use an account rather than the root acct and how to get
>around without using the root acct.
>
>Thanks
>mike
>[EMAIL PROTECTED]
>
>BTW, when replying to this message could youplease cc: to my email:
>[EMAIL PROTECTED]
>
>thanks
>



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

From: Ed Young <[EMAIL PROTECTED]>
Subject: Re: edit commands in linux telnet
Date: 27 May 1999 21:47:40 GMT

Buschman wrote:
> 
> This is farely simple question.  In windows my telnet sessions have edit
> commands(cut,copy,paste) however my linux telnet sessions do not.  How
> does one take text from a document or web browser, for example, and
> paste them into telnet?

I use the normal X mark and paste mechanism.  Highlight what you want to copy,
move the mouse to the window you want to move it to, press the middle mouse
button (or left and right mouse buttons if you have 3-button emulation), and
viola!  The text is copied...

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

From: [EMAIL PROTECTED] (W. Jeffrey Rankin)
Crossposted-To: 
comp.unix.bsd.openbsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc,comp.os.linux.hardware,comp.sys.sun.hardware,comp.unix.solaris
Subject: Re: choosing an OS for a retired Sun workstation
Date: Thu, 27 May 1999 18:14:48 -0500

Peter -

A somewhat related question, I was just looking for Netscape for my SS2
running RedHat Linux 5.2, but I can only find "x86" versions. Will that
run on my machine, or should I download a different version?

Thanx -
Jeff

In article <[EMAIL PROTECTED]>, Pete <[EMAIL PROTECTED]> wrote:

> Mikhail Teterin wrote:
> 
> > Hello!
> >
> > A friend  of mine received  a working, but too  old and slow  (by todays
> > standards) Sun workstation for free. The disk is dead, but we have a 1Gb
> > replacement. The machine has 16Mb of  RAM, is by itself diskless -- fits
> > entirely in what a casual observer would call monitor. I do not know the
> > model :(, but can get it if  needed. The disk we have is external. There
> > is  also  an external  CD-ROM  available.  No  floppy drives  in  sight,
> > though... The RAM can be increased. A tape drive is a painful option.
> >
> 
> Sound like a Sun Sparcstation ELC or SLC. Recommendable:
> 
> - RedHat Linux 5.2 Sparc
> - or older Solaris Relase (2.5.1)
> 
> Netscape is avail. for both OS at ftp.netscape.com
> 
> Solaris 7.0 is available for educational purposes at media costs @ SUN. In
> my opinion too oversized for a 16 mg machine (installs at min. 32 megs ?)
> 
> I would take RedHat Linux into closer consideration. I am using it on my Sun
> Sparcstation 2 and my ELC. Runs fine, but 32 megs are recommenable,
> espacially if you want to run Netscape which is a real memhog
> 
> Bye
> Peter

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

From: Jason Nickerson <[EMAIL PROTECTED]>
Subject: gdbm: What is it!?
Date: Thu, 27 May 1999 19:02:58 -0600

What the heck is this utility used for anyway (am not familiar with
"dbm").  Have read as much information on the web as I could find to no
avail...  Not even mentioned in my 2 (greater than) 1000 page Linux
books...


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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Mikhail Teterin)
Subject: choosing an OS for a retired Sun workstation
Crossposted-To: 
comp.unix.bsd.openbsd.misc,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc,comp.os.linux.hardware,comp.sys.sun.hardware,comp.unix.solaris
Date: Thu, 27 May 1999 21:04:10 GMT

Hello!

A friend  of mine received  a working, but too  old and slow  (by todays
standards) Sun workstation for free. The disk is dead, but we have a 1Gb
replacement. The machine has 16Mb of  RAM, is by itself diskless -- fits
entirely in what a casual observer would call monitor. I do not know the
model :(, but can get it if  needed. The disk we have is external. There
is  also  an external  CD-ROM  available.  No  floppy drives  in  sight,
though... The RAM can be increased. A tape drive is a painful option.

Being a FreeBSD fan/user myself,  I'd recommend {Open|Net}BSD for the OS
(FreeBSD/Sparc is  not ready yet), but  I know Linux works  on Suns too.
Students can also get cheap (or free?) Solaris, AFAIK...

The requirements  are to be stable  (of course), have PPP  software, and
run  Netscape...  I'd prefer  to  set  the disk  up  at  home, using  my
FreeBSD/i386 machines, but I'm not sure I  can make it bootable by a Sun
box.

Thanks for your comments!

        -mi

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

From: [EMAIL PROTECTED] (He Zhu)
Subject: Linux switching time
Date: 28 May 1999 01:13:56 GMT
Reply-To: [EMAIL PROTECTED]


Hi, friends,

I wrote a small  program which can test process/thread switching time 
from the user's view. Is there anyone there did the similar thing or
knows a benchmark for finding the switching timings ? I will appreciate 
anyone can give me more information on this. 

The following are some preliminary results observed on my Linux box
(Pentium II 400 MHz installed with RedHat 5.2 + kernel 2.0.36).

  Thread switching:
     Observed min: 2.95 micro-seconds  (using yield())
                   8.48 micro-seconds
  Process switching:
     Observed min: 3.55 micro-seconds  (using yield())
                   9.25 micro-seconds


This is only one point. Is there anywhere more comprehensive evaluation of
this kind of low-level benchmarking ?

Thank.


zhuhe

--
===========================
= NAME:   He Zhu          =
= Email:  [EMAIL PROTECTED] =
===========================

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

From: [EMAIL PROTECTED] (John McKown)
Subject: Re: How to run a script when logging out ?
Date: 27 May 1999 23:07:32 GMT

On 24 May 1999 22:02:12 GMT, John Robson <[EMAIL PROTECTED]> wrote:
>
>I often forget to shut down my Sybase database server when I log out.  So
>I wrote a script to execute isql commands to shut down the servers.  But then,
>I sometimes forget to execute the script before I log out :-( .
>
>How do I tell Linux to execute my shutdown script automatically whenever I
>log out ?
>
do you really want to shutdown the server when you logout? Or do you want
to shut them down when you shutdown Linux? If the latter, then I'd put
a script in /etc/rc.d/init.d which will shutdown the server. Then, in the
various /etc/rc.d/rc?.d subdirectories (the ? is a number - the runlevel)
I'd put a KnnSyDown as a symbolic link to the script in /etc/rc.d/init.d
The first letter must be K, the next two must be a "priority" number. The
smaller the number, the sooner (relative to other Knn... scripts) that it
will execute.
John

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

From: [EMAIL PROTECTED] (Velvet Acid Christ)
Subject: Re: PPP under RedHat 6.0
Date: 28 May 1999 01:06:54 GMT

On Thu, 27 May 1999 23:25:39 +0100,
Nick Birkett <[EMAIL PROTECTED]> wrote:
>I upgraded RH5.2 -> RH6.0 . My bro did a complete new install to RH6.0.
>We both have the same problem. PPP thoughput has gone down from
>4.5Kbyte/s (byte not bit) to
>0.9 Kbyte/s.
>
>Had a play with changing cua01 -> ttyS1 etc. Recompiled kernel to 2.2.9.
>Recompiled ppp (drastic I know).
>Played with setserial, pppd options etc etc.
>Everthing else is same as before (under RH5.2).

Well, are you setting the port speed? What speed is it connecting at?
Are there any errors logged? Are all your ppp related modules loading?

Here's a complete stab in the dark. I had a problem when changing to 
2.2.x with pppd complainint it couldnt find 'ppp_compress' and whatnot.
A quick search on dejanews produced the following.

Add these aliases to your /etc/conf.modules if they're not already 
there.
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

Of course this also may not be it. Its kinda hard to tell from your 
message. I dunno, its as good a guess as any.


--
Mental

When I grow up, I wanna be more like me.
I had a clue. I didn't like it. I took it back and exchanged it for an
attitude.
_______________________________________________________________________
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

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

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: NFS Server in Linux 2.0
Date: 28 May 1999 01:10:29 GMT

[EMAIL PROTECTED] wrote:
>I'm trying to set up a NFS server on my linux machine for AIX users to
>access.
>
>I've set up my hosts.deny and hosts.allow as per documention.  I've also
>inserted the two lines according to the nfs howto doc into inetd.conf like
>this:
>
>mount/1-2 dgram rpc/udp wait root /usr/sbin/rpc.mountd rpc.mountd
>mount/1-2 stream rpc/tcp wait root /usr/sbin/rpc.mountd  rpc.mountd
>
>I've created my export file that looks like this:
>#
>/home/public    (rw,insecure,all_squash)
>#
>
>note: I only made one entry now for testing and i'm not worried about the
>security as yet until I get it working.  (our system is inside a tight
>security firewall) I will change this as soon as I see it working.
>
>Portmapper runs and I do get a list with rpcinfo -p.  Which is:
>
>program    vers    proto    port
>100000        2    tcp       111    portmapper
>100000        2    udp       111    portmapper
>100003        2    udp       2049   nfs
>100003        2    tcp       2049   nfs
>100005        1    udp       747    mountd
>100005        2    udp       747    mountd
>100005        1    tcp       747    mountd
>100005        2    tcp       747    mountd
>
>now, I get this, when I issue the rpc.mountd with the -P 747 for port and
>the command line (doing this manual, for inetd doesn't seem to want to work,
>even with running the exportfs file).
>
>If I issue both rpc.mountd and rpc.nfsd after portmapper is installed
>without any port designation it assigns the mountd randomly and never at 745
>udp and 747 tcp.  Is there a way to do this?
>
>Regardless of having the ports assigned, I get an RPC error (connection
>refused) when trying a local mount (I added  localhost:/mnt/test  (rw) to my
>exports file and killed the processes and restarted them manually).
>
>I have gone to a unix machine as root (hosts.allow is set for net address
>level like 192.168.0.0.), and tried to mount also with the scenarios
>mentioned above.  I've read and read documents, so is there anyone out there
>that may help me out on this?

I'm not sure where you read about using mountd from inetd, but I don't
think that's right.  You probably could run mountd through inetd, but
you are better off running it only as a stand-alone daemon. No way can
you do both. Take the mountd lines out of inetd; then rpc.mountd will
start and register and open ports correctly.

Second, you need (I think) a hostname or hostnames on the export line in
/etc/exports. Like this: /home/public  clienthost(rw)
I don't think the hostname is optional.

Third, be sure to check the system log (syslog or messages) on the
exporting system. Most of the NFS stuff logs error messages there.

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

From: [EMAIL PROTECTED] (DefCon3)
Subject: Re: Lilo having a problem
Date: Thu, 27 May 1999 16:00:36 GMT

On Wed, 26 May 1999 18:09:07 GMT, [EMAIL PROTECTED] wrote:

Make sure LBA mode is enabled on your hard drive and then it should
work. You do this in your BIOS settings.

>Lilo is having a problem with my hard drive. It says that because it is
>more than 1024 cylinders that Lilo will not work right. Will Redhat 6.0
>fix this. By the way I am using Redhat 5.2
>
>
>--== Sent via Deja.com http://www.deja.com/ ==--
>---Share what you know. Learn what you don't.---


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


** 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