Skip to content

Gstack cannot be collected using SIDADM user via sitter #16

Description

@prasadmhapya1311

Hi team,

We tested hanasitter for automatic gstack log collection in system hang situation on our environment.
The sitter was able to trigger gstack for indexserver but in log file it was not able to write anything.

The automatic gstack collection generated an empty trace file.
Then i tested gstack collection manually using root user it was able to write the logs in gstack traces.
after that we tried to generate gstack collection manually using SIDADM user it was not able to write the logs in gstack trace file.

While troubleshooting we can across SAP note 2478161 which informs to unset environment for SIDADM users.
When we unset the below two environment variables for SIDADM user

$ unset PYTHONHOME
$ unset PYTHONPATH

after unsetting above two settings when we again tried to collect gstack manually it was able to write logs in the traces.

Now i need your support to know the fix how we can allow SIDADM user to collect and write gstacks logs in trace file when it is automatically triggered from sitter.

Thanks and Regards,
Prasad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions