Ejabberd start issue. RPC Failed Node Down error [closed] - ejabberd

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Im trying to configure my Ejabberd to run on Ubuntu. I have managed to successfully install the Ejabberd without any problems. When I try to start my server using
ejabberdctl sid#domU-12-31-39-01-7C-F5.compute-1.internal start
I get the following error
RPC failed on the node 'ejabberd#domU-12-31-39-01-7C-F5': nodedown
Im using Ejabberd 2.0.5 and I had a few installation issues earlier where I encountered a 'Post installation script error'. However after uninstalling and re-installing a couple of times I managed to get around it. I've used the installer to do my setup. I'd appreciate any help on how to solve this issue.
My log file shows the following:
This is what the log file says
`=INFO REPORT==== 2010-02-03 07:52:44 ===
I(<0.319.0>:mod_pubsub:155) : pubsub init "domu-12-31-39-01-7c-f5.compute-1.internal" [{access_createnode,
pubsub_createnode},
{plugins,
["default",
"pep"]}]
=INFO REPORT==== 2010-02-03 07:52:44 ===
I(<0.319.0>:mod_pubsub:212) : ** tree plugin is nodetree_default
=INFO REPORT==== 2010-02-03 07:52:44 ===
I(<0.319.0>:mod_pubsub:216) : ** init default plugin
=INFO REPORT==== 2010-02-03 07:52:44 ===
I(<0.319.0>:mod_pubsub:216) : ** init pep plugin
=INFO REPORT==== 2010-02-03 07:52:45 ===
I(<0.319.0>:mod_pubsub:224) : ** terminate default plugin
=INFO REPORT==== 2010-02-03 07:52:45 ===
I(<0.319.0>:mod_pubsub:224) : ** terminate pep plugin

You will get that error if you dont 'sudo' . Use 'sudo ejabberdctl ...'

Related

AWS Elasticbeanstalk command not applicable app_deploy [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have an AWS ElasticBeanstalk with an autoscaler with minimum 2 instancens with rolling update/deploy.
Everytime I change a configuration or do a deploy 1 instance becomes degraded because the app deploy did not work.
In the events section I always get that everything worked successfully.
If I pull the logs I always have the error Ignoring not applicable command.
The only way to solve this is to rebuild the entire environment. But that is not a solution when it will be in use.
Does anyone know what the problem could be here?
Here is a bit more of the log:
2020/11/09 09:07:26.391864 [INFO] Running command /bin/sh -c systemctl show -p ConsistsOf eb-app.target | cut -d= -f2
2020/11/09 09:07:26.396798 [INFO]
2020/11/09 09:07:26.396946 [INFO] Executing instruction: RunAppDeployPostDeployHooks
2020/11/09 09:07:26.396958 [INFO] The dir .platform/hooks/postdeploy/ does not exist in the application. Skipping this step...
2020/11/09 09:07:26.396963 [INFO] Executing cleanup logic
2020/11/09 09:07:26.397053 [INFO] CommandService Response: {"status":"SUCCESS","api_version":"1.0","results":[{"status":"SUCCESS","msg":"Engine execution has succeeded.","returncode":0,"events":[{"msg":"Instance deployment: You didn't include a 'composer.json' file in your source bundle. The deployment didn't install Composer dependencies.","timestamp":1604912843,"severity":"INFO"},{"msg":"Instance deployment completed successfully.","timestamp":1604912846,"severity":"INFO"}]}]}
2020/11/09 09:07:26.397207 [INFO] Platform Engine finished execution on command: app-deploy
2020/11/09 09:07:30.733429 [INFO] Starting...
2020/11/09 09:07:30.733481 [INFO] Starting EBPlatform-PlatformEngine
2020/11/09 09:07:30.733496 [INFO] reading event message file
2020/11/09 09:07:30.733631 [INFO] no eb envtier info file found, skip loading env tier info.
2020/11/09 09:07:30.733698 [INFO] Engine received EB command cfn-hup-exec
2020/11/09 09:07:30.803414 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-west-2:071446605374:stack/awseb-e-8xpbfxci3w-stack/9b3236e0-2266-11eb-848a-02d86b75fc8e -r AWSEBAutoScalingGroup --region eu-west-2
2020/11/09 09:07:31.154319 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:eu-west-2:071446605374:stack/awseb-e-8xpbfxci3w-stack/9b3236e0-2266-11eb-848a-02d86b75fc8e -r AWSEBBeanstalkMetadata --region eu-west-2
2020/11/09 09:07:31.504159 [INFO] checking whether command app-deploy is applicable to this instance...
2020/11/09 09:07:31.504173 [INFO] this command is not applicable to the instance, thus instance shouldn't execute command
2020/11/09 09:07:31.504177 [INFO] skip command app-deploy for this instance...
2020/11/09 09:07:31.504184 [ERROR] Ignoring not applicable command.
2020/11/09 09:07:31.504188 [INFO] Executing cleanup logic
2020/11/09 09:07:31.504237 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Ignoring not applicable command.","returncode":0,"events":[]}]}
2020/11/09 09:07:31.504389 [INFO] Platform Engine finished execution on command: app-deploy
I got the same error message when I added a new entry into container_commands and tried to deploy.
I solved this by setting minimum instances in Capacity configuration to 2 (previously 1). After the new instance was spun, deployment run without problems.

MySQL won't install on Linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm trying to install MySQL for my Ubuntu VM 14.04 X86 64
I'm getting some error messages:
150424 11:40:15 [Warning] Using unique option prefix key_buffer
instead of key_buffer_size is deprecated and will be removed in a
future release. Please use the full name instead. 150424 11:40:15
[Note] /usr/sbin/mysqld (mysqld 5.5.43-0ubuntu0.14.04.1) starting as
process 4724 ... start: Job failed to start invoke-rc.d: initscript
mysql, action "start" failed. dpkg: error processing package
mysql-server-5.5 (--configure): subprocess installed post-installation
script returned error exit status 1 dpkg: dependency problems prevent
configuration of mysql-server: mysql-server depends on
mysql-server-5.5; however: Package mysql-server-5.5 is not configured
yet. dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured Setting up mysql-client
(5.5.43-0ubuntu0.14.04.1) ... Errors were encountered while
processing: mysql-server-5.5 mysql-server E: Sub-process /usr/bin/dpkg
returned an error code (1) W: Operation was interrupted before it
could finish
I have tried reinstalling and cleaning it up after and stuff...
It still gives the same error.
Anyone that have a clue?

ejabberd stops when I am adding mod_http_offline to ejabberd.cfg

I am using ejabberd 2.1.10 for implementing the mod_http_offline mod for IOS push notification. I tried to do this using two solutions like
http://jasonrowe.com/2011/12/30/ejabberd-offline-messages/
&
https://github.com/adamvduke/mod_interact
But both the time when I am adding Modules to the ejabberd configuration file It stops the server and return the below error in the log
ERROR REPORT==== 2014-01-28 15:09:13 ===
C(<0.41.0>:gen_mod:75) : Problem starting the module mod_http_offline for host "23.23.191.229"
options: []
error: function_clause

Getting error in ejabberd when add any module in ODBC mod

I have installed ejabberd to implement my chat application, I have also successfully installed Mysql module and using mysql database in place of mnesia(default of ejabberd).Everything is working fine,Now i am trying to some module for ODBC mod, like mod_muc to mod_muc_odbc, then i am getting error like,
=ERROR REPORT==== 2014-01-20 11:39:08 ===
C(<0.37.0>:gen_mod:75) : Problem starting the module mod_muc_odbc for host "localhost"
options: [{host,"conference.#HOST#"},
{access,muc},
{access_create,muc},
{access_persistent,muc},
{access_admin,muc_admin},
{max_users,500}]
error: undef
=ERROR REPORT==== 2014-01-20 11:39:08 ===
C(<0.37.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.
How to fix it ? Another question related with ejabberd is that , Can i see the whole chat record in mysql database, if yes then how ?
I had a same problem. Just another module. This part of log:
{max_users,500}]
error: undef
means that you ejabbered was not compiled with that specific module support.
I am using gentoo linux so it was easy to me to add USE="mymodule" emerge -av ejabered and compile ejjabered with mymodule that was missing.
In your post I can not see what linux distro are you using? But you get a picture from my answer.

MySQL 5.5.28 build errors [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I use mingw-w64 (ruben build) on Windows 7 64.
I need libmysqlclient.a to build libodb-mysql (http://www.codesynthesis.com/products/odb/). But in original Windows 64 mysql build there is no .a library (only mysqlclient.lib). Reimp does not work (generate a lot of files with different integer numbers in the names, but not .a library).
I am tying to build MySQL Community Server 5.5.28.
The command sequence:
cmake -G "MSYS Makefiles" .
make
I got
[ 11%] Building C object strings/CMakeFiles/strings.dir/ctype-mb.c.obj
[ 11%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.obj
In file included from C:/Users/CanisMajor/Downloads/mysql-5.5.28/include/my_sys.h:44:0,
from c:/Users/CanisMajor/Downloads/mysql-5.5.28/strings/ctype-simple.c:19:
C:/Users/CanisMajor/Downloads/mysql-5.5.28/include/my_pthread.h:59:3: error: unknown type name 'CONDITION_VARIABL
E'
C:/Users/CanisMajor/Downloads/mysql-5.5.28/include/my_pthread.h:102:8: error: redefinition of 'struct timespec'
In file included from d:\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/pro
cess.h:12:0,
from C:/Users/CanisMajor/Downloads/mysql-5.5.28/include/my_global.h:128,
from c:/Users/CanisMajor/Downloads/mysql-5.5.28/strings/ctype-simple.c:16:
d:\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/include/sys/types.h:89:8: note: o
riginally defined here
In file included from C:/Users/CanisMajor/Downloads/mysql-5.5.28/include/my_sys.h:44:0,
from c:/Users/CanisMajor/Downloads/mysql-5.5.28/strings/ctype-simple.c:19:
C:/Users/CanisMajor/Downloads/mysql-5.5.28/include/my_pthread.h:715:5: error: unknown type name 'SRWLOCK'
make[2]: *** [strings/CMakeFiles/strings.dir/ctype-simple.c.obj] Error 1
make[1]: *** [strings/CMakeFiles/strings.dir/all] Error 2
mak
e: *** [all] Error 2
Do you have any ideas?
Looks like a compiler issue. Specifically, it is not recognizing some tokens, due to your compilation flags and definitions.
CONDITION_VARIABLE in windows; wont compile