CohesiveFT Home CFT Elastic Server Blog Home


Thursday, February 7, 2008

Ask for Help

Having trouble with the ESOD? Post your issues in our forum here. In the mean time check out the resources on our website, just select your edition.

5 comments:

Jeff said...

Hello,

I'm having trouble with the Tomcat6 package.

It looks like the deployment directory is configured to be /var/lib/tomcat6.0/webapps. This service goes and unzips the war and deploys it.

However the service and the deployment manager are configured to look in /usr/share/tomcat6.0-webapps. So if you try to browse to your deployed website it turns up nothing.

I would update the config files for tomcat and the deployment manager but cftuser does not have permission to access the directory and Elastic VM's don't permit sudo access to this directory.

Is there a workaround for this or am I missing a piece of information?

Any info is appreciated.
Thanks

N Clements said...

Jeff,

You should be able to sudo to root and modify the configuration files.

I've just looked in a build image for a Tomcat 6 VM and managed to use sudo successfully.

Currently there should be no limitation on what the cftuser can do via sudo, so if you've found a specific command that doesn't work please post it here so we can investigate.

Thanks.

Jeff said...

Hi N,

Ok, I unzipped a brand new VM from the zip file I downloaded off the Elastic Server site.

I think what I'm missing is the default root password for a new VM.

I logged in as cftuser and cd'd to: /var/lib/tomcat6.0.

I then tried 'su root cd conf' with the cftuser password, the string 'password' and the string 'admin' and got no luck.

I next tried 'sudo cd conf' and got 'sudo: cd: command not found'.

I'll fully admit to not being the greatest Unix admin so if I'm missing a step here please let me know. :)

Thanks.

Dmitriy S said...

Hi Jeff,

Please try "sudo su" and use cftuser's password. You will become root. cd is a tricky command, as it's a shell built-in and it doesn't play well with sudo the way one might expect.

Dmitriy

Jeff said...

That did it!
Thanks!

 
©2010 Cohesive Flexible Technologies Corp.
about us | terms of service | legal | privacy policy | forums