Error Trying to Build DIRTSAND Server
Re: Error Trying to Build DIRTSAND Server
Found all the Libs except for the PostgreSQL development packages unless you mean the cross-distribution packages. If you want to see what I mean go to postgresql.org/download/linux/ubuntu/. The only other thing I found is the Ubuntu PPA (what ever that means) on the same page.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
- Lyrositor
- Director of Wiki Operations
- Posts: 208
- Joined: Tue Feb 07, 2012 6:05 pm
- MOULa KI#: 6940115
- Contact:
Re: Error Trying to Build DIRTSAND Server
Everything can be done through apt-get. If you read that page well, they give you the required packages: "libpq-dev"
Lyrositor
Explorer #16601888
Explorer #16601888
Re: Error Trying to Build DIRTSAND Server
OK, installed all the items on that page. tried downloading and installing LibReadLine, ZLib, and OpenSLL, but apt-get can't find them.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
- Lyrositor
- Director of Wiki Operations
- Posts: 208
- Joined: Tue Feb 07, 2012 6:05 pm
- MOULa KI#: 6940115
- Contact:
Re: Error Trying to Build DIRTSAND Server
OpenSSL should be libssl-dev IIRC.
libreadline should be libreadline-dev
zlib is probably zlib1g-dev
libreadline should be libreadline-dev
zlib is probably zlib1g-dev
Lyrositor
Explorer #16601888
Explorer #16601888
Re: Error Trying to Build DIRTSAND Server
Currently stuck after getting so far tonight. Got up to
DIRTSAND is configured from a dirtsand.ini file placed in the execution directory for DIRTSAND. It needs to be adjusted to connect to your database, to have all the appropriate RC4 keys, which DIRTSAND can automatically generate for you:
bin/dirtsand
ds-902> keygen new
ds-902> quit
And since it said DIRTSAND can automatically generate this, I proceeded with:
sudo cp dirtsand.sample.ini /opt/dirtsand/dirtsand.ini
sudo chown dirtsand /opt/dirtsand/dirtsand.ini
su - dirtsand
first 2 statements worked, but the "su" command says:
su: Authentication failure
Tried my password 4 times, checked the password used in:
template1=# CREATE USER dirtsand WITH PASSWORD '<password>';
Caps Lock is off. No idea.
DIRTSAND is configured from a dirtsand.ini file placed in the execution directory for DIRTSAND. It needs to be adjusted to connect to your database, to have all the appropriate RC4 keys, which DIRTSAND can automatically generate for you:
bin/dirtsand
ds-902> keygen new
ds-902> quit
And since it said DIRTSAND can automatically generate this, I proceeded with:
sudo cp dirtsand.sample.ini /opt/dirtsand/dirtsand.ini
sudo chown dirtsand /opt/dirtsand/dirtsand.ini
su - dirtsand
first 2 statements worked, but the "su" command says:
su: Authentication failure
Tried my password 4 times, checked the password used in:
template1=# CREATE USER dirtsand WITH PASSWORD '<password>';
Caps Lock is off. No idea.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Re: Error Trying to Build DIRTSAND Server
You're confused about two different types of users. The computer has users and the database has users. The "Create user" command you mention, happened in the psql prompt and thus on the database not on the computer.
I'm looking at the github readme ( not sure which one you are using) but the password you want is the one you entered when you did
What I usually do, is run the dirtsand "keygen new" file as described, and copy them over to the "dirtsand.ini" file with a text editor.Also I enter the password for the database in the file.
I'm looking at the github readme ( not sure which one you are using) but the password you want is the one you entered when you did
If you did that1) Create a user and path for the DIRTSAND server to run from
(OPTIONAL, but recommended).
$ sudo useradd dirtsand -d /opt/dirtsand -m -p <password> -s /bin/bash
What I usually do, is run the dirtsand "keygen new" file as described, and copy them over to the "dirtsand.ini" file with a text editor.Also I enter the password for the database in the file.
Code: Select all
long longestTimeWithoutPlayingMoula = (new Date()) - (new Date(2014, 9, 26));
Re: Error Trying to Build DIRTSAND Server
I have been using http://www.guildofwriters.org/wiki/DIRT ... ng_Started from the GoW Wiki. Are you referring to the command:
sudo useradd dirtsand -d /opt/dirtsand -m -p <password> -s /bin/bash
If so, I used that same password when prompted on the command:
su - dirtsand
Edit: Better yet, forget it. Too much work to starting thinking about the impending aggravation of actually decyphering the python code, making changes and trying to build something new.
sudo useradd dirtsand -d /opt/dirtsand -m -p <password> -s /bin/bash
If so, I used that same password when prompted on the command:
su - dirtsand
Edit: Better yet, forget it. Too much work to starting thinking about the impending aggravation of actually decyphering the python code, making changes and trying to build something new.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Re: Error Trying to Build DIRTSAND Server
After much thought and considering how close I am to finishing the server install, I decided to try again. I decided to wipe the hard drive to get a clean install. when I use the command:
bin/dirtsand
I get 2 errors:
[Game] Error reading age descriptors: no such file or directory
Error connecting to postgres: fe_sendauth: no password supplied
Any ideas?
bin/dirtsand
I get 2 errors:
[Game] Error reading age descriptors: no such file or directory
Error connecting to postgres: fe_sendauth: no password supplied
Any ideas?
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
- Lyrositor
- Director of Wiki Operations
- Posts: 208
- Joined: Tue Feb 07, 2012 6:05 pm
- MOULa KI#: 6940115
- Contact:
Re: Error Trying to Build DIRTSAND Server
You need to provide the configuration file when you type bin/dirtsand (like bin/dirtsand dirtsand.ini).
Lyrositor
Explorer #16601888
Explorer #16601888
Re: Error Trying to Build DIRTSAND Server
OK, how do I use a file the instructions haven't created yet. The command:
bin/dirtsand
comes before the creation command:
sudo cp dirtsand.sample.ini /opt/dirtsand/dirtsand.ini
bin/dirtsand
comes before the creation command:
sudo cp dirtsand.sample.ini /opt/dirtsand/dirtsand.ini
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
Have you even TRIED to set up a client and server? THAT takes ages. -PeterC