madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

psrinfo on Solaris is not in normal users path #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call ppss on Solaris
2. psrinfo is not found

What is the expected output? What do you see instead?
psrinfo would be used to determine the number of jobs to be run.  

What version of the product are you using? On what operating system?
2.85 on Solaris (also on RHEL, but without problems)

Please provide any additional information below.
You may want to give full path to psrinfo in the script.  Alternatively, you 
could provide a config file where the path to the executable is defined for 
that particular machine.

Original issue reported on code.google.com by atom.car...@gmail.com on 14 Sep 2011 at 2:02

GoogleCodeExporter commented 9 years ago
More specifically, we're running ppss v2.85 on Solaris 10.

Original comment by atom.car...@gmail.com on 16 Sep 2011 at 2:19

GoogleCodeExporter commented 9 years ago
Thanks for your feedback. Where is psrinfo installed by default? May the fact 
that the psrinfo utility is not found be related to an error for that 
particular user? 

May it be the case that a non-privileged user cannot run psrinfo -v  ?

Original comment by Louwrentius on 26 Sep 2011 at 9:55

GoogleCodeExporter commented 9 years ago
On our systems, the path is /usr/sbin/psrinfo.  I believe that is the default 
for most Solaris 10 systems, but I am not certain.  A normal user can execute 
it (-v or no), despite it being in sbin.  However, /usr/sbin is not in the path 
for most users.

Original comment by atom.car...@gmail.com on 26 Sep 2011 at 11:10

GoogleCodeExporter commented 9 years ago
Thanks in svn it is now hard-coded at /usr/sbin

Original comment by Louwrentius on 9 Oct 2011 at 9:54

GoogleCodeExporter commented 9 years ago

Original comment by Louwrentius on 25 Dec 2011 at 4:25