rvm errors in cron log from default cron job

Discussion in 'General' started by 99miles, Feb 17, 2012.

  1. 99miles

    99miles New Member

    I don't have any custom cron jobs enabled. But in the cron log file I keep getting:

    /usr/local/rvm/scripts/functions/env: line 121: syntax error near unexpected token `<'
    /usr/local/rvm/scripts/functions/env: line 121: ` done < <(printenv_null)'

    which goes away if I comment out this default cron job:
    * * * * * /usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log

    I'm not even sure why rvm is getting called at all. But I found this https://github.com/wayneeseguin/rvm/pull/747

    so I changed server.sh to have '#!/usr/bin/env bash' instead of '#!/bin/sh'

    But then I get this error:

    PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0

    Any idea what's going on?
  2. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use? What's your ISPConfig version?

    That's just a warning that you can ignore. But you can make it go away by replacing # with ; in the first line in /etc/php5/cli/conf.d/ming.ini.

Share This Page