Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

installation in Solaris in /opt . permission problem?

Posted on 2004-09-25
6
Medium Priority
?
334 Views
Last Modified: 2013-12-27
Experts,

     I am doing a testing to install software in the /opt directory.  It is "eTrust Audit".

     Installing on default /usr the software works fine, however when trying to install in the /opt, the software does not respond as ususal. Is there anything that should be set like permision or group or environment?

regards,
Nick
   
   
0
Comment
Question by:nicotine1
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
PsiCop earned 1000 total points
ID: 12155290
The software may be hardcoded to expect components to be in /usr. Or there may be a configuration file or environment variable with references to /usr in it.

If the software normally installs in its own subdir, say /usr/etrust, and you want to put it in /opt/etrust, then you can make a link between the two places so that /usr/etrust puts you in /opt/etrust - that way the software gets what it wants (or thinks it does) and you get to put it where you want (if you're like me, /usr and /opt are on different slices, so this is about properly managing disk space).

The link command might look like:

ln -s /opt/etrust /usr/etrust
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 1000 total points
ID: 12156825
PsiCop makes a good point.

You might also need the ENV vars such as PATH LD_LIBRARY_PATH to use the package,

eg:

PATH=${PATH}:/opt/etrust/bin
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/etrust/lib
export PATH LD_LIBRARY_PATH

to use it.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 12193405
> .. the software does not respond as ususal.
additional to previous comments, please post exact error message
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12544568
Fine by me.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month7 days, 15 hours left to enroll

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question