Directadmin - AuthError

firejake

Verified User
Joined
May 4, 2011
Messages
56
Attempts to enter into Directadmin with login "admin" end the show in the browser net:: ERR_EMPTY_RESPONSE (Chrome).
messages saying:

Code:
server kernel: auth[6300] trap invalid opcode rip:39d4400438 rsp:7fff7a413808 error:0
server kernel: auth[6375] trap invalid opcode rip:39d4400438 rsp:7fff03fcfa88 error:0
server kernel: auth[6456] trap invalid opcode rip:39d4400438 rsp:7fff6dafc738 error:0

Errors appeared after trying to update OpenSSL, but I was returned to the previous version, which prosatvlena with YUM
Code:
Linux server.newaresone.com 2.6.18-238.9.1.el5 #1 SMP Mon May 23 19:06:47 EEST 2011 x86_64 x86_64 x86_64 GNU/Linux
CentOS release 5.6 (Final)
Where the dog is buried?
 
1. /var/log/messages
2. yes (Opera, FF, IE, Safari...), but this problem not in browser.
 
OK, you might want to enable debug and see what is wrong.

1. Run directadmin in debug mode from SSH
2. Try to login
3. Read the debug output.

Then you might want to share your findings here.
 
Code:
[root@server directadmin]# ./directadmin b2000
Debug mode. Level 2000

OS doesn't support IPv6. Dropped down to IPv4: (Address family not supported by protocol)
DirectAdmin 1.38.3
Accepting Connections on port 2222
Sockets::handshake - begin
Sockets::handshake - begin
Sockets::handshake - end
Cannot find first space after where GET or POST should be
Sockets::handshake - begin
Sockets::handshake - end
/
 0: Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3
 1: Accept-Encoding: gzip,deflate,sdch
 2: Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
 3: Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
 4: Connection: keep-alive
 5: Cookie: session=
 6: Host: *:2222
 7: User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24
Sockets::handshake - begin
Sockets::handshake - end
Cannot find first space after where GET or POST should be
Sockets::handshake - begin
Sockets::handshake - end
/CMD_LOGIN
 0: Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3
 1: Accept-Encoding: gzip,deflate,sdch
 2: Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
 3: Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
 4: Cache-Control: max-age=0
 5: Connection: keep-alive
 6: Content-Length: 58
 7: Content-Type: application/x-www-form-urlencoded
 8: Cookie: session=
 9: Host: *:2222
10: Origin: https://*:2222
11: Referer: https://*:2222/
12: User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24
Post string: referer=%2F&username=admin&password=password



Code:
[root@server directadmin]# cat /var/log/directadmin/* 
2011:05:25-10:40:40: Can't connect to ssl!
2011:05:25-10:40:40: -> A failure in the SSL library occurred, usually a protocol error.
2011:05:25-10:40:40: -> error:00000001:lib(0):func(0):reason(1)
2011:05:25-10:12:01: service proftpd wasn't running, starting it
2011:05:25-10:29:01: service proftpd wasn't running, starting it
2011:05:25-10:43:01: service directadmin wasn't running, starting it
2011:05:25-00:10:02: Tally All Begin
2011:05:25-00:10:02: Tally Reseller admin Begin
2011:05:25-00:10:02: Tally User user1 Begin
2011:05:25-00:14:02: Tally User user1 Complete
2011:05:25-00:14:02: Tally User user2 Begin
2011:05:25-00:14:11: Tally User user2 Complete
2011:05:25-00:14:40: Tally User admin Begin
2011:05:25-00:14:40: Tally User admin Complete
2011:05:25-00:14:40: Tally Reseller admin Complete
2011:05:25-00:14:40: Tally All Complete
2011:05:25-00:15:03: httpd restarted
2011:05:25-10:12:01: proftpd started
2011:05:25-10:29:01: proftpd started
2011:05:25-10:43:01: directadmin started
 
If you temporary disable SSL in directadmin.conf will it help you to login?

1. Open /usr/local/directadmin/conf/directadmin.conf
2. Change SSL=1 to SSL=0
3. Restart directadmin
4. Re-try to pass through authentication.
 
Code:
[root@server directadmin]# ./directadmin b2000
Debug mode. Level 2000

OS doesn't support IPv6. Dropped down to IPv4: (Address family not supported by protocol)
DirectAdmin 1.38.3
Accepting Connections on port 2222
Sockets::handshake - begin
Sockets::handshake - end
Cannot find first space after where GET or POST should be
Sockets::handshake - begin
Sockets::handshake - end
/
 0: Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3
 1: Accept-Encoding: gzip,deflate,sdch
 2: Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
 3: Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
 4: Connection: keep-alive
 5: Host: *:2222
 6: User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24
didn't find the encrytped text
Sockets::handshake - begin
Sockets::handshake - end
/favicon.ico
 0: Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3
 1: Accept-Encoding: gzip,deflate,sdch
 2: Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
 3: Accept: */*
 4: Connection: keep-alive
 5: Cookie: session=
 6: Host: *:2222
 7: If-Modified-Since: Thu, 21 Apr 2011 12:54:17 EEST
 8: User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24
Sockets::handshake - begin
Sockets::handshake - end
/CMD_LOGIN
 0: Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.3
 1: Accept-Encoding: gzip,deflate,sdch
 2: Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
 3: Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
 4: Cache-Control: max-age=0
 5: Connection: keep-alive
 6: Content-Length: 58
 7: Content-Type: application/x-www-form-urlencoded
 8: Cookie: session=
 9: Host: *:2222
10: Origin: http://*:2222
11: Referer: http://*.174:2222/
12: User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24
Post string: referer=%2F&username=admin&password=*
 
So you can't login again, even with SSL disabled, isn't it? If this is true, I have no more ideas. I don't see anything critically wrong from the debug output. Probably somebody else can help you.
 
In fact of the matter is that at the time of discharge connections in / error messages appear (details in first post)
 
What if you completely remove openssl:

Code:
rpm -e --nodeps openssl-*

and install it again:

Code:
yum install openssl

??

p.s. otvety.google.ru didn't help to find answer, as I see.
 
If you remove the OpenSSL yum refuses to put openssl, it's already tested. I already tried to upgrade to OpenSSl 1.0.0, but after he returned to 0.9.8e, affixed in Yuma. Yes, the answers did not give a push to solve the problem.
 
and...
Code:
May 25 12:27:15 server kernel: directadmin[4940] trap invalid opcode rip:3000400438 rsp:7fff6784bea8 error:0
 
Back
Top