update php

  • Hello!


    After update php on my server I got mail:
    Cron <root@omv> [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime) [omv]


    sed: неверный ключ -- «z»


    Использование: sed [ОПЦИЯ]... {только-скрипт-если-нет-другого-скрипта} [входной-файл]...


    -n, --quiet, --silent


    не выводить автоматически промежутки


    -e script, --expression=script


    добавление скрипта в исполняемые команды


    -f script-file, --file=script-file


    добавление содержимого файла-скрипта в исполняемые команды


    --follow-symlinks


    переходить по символьным ссылкам при обработке на месте


    -i[СУФФИКС], --in-place[=СУФФИКС]


    редактирование файлов на месте (создает копию, если указано расширение)


    -l N, --line-length=N


    указание желаемой длины переносимой строки для команды `l'


    --posix


    отключение всех расширений GNU.


    -r, --regexp-extended


    использование в скрипте расширенных регулярных выражений.


    -s, --separate


    допущение, что файлы разделены, а не в виде одного


    длинного непрерывного потока.


    -u, --unbuffered


    загрузка минимального объема данных из входных файлов


    и более частый сброс на диск выходных буферов


    --help вывод этой справки и выход


    --version вывод информации о версии и выход


    Если опция -e, --expression, -f, или --file не указана, тогда первый


    неопциональный аргумент берется как скрипт sed для интерпретации. Все


    оставшиеся аргументы являются именами входных файлов; если входные


    файлы не указаны, тогда читается стантартный ввод.


    GNU sed home page: <http://www.gnu.org/software/sed/>.


    General help using GNU software: <http://www.gnu.org/gethelp/>.



    Sorry, the mail in Russia. :(
    The mail about <z> key in "sed"...


    What's wrong?

  • Google Has Auto translated this for me, But I am getting this error Also message after running updates this Morning Which included miniDLNA


    ron <root @ OpenMediaVault> [-x / usr / lib / php5 / maxlifetime] && [-x / usr / lib / php5 / sessionclean] && [-d / var / lib / php5] && / usr / lib / php5 / sessionclean / var / lib / php5 $ (/ usr / lib / php5 / maxlifetime) [openmediavault.home]


    Code
    sed: Invalid option - 'z'Usage: sed [OPTION] ... {script-only-if-no-other-script} [input-file] ... -n, --quiet, --silent suppress automatic printing of pattern space -e script, --expression = script add the script to the commands to be executed -f script-file, --file = script-file add the contents of script-file to the commands to be executed - -follow-symlinks follow symlinks when processing in place -i [SUFFIX], --in-place [= SUFFIX] edit files in place (makes backup if extension supplied) -l N, --line-length = N specify the desired line-wrap length for the `l 'command --posix disable all GNU extensions. -r, --regexp-extended use extended regular expressions in the script. -s, --separate consider files as separate rather than as a single continuous long stream. -u, --unbuffered load minimal amounts of data from the input files and flush the output buffers more often --help display this help and exit --version output version information and exit If no -e, --expression, -f, or --file option is given, then the first non-option argument is taken as the sed script to interpret. All remaining arguments are names of input files; if no input files are specified, then the standard input is read. GNU sed Home Page: < [url='http://www.gnu.org/software/sed/']http://www.gnu.org/software/sed/[/url] > .General help using GNU software: < [url='http://www.gnu.org/gethelp/']http://www.gnu.org/gethelp/[/url] >.



    http://www.gnu.org/software/sed/http://www.gnu.org/gethelp/

  • Seems to be a known bug in PHP and the maintainers are working on resolving the issue.
    At least that's what I found out from googling when the errors showed up on my box.


    Btw: The "-z" parameter of sed (used in 'sessionclean' script") is not available in the current version installed on Wheezy but will come with a newer version.


    So there should be a fix soon for PHP. In the meantime you can delete the cron script from /etc/cron.d if you want to get rid of the errors/emails

    OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system

  • I´ve got the same problem...


    I expect that they will rollout the update as soon as possible.

    Asus Z97M-Plus / Intel Core i5 / 16 GB RAM / System: 120 GB Intel SSD / RAID 1 - 2 x 4 TB Seagate ST4000VN000 / USB Backup HDD - Seagate Backup Plus Desktop STCA4000200


    OMV - Arrakis 4.1.22.1
    Kernel 4.19.0.0 bpo4 - amd64
    PHP 7.0.33-0+deb9u1

  • Having the same issue, received 9 emails already at 30 minute intervals.

    OMV - v6 - Media Server


    Lian-Li PC-Q25 | Asrock E3C226D2I | Intel® Xeon® Processor E3-1230 v3 | Kingston Valueram 8Gb ddr3-1600 with ECC | OS: Adata SP600 32GB SSD * DATA: 4 x WD 2TB RED HDD's (RAID5)

  • It seems that the problem is solved...


    @SnOOzE.. Just install the latest php Updates !

    Asus Z97M-Plus / Intel Core i5 / 16 GB RAM / System: 120 GB Intel SSD / RAID 1 - 2 x 4 TB Seagate ST4000VN000 / USB Backup HDD - Seagate Backup Plus Desktop STCA4000200


    OMV - Arrakis 4.1.22.1
    Kernel 4.19.0.0 bpo4 - amd64
    PHP 7.0.33-0+deb9u1

  • It seems that the problem is solved...


    @SnOOzE.. Just install the latest php Updates !


    Just did the update, will monitor for more spam mail :)

    OMV - v6 - Media Server


    Lian-Li PC-Q25 | Asrock E3C226D2I | Intel® Xeon® Processor E3-1230 v3 | Kingston Valueram 8Gb ddr3-1600 with ECC | OS: Adata SP600 32GB SSD * DATA: 4 x WD 2TB RED HDD's (RAID5)

  • Working on my side also.


    Thanks guys, great job! :thumbup:

    OMV - v6 - Media Server


    Lian-Li PC-Q25 | Asrock E3C226D2I | Intel® Xeon® Processor E3-1230 v3 | Kingston Valueram 8Gb ddr3-1600 with ECC | OS: Adata SP600 32GB SSD * DATA: 4 x WD 2TB RED HDD's (RAID5)

  • @Admins


    i guess you can close this thread..


    Thanks

    Asus Z97M-Plus / Intel Core i5 / 16 GB RAM / System: 120 GB Intel SSD / RAID 1 - 2 x 4 TB Seagate ST4000VN000 / USB Backup HDD - Seagate Backup Plus Desktop STCA4000200


    OMV - Arrakis 4.1.22.1
    Kernel 4.19.0.0 bpo4 - amd64
    PHP 7.0.33-0+deb9u1

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!