Forums

Resolved
0 votes
all services seem to be working butI cant log in to the web GUI

An Error Was Encountered

/usr/clearos/apps/administrators//language/en_US/administrators_lang.php does not contain a valid lang array.

is there a way I can restore the web configuration through ssh ?
Thursday, February 05 2015, 11:47 AM
Share this post:
Responses (6)
  • Accepted Answer

    Tokolosh
    Tokolosh
    Offline
    Thursday, February 05 2015, 12:31 PM - #Permalink
    Resolved
    0 votes
    Hi

    Yes you can do it via SSH (i use WinSCP for things like this)
    You did not write which version you are using - so i'm going on a limb here and assume you are using 6.5. Make a backup of your file (or simply rename it) and try the one i am attaching. [file name=administrators_lang.zip size=313]http://www.clearfoundation.com/media/kunena/attachments/legacy/files/administrators_lang.zip[/file]
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 10 2015, 10:21 AM - #Permalink
    Resolved
    0 votes
    Hello Shaun,

    Thanks for the file it seem it worked fine
    but now it is showing error on
    /usr/clearos/apps/mail//language/en_US/mail_lang.php does not contain a valid lang array
    can you send me also this one. i hope its the only file corrupted.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 10 2015, 10:42 AM - #Permalink
    Resolved
    0 votes
    <?php

    $lang['mail_app_name'] = 'Mail Library';
    $lang['mail_app_description'] = 'The Mail app is a very simple library that handles core mail parameters for other mail apps.';
    $lang['mail_mail_domain'] = 'Mail Domain';
    $lang['mail_mail_domain_invalid'] = 'Mail domain is invalid.';
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 10 2015, 10:56 AM - #Permalink
    Resolved
    0 votes
    /usr/clearos/apps/policy_manager//language/en_US/policy_manager_lang.php ?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 10 2015, 11:28 AM - #Permalink
    Resolved
    0 votes
    I don't use the policy manager. For these files try doing a
    yum provides /usr/clearos/apps/policy_manager//language/en_US/policy_manager_lang.php
    or something similar to find the package containing the file. You can then do a:
    yum reinstall packagename
    Or, if the package is not in clearos-core, go to the repos and download the relevant rpm. From there, if you are clever (not me) use something like the rpm2cpio and cpio commands to extract the relevant files. If you not so clever (like me), pull the rpm over to a Windoze box and use 7z to explore the rpm (open the rpm, double-click on the cpio package and then double-click on the "." and you'll see the files). Extract the file from there and re-upload it to ClearOS.

    Have you by any chance run out of disk space to get these file corruptions?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 10 2015, 12:59 PM - #Permalink
    Resolved
    0 votes
    Thanks!!!
    i re installed the package and it works fine now
    The reply is currently minimized Show
Your Reply