Havana icon indicating copy to clipboard operation
Havana copied to clipboard

lot of command not found

Open kesz24 opened this issue 8 months ago • 9 comments

my first time installing habbo server im using rocky linux and follow every step

server run fine , but when i try to run web it goes like this

Image

any clue what im missing ?

kesz24 avatar Apr 26 '25 10:04 kesz24

this is what happens when you don't read the readme and just skip ahead assuming all the commands to run the server (do NOT run .jar files, run the provided .sh file)

Quackster avatar Apr 27 '25 01:04 Quackster

Well im sorry but im not that dumb 😆 I run with sudo ./Havana/start_web.sh

And that screenshot is the result , the server run with no problem

kesz24 avatar Apr 27 '25 02:04 kesz24

Install Java, and don't run it as root. Learn about systemd units and systemd sysusers.

emansom avatar Apr 27 '25 03:04 emansom

I'm sorry but I'm going to need more information - what command are you executing?

Quackster avatar Apr 28 '25 11:04 Quackster

I'm sorry but I'm going to need more information - what command are you executing?

I try to run the web with run_web.sh that’s all

kesz24 avatar Apr 28 '25 11:04 kesz24

Install Java, and don't run it as root. Learn about systemd units and systemd sysusers.

I dont get it but all this time i run it as root but let me try this

kesz24 avatar Apr 28 '25 11:04 kesz24

After update to 1.3:

./run_web.sh

./run_web.sh: 3: lib/pebble-3.1.5.jar: Permission denied ./run_web.sh: 3: lib/Havana-Server.jar: Permission denied ./run_web.sh: 3: lib/HikariCP-3.4.1.jar: Permission denied ./run_web.sh: 3: lib/mariadb-java-client-2.3.0.jar: Permission denied ./run_web.sh: 3: lib/commons-configuration2-2.2.jar: Permission denied ./run_web.sh: 3: lib/commons-text-1.5.jar: Permission denied ./run_web.sh: 3: lib/commons-io-2.5.jar: Permission denied ./run_web.sh: 3: lib/commons-validator-1.6.jar: Permission denied ./run_web.sh: 3: lib/geoip2-2.12.0.jar: Permission denied ./run_web.sh: 3: lib/httpclient-4.5.5.jar: Permission denied ./run_web.sh: 3: lib/duckHTTPD-all.jar: Permission denied ./run_web.sh: 3: lib/slf4j-log4j12-1.7.25.jar: Permission denied ./run_web.sh: 3: lib/gson-2.8.0.jar: Permission denied ./run_web.sh: 3: lib/mail-1.4.7.jar: Permission denied ./run_web.sh: 3: lib/unbescape-1.1.6.RELEASE.jar: Permission denied ./run_web.sh: 3: lib/slf4j-api-1.7.25.jar: Permission denied ./run_web.sh: 3: lib/commons-lang3-3.9.jar: Permission denied ./run_web.sh: 3: lib/commons-beanutils-1.9.2.jar: Permission denied ./run_web.sh: 3: lib/commons-logging-1.2.jar: Permission denied ./run_web.sh: 3: lib/commons-digester-1.8.1.jar: Permission denied ./run_web.sh: 3: lib/commons-collections-3.2.2.jar: Permission denied ./run_web.sh: 3: lib/httpcore-4.4.9.jar: Permission denied ./run_web.sh: 3: lib/commons-codec-1.10.jar: Permission denied ./run_web.sh: 3: lib/netty-all-4.1.33.Final.jar: Permission denied ./run_web.sh: 3: lib/log4j-1.2.17.jar: Permission denied ./run_web.sh: 3: lib/commons-lang-2.6.jar: Permission denied ./run_web.sh: 3: lib/spring-security-crypto-5.7.3.jar: Permission denied ./run_web.sh: 3: lib/bcprov-jdk15on-1.70.jar: Permission denied ./run_web.sh: 3: lib/chesslib-1.1.1.jar: Permission denied ./run_web.sh: 3: lib/activation-1.1.jar: Permission denied ./run_web.sh: 3: lib/maxmind-db-1.2.2.jar: Permission denied ./run_web.sh: 3: lib/jackson-databind-2.9.5.jar: Permission denied ./run_web.sh: 3: lib/jackson-core-2.9.5.jar: Permission denied ./run_web.sh: 3: lib/jackson-annotations-2.9.5.jar: Permission denied Error: Unable to initialize main class org.alexdev.http.HavanaWeb Caused by: java.lang.NoClassDefFoundError: org/alexdev/havana/util/config/writer/ConfigWriter

tobichenx3 avatar May 19 '25 10:05 tobichenx3

You need to run chmod +x on those files.

Quackster avatar May 20 '25 11:05 Quackster

./run_web.sh ./run_web.sh: 3: lib/pebble-3.1.5.jar: Exec format error ./run_web.sh: 3: lib/Havana-Server.jar: Exec format error ./run_web.sh: 3: lib/HikariCP-3.4.1.jar: Exec format error ./run_web.sh: 3: lib/mariadb-java-client-2.3.0.jar: Exec format error ./run_web.sh: 3: lib/commons-configuration2-2.2.jar: Exec format error ./run_web.sh: 3: lib/commons-text-1.5.jar: Exec format error ./run_web.sh: 3: lib/commons-io-2.5.jar: Exec format error ./run_web.sh: 3: lib/commons-validator-1.6.jar: Exec format error ./run_web.sh: 3: lib/geoip2-2.12.0.jar: Exec format error ./run_web.sh: 3: lib/httpclient-4.5.5.jar: Exec format error ./run_web.sh: 3: lib/duckHTTPD-all.jar: Exec format error ./run_web.sh: 3: lib/slf4j-log4j12-1.7.25.jar: Exec format error ./run_web.sh: 3: lib/gson-2.8.0.jar: Exec format error ./run_web.sh: 3: lib/mail-1.4.7.jar: Exec format error ./run_web.sh: 3: lib/unbescape-1.1.6.RELEASE.jar: Exec format error ./run_web.sh: 3: lib/slf4j-api-1.7.25.jar: Exec format error ./run_web.sh: 3: lib/commons-lang3-3.9.jar: Exec format error ./run_web.sh: 3: lib/commons-beanutils-1.9.2.jar: Exec format error ./run_web.sh: 3: lib/commons-logging-1.2.jar: Exec format error ./run_web.sh: 3: lib/commons-digester-1.8.1.jar: Exec format error ./run_web.sh: 3: lib/commons-collections-3.2.2.jar: Exec format error ./run_web.sh: 3: lib/httpcore-4.4.9.jar: Exec format error ./run_web.sh: 3: lib/commons-codec-1.10.jar: Permission denied ./run_web.sh: 3: lib/netty-all-4.1.33.Final.jar: Exec format error ./run_web.sh: 3: lib/log4j-1.2.17.jar: Exec format error ./run_web.sh: 3: lib/commons-lang-2.6.jar: Exec format error ./run_web.sh: 3: lib/spring-security-crypto-5.7.3.jar: Exec format error ./run_web.sh: 3: lib/bcprov-jdk15on-1.70.jar: Exec format error ./run_web.sh: 3: lib/chesslib-1.1.1.jar: Exec format error ./run_web.sh: 3: lib/activation-1.1.jar: Exec format error ./run_web.sh: 3: lib/maxmind-db-1.2.2.jar: Exec format error ./run_web.sh: 3: lib/jackson-databind-2.9.5.jar: Exec format error ./run_web.sh: 3: lib/jackson-core-2.9.5.jar: Exec format error ./run_web.sh: 3: lib/jackson-annotations-2.9.5.jar: Exec format error Error: Unable to initialize main class org.alexdev.http.HavanaWeb

tobichenx3 avatar May 20 '25 12:05 tobichenx3