-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to attach jaxl daemon with jaxlctl tool #46
Comments
Actually, JAXL told me the socket file was created but I can not find it under .jaxl/sock/ directory. What's the possible issue to cause this? |
Sock file is created when client/component starts, deleted as they exit. For |
But there is no "attach" option when I type "./jaxlctl help". I am using jaxl v3.0.1. ogin2:JAXL jsun$ ./jaxlctl help Commands: And the strange thing is the echo_bot is still running well. Why the socket file is deleted? echo_bot:127 - 2014-04-24 01:29:06 - jacksun1203__1@myserver.com/jaxl#85c196d77d8f40cf0d7a004ae5572e1d is now available (dnd) |
Hi, $ ./jaxlctl debug .jaxl/sock/jaxl_3961 jaxl 1> jaxl_exception:48 - 2014-04-30 10:40:43 - got jaxl exception construct with Undefined variable: client, 8, /to_my_path/JAXL-3.x/jaxl.php(458) : eval()'d code, 1 |
I encountered this problem too, but no one can give a solution or any useful suggestions ... |
I created a jaxl instance by running echo_bot.php
> php echo_bot.php myjid@xxxx pass PLAIN
it seems working well and I got below message
jaxl:188 - 2014-04-23 10:00:11 - created pid file /Volumes/Central/Users/jsun/Sites/JAXL/.jaxl/run/jaxl_74164.pid
jaxl:200 - 2014-04-23 10:00:11 - dns srv lookup for myserver.com
jaxl_socket_client:95 - 2014-04-23 10:00:11 - trying tcp://myserver.com:5222
jaxl 1> jaxl_socket_server:63 - 2014-04-23 10:00:11 - socket ready to accept on path unix:///path/JAXL/.jaxl/sock/jaxl_74164.sock
Next, I start jaxlctl
But response I got is :
jaxl_socket_client:95 - 2014-04-23 10:48:23 - trying unix://unix:///Volumes/Central/Users/jsun/Sites/JAXL/.jaxl/sock/jaxl_74164.sock
jaxl_socket_client:115 - 2014-04-23 10:48:23 - unable to connect unix://unix:///Volumes/Central/Users/jsun/Sites/JAXL/.jaxl/sock/jaxl_74164.sock with error no: 2, error str: No such file or directory
Did I use the wrong command?
The text was updated successfully, but these errors were encountered: