Oracle Internet File System Setup and Administration Guide
Release 1.1

Part Number A81197-05


Book List



Master Index


Go to previous page Go to next page

Configuration and Back Up

A major feature of Oracle iFS is its support of multiple protocols, such as FTP, SMB, and IMAP. This chapter provides information on setting up, configuring, and administering these protocols and e-mail. Topics include:

Configuration and Port Issues

Each protocol used by Oracle iFS listens on a port. These ports are assigned numbers by default although they can be reconfigured. Some protocols also need to be configured before they can be used. If you configure a protocol, remember to start and stop that protocol's server.

Protocols and their Ports

The following table displays the Oracle iFS protocols and the default ports they run on, whether or not the parts can be configured, and what definition file to use to configure them. All definition files are located in the following directory:

Protocol  Default Port  Port Configurable?  Definition File  Variable to Configure 

File Transfer Protocol (FTP) 




Change in the definition file. 

Command Line Utility Protocol (CUP)1 




Change the IFS_CUP_PORT variable and the port number. 

Simple Mail Transfer Protocol (SMTP)2 




Change the port number in SmtpServer.def, and ifs.m4 

Internet Messaging Access Protocol (IMAP) 




Change in the definition file. 

HyperText Transfer Protocol (HTTP) 



Not Applicable 

Use the JWS administration utility and change using port 1717. 

Windows Client Protocol (WCP)3 


Not Applicable 


Not applicable. 

Server Message Block (SMB) 




Do not configure SMB. 

1 This is a proprietary protocol used for Oracle iFS operations.
2 This is a simple implementation to support verification and delivery.
3 This is a proprietary protocol used for Oracle iFS operations.


If you decide to configure these protocols manually instead of using the Configuration Utility provided during installation, the steps may generate multiple errors. 

Configuring E-mail

When you create users, among the folders automatically created is a mail folder within which there is an inbox folder. The user's mail messages are delivered into the inbox folder. You can use either Outlook Express or Netscape 4.7 Messenger as your e-mail clients. You must set up e-mail accounts appropriately.

E-mail Setup for UNIX

Oracle iFS uses an open-source implementation of the Sendmail 8.9.3 product as the mail transfer agent. Oracle iFS has an SMTP server to support verification and delivery. In addition, Oracle iFS also provides an IMAP server.

Basic e-mail configuration is completed as part of installation and configuration of Oracle iFS. When e-mail is configured during installation, the following is done:

Sendmail Configuration for UNIX

The file generated during installation is created from a template. This template is used by the Oracle iFS configuration program only; Oracle iFS also provides .m4 and .mc files to support your own configuration of Sendmail. Configuring the file is not recommended unless completed by qualified Sendmail specialists; it will not be supported by Oracle.


Oracle will not provide support in configuring Sendmail. The file provided with Oracle iFS allows you to use Oracle iFS e-mail. Any further extensions and enhancements to the file is the responsibility of the user. In accordance with open source licensing requirements, a full copy of the sendmail source is also provided with Oracle iFS. To view the full sourcecode for Sendmail, Version 8.9.3, use the sendmail.8.9.3.tar.gz in the $ORACLE_HOME/ifs<version>/admin/email/<platforms>/opensrc directory. 

The .mc and .m4 files that can be used for configuration are found in the following location:

For the default configuration:

Note for Solaris Users:

For configuration, use the GNU M4. The Solaris version of the M4 macro-processor is not compatible with the open source Sendmail m4 files. For reference, go to or see the Help for UNIX System Administrators, Sendmail guide (ISBN: 1-56592-222-0, publisher: O'Reilly). GNU M4 is not shipped with Oracle iFS 1.0. 

Integrating Oracle iFS Mail and Sendmail Pro 8.9.3 For Solaris

The Oracle iFS e-mail system provides an IMAP server and an SMTP protocol server that provides verification and local delivery support. Oracle iFS e-mail does not have its own mail transfer agent, but relies on sendmail to act as the mail transfer agent. This section pertains to the Sendmail Pro product from Sendmail, Inc., and the following steps guide you through set up and configuration of Sendmail Pro version 8.9.3.


The following information pertains to Sun Sparc Solaris only. 

Installing Sendmail Pro 8.9.3

To install Sendmail Pro 8.9.3 on a Solaris, refer to the Sendmail Pro 8.9.3 documentation. The installation is completed using the standard UNIX pkgadd utility. For further installation instructions, refer to the INSTALL document located for your platform of the Sendmail Pro distribution.

Oracle iFS Installation Dependencies

When the Oracle iFS Configuration Assistant is run during installation of Oracle iFS, the required pre-configuration (.m4 and .mc) files are prepared for e-mail configuration.

Configuring Sendmail

The configuration process involves running the ifsemailsetup_pro893 script located in the $ORACLE_HOME/ifs<version>/bin directory. This script sets up .m4 and .mc files and generates a sendmail configuration file that is used to integrate Oracle iFS and Sendmail Pro 8.9.3. You must run this script as the root user.

Quick Setup Steps

Steps 1 and 2 can be executed in any order.

  1. Configure Oracle iFS using the Configuration Assistant. This step can be completed independently of the Sendmail install.

  2. Install Sendmail Pro 8.9.3.

  3. Run the script ifsemailsetup_pro893 for configuring Oracle iFS e-mail.


If you want to migrate to use open source Sendmail instead of Sendmail Pro 8.9.3, you must first de-install Sendmail Pro 8.9.3. 

Sendmail Pro 8.9.3 Graphical Administration Tool

Sendmail Pro 8.9.3 includes a graphical administration and configuration tool. This is a Web-based tool that allows access to the configuration files from a Web server. However, due to the fact that the Sendmail Pro administration tool does not know about Oracle iFS, the tool cannot be used to configure Oracle iFS. If the tool is used to configure Sendmail pro, Oracle iFS support will not be included in the new configuration. Sendmail administrators will need to use the .m4 and .mc files provided in the distribution to reconfigure Sendmail.

Using E-mail with Oracle iFS

To use e-mail:

  1. Make sure that Sendmail is running.

  2. Make sure the SMTP and IMAP servers are running.

  3. Make sure the Outbox Agent is running.

See Also

For more information on using Server Manager to check that these servers and agents are running, see Chapter 8, "Using Server Manager to Start and Stop Servers".


Using Server Manager and the ifsstart and ifsstop commands will also start and stop sendmail. Use the command /usr/lib/sendmail -bd -q15m to start Sendmail manually. 

Using the Windows NT File System Protocol Server

To provide Explorer-based access to an Oracle iFS instance running on Windows NT, use the Windows NT file system protocol server (NTFS). This file system protocol server allows the Oracle iFS repository to appear as a local drive on the Windows NT system running the Oracle iFS server. Once the Oracle iFS repository is mounted as a local drive, the Oracle iFS repository can be shared using the standard Windows networking functions.

Accessing Oracle iFS through the Windows NT File System Protocol Server

When the Oracle iFS repository is mounted as a local hard drive using the file system protocol server, access to the Oracle iFS repository is controlled by Windows NT. The standard Windows networking functions can be used to control shared access to the local Oracle iFS drive from Windows client machines.

To enable network access from Windows client machines, the Oracle iFS NT file system protocol server must be started and the Oracle iFS repository mounted as a local drive on the server machine. The local Oracle iFS drive can then be shared by the server machine using the Windows Explorer or the NET SHARE command from the command line. A Windows client machine can then map to the shared drive using the Windows Explorer or the NET USE command from the command line.

When a Windows client maps to a shared drive, the Windows client supplies a username and password to the Windows server machine. The Windows server machine checks that the user is a valid Windows user, either on the local machine or in the domain, and grants access to the shared drive. If the shared drive is an Oracle iFS drive, the Windows username used to map the drive is also passed to the Oracle iFS repository as the Oracle iFS user to determine the user's Oracle iFS access permissions. In order to be able to access a shared Oracle iFS drive, the Windows user used to map the Oracle iFS drive must also be an Oracle iFS user and an Oracle iFS user must also be a Windows user.

Starting the Windows NT File System Protocol Server

The Oracle iFS administrator username, by default is system. Any Oracle iFS user can be granted administrator privileges. Any user who is a member of the Windows NT administrator group can start the Oracle iFS Windows NT File System Driver. However, when connecting from the local machine that user will always appear as system.

Users connecting from a remote machine must have a valid Windows NT account on the machine hosting the NTFS driver. When they connect to the local machine, Windows NT will first validate that they have permission to see the mount points created by the NTFS driver (Root, Home and Public). Once they mount one of these mount points (which is managed by Windows File Sharing, not Oracle iFS), their access permission to files and folders inside the mount point is governed by the rights granted to the user they connected as.


Using Windows NT, access to the Oracle iFS mount points is controlled by the native Microsoft Windows NT file sharing capabilities, and the NTFS driver simply exposes three more mount points for Windows NT file sharing to manage. This is different from the UNIX implementation where the Oracle iFS SMB Server actually manages the File Sharing directly. 

See Also

Backup and Recovery of Data

There are two important issues regarding backup and recovery of data:

Saving the Software Installation

You should back up the software installation so that you can easily restore the files in case of a disk crash or other failure. To save the software, you should make a backup on a type of media, such as tape or CD-Rom. This only needs to be done once after completing Oracle iFS installation.

Saving the Data

All Oracle iFS data is currently stored inside the database, which allows you to rely on the usual backup and recovery mechanism used for all other Oracle data. This is an important step when migrating data; if you use FTP to migrate data, all versioning, ACLs, ownership of files, and extended attributes will be lost. It is highly recommended that you backup your data before you migrate your data.

For more information on using Oracle's back up and recovery mechanism, see the Oracle 8.1.6 Server Backup and Recovery Guide. This guide explains what to do for the different possible scenarios, what software is required, and what to set up.

When saving files, there is no way of restoring a single document from a backup. The database is saved in a way which does not allow you to restore complete data files or to restore until a defined point in time, to save the document with all repository data describing it, or to restore this information back into the system.

Configuring Oracle Apache Web Server

To use the Oracle Apache Web Server with Oracle iFS, run the ifsapachesetup script located in the following directory:

Platform  Location 



Windows NT 


This script configures Apache and Jserv so that Oracle iFS can be accessed through port 7777 and allows users to access the Oracle iFS site through the http://<server-name>:7777/ifs/ifsservlet URL.

The sections relevant to Oracle iFS configuration are identified in the server configuration files. The following files are changed during configuration:

These files can be found in the following directory:

Platform  Location 



Windows NT 


All other configuration is similar to the standard Apache and Jserv configuration.

Configuring Apache As Your Web Server on Windows NT

If you want to use Apache instead of JWS, this section provides configuration steps for Apache to be used with Oracle iFS. These are not comprehensive instructions and are more of a general set of rules you need to follow to configure Apache. It is expected that you are familiar with Apache and standard servlet engines.

These steps provide a mechanism to set Apache 1.3.12 with JRun 2.3.3 as the servlet engine. On the Apache Web site (, you can download the appropriate version. JRun can be purchased from

To install Apache and JRun:

  1. Install Apache with Dynamic Shared Object (DSO) support.

  2. Uncomment the following line in httpd.conf file to enable the mod_rewrite:

    LoadModule rewrite_module modules/ApacheModuleRewrite.dll
  3. Install JRun and run the JRunConnector.

  4. While Running the Jrun Connecter, select the Use 1.3.6 DSO option from the DSO Support options.

To setup JRun to run Oracle iFS:

  1. Place the correct class path, library path and Java Virtual Machine (JVM) arguments into the following directory:


    An example set of entries are:

  2. Map the DocumentServlet and IfsJspServlet to aliases such as docservlet and jspservlet, respectively, in the following directory:


    Assuming the Oracle iFS schema password as "ifsuser", an example set of entries are:

  3. Set up Apache to forward all requests to JRun in the following directory:


    An example set of entries are:

    RewriteEngine on
    RewriteRule ^/(.*)\.jsp(.*) /ifsjsps/$1.jsp$2 [PT]
    RewriteRule ^/(.*)$ /ifsdocs/$1 [PT]
  4. Set up JRun to map all requests to the DocumentServlet and IfsJspServlet in the following directory:


    For example, the looks like:

  5. Start Apache and JRun using the appropriate instructions for each.

Go to previous page Go to next page
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.


Book List



Master Index