+1
Answered

This webpage is not available

lior hollander 11 years ago updated by SisteMarjin 7 years ago 11

Hey i installed Ajenti on centos 6.4 64bit as instructed and i can't login from another computer.


When i tried to start it with "ajenti-panel -v" in ssh it all looks ok except for the following error:


"ERROR SSL tunnel failed to start"


What could be the problem?


Thank you in advance.

Answer

Answer
Answered

Hi Lior, please try the latest 0.99.32 release, issue should be fixed now.

the first thing i tried... not working...

Would you please check, which of the following commands are available on your system: stunnel, stunnel3, stunnel4?

I am having the same issue and mine is stunnel on centos 6.4 with zpanel for webhosting provider as i heard you can use them side by side by the zpanel website i've tried uncommenting the lines related but it doesnt fix it everytime i run service ajenti restart it claims it was not running and starts it but repeating the proccess yeilds the same result so i know its crashing im going to try the beta and see if that work unless you have a simple fix?


update:

i tried following the install directions but it only has this version installed


Package ajenti-0.99.20-1.noarch already installed and latest version



specific ending of ajenti-panel -v 

15.07.2013 00:10 core.py:107  ERROR SSL tunnel failed to start
15.07.2013 00:10 core.py:112  INFO  Starting server on (u'0.0.0.0', 8000)
Traceback (most recent call last):
  File "/usr/bin/ajenti-panel", line 86, in <module>
  core.run()
  File "/usr/lib/python2.6/site-packages/ajenti/core.py", line 115, in run
  listener.bind(bind_spec)
  File "<string>", line 1, in bind
socket.error: [Errno 98] Address already in use


I'm getting the same error and this is the output after setting your stunnel tmp fix:


[root@dappervps1 ~]# stunnel /tmp/stunnel.conf
2013.08.04 21:07:28 LOG5[1199:140560269387712]: stunnel 4.29 on x86_64-redhat-linux-gnu with OpenSSL 1.0.0-fips 29 Mar 2010
2013.08.04 21:07:28 LOG5[1199:140560269387712]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP
2013.08.04 21:07:28 LOG5[1199:140560269387712]: 500 clients allowed
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52507
2013.08.04 21:07:37 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35719
2013.08.04 21:07:37 LOG5[1199:140560269383424]: Connection closed: 0 bytes sent to SSL, 0 bytes sent to socket
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52506
2013.08.04 21:07:37 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35720
2013.08.04 21:07:37 LOG5[1199:140560269383424]: Connection closed: 0 bytes sent to SSL, 0 bytes sent to socket
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52509
2013.08.04 21:07:37 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35721
2013.08.04 21:07:37 LOG5[1199:140560269383424]: Connection closed: 0 bytes sent to SSL, 0 bytes sent to socket
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52508
2013.08.04 21:07:37 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:37 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35722
2013.08.04 21:07:37 LOG5[1199:140560269383424]: Connection closed: 0 bytes sent to SSL, 0 bytes sent to socket
2013.08.04 21:07:39 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52510
2013.08.04 21:07:39 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:39 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35723
2013.08.04 21:07:40 LOG5[1199:140560269383424]: Connection closed: 161 bytes sent to SSL, 469 bytes sent to socket
2013.08.04 21:07:40 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52511
2013.08.04 21:07:40 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:40 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35724
2013.08.04 21:07:40 LOG5[1199:140560269383424]: Connection closed: 0 bytes sent to SSL, 0 bytes sent to socket
2013.08.04 21:07:40 LOG5[1199:140560269383424]: default accepted connection from 12.34.56.789:52512
2013.08.04 21:07:40 LOG5[1199:140560269383424]: connect_blocking: connected 127.0.0.1:8000
2013.08.04 21:07:40 LOG5[1199:140560269383424]: default connected remote server from 127.0.0.1:35725
2013.08.04 21:07:40 LOG5[1199:140560269383424]: Connection closed: 161 bytes sent to SSL, 420 bytes sent to socket

Would like to know what's wrong here.

+1

Hi Mark, please try the latest 0.99.32 release, issue should be fixed now.

Answer
Answered

Hi Lior, please try the latest 0.99.32 release, issue should be fixed now.

That solves the problem perfectly! Running Ajenti now on latest version and on clean CentOS instlalation.

Hi,

I clean installed Ajenti 2.1.17 on Ubuntu 16.10 by this link. http://docs.ajenti.org/en/latest/man/install.html

I can connected on network https://IP:8000 login page is coming.
I cannot login.
User Name and password is OK, page is refreshing but cannot login.
If enter wrong UserName or Pass it giving error "Authentication Failed"
How i can fix it?

Thx