[DiscordArchive] I've tried finding it (that's what the pwd was for in the .sh) but no luck. Any advice?
[DiscordArchive] I've tried finding it (that's what the pwd was for in the .sh) but no luck. Any advice?
Archived author: Uthon • Posted: 2024-02-26T00:04:31.696000+00:00
Original source
I've tried finding it (that's what the pwd was for in the .sh) but no luck. Any advice?
Archived author: Uthon • Posted: 2024-02-26T00:07:04.924000+00:00
Original source
Closest log I have found so far is logs/Server.log:
```root@db:/home/azerothcore/logs# cat Server.log
AzerothCore rev. 30700b5eb5a8 2024-02-23 09:52:14 +0000 (master branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon)
<Ctrl-C> to stop.
█████╗ ███████╗███████╗██████╗ ██████╗ ████████╗██╗ ██╗
██╔══██╗╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║
███████║ ███╔╝ █████╗ ██████╔╝██║ ██║ ██║ ███████║
██╔══██║ ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ ██║ ██╔══██║
██║ ██║███████╗███████╗██║ ██║╚██████╔╝ ██║ ██║ ██║
╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔═══██╗██╔══██╗██╔════╝
██║ ██║ ██║██████╔╝█████╗
██║ ██║ ██║██╔══██╗██╔══╝
╚██████╗╚██████╔╝██║ ██║███████╗
╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
AzerothCore 3.3.5a - www.azerothcore.org
> Using configuration file /home/azerothcore/etc/worldserver.conf
> Using SSL version: OpenSSL 3.0.2 15 Mar 2022 (library: OpenSSL 3.0.2 15 Mar 2022)
> Using Boost version: 1.74.0
Can't set process priority class, error: Permission denied
Initializing Scripts...
> Loading C++ scripts
Opening DatabasePool 'acore_auth'. Asynchronous connections: 1, synchronous connections: 1.
DatabasePool 'acore_auth' opened successfully. 2 total connections running.
Opening DatabasePool 'acore_characters'. Asynchronous connections: 1, synchronous connections: 2.
DatabasePool 'acore_characters' opened successfully. 3 total connections running.
Opening DatabasePool 'acore_world'. Asynchronous connections: 1, synchronous connections: 1.
DatabasePool 'acore_world' opened successfully. 2 total connections running.
Updating Auth database...
```
Archived author: Foe • Posted: 2024-02-26T00:07:24.282000+00:00
Original source
Can't set process priority class, error: Permission denied
Archived author: Foe • Posted: 2024-02-26T00:07:45.998000+00:00
Original source
Whatever way you are running it as a service doesn't have proper permissions
Archived author: Uthon • Posted: 2024-02-26T00:08:05.467000+00:00
Original source
I'm new to this, I will google that. Thank you.
Archived author: Uthon • Posted: 2024-02-26T00:10:10.131000+00:00
Original source
Does the user account running the servers need to have some sort of superuser access? Right now it is a normal user, and both auth and world are segfaulting. Above, it was a system user account (no login), auth ran but world segfaulted. I'm not sure what my next option is there.
Archived author: Uthon • Posted: 2024-02-26T00:13:02.117000+00:00
Original source
I've made no modifications to anything, this is what came from git.
Archived author: Uthon • Posted: 2024-02-26T00:24:14.905000+00:00
Original source
I solved the problem by elevating the service levels to User=root and Group=root for both auth and world. No more segfaults.
Archived author: Natrist • Posted: 2024-02-26T00:39:51.953000+00:00
Original source
Glad you got it figured out.
Archived author: Revision • Posted: 2024-02-26T03:23:00.845000+00:00
Original source
I've never heard of `Can't set process priority class, error: Permission denied` causing segmentation fault. Mine says that every startup and it has no issues. Something else was causing those crashes.