I installed Guacamole referring to 
(https://www.linode.com/docs/guides/installing-apache-guacamole-on-ubuntu-and-debian/).
 
But successfully the service does not start automatically. 
I think it is a problem caused by guacd running before dhcp is set up, but I 
don't know how to solve it. 
After booting, log in as a user and run guacd to operate successfully. 

/var/log/syslog 
Apr 17 23:05:47 raspberrypi systemd[1]: Starting /etc/rc.local Compatibility...
Apr 17 23:05:47 raspberrypi systemd[1]: Starting Samba NMB Daemon...
Apr 17 23:05:47 raspberrypi systemd[1]: Starting Apache Tomcat 8.5 Web 
Application Server...
Apr 17 23:05:47 raspberrypi systemd[1]: Started LSB: Switch to ondemand cpu 
governor (unless shift key is pressed).
Apr 17 23:05:47 raspberrypi systemd[1]: Started dphys-swapfile - set up, 
mount/unmount, and delete a swap file.
Apr 17 23:05:47 raspberrypi systemd[1]: Started Permit User Sessions.
Apr 17 23:05:47 raspberrypi systemd[1]: Starting Authorization Manager...
Apr 17 23:05:47 raspberrypi systemd[1]: Starting Light Display Manager...
Apr 17 23:05:47 raspberrypi guacd[483]: Guacamole proxy daemon (guacd) version 
1.4.0 started
Apr 17 23:05:47 raspberrypi guacd[481]: Starting guacd: guacd[483]: 
INFO:#011Guacamole proxy daemon (guacd) version 1.4.0 started
Apr 17 23:05:47 raspberrypi guacd[481]: guacd[483]: ERROR:#011Unable to bind 
socket to any addresses.
Apr 17 23:05:47 raspberrypi guacd[483]: Unable to bind socket to any addresses.
Apr 17 23:05:47 raspberrypi guacd[481]: FAIL
Apr 17 23:05:47 raspberrypi systemd[1]: guacd.service: Control process exited, 
code=exited, status=1/FAILURE
Apr 17 23:05:47 raspberrypi systemd[1]: guacd.service: Failed with result 
'exit-code'.
Apr 17 23:05:47 raspberrypi systemd[1]: Failed to start LSB: Guacamole proxy 
daemon.
Apr 17 23:05:47 raspberrypi systemd[1]: Started Apache Tomcat 8.5 Web 
Application Server.
Apr 17 23:05:47 raspberrypi kernel: [    8.898769] EXT4-fs (sda1): mounted 
filesystem with ordered data mode. Opts: (null)
Apr 17 23:05:47 raspberrypi systemd[1]: Started /etc/rc.local Compatibility.
Apr 17 23:05:47 raspberrypi systemd[1]: Starting Hold until boot process 
finishes up...
Apr 17 23:05:47 raspberrypi dhcpcd[456]: wlan0: connected to Access Point `'
Apr 17 23:05:47 raspberrypi lightdm[521]: Error getting user list from 
org.freedesktop.Accounts: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.Accoun$
Apr 17 23:05:47 raspberrypi dhcpcd[456]: eth0: waiting for carrier
Apr 17 23:05:47 raspberrypi dhcpcd[456]: dhcpcd_prestartinterface: wlan0: 
Operation not possible due to RF-kill
Apr 17 23:05:47 raspberrypi dhcpcd[456]: wlan0: waiting for carrier
.............
 
$ sudo systemctl status guacd 
● guacd.service - LSB: Guacamole proxy daemon
   Loaded: loaded (/etc/init.d/guacd; generated)
   Active: failed (Result: exit-code) since Sun 2022-04-17 23:05:47 KST; 2min 
34s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 481 ExecStart=/etc/init.d/guacd start (code=exited, status=1/FAILURE)
 
 4월 17 23:05:46 raspberrypi systemd[1]: Starting LSB: Guacamole proxy daemon...
 4월 17 23:05:47 raspberrypi guacd[483]: Guacamole proxy daemon (guacd) version 
1.4.0 started
 4월 17 23:05:47 raspberrypi guacd[481]: Starting guacd: guacd[483]: INFO:       
 Guacamole proxy daemon (guacd) version 1.4.0 started
 4월 17 23:05:47 raspberrypi guacd[481]: guacd[483]: ERROR:        Unable to 
bind socket to any addresses.
 4월 17 23:05:47 raspberrypi guacd[483]: Unable to bind socket to any addresses.
 4월 17 23:05:47 raspberrypi guacd[481]: FAIL
 4월 17 23:05:47 raspberrypi systemd[1]: guacd.service: Control process exited, 
code=exited, status=1/FAILURE
 4월 17 23:05:47 raspberrypi systemd[1]: guacd.service: Failed with result 
'exit-code'.
 4월 17 23:05:47 raspberrypi systemd[1]: Failed to start LSB: Guacamole proxy 
daemon.
 

Reply via email to