Hi,
Thanks to everybody for your support. We have detected an important issue in different servers after updating Ubuntu Server 16.04 to 18.04 LTS. In two different servers, we have mounted two remote samba resources from a Synology Server. We have mounted through fstab, and we have make different test specifying different versions of the protocol (1.0, 2.0, 2.1 and 3.0). In all cases, the connection is correctly "apparently" stablished, but when we download in the server any package from that smb connection, (for example one ZIP), the file is downloaded but contains errors .
//(IP_of_the_erver)/Software /media/Software cifs vers=1.0,uid=www-data,gid=(group_name),iocharset=utf8,credentials=/root/.smbcredentials,dir_mode=0777,file_mode=0777
For example, in one server we have an apache2 that access to /media/Software using SMB in that folder. If we download through apache any Zip folder that is stored in /media/software, the file has CRC errors and is not possible to unzip it correctly.
In kernel and syslog, we have different errors:
Code:
/var/log/kern.log:May 10 16:01:03 renovatio kernel: [618506.636206] CIFS VFS: Server (IP_of_the_server) has not responded in 180 seconds. Reconnecting...
/var/log/kern.log:May 10 16:01:03 renovatio kernel: [618507.060558] CIFS VFS: Free previous auth_key.response = 898b8664
/var/log/kern.log:May 10 16:01:04 renovatio kernel: [618507.764218] CIFS VFS: No task to wake, unknown frame received! NumMids 10
/var/log/kern.log:May 10 16:01:04 renovatio kernel: [618507.938956] CIFS VFS: No task to wake, unknown frame received! NumMids 9
/var/log/kern.log:May 10 16:27:12 renovatio kernel: [ 8.312195] CIFS VFS: Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
/var/log/kern.log:May 10 16:27:12 renovatio kernel: [ 8.312229] CIFS VFS: cifs_mount failed w/return code = -95
/var/log/kern.log:May 10 16:27:12 renovatio kernel: [ 8.322020] CIFS VFS: Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
/var/log/kern.log:May 10 16:27:12 renovatio kernel: [ 8.322054] CIFS VFS: cifs_mount failed w/return code = -95
/var/log/kern.log.1:May 5 23:23:39 renovatio kernel: [213064.923845] CIFS VFS: No task to wake, unknown frame received! NumMids 2
/var/log/syslog:May 10 16:01:03 renovatio kernel: [618506.636206] CIFS VFS: Server 10.135.130.165 has not responded in 180 seconds. Reconnecting...
/var/log/syslog:May 10 16:01:03 renovatio kernel: [618507.060558] CIFS VFS: Free previous auth_key.response = 898b8664
/var/log/syslog:May 10 16:01:04 renovatio kernel: [618507.764218] CIFS VFS: No task to wake, unknown frame received! NumMids 10
/var/log/syslog:May 10 16:01:04 renovatio kernel: [618507.938956] CIFS VFS: No task to wake, unknown frame received! NumMids 9
/var/log/syslog:May 10 16:27:12 renovatio kernel: [ 8.312195] CIFS VFS: Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
/var/log/syslog:May 10 16:27:12 renovatio kernel: [ 8.312229] CIFS VFS: cifs_mount failed w/return code = -95
/var/log/syslog:May 10 16:27:12 renovatio kernel: [ 8.322020] CIFS VFS: Dialect not supported by server. Consider specifying vers=1.0 or vers=2.0 on mount for accessing older servers
/var/log/syslog:May 10 16:27:12 renovatio kernel: [ 8.322054] CIFS VFS: cifs_mount failed w/return code = -95
After last error, we tried to specify versions 1.0, 2.0, 2.1 and 3.0 in /etc/fstab, and the connection is correctly stablished, but file downloaded through this are corrupted too. We don't know what more to do, instead rolling back to 16.04.
Any suggestion? The Synology SMB server is configured to support from 1.0 SMB to 3.0.
Thanks a lot.
Bookmarks