mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
Extended screen output when upload fails
This commit is contained in:
parent
ec5e9cbecf
commit
cd78379906
@ -96,12 +96,18 @@ output "Settings file: ${SETTINGS_FILE}"
|
|||||||
output "${WHITE}License is valid${NORMAL}"
|
output "${WHITE}License is valid${NORMAL}"
|
||||||
logtext "Result: License is valid"
|
logtext "Result: License is valid"
|
||||||
else
|
else
|
||||||
echo "${RED}Fatal error: ${WHITE}This license key can not be checked, or has been expired. Please contact support@cisofy.com.${NORMAL}"
|
echo "${RED}Fatal error: ${WHITE}Error while checking the license.${NORMAL}"
|
||||||
logtext "License check failed. This might have different causes:"
|
echo ""
|
||||||
logtext "- Connection with license server could not be established"
|
echo "Possible causes and steps you can take:"
|
||||||
logtext "- Collector version of Lynis version outdated"
|
echo "- Connection with license server could not be established (try address in your web browser)"
|
||||||
logtext "- License expired"
|
echo "- License is expired (listed in Configuration screen)"
|
||||||
logtext "- No credits left"
|
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}"
|
output "Debug information: ${UPLOAD}"
|
||||||
# Quit
|
# Quit
|
||||||
ExitClean
|
ExitClean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user