15 Juil 2011

Cannot run program error=13 Permission denied

Category: HP,OOEnky @ 5 h 10 min

 

You are using the « Remote Command » Operation  and you have randomly this error :
Cannot run program "/tmp/*.tmp": java.io.IOException: error=13, Permission denied
Contact support for the HotFix (KM1177012)

 

Facebook Twitter Email Linkedin Digg Delicious Reddit Stumbleupon Tumblr

Étiquettes : ,


15 Juil 2011

Some cool new functionalities in SA 9.10

Category: HP,SAEnky @ 4 h 27 min

 

RPM Rollback

You can now roll back an RPM upgrade to restore systems to a former working state. This is used in the event of an RPM upgrade that caused a failure.

If you have ever performed an upgrade on one or more RPMs, and then discovered that the upgrade had undesirable consequences or was not compatible with one of the applications on the host, then you know the need for RPM Rollback. You need to be able to revert the set of installed RPMs on the server to the set it had prior to the upgrade. Now you can—in a single operation.

 

Ability to Stop Active Jobs

This type of job cancellation is considered a soft cancel because the integrity of the managed servers is maintained and the opportunity for errors is minimized. For this reason, individual job phases that are underway must complete, but subsequent ones are candidates for cancellation: only those that can be safely skipped will be cancelled. However, no work will be initiated on any additional servers. The Job Status view shows details about the phases and steps that were completed or skipped. When you successfully stop a job, the final job status will be “Terminated” to distinguish it from jobs that are « Cancelled » when they are not running (scheduled and recurring jobs).

 

Server Communication Tests

You can now use the SA client to run server communication tests. This used to be available only in the SA Web Client. The SA Web Client is now deprecated for running communication tests. For more information, see the User Guide: Server Automation.

 

Audit Policy Compliance

This release provides enhanced visibility into audit policy compliance. You can now add audit policy columns to the Compliance view (Compliance Dashboard) to show the compliance status of servers, with respect to audit policies.

 

Improved List of Required Open Ports for Firewalls

The list of ports required to be accessible by SA through software or hardware firewalls has been expanded and provides details about which SA Core Components use which port. See the SA 9.10 Simple/Advanced Installation Guide.

 

Users, User Groups and Permissions Now in the SA Client

You can now use the SA Client to create users and user groups, manage permissions, change passwords, and set all security policies. These features are no longer available in the SA Web Client. You can use the Administration Tab in the SA Client to do the following:

  • Users and Groups – Security Settings – Set password policies, display a user agreement whenever anyone logs in to the SA Client, and display a banner on all SA Client windows.
  • Users and Groups – User Groups – Create and modify user groups, assign users to user groups, set all permissions including action permissions, resource permissions (facilities, customers and device groups), folder permissions and OGFS (Global File System) permissions.
  • Users and Groups – Users – Create and modify users, suspend and activate users, change passwords, add users to user groups, view user permissions and see which user group grants each permission.
  • Users and Groups – Super Administrators – Create and modify super administrators.
  • Permissions Required – You must have the Super Administrator (admin) permission to use these capabilities in the SA Client. The Users and Groups node will not appear at all under the Administration tab for any user who does not have Super Administrator permission.

 

The Release Notes : http://support.openview.hp.com/selfsolve/document/KM1162971/binary/SA_9.10_Release_Notes.html?searchIdentifier=-68f112a6%3a1306b1b277f%3ae5&resultType=document

Facebook Twitter Email Linkedin Digg Delicious Reddit Stumbleupon Tumblr

Étiquettes : ,


15 Juil 2011

The exit code from the script was 246

Category: HP,SAEnky @ 4 h 17 min

You are running a SA script and you have this error :

Internal Opsware Agent error (job_run_unix): error in execv /tmp/567270002L.sh
errno = 13, Permission denied
The exit code from the script was 246.

It’s because you can’t run script in the /tmp directory on the target server.

to be sure :

root@server:/tmp # echo "echo hello World" >hello.sh
root@server:/tmp # chmod +x hello.sh
root@server:/tmp # ./hello.sh
ksh: ./hello.sh: cannot execute

Call your SysAdmin

Facebook Twitter Email Linkedin Digg Delicious Reddit Stumbleupon Tumblr

Étiquettes : ,


15 Juil 2011

Remove Excess Commas

Category: HP,OOEnky @ 3 h 57 min

 

  1. var result="";
  2. var tabPli = scriptletInput.split(‘,’);
  3. for (var i=0; i<tabPli.length; i++) {
  4.  if(tabPli[i] != ""){
  5.     if (result!=""){
  6.         result = result+","+tabPli[i];
  7.     } else {
  8.         result = tabPli[i];
  9.     }
  10.  }
  11. }
  12. scriptletResult = result;
Facebook Twitter Email Linkedin Digg Delicious Reddit Stumbleupon Tumblr

Étiquettes : ,


13 Juil 2011

Uppercase First Letter

Category: HP,OOEnky @ 13 h 43 min

 

  1. if (scriptletInput.length>0){
  2. scriptletResult = scriptletInput.substr(0,1).toUpperCase()+
  3. scriptletInput.substr(1,scriptletInput.length)
  4. } else {
  5. scriptletResult=""
  6. }
Facebook Twitter Email Linkedin Digg Delicious Reddit Stumbleupon Tumblr

Étiquettes : ,