DEBUG not generating log only UI and CLI output: NO token

apologies for the delay ,

no output on the restart

and

ot@amlogic:~# systemctl status pihole-FTL.service
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; bad; vendor preset: enabled)
Active: active (exited) since Fri 2018-08-10 19:35:37 EDT; 51s ago
Docs: man:systemd-sysv-generator(8)
Process: 26162 ExecStop=/etc/init.d/pihole-FTL stop (code=exited, status=0/SUC
Process: 26168 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/S

Aug 10 19:35:37 amlogic systemd[1]: Starting LSB: pihole-FTL daemon...
Aug 10 19:35:37 amlogic pihole-FTL[26168]: Not running
Aug 10 19:35:37 amlogic pihole-FTL[26168]: chown: cannot access '/etc/pihole/dhc
Aug 10 19:35:37 amlogic pihole-FTL[26168]: Failed to set capabilities on file `/
Aug 10 19:35:37 amlogic pihole-FTL[26168]: The value of the capability argument
Aug 10 19:35:37 amlogic su[26193]: Successful su for pihole by root
Aug 10 19:35:37 amlogic su[26193]: + ??? root:pihole
Aug 10 19:35:37 amlogic su[26193]: pam_unix(su:session): session opened for user
Aug 10 19:35:37 amlogic pihole-FTL[26168]: dnsmasq: failed to create listening s
Aug 10 19:35:37 amlogic systemd[1]: Started LSB: pihole-FTL daemon.
lines 1-17/17 (END)

in terms of log2ram tmpfs 50M 50M 0 100% /var/log i am not surprised i saw errors indicating as such. but when i used mate disk usage analyzer it display plenty of open disk. obviously not on the correct mount point

guessing i should do something like this for raplacing with /var/logs?

cp -rp /var/logs/* /home/var/logs
mv /var/logs /var/logs-orig
ln -s /home/var/logs /var/logs

Example:

/var/test is 500 MB.

cp -rp /var/test/* /home/var/test
mv /var/test /var/test-orig
ln -s /home/var/test /var/test
then all new files will be stored in /home/var/test but you do not have to change your config file because /var/test still exists but it is symlinked to /home/var/test.

Test your application to see if it works. If it works then you can remove the /var/test directory.

I was not able to resize the log2ram volume /var/log permanently nor was I able to symlink the /var/log dir , but i was able to clear space in the dir by clearing the contents of the with cat /dev/null > /var/log/wtmp.1. I am able to create a Debug log with token . thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.