Troubleshooting
Problem
The mvfs_agent executable, which resides in the ClearCase installation directory, is expected to be accessible via the user's PATH environment variable. However, that directory is not added to the PATH on Linux.
Symptom
- The Automatic View option is unavailable in the Create View dialog.
- The same issue occurs in the Join Project wizard.
Creating or starting automatic views with rcleartool or a custom CM API application fails.
Cause
The mvfs_agent executable is located inside the IBM Rational ClearCase installation directory (typically /opt/rational/clearcase/bin).
However, the ClearCase binary path is not included in the system PATH environment variable. As a result, the system cannot locate the command when the application tries to execute mvfs_agent.
Shell behavior impact
On Linux, the availability of environment variables depends on whether the application is launched from a login shell or a non-login shell:
Login shell
- Executes
/etc/profileand scripts in/etc/profile.d/. - Initializes the
PATHenvironment variable system wide. - Automatically includes ClearCase binaries if configured.
Non-Login shell
- Executes
~/.bashrconly. - Does not execute
/etc/profileor/etc/profile.d/*by default. Inherits the
PATHfrom the parent shell.Applications such as ClearTeam Explorer, Eclipse, and custom tools run in non-login shells, where the ClearCase binary path might not be available, causing the
mvfs_agentcommand to fail.
Resolving The Problem
The environment variable PATH must be provided before launching the application.
Example: Run the command in a Bourne shell or terminal, and launch the application from the same session.
export PATH=$PATH:/opt/rational/clearcase/bin
Note: When using a VNC session, kill the existing session (vncserver -kill :<port number>) after product installation, and restart it on a new port to apply updates to the PATH environment variable.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
16 September 2026
UID
ibm17263062