[SOLVED] Cannot connect to NFS server.

I'm trying to setup a NFS share at home. I have one laptop configured as a server, and one desktop client. Both are running Arch. I can ping both in either way.
For some reason, I cannot connect to the server. At one time, I could connect, but only while having an empty /etc/hosts.deny file (which obviously is very insecure). Now, I cannot even reproduce this.
Thus, I believe the problem is caused by either /etc/hosts.allow or / and by /etc/hosts.deny.
Here is my server's /etc/exports:
/shared 192.168.x.xxx(rw,sync,no_subtree_check,no_root_squash)
And here its /etc/hosts.allow:
ALL:192.168.0.0/255.255.255.0
And finally its /etc/hosts.deny:
ALL: ALL: DENY
Running 'rpcinfo -p' on the server shows output, while running 'rpcinfo -p <server-ip>' on the client prints out 'No remote programs registered.'
From what I've read, when the client wants to connect to the server, the server first checks in hosts.allow to see if the client's allowed to connect. So in my case, it should be able connect.
However, when I run
sudo mount -t nfs 192.168.x.xxx:/ /mnt/SERVER
it tells me
mount.nfs: mount to NFS server '192.168.x.xxx:/`failed: RPC Error: Program not registered
And even if outcomment both hosts.deny and hosts.allow, running the same command prints out
mount.nfs: access denied by server while mounting 192.168.x.xxx:/
I'm clueless. Any help would be greatly appreciated!
Last edited by MrAllan (2009-03-20 15:05:24)

tomk wrote:
Missed a detail on first reading. Your server's exports file makes the /shared directory available to 192.168.x.xxx, but your client mount command tries to mount the server's / i.e. root directory. You can only mount directories that have been exported.
btw, there's no need to conceal internal addresses like that - we all have them, and there's no way anyone can use them to track you down. My laptop address is 10.12.62.99, my server is 192.168.10.10, and my irssi/bittorrent/whatever machine is 192.168.10.69. I challenge anyone to hack me.
But if they know his IP, couldn't they use the lan IP to gain access easier than if they didn't know the subnet addresses? Since the thread is solved, I figured I would ask since I've always wondered about it.
Btw, for anyone have unresolved NFS issues, see this bug report. The arch devs aren't responding to it for some reason, can anyone tell me why?
http://bugs.archlinux.org/task/13434

Similar Messages

  • System Update -- Cannot connect to proxy server - SOLVED

    I'm on a ThinkPad T61 running Windows Vista.  When I try to download from System Update, I always get the error message "Cannot connect to proxy server."
    I have tried connecting to the Internet directly via Ethernet rather than through a wireless router--it doesn't make any difference.
    I have also uninstalled System Update and then installed the version I downloaded from lenovo.com--same result.
    System Update is an exception in Windows Firewall, and I have even tried running System Update with Firewall disabled--ditto.
    Can someone please help me?
    Message Edited by Tim_Lenovo on 01-29-2008 02:49 PM
    Solved!
    Go to Solution.

    I have discovered one other potential cause of this behaviour.
    If your computer is attached to a Domain, ensure you are connected to the Domain using a profile that has administrator rights when attempting these upgrades.
    I was using a local profile with administrative rights, on a network connection that was outside of the corporate LAN, and I was getting the "Cannot connect to proxy server" error.
    When I connected to our Corporate LAN and logged on to the machine with an administrative profile, the Proxy Server error went away, and I was then able to connect and download my required updates.
    Just an FYI if you are doing this inside a large, firewalled LAN running from Active Directory.

  • InitCatalog:Cannot connect to the server

    Hello,
    We have installed BPC 7.0 in 2-server architecture.
    First server is VM - Windows 2003 32 bit, it contains
    - BPC
    - Reporting Services
    - Integration Services
    Second server is physical. Windows 2003 64 bit, it contains
    - SQL Server 2005
    - OLAP Server 2005
    We have installed also a separate client: admin and office tools.
    During opening Excel 2007 (provider Microsoft.ACE.OLEDB.12.0 is installed on first server) we got error:
    InitCatalog:Cannot connect to the server 'XXXXX'. The server is either not started or too busy.
    After clicking the OK button in the error message, I was further notified that Account dimension member cannot be downloaded and so on.
    It looks like similar problem as in this thread: InitCatalog:Cannot connect to the server 'XXXXX'.
    But it wasn;t solved.
    We got also the same error during processing cubes/dimensions from BPC Administrator.
    Can anybody help us solving this problem?
    Thanks in advance.

    Did you install ADOMD.NET and also the QFE into application server?
    ADOMD.Net-KB893091-v8.00.0991-x86.EXE
    you can download this from follow link:
    http://www.microsoft.com/downloads/details.aspx?familyid=790d631b-bff9-4f4a-b648-e9209e6ac8ad&displaylang=en
    You have to reboot the server after the installation of this QFE.
    Regards
    Sorin Radulescu

  • RD Gateway Manager cannot connect to local server

    Hi,
    I've come across a problem today where I'm unable to connect to our locally hosted RD Gateway server. We have one Server 2012 R2 machine with the Remote Desktop Services installed. The system was setup following the configuration wizard in Remote Desktop
    Services section of Server Manager. One of our users has gone to connect to the main remote app hosted by this setup and received an expired certificate error. No problem I thought, checked the certificate on the server and it does indeed expire today. I'll
    re-issue a self signed certificate through the RD Gateway Manager and all should be ok. On loading the RD Gateway Manager, clicking Connect to RD Gateway Server and selecting Local Server I get the following error.
    "The RD Gateway Manager snap-in console cannot connect to the server "SERVER" because it is not a RD Gateway server."
    I've checked that the services for remote desktop are running which they are, and I can connect to the server using standard RDP remote desktop.  Any ideas on where to go next to solve this problem?
    Rob

    Hi Rob,
    It seems the issue related to certificate as can’t properly configured. You need to import the certificate and store in local computer/personal store. Please check below article and verify the steps for certificate and other related setting,
    RDS: The RD Gateway server must be configured to use a valid SSL certificate
    https://technet.microsoft.com/en-us/library/dd320340(v=ws.10).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Cannot connect to cddb server

    I cannot get CD track names and keep getting error message 'cannot connect to CDDB server' anyone know a way around this?
    Thanks

    I have included the full post as I connot take credit.  But the following just worked for me.  I have a 2013 model Macbook with iTunes 11.
    Good luck.
    JWMS1985
    Re: Unable to connect to the CDDB server. The network cannot be reached.
    Feb 12, 2013 4:05 AM (in response to NZDunc)
    I do not know if you have this solved but I may have a solution. I have a MacBookPro early 2011 model with iTunes 11 installed. This is what I did to get it working;
    1. Close iTunes
    2. Open System Preferences
    3. Clicked on Network
    4. Select WiFi in the white column on the left
    5. Choose the Advanced button in the lower right hand side
    6. Press the Proxies tab
    7. Choose Auto Proxy Discovery (a tick will apear)
    8. Press Ok, then Apply on the Network section and close the window.
    9. Relaunch iTunes and see if it connects
    Hopefully it works for you.

  • Westel 7500 DSL Router/Modem: Cannot connect to PPPOE server

    Westel 7500 DSL Router/Modem: Cannot connect to PPPOE server
    My DSL connection periodically slows down to a crawl [less than 56kbps actual transfer rate].
    When I reset my DSL Modem it takes 30 MINUTES to 4 HOURS to reconnect.
    The Main status screen shows DSL connected at 1700/448 kbps.
    Advanced status WAN Status shows DSL connected but PPPOE not connected.
    I cannot ping the ISP router or the DNS Server.

    Margin (dB) - Signal to noise margin. 6 is pretty bad possibly unusable at times, 20 is very good. You normally want 12dB or better IIRC from back in my DSL days. The higher the number, the better to a point.
    Line Attenuation - Measure the amount the signal has degraded. Below 20dB is excellent, above 50 is poor, fill in the dots for anything in between.
    Hmm...
    #1 Did you try connecting your modem directly to the NID?
    Points to: http://www.dslreports.com/faq/1317
    #2 If not, please do and retest those margins and Line Attenuation.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • Question re: cannot connect to the server to get mail

    I recently changed my yahoo email password and ever since my iphone 5 says that I cannot connect to the server. i went in settings and tried all sorts of typing and retyping of the new info with no success. any help?
    bjmcg45
    Preferences
    1
    2
    3
    4
    5
    6
    7
    8
    9
    0
    =
    Backspace
    Tab
    q
    w
    e
    r
    t
    y
    u
    i
    o
    p
    Return
    capslock
    a
    s
    d
    f
    g
    h
    j
    k
    l
    shift
    `
    z
    x
    c
    v
    b
    n
    m
    shift
    English
    alt
    alt
    Preferences

    Hello, and Welcome to the HP Support Community!
    How is the printer connected to your network?  Wirelessly, or LAN cable?  Did the setup routine work, and can you print to it?
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • I am getting the message that icloud cannot connect to the server

    Suddenly I am getting the message that iCloud cannot connect to the server.

    I have the same problem. Did you solve it already?

  • Solution to iCloud "cannot connect to the server" upgrade issue

    I have just switched my iPhone 4s to a new carrier. (iOS 7.0.4)
    Once the previous carrier (finally) unlocked its activation grip, all went well through restoring the phone. One issue remained:
    iCloud wanted me to "agree to new terms of service" and would not allow me to do anything else with it. But when I tapped the button to "read the terms of service" the dialogue "Cannot connect to the server" popped up.
    The solution turned out to be relatively painless:
    Make sure you have backed up any Photo Streams that are present on your iPhone. (I use Aperture for this.)
    At the bottom of the iCloud settings screen (Settings->iCloud) tap the "Delete Account" button. You will be warned that photos, documents, etc., will be deleted from your iPhone. As long as you are confident of your backups, tap "Delete" in the warning dialogue.
    If you have "Find My iPhone" enabled, you will need to enter your Apple ID and password to turn it off. This is the only way to gain access to this setting that I could find.
    Cold-boot your iPhone (Power + Home). I suppose you don't HAVE to do this, but seemed like A Good Thing.
    Return to the iCloud settings screen and turn iCloud back on. Enter your Apple ID and password. Double-check that "Find My iPhone" is enabled, if desired.
    You will be asked to allow iCloud to merge documents, contacts, and so on with the information on your iPhone. Do this as desired. (I do not yet use iCloud for most of this.) Your Photo Stream will eventually show up again by itself.
    Hope this helps, and I'm all ears if there is an easier and potentially safer solution!
    Matt

    I have the same problem. Did you solve it already?

  • Connection to db rejected.Cannot connect to MySQL server

    here is the excaption
    connectToDb:02 - connection to db rejected.Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.net.BindException)
    and her is the class
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class DBconnect
    {  final static private String _url        = "jdbc:mysql://localhost:3306/diamonds";     //final static private String _driver     = "sun.jdbc.odbc.JdbcOdbcDriver";
        //final static private String _url        = "jdbc:odbc:diamonds";     //final static private String _driver     = "sun.jdbc.odbc.JdbcOdbcDriver";
        public Connection     _con                     = null;
         //private static Driver          driver          = null;
         private static Properties     properties     = null;
         Statement stmt                                 = null;
         public PrintStream     out;
            **connectToDb **
            public void connectToDb()        throws IOException
            //connect to the server and open the database
             try{
                   Class.forName("org.gjt.mm.mysql.Driver");
                   //Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   //driver = (Driver)Class.forName (_driver).newInstance();
                   properties = new Properties();
                properties.put("user","sa");
                   properties.put("password","");
            catch (ClassNotFoundException e)
                   System.out.println("class not found:");
                   e.printStackTrace();
              catch (Exception e) {
                        e.printStackTrace();
                 throw new IOException("connectToDb:01- JDBC driver not found."+e.getMessage());
         synchronized void open()throws Exception
              try
                   if(_con == null)
                        try
                             _con = DriverManager.getConnection(_url,properties);
                             //_con = driver.connect(_url,properties);
                        catch (SQLException e)
                             e.printStackTrace();
                             System.out.println("connectToDb:02 - connection to db rejected."+e.getMessage());
                        stmt = _con.createStatement();
              catch (Exception e)
                   e.printStackTrace();
                   System.out.println("connectToDb:02 - connection to db rejected."+e.getMessage());
         synchronized void close()
              try
                   if(_con != null)
                        if(!_con.isClosed())
                             stmt.close();
                             _con.close();
                             _con = null;
              catch (Exception e)
                   System.out.println("es:fail to close connection!!");
    }the problem occars when there are a lot of queries that the project is sending to the DB (about 10000) the last half queries fails and send an excaption .
    after 2 minutes the system seems like working fine.
    I am stack with this problem about a year and cann't resolve it.
    any idea????
    regards
    amnon m

    well...new it seems to work fine, but is it ok to
    keep connection open for good ???
    isn't there any other alternative ???I am bit confused are you pooling the connections?
    If so, actually the connections will not always stay open.. they will time out after a while when they are not in use but to specifically answer your question.. how could it possible be a bad thing. If the server/your app was getting bogged down with opening and closing connections then pooling solves this..
    Finally as to your question of the alternatives... if the problem was opening and closing connections and reusing them through a pool solved this then I think the answer is no. If you don't like a specific part of the way the pool works it is probably configurable in some way and you could always implement your own pool.. although I wouldn't overly recommend that. The bottom line is that you need to keep your connections open for reuse.. pooling is the simplest way to achieve this.. but no there is no alternative to keeping your connections open if you are having the load problems you described.

  • Sharepoint list dataheet view error "Cannot connect to the server at this time. You can continue working with this list, but some data may not be available"

    I have a List which is having around 14000 items in it.while opening that list in datasheet view it is giving error .
    Below is a summary of the issue:
    After selecting datasheet view beow error occurs:
        "Cannot connect to the server at this time.  You can continue working with this list, but some data may not be available."
        "Unable to retrieve all data."
        The item counts displays say 100 out of 14000 items.
    Exporting List to excel is giving only 2000 records out of 14000 records.
    Other Observations   -  
    This is happening to only one list on the site .There are other lists in the site whose no. of records is equal to 8000 to 9000.They are working absolutely fine without any error.
    Also, If I am saving this list as a template and creating another list with it ,then it is working absolutely fine with 14000 records,so the issue does not seem to be related with no. of records as the template list is working fine.
    I have checked the Alternate access mapping setting ,its fine.
    It should not be related to lookup,datefield or any other column as the list created from it template is working fine with all these columns.
    I checked below links also ,but doesn't seem to work in my case.
    http://social.technet.microsoft.com/forums/en-US/sharepointadminprevious/thread/974b9168-f548-409b-a7f9-a79b9fdd4c50/
    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/thread/87077dd8-a329-48e8-b42d-d0a8bf87b082
    http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneral/thread/dc757598-f670-4229-9f8a-07656346b9b0

    I have spent two days to resolve this issue. Microsoft has released two KBs with reference to this issue...but are not appearing in search results at the top.
    I am sharing my finding.
    1. First install the
    KB2552989 (Hopefully you might have already installed it. The KB detetcts it and informs the user.)
    2. Then update registry by adding new key for data fetch timeout as mentioned inKB2553007
    These two steps resolved the issue in our environment. Hope it might help others as well.
    Pradip T. ------------- MCTS(SharePoint 2010/Web)|MCPD(Web Development) https://www.mcpvirtualbusinesscard.com/VBCServer/paddytakate/profile

  • Can't save BISM file pointing to excel sheet (data source). ErrMsg: "There were errors found while validating the page: Cannot connect to the server or database."

    Hi,
    Me and a collegue is administrering our new enterprise BI portal in SharePoint 2013 (On Premise) and have a problem with using a specific Excel file including general ledger data as data source through a BISM file.
    This particular BISM file can't be saved without getting the error message "There were errors found while validating the page: Cannot connect to the server or database."
    BISM files against other Excel sheets and sources (for example SSAS tabular databases) works well.
    Can anyone help us pinpointing whats wrong here, this is a really important stakeholder in our organization requesting this reporting?
    Cheers!

    Hi E.SWARD ,
    My self created a Power pivot excel then i want to use this excel to create BI file . Still i am getting the same error . Pls help me to resolve this issue
    Cannot connect to the server or database.
    I am getting the similar error , if i use Tabular analysis server instance .
    Subhash

  • My mini iPad will not connect to the internet. Getting a message that it cannot connect to the server.  What is this and how do I fix it?

    My mini iPad suddenly will not connect to the internet or retrieve my email.  I'm getting an error message that says "cannot connect to the server".  How do I fix this?

    Nevermind.  I found the answer from someone else's question.  Thank you.

  • The restor pocess did not succeed because your computer cannot connect to the server - Windows Server 2012 R2 Essentials Experience

    Hi all
    I've been running Windows Server 2012 R2 with the Essentials Experience in test for a Windows 8.1 client environment, on an HP ProLiant MicroServer N54L. Overall I've found the Essential Experience set-up over WHS2011 and WHSv1 okay; still looking to extract
    any real value over the former versions.
    This box has been up and running for a few months now, with client backups of a Win 8.1 box scheduled and running successfully every day. However when trying to conduct any file restores from the backups, to the client, I receive an error dialog once I go
    through motions from the Dashboard:
    On the 'Devices' tab, right-click the appropriate client and select 'Restore files or folders for the computer'
    'Restore Files of Folders' dialog pops up, asking me to 'Choose a backup' from the list of all the backups that have run
    Select any one in the list - have tried numerous backups; automatic, manual, etc. same result every time
    Brings up the dialog to 'Choose a volume', choose either C: or D: partitions of the same fixed drive - again, no difference which one I choose, the outcome is the same
    'Opening the volume' dialog starts, with progress bar, runs to about 4% complete the pops up the dialog 'The restore process did not succeed'. Full error in the dialog, "The restore process did not succeed because your computer cannot connect to the
    server. Make sure that the computer is connected to the networkm and then try again
    If my computer cannot connect to the server - how can I get that far? How can I open the dashboard, select a client, select from a list of backups, select a volume to restore, etc. What is going on here?

    Hi,
    Please check if a "host" entry for the server is added to the client. For more detailed information, please refer to the threads below:
    Unable to Restore files or folders from a Client Backup
    http://social.technet.microsoft.com/Forums/en-US/d1d001bd-20c5-4f09-861d-526c31567963/unable-to-restore-files-or-folders-from-a-client-backup
    Can't restore anything
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/98e269b5-2bd1-449e-a213-e386ae15266f/cant-restore-anything?forum=winserveressentials
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • HT1420 I am trying to rent a movie on my Apple TV and I keep getting the error message "Apple TV cannot connect to the server"  What can I do to correct this problem?

    Why does my Apple TV keep giving me the message "Apple TV cannot connect to the server" when I try and rent a movie to watch?

    Hello dprice3885,
    Thanks for using Apple Support Communities.
    Take a look at the Wi-Fi troubleshooting since you can access the network but not the content.
    Apple TV: Basic troubleshooting
    http://support.apple.com/kb/HT6106
    Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS4546
    Have a nice day,
    Mario

Maybe you are looking for

  • Excise Duty in Export Invoice

    Hi Gurus, I have created a Export delivery & Billing Documents. I am trying to create Excise Invoice in which Excise Duty values are coming as "0". We are using TAXINN Procedure on ECC 6.0 Is there any specific note or any customization required for

  • Issue while opening pdf files

    Hello Experts, We have a URL iview which is pointing to a HTML file and from HTML file we are calling a pdf document.When user clicks on link, pdf is not opening in some laptops(but it opens properly in some laptops).We are on EP6,Adobe reader8.0.0 a

  • Events for changed entry in data dictionary

    Hi , I  have a requirement as mentioned below: my table has four fields : 1. vkorg 2. validity_period 3. modification_date and 4. modification_time. I have to capture the modification date and modification time if a user changes an entry (or entries)

  • Data guard LOG_FILE_NAME_CONVERT

    Hello , LOG_FILE_NAME_CONVERT parameter in data guard is for archive log files or online redo log files? Thank you/ allahmorad

  • ECC 6 Dev  problem

    HI, I have 2 Dev Clients in ECC 6  one is gold and another one is unit test. I dont have any autharization for gold client. I am doing total migration steps in unit test client only. Now i need to change delta mode from direct delta to queued delta a