Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Troubleshooting: “Unable to attach to shared memory. HP Service Manager may be damaged.” error (Linux only)
When executing Service Manager (SM) commands on Linux with a non-SM user account or using the crontab of an SM user account, an error occurs:
"Unable to attach to shared memory. HP Service Manager may be damaged.
"
Below is an example.
You have installed Service Manager with a specific account (adminsc4 - groups: adminsc4), and you have some verification processes that are scheduled and executed by another account (sdi - groups: dba and adminsc4). Since the group "adminsc4" is the same for both accounts, you are able to execute sm command lines as follows:
- Connect to the SM server with the account "sdi".
- Run the following command lines:
su -adminsc4 cd /soft/sc400/RUN sm –reportshm
The above described error occurs.
Rootcause
The system parameters in /etc/security/limits.conf of Linux control the resources that are available to a user or group, and may affect Service Manager’s behavior. When certain parameter values defined for a Service Manager user or for the group to which the user belongs are too low, Service Manager may fail to execute commands or even fail to start the servlet.
Since a non-SM user may execute the “su” command to run shell with a substituted SM user, the resource control of the non-SM user may or may not affect Service Manager’s behavior after the user substitutes the SM user, depending on the implementation of the Linux kernel.
Workaround
HPE recommends that you use a Service Manager user directly to perform any SM related operations on Linux.
If failures occur when starting an SM servlet or executing SM commands, you are recommended to check the parameters in /etc/security/limits.conf.
To do a diagnostic check:
- Set a parameter in /etc/security/limits.conf to “unlimited”.
- Restart the system.
- Perform the operation. If this solves the previous issue, the conclusion can be made that this limit parameter was set to a value that was too low and caused the failure.
To identify which parameter caused the problem, repeat the above steps for the parameters one by one until the problem is solved.
When the problematic parameter is identified, set it to a higher value appropriate to your Service Manager system. It is difficult to provide an accurate value for each parameter. The right value only depends on your system load. For this reason, you may need to repeat the step for each parameter and repeat until you get the correct value.
Related concepts
Startup and shutdown
Starting Service Manager on Windows
Stopping Service Manager on Windows
Related tasks
Start the server from the Windows command prompt
Start the server from Windows services
Stop the server from the Windows command prompt
Stop the server from Windows services
Related references
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: