Symptoms
Parallels Plesk Panel version 8.6 is running on Ubuntu/Debian operating system.Samba Fileserver is shown as stopped in Parallels Plesk Panel on page {Modules -> Samba Fileserver Configuration} and it cannot be started with option {Switch On}.
Also its status is shown as stopped with Plesk CLI:
~# /usr/local/psa/admin/sbin/modules/fileserver/filesrvmng --status
is stopped
~#and error "Unknown OS release number" is generated when try to start the service:
~# /usr/local/psa/admin/sbin/modules/fileserver/filesrvmng --start
filesrvmng: /opt/psa/admin/bin/chkconfig execution failed:
Unknown OS release number '2.6.24-1-amd64'
filesrvmng: /opt/psa/admin/bin/chkconfig execution failed:
Unknown OS release number '2.6.24-1-amd64'
~#Why?
Resolution
This is a known issue for installation of Parallels Plesk Panel installed on Debian/Ubuntu: status of Samba Fileserver is always shown as "stopped".The problem has been fixed in Parallels Plesk Panel since version 9.0.0.
Hotfix for Parallels Plesk Panel version 8.6 for Debian4.0 i586/x86_64 and Ubuntu6.06 32bit is attached.
To install it you should download archive filesrvmng.tgz from the attachment and unpack it with tar -zxf. In resulted directory find file filesrvmng for your operating system and replace existent file /opt/psa/admin/sbin/modules/fileserver/filesrvmng with it. Do not forget to backup old file filesrvmng.
Verify and correct permissions, it should be root:psaadm, 550. You may correct permissions with commands chown and chmod:
~# chown root:psaadm /opt/psa/admin/sbin/modules/fileserver/filesrvmng
~# chmod 550 /opt/psa/admin/sbin/modules/fileserver/filesrvmngThe hotfix does nothing with notification "Unknown OS release number". It is still shown when try to start the service with "filesrvmng --start". The notification is specific for Debian/Ubuntu and does not affect normal functionality of the service.