Difference between revisions of "The command arssockd can only be run by the owner of the command"

From CMOD.wiki
Jump to navigation Jump to search
(Initial Edit.)
 
m (Update troubleshooting.)
Line 1: Line 1:
=== What was the error ===  
=== What was the error? ===  


<code>
<code>
Line 9: Line 9:
<code>arssockd (ARCHIVE): 04/25/15 18:43:47 0 ARSMSG  2 152 The command &gt;arssockd&lt; can only be run by the owner of the command</code>
<code>arssockd (ARCHIVE): 04/25/15 18:43:47 0 ARSMSG  2 152 The command &gt;arssockd&lt; can only be run by the owner of the command</code>


=== Related errors ===
=== Related errors? ===
None.
None.


Line 28: Line 28:
In ars.cfg:
In ars.cfg:


<code>DB2INSTANCE=archive</code>
<code>DB2INSTANCE=ARCHIVE</code>
 
'''''Ensure that these parameters both have matching case.'''''  If one is set to ARCHIVE, and the other is set to 'archive', [[arssockd]] won't start.

Revision as of 20:02, 25 April 2015

What was the error?

$ arssockd -I ARCHIVE -S

The command >arssockd< can only be run by the owner of the command

Or this message is displayed on the console:
arssockd (ARCHIVE): 04/25/15 18:43:47 0 ARSMSG 2 152 The command >arssockd< can only be run by the owner of the command

Related errors?

None.

What were you doing?

Probably trying to start CMOD for the first time after a fresh install, or an upgrade.

Troubleshooting

In some systems, the owner of all of the Content Manager OnDemand files installed under /usr/lpp/ars/bin, /opt/ondemand/bin, or /opt/IBM/ondemand/V9.x has been changed to be 'non-root'. This is typically done for security reasons, so that a remote exploit of the OnDemand daemon (arssockd) doesn't immediately provide root privileges to the attacker. After an upgrade, these permissions may have been re-written, and need to be reimplemented.

When performing a new installation, ensure that the following parameters all match the user name that the CMOD database runs under:

In ars.ini:

SRVR_INSTANCE_OWNER=ARCHIVE

In ars.cfg:

DB2INSTANCE=ARCHIVE

Ensure that these parameters both have matching case. If one is set to ARCHIVE, and the other is set to 'archive', arssockd won't start.