Server does not read from minetest.conf file

whtemple1959
New member
 
Posts: 8
Joined: Sun Mar 01, 2015 19:56

Server does not read from minetest.conf file

by whtemple1959 » Tue Oct 27, 2015 07:01

I am having a confusing time developing a home server/client environment and need some advice.
To start, the equipment is all old and at this point maybe even laughable but it is for my 6 year old son and his friends.
All units are running some version of Debian 8
The server:
Additional apps other than basic Debian:
ssh server
nfs server

I try really hard to work from the terminal but some times I just need to use a gui file manager.
lxde with no ldm
tightvnc server

System Information
Manufacturer: Gateway
Product Name: W3644
Processor Information
Socket Designation: Socket AM2
Type: Central Processor
Family: 80486
Manufacturer: AMD
Version: AMD Sempron(tm) Processor LE-1200
Physical Memory Array
Memory Device
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Type: DDR2
Memory Device
Data Width: 64 bits
Size: 512 MB
Form Factor: DIMM
Type: DDR2
Type Detail: None

Client #1:
System Information
Manufacturer: Dell Inc.
Product Name: OptiPlex 755
Processor Information
Socket Designation: CPU
Type: Central Processor
Family: Core 2 Duo
Manufacturer: Intel
Physical Memory Array
Memory Device
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Type: DDR2
Memory Device
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Type: DDR2

Client #2
System Information
Manufacturer: Dell Inc.
Product Name: OptiPlex 745
Processor Information
Socket Designation: Microprocessor
Type: Central Processor
Family: Core 2
Manufacturer: Intel
64-bit capable
Physical Memory Array
Memory Device
Data Width: 64 bits
Size: 1024 MB
Form Factor: DIMM
Type: DDR

I am not sure what will be needed so I will provide what I believe to be pertinent.
I start the server with the command:
./minetestserver --config /root/.minetest/minetest.conf --info
Minetest Server:
path_share = /usr/share/games/minetest
path_user = /root/.minetest
SER_FMT_VER_HIGHEST_READS = 26
VER = 0.4.10
BUILD_TYPE = Release
RUN_IN_PLACE = 0
USE_CURL = 1
USE_LUAJIT = 1
STATIC_SHAREDIR = /usr/share/games/minetest
- world: /root/.minetest/worlds/world
- game: /usr/share/games/minetest/games/minetest_game

Then the server loads the various mods
Then:
ServerMap: Successfully loaded at...
Starting servser on 0.0.0.0...
Server for gameid = “minetest” listening on 0.0.0.0:3000
ServerMap: SQLite3 database opened

This is my problem I have loaded VanessaE's texture pack to:
/usr/share/games/minetest/textures/base/all
I have added this path to the minetest.conf

Furthermore, I have stated in the minetest.conf file :
Enable creative mode
Give initial stuff too
Privileges of flying, settime, and teleporting

What 6 year old wants to get eaten by a shark?
What 6 year old does not want to fly?

Unfortunately the game executing process does not seem to read the minetest.conf file because there are no privileges, or tools. And I am missing my Craftsman screwdriver.

Any advice will be much appreciated.

And, as a side note I used apt-get to install both minetes-server and minetest so I do not understand why version 0.4.10 was installed. I am curious if an upgrade would resolve my problem?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Server does not read from minetest.conf file

by rubenwardy » Tue Oct 27, 2015 12:59

I'm not sure, but to get texturepacks to work on servers, you need to call them "server". The folder name.
 

whtemple1959
New member
 
Posts: 8
Joined: Sun Mar 01, 2015 19:56

Re: Server does not read from minetest.conf file

by whtemple1959 » Tue Oct 27, 2015 16:07

Rubenwardy: Thank you for that bit of knowledge. But, do you have any advice on why minetest-server is not reading the conf file in the first place?
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Server does not read from minetest.conf file

by kaadmy » Tue Oct 27, 2015 17:18

Say [i]--config <path-to-minetest.conf>[i] on the command line.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Server does not read from minetest.conf file

by rubenwardy » Tue Oct 27, 2015 17:20

whtemple1959 wrote:./minetestserver --config /root/.minetest/minetest.conf --info


Are you sure it's /root? Not /home/root/.minetest/minetest.conf
 

Dartmouth
Member
 
Posts: 121
Joined: Sat Dec 06, 2014 14:39
IRC: pilino1234

Re: Server does not read from minetest.conf file

by Dartmouth » Tue Oct 27, 2015 18:31

rubenwardy wrote:
whtemple1959 wrote:./minetestserver --config /root/.minetest/minetest.conf --info


Are you sure it's /root? Not /home/root/.minetest/minetest.conf

Home directory of root user is /root, not /home/root, so that looks alright.
@whtemple1959 Why are you running minetestserver as root though? I'd recommend creating a new user mt (or similar), without system privileges to run the server with.
 

whtemple1959
New member
 
Posts: 8
Joined: Sun Mar 01, 2015 19:56

Re: Server does not read from minetest.conf file

by whtemple1959 » Wed Oct 28, 2015 15:46

Dartmouth: I piggybacked the server on an openmediavault NFS server which did not "invite" me to create a user at installation and since it is a closed system I did not contemplate the need for a user. But, since your post I did create a user "creator" and even logging in as that user... cd /usr/games <enter> ./minetestserver --config /home/creator/.minetest/minetest.conf <enter> still starts a game without reading the conf file.
Rubenwardy: I do not know if it is my chubby fingers or my keyboard but I do tend to transpose a lot of letters while typing so I usually have to re read every terminal command twice before committing.

I am but a humble bookkeeper but I do love learning the enigmatic intricacies of Linux but this one has me tugging at my hair...
 

User avatar
JohnnyComeL8ly
New member
 
Posts: 7
Joined: Sat Oct 31, 2015 23:11
GitHub: JohnnyComeL8ly
IRC: JohnnyComeL8ly
In-game: JohnnyComeL8ly

Re: Server does not read from minetest.conf file

by JohnnyComeL8ly » Wed Nov 04, 2015 01:34

Hello again, whtemple. Do you have your minetest.conf in /home/creator/.minetest/minetest.conf ? The only reason I ask, is because that might have been overlooked so far... (I've made that same type of mistake before).
 

User avatar
JohnnyComeL8ly
New member
 
Posts: 7
Joined: Sat Oct 31, 2015 23:11
GitHub: JohnnyComeL8ly
IRC: JohnnyComeL8ly
In-game: JohnnyComeL8ly

Re: Server does not read from minetest.conf file

by JohnnyComeL8ly » Wed Nov 04, 2015 03:15

Another thing, with rubenwardy's help, I've figured out that &> grabs both stdout and stderr.

So, your terminal prompt might look like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
creator@yourhostname:~$ /usr/games/minetestserver --verbose --config /home/creator/.minetest/minetest.conf &> mtdebug.txt

I just put the --config bit in there to see if it says "Sorry, can't find file specified...." or something like that.
 

whtemple1959
New member
 
Posts: 8
Joined: Sun Mar 01, 2015 19:56

Re: Server does not read from minetest.conf file

by whtemple1959 » Wed Nov 04, 2015 16:46

JohnnyComeL8ly: in response to your suggestion...http://paste.ubuntu.com/13102681/
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Server does not read from minetest.conf file

by kaadmy » Wed Nov 04, 2015 16:54

Does the user creator exist, or did you just replace your name with creator in the pastebin?
Never paint white stripes on roads near Zebra crossings.
 

whtemple1959
New member
 
Posts: 8
Joined: Sun Mar 01, 2015 19:56

Re: Server does not read from minetest.conf file

by whtemple1959 » Wed Nov 04, 2015 18:31

JohnnyComeL8ly: to start the game I use the command /usr/games/minetestserver (space) --config (space) /home/creator/.minetest/minetest.conf

to start the game and get the mtdebug.txt file I use the command /usr/games/minetestserver (space) --verbose (space) --config (space) /home/creator/.minetest/minetest.conf (space) &> (space) /home/creator/mtdebug.txt
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Server does not read from minetest.conf file

by kaadmy » Wed Nov 04, 2015 22:48

You can also do
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
/usr/games/minetestserver --verbose --config /home/creator/.minetest/minetest.conf --logfile /home/creator/mtdebug.txt
Never paint white stripes on roads near Zebra crossings.
 

User avatar
JohnnyComeL8ly
New member
 
Posts: 7
Joined: Sat Oct 31, 2015 23:11
GitHub: JohnnyComeL8ly
IRC: JohnnyComeL8ly
In-game: JohnnyComeL8ly

Re: Server does not read from minetest.conf file

by JohnnyComeL8ly » Thu Nov 05, 2015 03:16

You are able to connect to the server right? If so, what is it you can't do in-game? Can all the user names be used? Is there a reason for your minetest.conf being so long? (Especially the "keymap" section, that looks like it's the default settings.)
whtemple's auth.txt
whtemple's minetest.conf
 


Return to Minetest Servers

Who is online

Users browsing this forum: No registered users and 94 guests

cron