PDA

View Full Version : Laszlo Newbie Stuck On Startup


Borg_9
10-20-2004, 06:06 AM
Greetings, I am eager to dig into the wonderfull world of Laszlo after spending years developing in FlashMX under MS Windows. Any time I can develope under Linux I am intersted and excited to do so.
I have installed LPS on my RedHat 9 Laptop with success along with the J2sdk. When I proceed to start the LPS using lps-2.2/Server/tomcat-5.0.24/bin/startup.sh I receive the error seen below: -------------------------------------------------

touch: creating `/usr/local/lps-2.2/Server/tomcat-5.0.24/logs/catalina.out': No such file or directory

/usr/local/lps-2.2/Server/tomcat-5.0.24/bin/catalina.sh: line 224:

/usr/local/lps-2.2/Server/tomcat-5.0.24/logs/catalina.out: No such file or directory

-------------------------------------------------

I have read another post with a similar problem and it was mentioned about Tomcat and J2EE fighting for ports. It was also mentioned that there was a work around to remove J2EE and install J2SE. Im not sure which I have. It was also mentioned that there were workarounds in Tomcat. Could someone point me in the right direction or provide some info on this and other options. Thank you kindly.

Borg_9
10-20-2004, 10:31 AM
I also forgot to mention that when I try to run the example file I get an error saying connection refused on port 8080. Any help is appreciated.

yossie
10-20-2004, 11:53 AM
What user installed lps and what user is using it? If the prior is root (which is typical if you are installing in /usr/local) and the latter is yourself (which is what it sounds like), then you might very well be experiencing a permissions problem. The tomcat log directory/files and the lps logs and cache need to be writable by the tomcat running user.

Your best bet, unless you have issues with this, is to make the entire /usr/local/lps-2.2 directory structure world writable.

- Yossie Silverman

counterpoke
10-22-2004, 04:11 PM
I have the same problem as the previous user. I unzipped the program as myself, but on to /home/notepals (my home directory is /home/darver). I then tried to run startup.sh, but I get the same error. So I ran chmod 777 -R * in /home/notepals (i made this directory just for laszlo) and tried again to no avail. I tried running as the root user and executing ./startup.sh to no avail either. Any other suggestions?

Oh I am running slackware 10 on a Dell OptiPlex machine.

Borg_9
10-25-2004, 05:40 AM
Greetings, I have tried the recomendation with no success much to my shagrin. Not sure where to go from here : (
I changed the ownership of my root folder for lazlo from root to my usr account and still receive the same error. Any detailed suggestions on how to prceed would be great.

yossie
10-25-2004, 07:52 AM
did you apply the change recursively? with
sudo chmod -R a+w LASZLO_ROOT -or-
sudo chmod -R YOUR_USER LASZLO_ROOT

counterpoke
10-25-2004, 11:13 AM
It was done recursively... any other suggestions?