help problem Hostin server

Started by Luis_Labarca, Oct 15, 2022, 03:09 AM

Previous topic - Next topic

Luis_Labarca

 hosting Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64)


how to solve this error and check the name of the plugins and they are the same as in the .cfg configuration?


Console


Vice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: squirrel04rel64

Loaded plugin: xmlconf04rel64

Loaded plugin: announce04rel64

Loaded plugin: sockets04rel64

Loaded plugin: hashing04rel64

Loaded plugin: sqlite04rel64

.so: cannot open shared object file: No such file or directory
Failed to load plugin: mysql04rel64

[WEAPONS] No custom weapons to load.
[VEHICLEMODELS] No custom vehicle models to load.
** Started VC:MP 0.4 Server **
 Port: 8194
 Max players: 100


[MODULE] Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
'WARNING] Could not load script 'scripts/main.nut
[WARNING] cannot open the file
[ERROR] No Squirrel gamemode was specified.
[MODULE] Loaded server.conf Loader for 0.4 by Stormeus
[MODULE]    >> Loaded server.conf for parsing
[MODULE]    >> Applied settings
[WARNING] Please define a colour for your class. (See docs)
[MODULE]    >> Loaded classes
[WARNING] Please define a world for your vehicle. (See docs)
[MODULE]    >> Loaded vehicles
[MODULE]    >> Loaded pickups
[MODULE] Loaded server.conf successfully
announcer: Ready to announce to masterlist(s)

[MODULE] Loaded sq_sockets for VC:MP by the LU Dev Team (ported by Stormeus).

[MODULE] Loaded SQLite3 for VC:MP by Stormeus.



I tried giving permission 0777 to them and nothing does not work
if i remove plugin: squirrel04rel64 from .cfg
it says that the announce04rel64 plugin has the same error


what is the problem


winSCP images
1

2

https://ibb.co/5Lzf4Qt
3

https://ibb.co/tBMtBHq
4

https://ibb.co/8850Wvh
5

https://ibb.co/gRyWKb0




My server RP
IP: 51.222.28.159:8194

DizzasTeR

Change line endings to UNIX when uploading to your host (Search about it, its easy to do)

Luis_Labarca

Quote from: DizzasTeR on Oct 16, 2022, 06:37 AMChange line endings to UNIX when uploading to your host (Search about it, its easy to do)
thanks bro but could you give me the example I don't understand much
My server RP
IP: 51.222.28.159:8194

gta5

#3
sudo apt-get install dos2unix

then run dos2unix on whatever files are not loading

for example

dos2unix -b main.nut

After everything is working, use notepad++ on your windows PC instead of regular notepad. It will preserve the files in UNIX.

Luis_Labarca

Quote from: gta5 on Oct 20, 2022, 12:14 PMsudo apt-get install dos2unix

then run dos2unix on whatever files are not loading

for example

dos2unix -b main.nut

After everything is working, use notepad++ on your windows PC instead of regular notepad. It will preserve the files in UNIX.

I place the complete server of sebby in my hosting and the error of -- .so: cannot open shared object file: No such file or directory
Failed to load plugin: squirrel04rel64
and if I remove the plugin squirrel04rel64 it says that it is the  announce04rel64

usage cmd sudo apt-get install dos2unix

I enter password and I get this error

vcrpcom is not in the sudoers file.  This incident will be reported.


what am I doing wrong friend?

link server seby usage - https://forum.vc-mp.org/?topic=33.0
My server RP
IP: 51.222.28.159:8194

Luis_Labarca

solution >:(

 If anybody having the problem, install Notepad++.
Then go to
Edit->EOL Conversion->Unix(LF)

This will make the script work on Linux systems.
My server RP
IP: 51.222.28.159:8194