OK, I downgraded to bareos-filedaemon version 20 and now things seems to 
work fine

DIST=xUbuntu_20.04
RELEASE=release/20
URL=https://download.bareos.org/bareos/$RELEASE/$DIST
sudo wget -O /etc/apt/sources.list.d/bareos.list $URL/bareos.list

wget -q $URL/Release.key -O- | sudo apt-key add -

sudo apt update
sudo apt install bareos-filedaemon

/Erik
lørdag den 26. februar 2022 kl. 01.17.46 UTC+1 skrev Erik Madsen:

> Hi Bareos-Users,
>
> I have an issue with my Ubuntu 20.04 LTS and bareos-fd v21 on a freshly 
> installed VM.
>
> The bareos-fd service keeps on stopping/staring every minute.
>
> I see some IPv6 issue in the log (IP v6 is intensionally disabled on my VM)
> ..but also some "bsmtp: tools/bsmtp.cc:467-0 Failed to connect to 
> mailhost localhost" ?
>
> Anyone know how to fix this issue ?
>
> (In my previous bareos-fd <v18 installations, I have never had this 
> problem)
>
> *** LOG INFO ***
>
> sudo tail -f /var/log/syslog
> Feb 26 00:55:18 client-1 bareos-fd[7802]: client-1-fd: ABORTING due to 
> ERROR in lib/bnet_server_tcp.cc:175
> Feb 26 00:55:18 client-1 bareos-fd[7802]: Cannot open stream socket. 
> ERR=Address family not supported by protocol. Current host[ipv6;::;9102] 
> All host[ipv4;0.0.0.0;9102] host[ipv6;::;9102]
> Feb 26 00:55:18 client-1 bareos-fd[7802]: BAREOS interrupted by signal 6: 
> IOT trap
> Feb 26 00:55:18 client-1 bareos-fd[7802]: bareos-fd, client-1-fd got 
> signal 6 - IOT trap. Attempting traceback.
> Feb 26 00:55:18 client-1 bareos-fd[7802]: exepath=/usr/sbin/
> Feb 26 00:55:18 client-1 bareos-fd: client-1-fd: ABORTING due to ERROR in 
> lib/bnet_server_tcp.cc:175#012Cannot open stream socket. ERR=Address family 
> not supported by protocol. Current host[ipv6;::;9102] All 
> host[ipv4;0.0.0.0;9102] host[ipv6;::;9102]
> Feb 26 00:55:18 client-1 bareos-fd[7823]: Calling: /usr/sbin/btraceback 
> /usr/sbin/bareos-fd 7802 /var/lib/bareos
> Feb 26 00:55:18 client-1 bareos-fd: BAREOS interrupted by signal 6: IOT 
> trap
> Feb 26 00:55:18 client-1 bareos-fd[7836]: bsmtp: tools/bsmtp.cc:467-0 
> Failed to connect to mailhost localhost
> Feb 26 00:55:18 client-1 bareos-fd[7802]: The btraceback call returned 1
> Feb 26 00:55:18 client-1 systemd[1]: bareos-filedaemon.service: Main 
> process exited, code=exited, status=1/FAILURE
> Feb 26 00:55:18 client-1 systemd[1]: bareos-filedaemon.service: Failed 
> with result 'exit-code'.
> Feb 26 00:55:18 client-1 systemd[1]: bareos-filedaemon.service: Scheduled 
> restart job, restart counter is at 160.
> Feb 26 00:55:18 client-1 systemd[1]: Stopped Bareos File Daemon service.
> Feb 26 00:55:18 client-1 systemd[1]: Started Bareos File Daemon service.
>
> Thanks and Best Regards
> /Erik
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9138fc5a-04ec-47fa-a831-44f0cd132061n%40googlegroups.com.

Reply via email to