K
K
Kolya Babochkin2015-08-18 11:09:50
linux
Kolya Babochkin, 2015-08-18 11:09:50

Why doesn't dklab_realplexor start?

I have a problem with the installation.
I install according to the manual from here , everything is installed, and there is not a single error. except in the last command
service dklab_realplexor start
The console response is "FAILED: /etc/dklab_realplexor.conf; see logs"
But there are no /var/log/messages and /var/log/syslog log files either.
Found the same problem but didn't help. already tried everything. Can you suggest what could be wrong?
the configuration file was taken from the github, with a change in SU_USER, and was played with ip. suddenly missed something.

%CONFIG = (
    SU_USER => "root",

    WAIT_TIMEOUT => 300,
    WAIT_MAXLEN => 5120,
    WAIT_ADDR => [
        '0.0.0.0:8088',
    ],

    IN_TIMEOUT => 20,
    IN_MAXLEN => 1024 * 200,
    IN_ADDR => [
        '127.0.0.1:10010'
    ],

    ID_BINDINGS_SERVERS => [
        '127.0.0.1:11211'
    ],

    ID_BINDINGS_SERVER_NAME => "default",

    EVENT_CHAIN_LEN => 1000,

    HOOK_CHECK_VISIBILITY => undef,

    OFFLINE_TIMEOUT => 30,

    MAX_DATA_FOR_ID => 30,

    CLEAN_ID_AFTER => 3600,

    CHARSET => "utf-8",

    USERS_FILE => "/dklab_realplexor.htpasswd",

    IFRAME_FILE => "/dklab_realplexor.html",

    IFRAME_ID => "IFRAME",

    SCRIPT_FILE => "/dklab_realplexor.js",

    SCRIPT_ID => "SCRIPT",

    IDENTIFIER => "identifier",

    JS_MAX_BOUNCES => 10,

    JS_WAIT_RECONNECT_DELAY => 0.01,

    JS_WAIT_URI => '/',

    JS_DEBUG => 1,

    # Debug output verbosity (decrease to speedup):
    # 0: totally silent, fastest mode
    # 1: show messages only, without timestamps
    # 2: show messages only, with timestamps
    # 3: show messages, timestamps and storage statistics
    VERBOSITY => 0,

    # If a realplexor daemon consumes more memory than specified here,
    # it is cruelly restarted. Specify 0 to disable restarting.
    MAX_MEM_MB => 0,
);

return 1;

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
XeuRun, 2015-08-19
@XeuRun

Try executing ./dklab_realplexor.pl from the dklab_realplexor directory, exit to the console and it will be a log, ports may be busy.

K
Kolya Babochkin, 2015-08-19
@ArtemichRulit

here is the response of the ./dklab_realplexor.pl command from the dklab_realplexor directory

Error: EV library is not found in your system:
http://search.cpan.org/~mlehmann/EV-3.9/EV.pm
You must install EV, e.g.:
# yum install gcc
# perl -MCPAN -e "install EV"
  - or -
# apt-get install gcc
# perl -MCPAN -e "install EV"

gcc installation completed successfully. version 4.4.7
when running the command perl -MCPAN -e "install EV" the following was displayed:
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.

registered such a command, yum install perl-CPAN
installation ended successfully.
now I can run perl -MCPAN -e "install EV"
but something goes wrong. here are the last lines.
CPAN: File::Temp loaded ok (v0.22)

  CPAN.pm: Going to build M/ML/MLEHMANN/EV-4.21.tar.gz

Can't locate Canary/Stability.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
  MLEHMANN/EV-4.21.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Could not read '/root/.cpan/build/EV-4.21-UQ95JY/META.yml'. Falling back to other methods to determine prerequisites

tell. what could be wrong?
The question is removed. In a couple of hours I figured out node.js, socket.io and elephanr.io. and implemented almost all the necessary functionality regarding server-client data exchange

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question