aspose file tools*
The moose likes Cattle Drive and the fly likes orion installation on Linux Suse 8.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "orion installation on Linux Suse 8.1" Watch "orion installation on Linux Suse 8.1" New topic
Author

orion installation on Linux Suse 8.1

juliane gross
Ranch Hand

Joined: May 30, 2002
Posts: 161
..would have been toooo nice if it would work instantaneously...
well, I installed orion okay so far on my Linux Suse 8.1 system, but if I put in the command:
java -jar orion jar
I get the following message:
Error starting HTTP-Server: Permission denied
Anybody knowing what I should do now?
thanx a lot!!!
Juliane
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Hi Juliane, are you starting orion under a non-root user? The default port used for orion is 80 and that is protected from "unprivileged users".
There should be some option with orion that enables a port like 8080 to be used, instead of 80. That should enable the HTTP server to be started under a non-root user.
From the installation docs:

Now orion is installed and ready to use with the default configuration. This means Orion will install itself using port 80 for the web server part. If you already have a web server installed on port 80 you will have to change Orion to use another port. To do this, open the file config/default-web-site.xml and edit the line <web-site display-name="Default Orion WebSite"> to <web-site port="8080" display-name="Default Orion WebSite"> (or the port number of yout choice).

Later today I'll kick No 2 son off my PC and fire up Suse 8.1 and take a look myself.
(Old farts say: Linux Rules!)
[ March 16, 2003: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
juliane gross
Ranch Hand

Joined: May 30, 2002
Posts: 161
Barry, this is too nice of you!
But you shouldn't kick no. 2 sun off your
computer, or at least only to play with him!
right: Linux rules!
(but sometimes it makes you crazy with all
this "access denied" and the likes..)
If I log in as root (port 80):
linux:/home/julix/orion # java -jar orion.jar
bash: java: command not found
If I try as non-root user (port 8080):
julix@linux:~/orion> java -jar orion.jar
Orion/1.5.2 initialized
But, as soon as I follow the next
CattleDrive instruction "Direct your browser to http://localhost"
I get:
"No connection to localhost"

thank you very much for your help.
It might be something stupid which escapes me in the moment
[ March 16, 2003: Message edited by: juliane gross ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Juliane, I have just got it to work by changing the port to 8080. I also had to change access rights on the logfiles because I installed orion under the /opt directory (owned by root).
I have now been kicked off the PC myself. Son No 2 wants to play Age Of Vampires II again!
What I would have done next is to deinstall orion, and reinstall it under its own non-root user ( oadmin say ).
Then I would change the config file to use port 8080, and then I would login to oadmin to start and stop the server. That way orion is at home in its own little box.
Hope that helps, we got to get you going on them servlets as soon as possible.
-Barry
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Good, now you should use http://localhost:8080/ because http://localhost/ defaults to port 80.
If that does not work, try http://127.0.0.1:8080/
Oh, what fun!!
juliane gross
Ranch Hand

Joined: May 30, 2002
Posts: 161
WHAT FUN INDEED!!
calling the thingie by
http://localhost:8080
it works!
I am off to the moo-part!!
barry, where should I send this chocolate to?
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Let's wait till you get the Bee Buzzing!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: orion installation on Linux Suse 8.1
 
Similar Threads
SuSe 7.3 Professional
Suse Professional / Personal
Linux on Dell
got stuck with orion - please help
Calling a function recurcively