-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 02/10/14 14:05, Tim Brown wrote:
> When I type in the command '/etc/init.d/rippled start' I get
> '/etc/init.d/rippled command not found'
In your earlier e-mails, you did not say that you installed the
rippled initscript, either the one found in rippled/doc/ or the one on
the
https://ripple.com/wiki/Rippled_Server_Setup page. It has to be
done manually; copying the rippled binary into /usr/local/sbin isn't
enough.
> When I say 'rippled directory', I mean the rippled folder that was
> created when I downloaded the source code for the ripple build.
> I'll try to be as clear as possible on what I've done to now so
> maybe you can figure out at which point I've gone wrong.
Thank you very much. It helps to orient in the discussion.
You do not necessarily have to set up a private server (though we
appreciate it if you do!). I would recommend starting with a basic
node first, getting used to it, and then growing it later.
> should be followed first. Now here it tells you to create a public
> directory. I already have a public directory on linux, so I assumed
> this meant create a public directory in the 'rippled' directory
> that I have from downloading the Rippled build. I followed the rest
> of the steps on that page and saved the rippled.cfg file that I
> edited with gedit (with the adjustments instructed on that page) to
> the new 'public' directory that I have created within my 'rippled'
> directory.
That page seems sufficiently out of date that the [node_db] bit has
been the default in rippled-example.cfg for several releases running.
I don't know if your use case (or current storage capacity) are
sufficient to maintain a full mirror of the public ledger. If that is
your goal, we thank you for it but it may be wise to start smaller and
build up to what you need.
> Then I went onto the previous page and followed the instructions
> under 'deployment process'. I followed all the instructions and as
> you said, I saved the init script to /etc/init.d.
When you ran sysv-rc-conf, did it report that it successfully
installed the initscript? Did you run that command under sudo,
because those directories are owned by the root user?
> When I try to start ripple with the given command, I get the error
> stated at the start of the post.
There are a couple of possible reasons: The initscript might not be in
/etc/init.d (say, if you were trying to create it in there while not
root), it's not executable, or rippled is not in /usr/local/sbin.
There is one other possibility: If you look at the initscript, it
contains the following line:
DAEMON_OPTS="--conf /etc/ripple/rippled.cfg"
That tells rippled where to find its configuration file; in this case,
in the directory /etc/ripple.
sudo mkdir -p /etc/ripple
sudo cp doc/rippled-example.cfg /etc/ripple/rippled.cfg
> Personally, I'm not sure where the instructions for the creation of
> a public folder come into the equation. It's probably that I'm new
> to
Ubuntu
That would pose a problem.
> I'm having problems following the instructions, but can't quite
> figure out at which point I've gone wrong.
We'll get it sorted out..
- --
Bryce
Integration Security Engineer, Ripple Labs
PGP: 0xA4364248 / A177 A590 2869 32AC E2E1 946A FAD8 98D6 A436 4248
"We see in order to move; we move in order to see."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBCgAGBQJS+WHsAAoJEPrYmNakNkJIUkoP/3TTMTvcfvVJUDuTQJ21KTh6
Eds4O/DYv3rJLHWtOrSmNH4C1tKCAp2z/ledKCu98jiMf28J2TqbEFt/c2rSD4Zi
/ZFZyjUkLrsqU753qS7xg/Vh5AheAj6FTHwOUibBN9hJxM1rwWOyzm9NdQvhOMnH
nRg5byMpo/Kt2PUgiHSbdUzFNVoX8HYRNPs7fYM7KFKJp81SsZiS9G9RThsd1qpH
iePBb8V1V+cZSH+/Nzv4d398o4nAvNZzXvJ7RIPKwFne9hYBbBbjzMigrOxqemz8
k6pwVMTN5ezq1KCvXVnZ2EPLJ5G1ZLFfQZykB7OpC2u45dl8sZbr6TcVJj+vfACL
U8qYa+0jswI30Y8RSldbGLB/w5KSiePHqh2kkAVMIFpSB2RX8HqMwksl64H+BMAy
RBqXP/QmLcZ+TCJ5j4rA9QWS1puG0XJ64a8gse+B3P161VJcSXKcLdRpnLhMgVe/
kcViVPlXwLqG4pLhKVJmvHeFY0qCbxLKjzmtyg4QFY2W86Q/p/1TxItHW3LUgNBB
CFA92Pn1+LM0v4JbERoBAxTx57lC9C+mQ7qeZLez+rJ8T6B3wss3m4+2YpTpEo+O
CLerfSvCFidZFRZUzOdHlibe1y2PNat03ev4I8u6Fs5BH0J04HouRl91+u37Z8VD
aOSyHaBp+XtBpqR3Alvp
=lbqf
-----END PGP SIGNATURE-----