Re: [expert] exporting the local CDROM fails

2002-10-29 Thread hans privat
hi Todd,
have tried out but am getting a new error :
jojo.domain.at:/mnt/cdrom: Invalid argument
mozart.domain.at:/mnt/cdrom: Invalid argument

the line in my /etc/exports looks like this : 
/mnt/cdrom jojo(ro) mozart(ro)

the same entry I have in mozart and am getting NO errormessages as well
as I have successfully exported filesystems.

in /etc/hosts I have the entries :
192.168.10.5 mozart.domain.at mozart
192.168.10.8 jojo.domain.at jojo
192.168.10.15 hanna.domain.at hanna
127.0.0.1 localhost.localdomain localhost lo

these entries I have in all my connected hosts.

thanks and bye hans

Am Die, 2002-10-29 um 08.05 schrieb Todd Lyons:
> Toshiro wrote on Mon, Oct 28, 2002 at 09:48:08PM -0300 :
> > 
> > /mnt/cdrom failed reason given by server : no right
> 
> exportfs -r
> 
> Blue skies... Todd
> -- 
>MandrakeSoft USA   http://www.mandrakesoft.com
>Easy things should be easy, and hard things should be possible.
> --Larry Wall
>Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-16mdk




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] exporting the local CDROM fails

2002-10-29 Thread hans privat
hi Toshiro,

have tried out now a lot of possibilities like portmap:ALL in
hosts.deny, hosts.allo and vice versa on two hosts of my LAN,
the result is :
entry in rh8-box -> hosts.deny : portmap:ALL -> restart with service nfs
restart - the connected host does NOT have any succes on any exported
filesystem - for shure.

doing the same on mdk - the same - also for shure.

now making that entry in hosts.allow - first in rh8 - all exported
filesystems are available on mdk (for shure restart nfs, and I'm
assuming thart this step I'll always do)

doing the same on mdk :
filesystems on hd's are available on rh8 but NOT CDROM

now I was looking for the entries in /dev/hdc and /dev/hda, /dev/hdb and
here I have :
lr-xr-xr-x
so as you can see, I have the same basics for all relevant drives like
hd and CDROM.

in the README's of hosts.allow and hosts.deny  I found the hint, that an
"empty" entry complies with an entry portmap:ALL

and the results was exatly the same :
there is no different on portmap:ALL in hosts.allow or an empty entry.

In hosts.deny the effect is for shure : no portmaps are allowed.

but why do I have a share on hd and NOT on CDROM from my mdk-box ?
but an acces from rh8-box is available with exactly the same fundamentle
basics on both hosts.
So it seems, that any different assumptions or dependencies must be
there. but where and which differents - which possibilities do I have
now - except the steps I have described above ?

any ideas ?
thanks again and bye hans

Am Die, 2002-10-29 um 01.29 schrieb Toshiro:
> El lun, 28-10-2002 a las 04:59, hans privat escribió:
> > hi Toshiro,
> > are you shure, which services hosts.allow and hosts.deny are providing ?
> > the "only" thing you can do with that entries are :
> > allow or deny internetservices like ftp or analogical services !
> > 
> 
> Try to put the line below in hosts.deny and then tell me if you can
> access any share on that server :)
> 
>   portmap:ALL
> 
> 
> Toshiro.
> 
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] exporting the local CDROM fails

2002-10-28 Thread Todd Lyons
Toshiro wrote on Mon, Oct 28, 2002 at 09:48:08PM -0300 :
> 
>   /mnt/cdrom failed reason given by server : no right

exportfs -r

Blue skies...   Todd
-- 
   MandrakeSoft USA   http://www.mandrakesoft.com
   Easy things should be easy, and hard things should be possible.
--Larry Wall
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-16mdk



msg60244/pgp0.pgp
Description: PGP signature


Re: [expert] exporting the local CDROM fails

2002-10-28 Thread Toshiro
> El lun, 28-10-2002 a las 04:59, hans privat escribió:
> > hi Toshiro,
> > are you shure, which services hosts.allow and hosts.deny are providing ?
> > the "only" thing you can do with that entries are :
> > allow or deny internetservices like ftp or analogical services !
> > 
> 
> Try to put the line below in hosts.deny and then tell me if you can
> access any share on that server :)
> 
>   portmap:ALL
> 

Hans:

Let me make myself a little more clear regarding this issue:
hosts.[allow|deny] configuration is not needed for sharing a directory,
but if they are misconfigured can certainly restrict you from accessing
the shares (it happened to me a couple of times); I asked about it
because in your original message you reported this error:

/mnt/cdrom failed reason given by server : no right

Regards,
Toshiro.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] exporting the local CDROM fails

2002-10-28 Thread Toshiro
El lun, 28-10-2002 a las 04:59, hans privat escribió:
> hi Toshiro,
> are you shure, which services hosts.allow and hosts.deny are providing ?
> the "only" thing you can do with that entries are :
> allow or deny internetservices like ftp or analogical services !
> 

Try to put the line below in hosts.deny and then tell me if you can
access any share on that server :)

portmap:ALL


Toshiro.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] exporting the local CDROM fails

2002-10-28 Thread hans privat
hi Toshiro,
are you shure, which services hosts.allow and hosts.deny are providing ?
the "only" thing you can do with that entries are :
allow or deny internetservices like ftp or analogical services !

the other reason, this service is NOT designed for accesses like CDROM's
or flopyy or hd's :
if I can export any partition of a harddrive to a wellknown host, then
it should be possible also to export a CDROM or a floppy-drive to that
same host. Isn't it ?

And exporting a harddrive or partitions of about a harddrive are okay so
why NOT the CDROM - and I don't have a need for some entries in
hosts.allow or hosts.deny.

and for shure I have tested a lot of time before, that a connection to
my remote hosts are up and running. 

bye hans

Am Son, 2002-10-27 um 20.27 schrieb Toshiro:
> El dom, 27-10-2002 a las 06:58, hans privat escribió:
> > hi,
> > cannot find out, why my exported CDrom cannot be mounted on my remote
> > hosts (neigbourhood in the same IP-sequences like 19.168.10.0)
> > 
> > have an entry like this in/etc/exports :
> > /mnt/cdrom/  mozart(ro) jojo(ro)
> > 
> > and after doing a :
> > service nfs restart I get this message :
> > [root@hanna /]# service nfs restart
> > jojobaer.develop.business-conzept.at:/mnt/cdrom: Invalid argument  OK  ]
> > mozart.develop.business-conzept.at:/mnt/cdrom: Invalid argument
> > 
> > and for shure on the remote host I get an errormessage like :
> > /mnt/cdrom failed reason given by server : no right
> > 
> 
> Are your /etc/hosts.allow and /etc/hosts.deny in the nfs server
> configured properly?
> 
> Are you sure that your server can resolve mozart and jojo to an IP
> address?
> 
> 
> Toshiro
> 
> 
> 
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] exporting the local CDROM fails

2002-10-27 Thread Ronald J. Hall
On Sunday 27 October 2002 02:27 pm, you wrote:
> El dom, 27-10-2002 a las 06:58, hans privat escribió:
> > hi,
> > cannot find out, why my exported CDrom cannot be mounted on my remote
> > hosts (neigbourhood in the same IP-sequences like 19.168.10.0)
> >
> > have an entry like this in/etc/exports :
> > /mnt/cdrom/  mozart(ro) jojo(ro)
> >
> > and after doing a :
> > service nfs restart I get this message :
> > [root@hanna /]# service nfs restart
> > jojobaer.develop.business-conzept.at:/mnt/cdrom: Invalid argument  OK  ]
> > mozart.develop.business-conzept.at:/mnt/cdrom: Invalid argument
> >
> > and for shure on the remote host I get an errormessage like :
> > /mnt/cdrom failed reason given by server : no right
>
> Are your /etc/hosts.allow and /etc/hosts.deny in the nfs server
> configured properly?
>
> Are you sure that your server can resolve mozart and jojo to an IP
> address?
>
>
> Toshiro

I just put /mnt/cdrom   192.168.0.2(rw) into my /etc/exports, and restarted 
with service nfs restart and I did -not- get an error message. (as host)

Didn't get a chance to try mounting from the client.

Perhaps you don't have your resolv stuff configured. Can you ping by -name- 
between your boxes? I can ping 192.168.0.2 or darkforce2. If not, you might 
want to enter the numeric address instead of the hostname.

HTH's!

-- 
  /\
  Dark< >Lord
  \/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] exporting the local CDROM fails

2002-10-27 Thread Toshiro
El dom, 27-10-2002 a las 06:58, hans privat escribió:
> hi,
> cannot find out, why my exported CDrom cannot be mounted on my remote
> hosts (neigbourhood in the same IP-sequences like 19.168.10.0)
> 
> have an entry like this in/etc/exports :
> /mnt/cdrom/  mozart(ro) jojo(ro)
> 
> and after doing a :
> service nfs restart I get this message :
> [root@hanna /]# service nfs restart
> jojobaer.develop.business-conzept.at:/mnt/cdrom: Invalid argument  OK  ]
> mozart.develop.business-conzept.at:/mnt/cdrom: Invalid argument
> 
> and for shure on the remote host I get an errormessage like :
> /mnt/cdrom failed reason given by server : no right
> 

Are your /etc/hosts.allow and /etc/hosts.deny in the nfs server
configured properly?

Are you sure that your server can resolve mozart and jojo to an IP
address?


Toshiro



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] exporting the local CDROM fails

2002-10-27 Thread hans privat
hi,
cannot find out, why my exported CDrom cannot be mounted on my remote
hosts (neigbourhood in the same IP-sequences like 19.168.10.0)

have an entry like this in/etc/exports :
/mnt/cdrom/  mozart(ro) jojo(ro)

and after doing a :
service nfs restart I get this message :
[root@hanna /]# service nfs restart
jojobaer.develop.business-conzept.at:/mnt/cdrom: Invalid argument  OK  ]
mozart.develop.business-conzept.at:/mnt/cdrom: Invalid argument

and for shure on the remote host I get an errormessage like :
/mnt/cdrom failed reason given by server : no right

does anyone know, what I have to do here ?

the reverse way from mozart to hanna I have exported the CD to hanna and
there I have it available - and have exactly the same values in exports
of mozart.

the courious thing I cannot understand is :
mozart is a rh8.0 box and hanna and jojo are both mdk8.2-boxes
so the mount of cdrom from the rh-box is okay, from the mdk8.2-box =
jojo = is NOT succesfully. and all have the same fstab- and
exports-entries.

hope anyone have a glue or some ideas about ?
thanks and bye hans





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com