burnley
Regular Pleskian
TITLE:
mailmng-server error: Fatal error: boost::exception_detail::clone_impl
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:CentOS 7 Plesk Onyx Version 17.5.3 Update #21, last updated on Sept 11, 2017 05:02 PM
PROBLEM DESCRIPTION:/usr/local/psa/admin/bin/mailmng-server --set-max-letter-size --size=78643200
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
I keep getting this error on all the other 12.5.30 servers whenever I try to change settings in the
Server-Wide Mail Settings page. Been ignoring it hoping that'll get fixed in Onyx, but it appears the bug is still there.
STEPS TO REPRODUCE:Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
I keep getting this error on all the other 12.5.30 servers whenever I try to change settings in the
Server-Wide Mail Settings page. Been ignoring it hoping that'll get fixed in Onyx, but it appears the bug is still there.
[root@plesk12 ~]# postconf mailbox_size_limit
mailbox_size_limit = $message_size_limit <-- this is valid Postfix configuration.
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
[root@plesk12 ~]# postconf -e 'mailbox_size_limit=78643200'
--- It will now work: ---
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
78643200
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --set-max-letter-size --size=78643200
[root@plesk12 ~]# postconf -e 'mailbox_size_limit=$message_size_limit'
--- It will break again ---
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --set-max-letter-size --size=78643200
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
ACTUAL RESULT:mailbox_size_limit = $message_size_limit <-- this is valid Postfix configuration.
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
[root@plesk12 ~]# postconf -e 'mailbox_size_limit=78643200'
--- It will now work: ---
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
78643200
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --set-max-letter-size --size=78643200
[root@plesk12 ~]# postconf -e 'mailbox_size_limit=$message_size_limit'
--- It will break again ---
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --get-mailbox-size-limit
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
[root@plesk12 ~]# /usr/local/psa/admin/bin/mailmng-server --set-max-letter-size --size=78643200
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
/usr/local/psa/admin/bin/mailmng-server --set-max-letter-size --size=78643200
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
EXPECTED RESULT:Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
Fatal error: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_lexical_cast> >(bad lexical cast: source type value could not be interpreted as target)
No crash
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug