Я пытаюсь установить tomcat7
на моей машине, но я получаю следующую ошибку.
Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up authbind (2.1.1+nmu1) ...
Errors were encountered while processing:
tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я пытался удалить tomcat7 с ниже команды и переустановить то же, но без решения.
sudo apt-get autoremove tomcat7
Это удаляет tomcat7, но переустановка я получаю ту же ошибку.
Предложите что случилось здесь.
Попробуйте это решение, если можно начать установку с нуля:
sudo aptitude purge tomcat7
whereis tomcat7
sudo rm -rf /etc/tomcat7 /usr/share/tomcat7
sudo apt-get autoremove
sudo apt-get autoclean
sudo aptitude install tomcat7