Welcome Guest ( Log In | Register )

15 Pages V « < 4 5 6 7 8 > »   
Reply to this topicStart new topic
> Setting up a server (for retards), Help the Linux Noob!

 
post Nov 18 2012, 17:52
Post #101
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Create a symbolic link:

CODE
ln -s /root/ibm-java-x86_64-70/jre/bin/java /usr/bin/java


After that you can just use java -jar whatever.jar

Edit: to solve the H@H error, try:

CODE
sudo pkill -f java

then run H@H again.

This post has been edited by Tiap: Nov 18 2012, 17:53
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:56
Post #102
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


Huh. Did you copy/paste your key or type it in yourself? Seems like you might've misspelled it. If not, this is probably the point where you need to ask Tenb for help xD It looks like something is already using the port... Did you set the port number on the site?

In the terminal, type "sudo netstat -a | grep -i LISTEN"

Post that output. Then type "sudo iptables -L -n" and post that output.

This post has been edited by DemonEyesBob: Nov 18 2012, 17:57
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:57
Post #103
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


I just changed the port to something else and now it is showing online here on this site.

Can I just type in something or do I have to use that screen command mentioned earlier?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:00
Post #104
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


edit

This post has been edited by r3dd0ssal: Nov 5 2020, 10:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:08
Post #105
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


hmpf. I closed the screen and it went offline at the page.

Then I opened the terminal again as Ichy
typed screen -R hath
then
sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar

...

CODE
$ sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
[sudo] password for ichy:
Error: Unable to access jarfile HentaiAtHome.jar
$ sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
Error: Unable to access jarfile HentaiAtHome.jar
$
sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar$
Error: Unable to access jarfile HentaiAtHome.jar
$
sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar$
Error: Unable to access jarfile HentaiAtHome.jar
$


Does not work any more... (IMG:[invalid] style_emoticons/default/cry.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:10
Post #106
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


ed

This post has been edited by r3dd0ssal: Nov 5 2020, 10:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:13
Post #107
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


ah that was it! Thanks a lot!

Now I was able to
CODE
press ctrl-z. Then press ctrl-a, then d.

exit the console and have it still online!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:16
Post #108
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


ed

This post has been edited by r3dd0ssal: Nov 5 2020, 10:50
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:22
Post #109
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


Attached Image

Everything seems to works fine. 0 files served so far but this will change soon.
Thanks Bob, Tiap and blue for helping me out so much! (IMG:[invalid] style_emoticons/default/smile.gif) That was not easy for me give I have 0 experience with Servers or Linux!

I will check back if i encounter some new strange errors.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:28
Post #110
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


You're still running Java as root though, and you shouldn't.
Try creating the symbolic link using the command I gave before and use this:

CODE
java -jar HentaiAtHome.jar

instead of this:
CODE
sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:36
Post #111
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


looks grim again!

CODE

$ ln -s /root/ibm-java-x86_64-70/jre/bin/java /usr/bin/java
ln: creating symbolic link `/usr/bin/java': Permission denied
$


Also i noticed the Client went on Timeout after a few minutes and stayed that way!

This post has been edited by Ichy: Nov 18 2012, 18:36
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:40
Post #112
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


The ln command must be run with sudo.

While you're at it, do this too (make sure H@H is off before):

CODE
sudo chown -R ichy:ichy /home/ichy/hhome

If you need to kill H@H, use this:

CODE
sudo pkill -f java
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:48
Post #113
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


hmm I cant kill the client.

did: sudo pkill -f java but it still shows as timeout!
CODE
$ sudo pkill -f java
[sudo] password for ichy:
$



This post has been edited by Ichy: Nov 18 2012, 18:49
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 18:57
Post #114
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


I never used H@H so I can't be certain, but my guess is that H@H was killed when you logout.

Use:

CODE
ps -eo uname,command | grep -E '\sjava'


If H@H is running correctly, you should see something like:
CODE
ichy       java -jar HentaiAtHome.jar


If it's running as root, you should see:
CODE
root       sudo /root/somethingsomething/java -jar HentaiAtHome.jar


If it's not running, you shouldn't see anything.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 19:13
Post #115
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


I just rebooted the server to shut it down (IMG:[invalid] style_emoticons/default/happy.gif)

Now after typing in all this I was able to start it with 'java -jar HentaiAtHome.jar'
Now closed the console again and it is still running. lest hope it stays that way (IMG:[invalid] style_emoticons/default/happy.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 19:42
Post #116
ESeion



Infected with the mal syndrome >:C
******
Group: Members
Posts: 874
Joined: 1-March 11
Level 185 (Destined)


I'd just like to point out that someone who has been attentind the thread from the start (Or roughly from the start) might want to make a guide and/or FAQ regarding the H@H issue.

Perhaps it'd be useful?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 19 2012, 08:57
Post #117
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


From what I gathered my Server came with a extra missconfigurated system and me having zero experience with linux and servers did not help much.

But maybe a troubleshooting guide witch the most common errors would be helpful.
Also some basic info to how to get started would help other clueless members. if there wasn't the guide in the first post I would not have any clue to get started at all!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 19 2012, 12:18
Post #118
ESeion



Infected with the mal syndrome >:C
******
Group: Members
Posts: 874
Joined: 1-March 11
Level 185 (Destined)


QUOTE(Ichy @ Nov 19 2012, 07:57) *

From what I gathered my Server came with a extra missconfigurated system and me having zero experience with linux and servers did not help much.

But maybe a troubleshooting guide witch the most common errors would be helpful.
Also some basic info to how to get started would help other clueless members. if there wasn't the guide in the first post I would not have any clue to get started at all!


Last year I made some kind of Starter's guide to GNU/Linux command line, maybe I can translate it to english and upload it, we'll see.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 19 2012, 12:38
Post #119
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


That would surely be useful (IMG:[invalid] style_emoticons/default/smile.gif)

Next weekend I will nuke the server and start from scratch. Let's see if I manage to get it running without help this time!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 19 2012, 12:44
Post #120
ESeion



Infected with the mal syndrome >:C
******
Group: Members
Posts: 874
Joined: 1-March 11
Level 185 (Destined)


QUOTE(Ichy @ Nov 19 2012, 11:38) *

That would surely be useful (IMG:[invalid] style_emoticons/default/smile.gif)

Next weekend I will nuke the server and start from scratch. Let's see if I manage to get it running without help this time!


You do that, it's good for you. And I love Linux anyway so cheers (IMG:[invalid] style_emoticons/default/tongue.gif)

Don't forget to make some annotations though (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


15 Pages V « < 4 5 6 7 8 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 29th April 2025 - 00:44