unexpected end of file error [SOLVED]

Discussion in 'ISPConfig 3 Priority Support' started by SupuS, Mar 5, 2015.

  1. SupuS

    SupuS Member HowtoForge Supporter

    Hi
    I found strange error in /var/log/ispconfig/cron.log:
    Code:
    Thu Mar 5 19:00:05 CET 2015 sh: -c: line 0: unexpected EOF while looking for matching `"'
    Thu Mar 5 19:00:05 CET 2015 sh: -c: line 1: syntax error: unexpected end of file
    Thu Mar 5 19:05:01 CET 2015 sh: -c: line 0: unexpected EOF while looking for matching `"'
    Thu Mar 5 19:05:01 CET 2015 sh: -c: line 1: syntax error: unexpected end of file
    Thu Mar 5 19:10:01 CET 2015 sh: -c: line 0: unexpected EOF while looking for matching `"'
    Thu Mar 5 19:10:01 CET 2015 sh: -c: line 1: syntax error: unexpected end of file
    Thu Mar 5 19:15:01 CET 2015 sh: -c: line 0: unexpected EOF while looking for matching `"'
    Thu Mar 5 19:15:01 CET 2015 sh: -c: line 1: syntax error: unexpected end of file
    Thu Mar 5 19:20:02 CET 2015 sh: -c: line 0: unexpected EOF while looking for matching `"'
    Thu Mar 5 19:20:02 CET 2015 sh: -c: line 1: syntax error: unexpected end of file
    Thu Mar 5 19:25:01 CET 2015 sh: -c: line 0: unexpected EOF while looking for matching `"'
    Thu Mar 5 19:25:01 CET 2015 sh: -c: line 1: syntax error: unexpected end of file
    Where should I search for the reason of this error?
    Thanks for any idea
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to run the ispconfig server.sh script as root manually at a time where the minute can be divided by 5 and post the exact output (incl. spaces).
     
  3. SupuS

    SupuS Member HowtoForge Supporter

    Hi Till,
    thank you for replay. Here is what I get:
    Code:
    # /usr/local/ispconfig/server/server.sh
    /sbin/tw_cli
    sh: -c: line 0: unexpected EOF while looking for matching `"'
    sh: -c: line 1: syntax error: unexpected end of file
    /usr/bin/fail2ban-client
    /sbin/iptables
    /sbin/ip6tables
    finished.
     
  4. SupuS

    SupuS Member HowtoForge Supporter

    Hi Till,
    please could you tell me how to solve the problem?
    Thank you
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use a hardware raid controller?
     
  6. SupuS

    SupuS Member HowtoForge Supporter

    No. There is software raid and moreover the server is virtual only.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, then your provider seems to have installed hardware raid tools, ispconfig has detected them and tries to query them for the raid but if you dont have a hardware raid, then the tools give a result that triggers this message.

    Try:

    mv /sbin/tw_cli /sbin/tw_cli_bak

    to rename the unused raid tool.
     
    babydunk likes this.
  8. SupuS

    SupuS Member HowtoForge Supporter

    Thank you Till. Error disappeared from log file.
     

Share This Page