Hi! I’m new here. When I updated rockstor from 3.9.1-0 to 3.9.1-14 I first noticed this message:
"You are running an unsupported kernel(4.10.6-1.el7.elrepo.x86_64). Some features may not work properly. Please reboot and the system will automatically boot using the supported kernel(4.12.4-1.el7.elrepo.x86_64)"
Then the Samba service was disabled and when I wanted to enable it show this error:
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/samba_service.py”, line 92, in post
File “/opt/rockstor/src/rockstor/system/samba.py”, line 178, in update_global_config
File “/opt/rockstor/src/rockstor/system/samba.py”, line 45, in test_parm
raise Exception('Syntax error while checking the temporary '
Exception: Syntax error while checking the temporary samba config file
I rebooted the system but with no changes. I also tried to change grub2 to boot with new kernel but then rockstor didn’t boot at all so I changed back to 4.10 kernel.
I reinstalled libwbclient with following command according to this thread
yum reinstall libwbclient -y
enabled samba and now it works. But I’m still having unupdated kernel error:
You are running an unsupported kernel(4.10.6-1.el7.elrepo.x86_64). Some features may not work properly. Please reboot and the system will automatically boot using the supported kernel(4.12.4-1.el7.elrepo.x86_64)
@Wiserock Welcome to the Rockstor community and thanks for reporting your findings.
Glad you got it sorted. @rtharston in that thread experienced the same and seems to have confirmed the cause to be an interrupted upgrade. This is a UI failure on our part and we have an open issue for this now curtesy of @doenietzomoeilijk:
Phill, thank you for your suggestions. I managed to fix the kernel issue.
First I checked system with yum history and with yum check (it took about 45 min.)
I can confirm that issue was due to interrupted upgrade which you can see in yum history.
I had to delete duplicate packages and after I had to remove latest kernel with this:
yum remove kernel-ml-4.12.4-1.el7.elrepo.x86_64
and reinstall it with this:
yum install kernel-ml-4.12.4-1.el7.elrepo.x86_64
and on the end update grub2 and set default kernel.