Forum Problems Installing LAMS: Re: need help on LAMS


 
Search: 

2: Re: need help on LAMS
In response to 1 10/16/07 07:20 PM
[ Reply | Forward ]
Hello Jeff,

This seems to be a problem we overlooked with Solaris unix commands, they do not allow the 'verbose' option (-v) for copying files.

We will look into fixing this, but for now I would suggest removing the -v option from the copy command in your script to see if that works.

1) open the file install-lams.sh (in the root directory of the install package) in a text editor

2) Find the line that says:
cp -rv assembly/lams.ear $JBOSS_DIR/server/default/deploy

3) Change it to:
cp -r assembly/lams.ear $JBOSS_DIR/server/default/deploy

4) Run the installer again
sudo ./install-lams.sh

Also, did you run your installer using sudo or with root permissions? It is required because the installer creates
a directory called lams2 in the protected /etc directory to store version and configuration files. This seems to have also failed for you:
>mkdir: "/etc/lams2": Permission denied
>cp: cannot create /etc/lams2/: Not a directory

You should make sure that either the current user has root permission or you use the sudo command to run the installer.

If you need more information about getting and using sudo for solaris check here: http://www.kempston.net/solaris/sudo.html

I hope this helps

Luke

Posted by Luke Foxton

Reply to first post on this page
Back to Problems Installing LAMS