IBM Support

IBM Security Guardium. Error starting fileserver: "Fileserver is already running"

Troubleshooting


Problem

In IBM Security Guardium™, the fileserver facility is used to ease tasks like uploading patches files to the appliance or downloading application logs and other diagnostic and configuration files, by temporarily running an HTTP (S) file server.
Sometimes, when trying to start the fileserver from the command line interface (CLI), an error message is displayed.
Fileserver is already running.
err

Symptom

Unable to start the fileserver.
When running the "fileserver" command to start the service, the error message is displayed.
image 11756

Cause

This component uses a special lock file (something like a "padlock") to avoid having more than one instance of the fileserver running at the same time.
Normally, this file is deleted every time the fileserver is stopped, but in rare circumstances, that does not happen. In such situations, the next time you try to use the component, the pre-existing lock file will not allow the operation, and the system notifies you with the error message.

Environment

The contents of this document were created while working in an IBM Security Guardium™ v11.3 system.
The process documented as the solution should remain equivalent in other versions of the product, with slight changes in the output, menu names and options.

Resolving The Problem

To resolve the problem, the existing lock file must be removed.
1. Log in to the command-line interface, with the cli user.
2. Execute the "diag" command.
diag
image 11757
3. The diagnostic tool window is displayed. At the "Main Menu" screen, select option "4 Perform maintenance actions".
image 11758
4. At the "Maintenance" screen, select "3 Clean disk space".
image 11759
5. In the "Select a Directory:" window, it is possible to choose a directory to search for files to be deleted. Choose the "/var/tmp" option.
image 11760
6. In "Search string, leave blank for no filter", it is possible to enter a search pattern so that the utility can find files whose names match it. Enter exactly the following string.
fileserver_started
image 11761
Tip 1. This process is also useful when you want to remove some old log files from the Guardium™ appliance in order to reclaim disk space.
The search is not recursive, it is done only in the selected directory, without going through subdirectories.
7.  After the utility finishes searching for the files that match the pattern, the files found will be displayed in a list.
image 11764
8. In "Would you like to remove the files?", confirm the action to remove the found files.
 
image 11765
9. Finally, a notification message will be presented. Selecting "OK" returns you to the "4 Perform maintenance actions" window.
image 2800
10. Up to this point, you can close the tool to return to the Guardium™ command-line interface, and try to run the fileserver again.
Tip 2. There are slight changes in the way the fileserver command is executed depending on the product version.
If you are not familiar with it, you can get basic help through the help option.
fileserver help
Example.
image 11770
[ip_address]. It is the IP address of the machine from where you are going to access the file server (it can be the same IP address of the machine from where you logged to the CLI in the first place).
[duration]. Time in seconds during which the file server remains active. After that time has elapsed, or when you hit the "Enter" in the CLI window, the file server will be stopped.
Read the IBM Security Guardium™ documentation to know more about the fileserver utility.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSWL9Z","label":"IBM Security Guardium for Applications"},"ARM Category":[{"code":"a8m0z0000000AqcAAE","label":"GUI"},{"code":"a8m0z0000001gKzAAI","label":"NETWORKING"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Document Information

Modified date:
19 October 2021

UID

ibm16173439