Well,
I updated my Via Eden 500MHz single core system.
I succeeded the upgrade and my homecontrol application is running agin.
- including samba, ssh and vnc so that is nice.
Some things....
1/
After updating the applications I got this error:
error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directoryI was able to fix that by adding libusb.tcz to the onboot.lst
The system is coming from TC15. with TC15 I only had libusb-compat-dev.tcz which apparently did load libusb.tcz as a dependancy but now it does not do that anymore.
Anyways... I got it fixed
[edit] NO... its not working. need to dig deeper
2/ rsyslog is not working
I'm starting it from bootlocal.sh and I tried to run it manual but than it complains its already running:
tc@huis:/opt$ sudo /usr/local/sbin/rsyslogd
rsyslogd: pidfile '/var/run/rsyslogd.pid' and pid 4789 already exist.However... nothing gets logged.
I did set debugging to level 2 in the rsyslog.conf file
$DebugFile /var/log/log_debug.txt
$DebugLevel 2 # 0=off, 2 = full debugAfter a reboot I indeed get an enormous /var/log/log_debug.txt file
However... nothing obviously wrong
But no logging
My rsyslog.conf file:
$WorkDirectory /var/log
$ModLoad imudp
$UDPServerRun 514
$ModLoad imtcp
$InputTCPServerRun 514
$ModLoad imklog
$ModLoad imuxsock
$template MyFormat,"%timegenerated:1:19% %msg:::drop-last-lf%\n"
$template FullFormat,"%timegenerated% %HOSTNAME% %syslogtag%%msg%\n"
$DebugFile /var/log/log_debug.txt
$DebugLevel 2 # 0=off, 2 = full debug
#example
# $outchannel log_rotation,/var/log/log_rotation.log, 52428800,/home/me/./log_rotation_script
# activate the channel and log everything to it
# *.* :omfile:$log_rotation
#
# /home/me/log_rotation_script:
# mv -f /var/log/log_rotation.log /var/log/log_rotation.log.1
# ------------- User section -------------------
# max 100k debugfile = 1000 lines x 100chars
# Need script: /var/log/rotate:
# tail -n 500 /var/log/${1} > /var/log/${1}.tmp
# cat /var/log/${1}.tmp > /var/log/${1}
# rm -f /var/log/${1}.tmp
# Heat Control: HeatPump and CV
$outchannel heat_log, /var/log/heatlog.txt, 100000, /var/log/rotate heatlog.txt
local1.=info :omfile:$heat_log;MyFormat
# Solar Thermal
$outchannel solar_log,/var/log/solarlog.txt, 100000, /var/log/rotate solarlog.txt
local1.=notice :omfile:$solar_log;MyFormat
# Main (normal main logging)
$outchannel main_log, /var/log/mainlog.txt, 100000, /var/log/rotate mainlog.txt
local1.=debug :omfile:$main_log;MyFormat
# EVSE
$outchannel evse_log, /var/log/evselog.txt, 100000, /var/log/rotate evselog.txt
local2.=notice :omfile:$evse_log;MyFormat
# Weather
$outchannel weather_log, /var/log/weatherlog.txt, 100000, /var/log/rotate weatherlog.txt
local3.=notice :omfile:$weather_log;MyFormat
# PV, enphase and solaredge
$outchannel PV_log, /var/log/PVlog.txt, 100000, /var/log/rotate PVlog.txt
local3.=info :omfile:$PV_log;MyFormat
# Debug, catch all that have not been catched before
$outchannel debug_log,/var/log/debuglog.txt, 100000, /var/log/rotate debuglog.txt
Any tips??
[edit]
I reverted back to original /mnt/sda1/tce/optional folder
So running TC17 updated core.gz and vmlinuz only. no tcz extension updates.
==> this runs fine!
libusb and rsyslog both working