TENDO ERROS DEVIDO A PERMISSÕES INCORRETAS

Discussion in 'Installation/Configuration' started by LUIZ FERNANDO VIEIRA, Jun 5, 2019.

  1. usei estes comandos para ouvir o que esta acontecendo, só não sei por onde começar e como interpretar o que eu fiz de errado....

    history | egrep '(chown|chmod)'

    retornou a seguinte:

    [email protected]:~# history | egrep '(chown|chmod)'
    101 chown -R /var/www/clients/client0/web13/web
    102 chown -R /var/www/clients/client0/web13/web *
    108 chown -R web13:client0 *
    114 chown -R /var/www/clients/client0/web13/web
    120 chown -R web13:client0 *
    121 chmod -R g+rw *
    128 chown -R web20:client0 *
    129 chmod -R g+rw *
    156 chmod 644 /usr/lib/sudo/sudoers.so
    159 sudo chmod 644 /usr/lib/sudo/sudoers.so
    160 sudo chmod 644 /usr/lib/sudo/sudoers.so
    177 sudo chmod 644 /usr/lib/sudo/sudoers.so
    181 chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
    184 su chmod 644 /usr/lib/sudo/sudoers.so
    185 su chmod 644 /usr/lib/sudo/sudoer
    186 chmod 644 /usr/lib/sudo/sudoers.so
    223 sudo chmod 644 /usr/lib/sudo/sudoers.so
    242 pkexec chown root /usr/lib/sudo/sudoers.so
    252 chown -R root:root *
    257 chown -R root:root *
    274 chown -R root:root *
    287 chown -R clients:client0 *
    300 chown -R root:client0 *
    307 chown -R web13:client0 *
    309 chmod -R g+rw *
    312 chown
    313 chown -R web13:client0 *
    357 chown -R web16:client0 *
    366 chown -R web9:client0 *
    374 chown -R web17:client0 *
    381 chown -R web8:client0 *
    386 chown -R web6:client0 *
    391 chown -R web13:client0 *
    396 chown -R web1:client0 *
    401 chown -R web20:client0 *
    406 chown -R web7:client0 *
    439 chown -R clients:client0 web6
    442 chown -R web6:client0 *
    446 chmod -R g+rw *
    450 chmod -R g+rw *
    472 chown -R web6:client0 web6
    485 história | egrep '(chown | chmod)'
    486 história | egrep '(chown | chmod
    487 history | egrep '(chown|chmod)'

    espero que possam me ajudar, tento abrir meus sites e da aceeso não permitido erro 403 e 500....
    Tento acessar o meu Painel de Controle ispconfig pelo navegador e
    retorna 403 Forbidden nginx/1.10.3

    acessei os logs:


    2019/06/04 18:50:46 [error] 29509#29509: *3 "/usr/local/ispconfig/interface/web/login/index.php" is forbidden (13: Permission denied), client: 2804:d51:2b5c:9d00:53c:288e:f468:5a5b, server: _, request: "GET /login/ HTTP/1.1", host: "isp.webjumper:8080"
    2019/06/04 18:50:46 [error] 29509#29509: *3 open() "/usr/local/ispconfig/interface/web/favicon.ico" failed (13: Permission denied), client: 2804:d51:2b5c:9d00:53c:288e:f468:5a5b, server: _, request: "GET /favicon.ico HTTP/1.1", host:
    gostaria de saber qual caminho tomar pois sem o acesso ao painel de controle não consigo acessar os sites que também estão dando retornando 500 Internal Server Error nginx/1.10.3 ....

    Sou leigo no assunto mas sei usar o SSH, só não sei pra onde ir, estou em apuros.....
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    your commands chown and chmod have broken you ISPConfig install. If this is a system you just installed, I suggest starting again from empty server and doing the installation again. This time do not change owner or permission of any files or directories.
     

Share This Page