Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-75-1410965.1
Update Date:2012-06-25
Keywords:

Solution Type  Troubleshooting Sure

Solution  1410965.1 :   Sun Storage 7000 Unified Storage System: Troubleshooting FTP access to shares  


Related Items
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Sun ZFS Storage 7320
  •  
  • Sun ZFS Storage 7420
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Sun Storage 7210 Unified Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>NAS>SN-DK: 7xxx NAS
  •  
  • .Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  




In this Document
Purpose
Troubleshooting Steps
 To enable FTP access at the Project level from the BUI:
 To enable FTP access at an individual share level from the BUI
 Verify ftp is running
 Check if the DefaultRoot exists
 Check a FTP-enabled share exists and is listed as a valid FTP-enabled share
References


Applies to:

Sun ZFS Storage 7120 - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7320 - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7420 - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7110 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7210 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
7000 Appliance OS (Fishworks)

Purpose

This document will help troubleshoot why clients may not be able to connect to shares via the FTP service.

To discuss this information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Community - 7000 Series ZFS Appliances

Troubleshooting Steps

When configuring the FTP service an error may be returned

!Default login root: Path does not exist


The likely explanation for this is that there is as yet no share configured with FTP enabled as a method of access.
It is essential that such a share exists before the FTP service is configured and put ONLINE.
Note that it is possible to switch on the FTP service with the default settings and have it come online with no errors without a FTP-enabled share existing but it may not then work when creating one.

The correct procedure is to create a share that has FTP access enabled, or that inherits FTP access from the project it is created in.

To enable FTP access at the Project level from the BUI:

Click Shares
Click on the appropriate Project from the list on the left
Click Protocols
Under the FTP section set the Share mode to "Read only" or "Read/write" as appropriate
Click APPLY

Any shares that inherit their properties from the project will now be able to be accessed via FTP.

To enable FTP access at an individual share level from the BUI

Click Shares
Click on the appropriate Project from the list on the left that contains the share to enable FTP access for
Click the edit "pencil" icon next to the share to enable FTP access for
Click Protocols
If necessary uncheck the "Inherit from project" checkbox for the FTP section
Set the Share mode to "Read only" or "Read/write" as appropriate for the FTP section
Click APPLY

After creating an FTP-enabled share(s) then you can configure the FTP service in

Configuration > Services > FTP

Make any appropriate configuration changes there and APPLY them to online the FTP service.
The share(s) that has FTP enabled should now be accessible as it will have been mounted under the list of the appliance accessible FTP shares.

If you are still having problems at this point please contact Oracle Support and raise a Service Request to assist with further troubleshooting.


Checks to make from the OS shell:

Verify ftp is running

Login to Solaris shell using Shared Shell and find ftp processes running, and identify the configuration file the ftp-demon(s) are using.

# ps -ef |grep ftp

root 9028 1 0 08:30:34 ? 0:00 /usr/lib/ak/proftpd/proftpd -p 0 -c /var/run/ak/proftpd.conf
root 1087 1 0 Dec 18 ? 0:00 /usr/lib/ak/sftp/sshd -f /var/run/ak/sftp.conf

Check if the DefaultRoot exists

The DefaultRoot is shown in /var/run/ak/proftpd.conf. It can be set via CLI or BUI. Initially it will look like this:

DefaultRoot /var/run/ak/shares/ftp/

This means you cannot use / (RootFS) as DefaultRoot for ftp, which conforms to ftp best practice. You can change DefaultRoot to any sub-path under /export/<share>, but you will not able to use a folder or root on the System pool.

Check a FTP-enabled share exists and is listed as a valid FTP-enabled share

When a share is available for access via FTP it is mounted on /var/run/ak/shares/ftp/
Check this using mount

# mount |grep ftp

/var/run/ak/shares/ftp/export/myHTTP on /export/myHTTP read/write/setuid/devices/dev=2d90011 on Mon Jan 18 08:23:21 2010


 

Back to <Document 1392086.1> Sun Storage 7000 Unified Storage System: How to Troubleshoot Network Problems.

References

<NOTE:1392086.1> - Sun Storage 7000 Unified Storage System: How to Troubleshoot Network Problems

Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback