[SOLVED] When install TinyTinyRSS Apache exits with error

When installing TT-RSS in a new (pioneer) install, apache doesn’t work.

1)Installed image to sdcard using fro here
2) Setup and update ups
3) First thing was install ttrss
4) Cannot login to plinth
5) using ssh both apache and tt-rss services are down 1-2 minutes after reboot

Hi antidoto.

In #5 you wrote that you can log in using SSH and check the services. Did you verify if there are any errors in the service logs?

Apache has its log files in /var/log/apache2/ (best check error.log but also the other files), ttrss is a PHP app inside apache and does IIRC not have a separate log file.

Also journalctl -xe may show log entries from systemd when trying to start the service(s). Also journalctl -u apache2 will give more detail specifically for apache.

Cheers & HTH,
Axel

Thank you Axel for your reply,
cat error.log.1:
[ssl:error] [pid 11259:tid 11259] AH02217: ssl_stapling_init_cert: can’t retrieve issuer certificate! [subject: CN=freedombox / issuer: CN=freedombox / serial: … notbefore: Mar 28 03:03:15 2023 GMT / notafter: Mar 25 03:03:15 2033 GMT]
[ssl:error] [pid 11259:tid 11259] AH02604: Unable to configure certificate 127.0.1.1:443:0 for stapling

journalctl -xe
Mar 31 12:26:11 freedombox sudo[7575]: pam_unix(sudo:auth): authentication failure; logname=nparafe uid=10000 euid=0 tty=/dev/pts/0 ruser=nparafe rhost= user=nparafe
Mar 31 12:26:11 freedombox slapd[835]: slap_global_control: unrecognized control: 1.3.6.1.4.1.42.2.27.8.5.1
Mar 31 12:26:11 freedombox sudo[7575]: nparafe : TTY=pts/0 ; PWD=/home/nparafe ; USER=root ; COMMAND=/usr/bin/su
Mar 31 12:26:11 freedombox sudo[7575]: pam_unix(sudo:session): session opened for user root(uid=0) by nparafe(uid=10000)
Mar 31 12:26:11 freedombox su[7576]: (to root) nparafe on pts/0

journalctl -u apache2
Mar 28 03:28:15 freedombox systemd[1]: Started The Apache HTTP Server.
Mar 28 03:46:09 freedombox systemd[1]: Stopping The Apache HTTP Server…
Mar 28 03:46:09 freedombox apachectl[11243]: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’>
Mar 28 03:46:10 freedombox systemd[1]: apache2.service: Succeeded.
Mar 28 03:46:10 freedombox systemd[1]: Stopped The Apache HTTP Server.
Mar 28 03:46:10 freedombox systemd[1]: apache2.service: Consumed 2.717s CPU time.
Mar 28 03:46:10 freedombox systemd[1]: Starting The Apache HTTP Server…
Mar 28 03:46:10 freedombox apachectl[11255]: AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’>
Mar 28 03:46:11 freedombox systemd[1]: Started The Apache HTTP Server.
Mar 28 03:46:11 freedombox apache-error[11260]: [mpm_event:notice] [pid 11259:tid 11259] AH00489: Apache/2.4.52 (Debian) mod_auth_pubtkt/0.13 OpenSSL/1.1.1k configured – >
Mar 28 03:46:11 freedombox apache-error[11260]: [core:notice] [pid 11259:tid 11259] AH00094: Command line: ‘/usr/sbin/apache2’
Mar 28 03:47:31 freedombox systemd[1]: Reloading The Apache HTTP Server.
lines 1-45

Uninstalling tt-rss makes plinth accessible again

This solved apache problem as well… weird

1 Like