LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-22-2010, 11:31 PM   #16
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804

have given 777
--------
777 is a bad idea ( you just gave THE WHOLE WORLD root access to the files
- the system crackers will be happy-


mostlikely ONLY the user needs changing

different distros use DIFFERENT numbers .
For example CentOS and fedora use 500 as THE FIRST user account ( 501 as the second user) .
Arch uses 1000 as the FIRST user account .
some distros also use "uuid" for drives and mounting .

we still do not know what OS's you are using
 
Old 06-23-2010, 01:24 AM   #17
pratap.sekhar@bt.com
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Hi All,

it seems firewall is throwing that connection refused message, for this have issued

service iptables stop on outports system and it seems able to connect now but throwoing the below -

[root@CUSTOMERCARE root]# mount -t nfs 192.168.0.202:/usr/outports_dir /mnt/outports_usr
mount: RPC: Timed out


Not sure why timed out is getting displayed, even though both the servers are sitting next to each other.

Thanks
Raaj
 
Old 06-23-2010, 01:31 AM   #18
kumar.manoj412
Member
 
Registered: May 2007
Location: India
Distribution: Mandriva, Ubuntu
Posts: 43
Blog Entries: 1

Rep: Reputation: 16
In /etc/hosts.allow, you need to specify what machines can access these specific programs.


Quote:
Originally Posted by pratap.sekhar@bt.com View Post
I have given 777 permissions to the directory and restarted NFS, but still same issue

[root@CUSTOMERCARE root]# mount -t nfs 192.168.0.202:/usr/outports_dir /mnt/outports_usr
mount: RPC: Remote system error - Connection refused
[root@CUSTOMERCARE root]#
 
Old 06-23-2010, 06:54 AM   #19
Krajisnik
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 1
Quote:
Originally Posted by pratap.sekhar@bt.com View Post

Restarted NFS
[root@outports usr]# service nfs restart
[root@CUSTOMERCARE root]# mount -t nfs 192.168.0.202:/usr/outports_dir /mnt/outports_usr
mount: RPC: Remote system error - Connection refused
[root@CUSTOMERCARE root]#

Note - NFS is running on both the systems, please help
I've had this problem a few times too.
If i can remember, disabling SELinux solved my problem.

Maybe you can fix this with changing your firewall config.
 
Old 06-23-2010, 08:31 AM   #20
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
Not on the actual directory, but in the NFS configuration on the server you are trying to connect to. Try following something like this http://www.debianhelp.co.uk/nfs.htm have do done all those steps? cehck the NFS configuration file in /etc
 
Old 08-20-2010, 01:11 AM   #21
judthryn
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
HI,

can you reformat and repartition the drives on the 3 separate computers?
<Advertising removed by moderator>

Last edited by GrapefruiTgirl; 08-20-2010 at 08:03 AM. Reason: removed advertising.
 
Old 08-20-2010, 02:12 AM   #22
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
judthryn reported as spam / advertiser
 
Old 09-15-2010, 01:18 AM   #23
Angelinabv
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
HI,

It seems firewall is throwing that connection refused message, for this have issued.

<advertising removed by moderator>

Last edited by GrapefruiTgirl; 09-15-2010 at 06:25 AM.
 
Old 09-15-2010, 01:54 AM   #24
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
Angelinabv reported as a spammer
 
  


Reply

Tags
nfs, selinux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux File Systems cwizardone Slackware 7 03-19-2009 10:54 AM
Accessing ext3 file systems under Kernel 2.0.xx SomeRobot Linux - General 0 08-24-2004 02:55 AM
HFS+ file systems in Linux? five_dollars Linux - Software 0 08-03-2004 02:42 PM
Linux File Systems lyew Linux - Newbie 4 05-03-2003 11:14 PM
file systems and linux antken Linux - General 5 09-18-2002 07:57 PM


All times are GMT -5. The time now is 07:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration