Error running the /usr/bin/file command debian 10

mm580486

Verified User
Joined
Jul 28, 2019
Messages
5
Hi

when my users want to edit file DA send this error on panel
Unable to edit file:
Error running the /usr/bin/file command
i searched in forums and runned permissions script but not working again

Note: my users can be create new file and update file but older file cant editable (i guess this problem showed after when i restored user backup)

sorry for bad english 😅
 
Did you try running DA in debug mode? It might reveal more details there.
 
Output of debug mode


Sockets::handshake - begin
Sockets::handshake - end
/CMD_FILE_MANAGER
GET string: json=yes&path=%2Fdomains%2Fyaasnaa.com%2Fpublic_html%2Findex.php&action=edit
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en
2: Accept: application/json
3: Connection: keep-alive
4: Content-Type: application/json
5: Cookie: _ga=GA1.2.1333198902.1589992584; session=hjhJyIESnvk7sEq3kLpF0lBuCnGUxWxeDcvBuAcg3MnvYdwGwmTxVepfR57OZ41n
6: DNT: 1
7: Host: irdas.abrfanet.com:2222
8: Pragma: no-cache
9: Referer: http://irdas.abrfanet.com:2222/user/filemanager?path=/domains/yaasnaa.com/public_html
10: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
11: X-DirectAdmin-Session-ID: hjhJyIESnvk7sEq3kLpF0lBuCnGUxWxeDcvBuAcg3MnvYdwGwmTxVepfR57OZ41n
12: X-Json: yes
Authentication::creatorValid: got type 3 for user admin: isDemo=0
Checking referer http://irdas.abrfanet.com:2222/user/filemanager?path=/domains/yaasnaa.com/public_html to irdas.abrfanet.com:2222
Referer check passed: irdas.abrfanet.com=irdas.abrfanet.com 2222=2222
auth.authenticated
Plugin::addHooks: start
Plugin::addHooks: end
Command::doCommand(/CMD_FILE_MANAGER)
/usr/bin/file: symbol lookup error: /opt/csp/da/socket1.so.1: undefined symbol: dlsym
User yaasnaa tried to edit '/home/yaasnaa/domains/yaasnaa.com/public_html/index.php', but the /usr/bin/file command failed:
Dynamic(api=0, error=1):
text='Unable to edit file'
result='Error running the /usr/bin/file command: <br>
'
Command::doCommand(/CMD_FILE_MANAGER) : finished
Command::run: finished /CMD_FILE_MANAGER
Sockets::handshake - begin
Sockets::handshake - end
/assets/img/favicon.png
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en
2: Accept: image/webp,image/apng,image/*,*/*;q=0.8
3: Connection: keep-alive
4: Cookie: _ga=GA1.2.1333198902.1589992584; session=hjhJyIESnvk7sEq3kLpF0lBuCnGUxWxeDcvBuAcg3MnvYdwGwmTxVepfR57OZ41n
5: DNT: 1
6: Host: irdas.abrfanet.com:2222
7: If-Modified-Since: Mon, 16 Mar 2020 11:59:49 GMT
8: If-None-Match: 13895851/1584359989/3478
9: Referer: http://irdas.abrfanet.com:2222/user/filemanager/edit?path=/domains/yaasnaa.com/public_html/index.php
10: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
Authentication::creatorValid: got type 3 for user admin: isDemo=0
Checking referer http://irdas.abrfanet.com:2222/user/filemanager/edit?path=/domains/yaasnaa.com/public_html/index.php to irdas.abrfanet.com:2222
Referer check passed: irdas.abrfanet.com=irdas.abrfanet.com 2222=2222
auth.authenticated
Send::send_images(command='/assets/img/favicon.png' is_asset=1)
Send::sendFile('./data/skins/evolution/assets/img/favicon.png', '(null)')
Send::not_modified: ETag 13895851/1584359989/3478 matches. Sending 304 Not Modified
Command::run: finished /assets/img/favicon.png
Sockets::handshake - begin
Sockets::handshake - end
/CMD_JSON_LANG
GET string: json=yes&domain=yaasnaa.com&initial=no&request=global&dynamic=yes
0: Accept-Encoding: gzip, deflate
1: Accept-Language: en
2: Accept: application/json
3: Connection: keep-alive
4: Content-Type: application/json
5: Cookie: _ga=GA1.2.1333198902.1589992584; session=hjhJyIESnvk7sEq3kLpF0lBuCnGUxWxeDcvBuAcg3MnvYdwGwmTxVepfR57OZ41n
6: DNT: 1
7: Host: irdas.abrfanet.com:2222
8: Pragma: no-cache
9: Referer: http://irdas.abrfanet.com:2222/user/filemanager/edit?path=/domains/yaasnaa.com/public_html/index.php
10: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
11: X-DirectAdmin-Session-ID: hjhJyIESnvk7sEq3kLpF0lBuCnGUxWxeDcvBuAcg3MnvYdwGwmTxVepfR57OZ41n
12: X-Json: yes
Authentication::creatorValid: got type 3 for user admin: isDemo=0
Checking referer http://irdas.abrfanet.com:2222/user/filemanager/edit?path=/domains/yaasnaa.com/public_html/index.php to irdas.abrfanet.com:2222
Referer check passed: irdas.abrfanet.com=irdas.abrfanet.com 2222=2222
auth.authenticated
Plugin::addHooks: start
Plugin::addHooks: end
Command::doCommand(/CMD_JSON_LANG)
Command::doCommand(/CMD_JSON_LANG) : finished
Command::run: finished /CMD_JSON_LANG
 
That looks like an illegal license of DirectAdmin, likely cracked one loading something malicious in pre-loader :) I'm sorry, but we do not support illegal copies of DirectAdmin.
 
thanks for give data about this license ,I did not know about this license is illegal i want to buy orginal license but when i registerd in directadmin panel in buy section return this error ip already exist , can u help to me to fix this issue thanks

my user id is: 80636
 
Back
Top