cancel
Showing results for 
Search instead for 
Did you mean: 

File Events - HPUX

Former Member
0 Kudos

We have installed a platform agent on HPUX to do file events. The platform agent is started and working. I am unable to trigger an event based on the presence of a file.

Accepted Solutions (1)

Accepted Solutions (1)

nanda_kumar21
Active Contributor
0 Kudos

Hi Brian,

Can you please check the following?

  1. Is the platform agent status 'running'?
    you can check this by navigating to installed directory/agent/0_33_*/etc and executing ./scheduler status
  2. Is the process server from redwood started and running?
  3. Are you able to navigate to the same folder,
    /interfaces_all/interfaces_r3/BASIS

    by clicking the "Browse" buttton newar the file path while defining the File event? (refer attachment)

  4. If your answer is YES for above 3 questions, can you please create a job definition of type:UNIX, and select the shell appropriate shell, and type in the following code?
     cd /interfaces_all/interfaces_r3/BASIS
    echo PWD
    pwd
    ls -latr
    cat eventfile.txt
    touch testfile.txt
    echo LIST
    ls -latr
  5. Run the above job in the same process server and paste the output here? or check yourself whether there were any permission issues?
  6. Which user is running the platform agent? and does it belong to SAPSYS group?

Thanks

Nanda

Former Member
0 Kudos

Nanda,

I have confirmed the agent is 'running' and the process server is started with platformagent service running as well.

I am unable to navigate to any FS location when clicking browse though.

Thx,

Brian

Former Member
0 Kudos

I have also confirmed that this location is SAN mount (local to that server where the agent is) and not NFS mounted.

nanda_kumar21
Active Contributor
0 Kudos

Hi Brian,

  1. Can you please login, as the same user that is running the platform agent, and try to navigate to the same /interfaces folder from your unix client like Putty?
  2. If yes to Q1, Can you please execute the following script from Redwood, using a unix job type?

echo whoami

whoami

echo PWD

pwd

cd /interfaces_all/interfaces_r3/BASIS

echo PWD

pwd

echo Initial List

ls -latr

cat eventfile.txt

touch testfile.txt

echo LIST

ls -latr

..and paste the output?

Thanks
Nanda

h_carpenter
Active Contributor
0 Kudos

Hi Brian,

So you cannot browse from the file event tab of the event definition. What job definition types does your process server provide?

I am pretty sure this is a monitoring-only process server; these process servers do not provide file events, nor can you run any platform jobs on these process servers. Could you please check this?

With platform jobs I mean KSH scripts, for example. Create a KSH job definition that performs 'env' (without quotes) and attempt to run it on your process server.

Regards,

HP

Former Member
0 Kudos

Nanda,

I am still trying your recommendation but having some issues. I will report back on that.

HP - I have added KSH as a JD Type

I have added a few screenshots of our current setup. The really weird thing is now I CAN see the FS when I try to browse to it within the event definition...

Former Member
0 Kudos

I got it working. I was messing around with adding a bunch of Job Def. Types and Services. Once I did this it enabled me to browse the directories when editing the event definitions. This still didn't kick off the event. I went in to the OS and did a 'touch eventfile.txt' after all my changes were made and the event kicked off.

Thanks for everyones help with this!

Brian

Answers (0)