i successfully tokyo tyrant and tokyo cabinet now i have to start the tokyo tyrant server when i run the command
./ttservctl start
instead of starting the server it is giving me error and the output is
ritesh@ritesh-desktop:~/tokyotyrant-1.1.33$ sudo ./ttservctl start
Starting the server of Tokyo Tyrant
Executing: ttserver -port 1978 -dmn -pid /var/ttserver/pid
./ttservctl: 76: ./ttservctl: ttserver: not found
The server could not started
how to resolve this error i am new to tokyo tyrant please guideline!!
ttservctlis the shell script used to start/stop/restart the Tokyo Tyrant server (a.k.a startup script). This startup script is just a wrapper around thettservercommand-line tool.Your problem here is that your shell cannot find the
ttservertool which is certainly not in your$PATH.It sounds as if:
./ttservctl./configure && make)You should re-build it and run
make install: by default it will be installed under/usr/localbut you can change this at configure time via the--prefix=/path/to/destoption.Once done just hit
ttservctl startwithout the./and it should work.