Hi,
First of all thank you so much for this backup software. It works wonders with windows
I’ve also tried to use it with ubuntu clients but I’m having an issue with segmentation faults.
My clients are headless, and so I compiled by doing ./configure --enable-headless before.
I am also using client version 1.3.1, with the modification included in the commit “Fixed compile error with older wxWidget versions” (so ust edited the main.cpp) so that it would compile.
The server finds the client find, and upon initial backup attempt says that no directories have been set. I then set a default directory in the server side (in my case
/mnt/snap_root;
), with the client specific box ticked. After that the server tries to push the settings to the client, and the client segfaults. This is the log obtained from both sync attempts explained above
start_urbackup_client --no_daemon --loglevel debug
2014-03-16 16:23:00: Loaded -fileserv- plugin
2014-03-16 16:23:00: Loaded -fsimageplugin- plugin
2014-03-16 16:23:00: Loaded -cryptoplugin- plugin
2014-03-16 16:23:00: Created new database connection for urbackup/backup_client. db
2014-03-16 16:23:00: urbackupserver: Server started up sucessfully!
2014-03-16 16:23:00: FileSrv: Info: retval 0
2014-03-16 16:23:00: FileSrv: Info: retval 0
2014-03-16 16:23:00: FileSrv: Info: Window size=425984
2014-03-16 16:23:00: FileSrv: Binding udp socket...
2014-03-16 16:23:00: FileSrv: done.
2014-03-16 16:23:00: FileSrv: Servername: -linux-server.dandc.luzzato.com-
2014-03-16 16:23:00: FileSrv: Server started up sucessfully
2014-03-16 16:23:00: FileSrv: UDP Thread startet
2014-03-16 16:23:00: Started UrBackupClient Backend...
2014-03-16 16:23:01: Looking for old Sessions... 0 sessions
2014-03-16 16:23:01: Internet test mode not enabled. Waiting for local server...
2014-03-16 16:23:01: Created new database connection for urbackup/backup_client. db
2014-03-16 16:23:41: FileSrv: UDP: PING received... sending PONG. Delay=442ms
2014-03-16 16:24:12: urbackupserver: No available slots... starting new Worker
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#ADD IDENTITY
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#CAPA
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#1CHANNEL capa=0
2014-03-16 16:24:12: New channel: Number of Channels: 1
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#SETTINGS update_freq_incr_def=18000
update_freq_full_def=2592000
update_freq_image_full_def=5184000
update_freq_image_incr_def=604800
max_file_incr_def=100
min_file_incr_def=40
max_file_full_def=10
min_file_full_def=2
min_image_incr_def=4
max_image_incr_def=30
min_image_full_def=2
max_image_full_def=5
startup_backup_delay_def=0
backup_window_incr_file_def=1-7/0-24
backup_window_full_file_def=1-7/0-24
backup_window_incr_image_def=1-7/0-24
backup_window_full_image_def=1-7/0-24
exclude_files_def=
include_files_def=
_def=
default_dirs_def=
allow_config_paths_def=true
allow_starting_full_file_backups_def=true
allow_starting_incr_file_backups_def=true
allow_starting_full_image_backups_def=true
allow_starting_incr_image_backups_def=true
allow_pause_def=true
allow_log_view_def=true
allow_overwrite_def=true
image_letters_def=C
internet_server_def=
internet_server_port_def=55415
internet_authkey_def=7QixTnwAhQ
internet_speed_def=-1
local_speed_def=-1
_def=
internet_image_backups_def=false
internet_full_file_backups_def=false
internet_encrypt_def=true
internet_compress_def=true
internet_mode_enabled_def=false
silent_update_def=false
client_quota_def=100%
local_full_file_transfer_mode_def=hashed
internet_full_file_transfer_mode_def=hashed
local_incr_file_transfer_mode_def=hashed
internet_incr_file_transfer_mode_def=blockhash
local_image_transfer_mode_def=hashed
internet_image_transfer_mode_def=hashed
file_hash_collect_amount_def=1000
file_hash_collect_timeout_def=10000
file_hash_collect_cachesize_def=40960
end_to_end_file_backup_verification_def=false
internet_calculate_filehashes_on_client_def=false
2014-03-16 16:24:12: Created new database connection for urbackup/backup_client.db
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:12: FileSrv: Received data...
2014-03-16 16:24:12: FileSrv: Received a Packet.
2014-03-16 16:24:12: FileSrv: Sending file urbackup/settings.cfg
2014-03-16 16:24:12: FileSrv: Mapped name: /usr/local/var/urbackup/data/settings.cfg
2014-03-16 16:24:12: FileSrv: Recv Error in RecvMessage
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#INCRINTERVALL "18000"
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#VERSION 74
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#PING RUNNING -0-#token=gm2YlrXvfmiKMRDYhdPm
2014-03-16 16:24:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#2START FULL BACKUP#token=gm2YlrXvfmiKMRDYhdPm
2014-03-16 16:24:12: Removing VSS log data...
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:12: rc=0 hasError=true state=0
2014-03-16 16:24:22: FileSrv: ClientThread deleted. 1024 KB Memory freed.
2014-03-16 16:24:32: FileSrv: UDP: PING received... sending PONG. Delay=398ms
2014-03-16 16:25:12: ClientService cmd: PONG
2014-03-16 16:25:22: FileSrv: UDP: PING received... sending PONG. Delay=67ms
2014-03-16 16:26:01: Internet mode is not enabled.
2014-03-16 16:26:01: Internet mode is not enabled.
2014-03-16 16:26:12: ClientService cmd: PONG
2014-03-16 16:26:12: rc=0 hasError=true state=3
2014-03-16 16:26:12: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#1CHANNEL capa=0
2014-03-16 16:26:12: New channel: Number of Channels: 1
2014-03-16 16:26:13: FileSrv: UDP: PING received... sending PONG. Delay=330ms
2014-03-16 16:26:36: FileSrv: Received data...
2014-03-16 16:26:36: FileSrv: Received a Packet.
2014-03-16 16:26:36: FileSrv: Sending file urbackup/settings.cfg
2014-03-16 16:26:36: FileSrv: Mapped name: /usr/local/var/urbackup/data/settings.cfg
2014-03-16 16:26:36: FileSrv: Recv Error in RecvMessage
2014-03-16 16:26:36: ClientService cmd: #IXDTUQPB8iDojB4lqdLSg#SETTINGS update_freq_incr_def=18000
update_freq_full_def=2592000
update_freq_image_full_def=5184000
update_freq_image_incr_def=604800
max_file_incr_def=100
min_file_incr_def=40
max_file_full_def=10
min_file_full_def=2
min_image_incr_def=4
max_image_incr_def=30
min_image_full_def=2
max_image_full_def=5
startup_backup_delay_def=0
backup_window_incr_file_def=1-7/0-24
backup_window_full_file_def=1-7/0-24
backup_window_incr_image_def=1-7/0-24
backup_window_full_image_def=1-7/0-24
exclude_files_def=
include_files_def=
computername_def=linux-server.dandc.luzzato.com
default_dirs_def=/mnt/snap_root;
allow_config_paths_def=true
allow_starting_full_file_backups_def=true
allow_starting_incr_file_backups_def=true
allow_starting_full_image_backups_def=true
allow_starting_incr_image_backups_def=true
allow_pause_def=true
allow_log_view_def=true
allow_overwrite_def=true
image_letters_def=C
internet_server_def=
internet_server_port_def=55415
internet_authkey_def=7QixTnwAhQ
internet_speed_def=-1
local_speed_def=-1
_def=
internet_image_backups_def=false
internet_full_file_backups_def=false
internet_encrypt_def=true
internet_compress_def=true
internet_mode_enabled_def=false
silent_update_def=false
client_quota_def=100%
local_full_file_transfer_mode_def=hashed
internet_full_file_transfer_mode_def=hashed
local_incr_file_transfer_mode_def=hashed
internet_incr_file_transfer_mode_def=blockhash
local_image_transfer_mode_def=hashed
internet_image_transfer_mode_def=hashed
file_hash_collect_amount_def=1000
file_hash_collect_timeout_def=10000
file_hash_collect_cachesize_def=40960
end_to_end_file_backup_verification_def=false
internet_calculate_filehashes_on_client_def=false
Segmentation fault (core dumped)
It seems to me that the linux client isn’t able to accept this settings file and crashes. Any help welcome