Extended screen output when upload fails

This commit is contained in:
mboelen 2015-04-22 11:02:22 +02:00
parent ec5e9cbecf
commit cd78379906
1 changed files with 12 additions and 6 deletions

View File

@ -96,12 +96,18 @@ output "Settings file: ${SETTINGS_FILE}"
output "${WHITE}License is valid${NORMAL}"
logtext "Result: License is valid"
else
echo "${RED}Fatal error: ${WHITE}This license key can not be checked, or has been expired. Please contact support@cisofy.com.${NORMAL}"
logtext "License check failed. This might have different causes:"
logtext "- Connection with license server could not be established"
logtext "- Collector version of Lynis version outdated"
logtext "- License expired"
logtext "- No credits left"
echo "${RED}Fatal error: ${WHITE}Error while checking the license.${NORMAL}"
echo ""
echo "Possible causes and steps you can take:"
echo "- Connection with license server could not be established (try address in your web browser)"
echo "- License is expired (listed in Configuration screen)"
echo "- No credits left (listed in Configuration screen)"
echo "- Collector version of Lynis version outdated (upgrade to latest Lynis or Lynis Collector)"
echo ""
echo "If you need support in solving this, please contact support@cisofy.com and include this screen output."
echo ""
echo "URL: ${LICENSE_SERVER_URL}"
echo "Key: ${LICENSE_KEY}"
output "Debug information: ${UPLOAD}"
# Quit
ExitClean