SP not loading on my Linux server

All other Source.Python topics and issues.
User avatar
La Muerte
Administrator
Posts: 180
Joined: Sun Jul 15, 2012 1:48 pm
Location: Belgium
Contact:

SP not loading on my Linux server

Postby La Muerte » Sun Feb 28, 2016 5:39 pm

Hello,

I've noticed that using the latest version of SP seems to be causing crashes (also with clean install) at server launch on CS:GO on a Linux server (centos 6).

Console.log:
[Source.Python] Loading...
[Source.Python] Failed to load the main module.
[Source.Python] Could not initialize python.
Failed to load plugin "addons/source-python"
[Source.Python] Unloading...
[Source.Python] Failed to unload the main module.
[Source.Python] Unloaded successfully.


After installing an earlier version of SP, which I still had on my computer (5 days old as of today), the server starts just fine without any issues or errors.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Sun Feb 28, 2016 6:13 pm

Can you set "developer" (command line argument) to 1 and "sp_logging_level" (core_settings.ini) to 5?

I will also test this as soon as my Linux VM is running and updated again.
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Sun Feb 28, 2016 10:31 pm

Also, are you certain your server is up to date? My Windows server crashed after I updated it until I also updated my SP version.
Image
User avatar
La Muerte
Administrator
Posts: 180
Joined: Sun Jul 15, 2012 1:48 pm
Location: Belgium
Contact:

Postby La Muerte » Mon Feb 29, 2016 3:13 pm

Sorry for the late reply,

I've been trying to reproduce this issue on a second gameserver but seem to be unable to (even though its hosted on the same virtual machine).
However I just noticed the issue still happens on my initial gameserver which is running latest version of cs:go and latest sp build (Build #265).

Plugins: found file "source-python.vdf"
[Source.Python] Loading...
[Source.Python] Connecting interfaces...
[Source.Python] Retrieving engine interfaces...
[Source.Python] Interface VEngineServer023 at 15fc3c0
[Source.Python] Interface GAMEEVENTSMANAGER002 at 163fbe0
[Source.Python] Interface ISERVERPLUGINHELPERS001 at 167dc20
[Source.Python] Interface EngineTraceServer004 at 163f7e0
[Source.Python] Interface IEngineSoundServer003 at 163f4e8
[Source.Python] Interface VEngineRandom001 at 15fc0d0
[Source.Python] Interface VFileSystem017 at 54d980
[Source.Python] Interface VEngineServerStringTable001 at 164d940
[Source.Python] Interface VPhysics031 at 29cdba0
[Source.Python] Interface VPhysicsCollision007 at 29cdce0
[Source.Python] Interface VPhysicsSurfaceProps001 at 29ce2a0
[Source.Python] Interface MDLCache004 at 9290e0
[Source.Python] Interface VoiceServer002 at 15fc3c4
[Source.Python] Retrieving game interfaces...
[Source.Python] Interface PlayerInfoManager002 at 3b30f28
[Source.Python] Interface BotManager001 at 3b30f24
[Source.Python] Interface ServerGameDLL005 at 3c5c0f8
[Source.Python] Interface VSERVERTOOLS001 at 3b0d904
[Source.Python] Retrieving global variables...
[Source.Python] Initializing mathlib...
[Source.Python] Initializing server and say commands...
[Source.Python] Initializing python...
[Source.Python] Python home path set to /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/Python3
[Source.Python] Python version 3.4.1 (default, Sep 3 2014, 21:28:20)
[GCC 4.4.5] initialized!
[Source.Python] Setting sys.argv...
[Source.Python] Adding /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/packages/source-python to path
[Source.Python] Adding /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/Python3/plat-linux to path
[Source.Python] Adding /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/Python3/lib-dynload to path
[Source.Python] Adding /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/packages/site-packages to path
[Source.Python] Adding /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/packages/custom to path
[Source.Python] Adding /home/ogp_agent/OGP_User_Files/48/csgo/addons/source-python/plugins to path
[Source.Python] Initializing _memory module
[Source.Python] Initializing _bitbuffers module
[Source.Python] Initializing _colors module
[Source.Python] Initializing _commands._client module
[Source.Python] Initializing _commands module
[Source.Python] Initializing _commands._say module
[Source.Python] Initializing _commands._server module
[Source.Python] Initializing _cvars module
[Source.Python] Initializing _effects module
[Source.Python] Initializing _effects._base module
[Source.Python] Initializing _effects._constants module
[Source.Python] Initializing _engines module
[Source.Python] Initializing _engines._server module
[Source.Python] Initializing _engines._sound module
[Source.Python] Initializing _engines._trace module
[Source.Python] Initializing _entities._constants module
[Source.Python] Initializing _entities._helpers module
[Source.Python] Initializing _entities module
[Source.Python] Initializing _entities._factories module
[Source.Python] Initializing _entities._datamaps module
[Source.Python] Initializing _entities._props module
[Source.Python] Initializing _entities._entity module
[Source.Python] Initializing _core module
[Source.Python] Initializing _events module
[Source.Python] Initializing _globals module
[Source.Python] Initializing _keyvalues module
[Source.Python] Initializing _listeners module
[Source.Python] Initializing _mathlib module
[Source.Python] Initializing _messages module
[Source.Python] Initializing _net_channel module
[Source.Python] Initializing _players._bots module
[Source.Python] Initializing _players._constants module
[Source.Python] Initializing _players._helpers module
[Source.Python] Initializing _players module
[Source.Python] Initializing _players._voice module
[Source.Python] Initializing _filters._recipients module
[Source.Python] Initializing _steam module
[Source.Python] Initializing _stringtables module
[Source.Python] Initializing _studio module
[Source.Python] Initializing _studio._constants module
[Source.Python] Initializing _studio._cache module
[Source.Python] Initializing _weapons._constants module
[Source.Python] Initializing _weapons._scripts module
[Source.Python] Loading main module...
[Source.Python] Failed to load the main module.
[Source.Python] Could not initialize python.
Failed to load plugin "addons/source-python"
[Source.Python] Unloading...
[Source.Python] Unhooking all functions...
[Source.Python] Shutting down python...
[Source.Python] Unloading main module...
[Source.Python] Failed to unload the main module.
[Source.Python] Clearing all commands...
[Source.Python] Unregistering ConVar...
[Source.Python] Disconnecting interfaces...
[Source.Python] Resetting cache notifier...
[Source.Python] Unloaded successfully.


Perhaps I should just re-install the gameserver entirely?
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Mon Feb 29, 2016 3:50 pm

What about the SP log?
User avatar
La Muerte
Administrator
Posts: 180
Joined: Sun Jul 15, 2012 1:48 pm
Location: Belgium
Contact:

Postby La Muerte » Mon Feb 29, 2016 3:57 pm

sp logs are all empty (0 bytes)

[LOG_SETTINGS]
# Set to the logging level to use for Source.Python.

# To show all messages, set to level 5.
# To show debugging messages, set to at least level 4.
# To show informational messages, set to at least level 3.
# To show warning messages, set to at least level 2.
# To show exception messages, set to at least level 1.
# To show only critical and base messages, set to 0.
level = 5
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Mon Feb 29, 2016 5:39 pm

And what about the logging areas variable? You only show the level, but the areas is very important here, too. Even if you don't have it set to log to the SP logs, the file will still be created.
Image
User avatar
La Muerte
Administrator
Posts: 180
Joined: Sun Jul 15, 2012 1:48 pm
Location: Belgium
Contact:

SP not loading on my Linux server

Postby La Muerte » Mon Feb 29, 2016 7:55 pm

I've now set areas = 15 but the new sp logs are still empty (after restarting server too), I suppose the issue occurs before the logging is initiated.
Although if nobody else is having similar issues, I suppose I should just freshly re-install my gameserver as SP works fully on my other gameserver.

Edit: in fact, all my normal server logs are also showing as empty even though the server is up and running, i have "log on" in the server.cfg.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Postby Ayuto » Mon Feb 29, 2016 8:27 pm

Might be a permission problem?

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 23 guests