Hi all,
Yesterday I installed OpenVPN from the marketplace and since then I am unable to access the web interface on my gateway box from a client.
Also on the box itself I do not see the web interface after a successful login (just a white screen and a mouse pointer).
I am able to login with PuTTy & WinSCP from a client and my clients have Internet access.
I attempted to solve the problem with the following, but slapd was running and restarting the web interface did not solve the problem:
Uninstalling openvpn also did not solve the problem:
Please assist,
John
Yesterday I installed OpenVPN from the marketplace and since then I am unable to access the web interface on my gateway box from a client.
Also on the box itself I do not see the web interface after a successful login (just a white screen and a mouse pointer).
I am able to login with PuTTy & WinSCP from a client and my clients have Internet access.
I attempted to solve the problem with the following, but slapd was running and restarting the web interface did not solve the problem:
service slapd status
service webconfig restart
Uninstalling openvpn also did not solve the problem:
yum remove openvpn*
Please assist,
John
Share this post:
Accepted Answer
Looks like the OpenVPN was a red herring...the openvpn pkg may be installed on your system, but not the app-openvpn module (Marketplace app).
Regardless, your debug shows the problem and probes an interesting question..why is your software so out of date?
If you run:
You should see app-language-2.5.0-1.v7.noarch, but your system will have an earlier version.
Run:
I expect we'll see some dependency issues. Post here.
B.
Regardless, your debug shows the problem and probes an interesting question..why is your software so out of date?
If you run:
rpm -qv app-language
You should see app-language-2.5.0-1.v7.noarch, but your system will have an earlier version.
Run:
yum repolist
yum upgrade
I expect we'll see some dependency issues. Post here.
B.
Responses (3)
-
Accepted Answer
Thanks B.
The "yum upgrade" did the trick.
I used to have some problem with an older kernel so I had disabled automatic updates and ran the rescue kernel, but in the mean time these problems have been solved.
# rpm -qv app-language
app-language-2.5.0-1.v7.noarch
I also successfully installed OpenVPN from the marketplace.
Greetings & thanks,
John -
Accepted Answer
Hi B.
Thanks for your response.
Here are the results you asked for:
This error message was in my browser after enabling debugging:
Fatal error: Call to undefined method clearos\apps\language\Locale::get_translation_code() in /usr/clearos/framework/application/libraries/Login_Session.php on line 238
/var/log/webconfig/debug.log:
Nov 14 19:12:47 UTC 2018: 0.0000: profile: info: clearos\framework\Core (0): Config Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0287: profile: info: clearos\framework\Core (0): Hooks Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0308: profile: debug: clearos\framework\Core (0): UTF-8 Support Enabled
Nov 14 19:12:47 UTC 2018: 0.0309: profile: info: clearos\framework\Core (0): Utf8 Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0321: profile: info: clearos\framework\Core (0): URI Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0348: profile: info: clearos\framework\Core (0): Router Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0370: profile: info: clearos\framework\Core (0): Output Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0388: profile: info: clearos\framework\Core (0): Security Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0403: profile: debug: clearos\framework\Core (0): Global POST, GET and COOKIE data sanitized
Nov 14 19:12:47 UTC 2018: 0.0404: profile: debug: clearos\framework\Core (0): CRSF cookie Set
Nov 14 19:12:47 UTC 2018: 0.0405: profile: info: clearos\framework\Core (0): Input Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0416: profile: info: clearos\framework\Core (0): Language Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0429: profile: info: clearos\framework\Core (0): Config Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0467: profile: info: clearos\framework\Core (0): Loader Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0481: profile: info: clearos\framework\Core (0): Helper loaded: url_helper
Nov 14 19:12:47 UTC 2018: 0.0487: profile: info: clearos\framework\Core (0): Helper loaded: string_helper
Nov 14 19:12:47 UTC 2018: 0.0489: profile: info: clearos\framework\Core (0): Helper loaded: language_helper
Nov 14 19:12:47 UTC 2018: 0.0519: profile: info: clearos\framework\Core (0): Helper loaded: widgets_helper
Nov 14 19:12:47 UTC 2018: 0.0550: profile: info: clearos\framework\Core (0): Session: Class initialized using 'files' driver.
Nov 14 19:12:47 UTC 2018: 0.0600: profile: info: clearos\framework\Core (0): Helper loaded: form_helper
Nov 14 19:12:47 UTC 2018: 0.0602: profile: info: clearos\framework\Core (0): Form Validation Class Initialized
Nov 14 19:12:47 UTC 2018: 0.0614: profile: debug: clearos\framework\Core (0): Login Session Class Initialized - Login_Session::__construct(99)
Nov 14 19:12:47 UTC 2018: 0.0615: profile: debug: clearos\framework\Core (0): Login_Session::start(270)
Nov 14 19:12:47 UTC 2018: 0.0616: profile: debug: clearos\framework\Core (0): Loading base session data - Login_Session::start(279)
Nov 14 19:12:47 UTC 2018: 0.0635: profile: debug: clearos\framework\Core (0): File loaded: /usr/clearos/apps/network/language/en_US/network_lang.php
Nov 14 19:12:47 UTC 2018: 0.0711: profile: debug: clearos\framework\Core (0): File loaded: /usr/clearos/apps/base/language/en_US/base_lang.php
Nov 14 19:12:47 UTC 2018: 0.0970: profile: debug: clearos\apps\network\Hostname::__construct (126):
Nov 14 19:12:47 UTC 2018: 0.0971: profile: debug: clearos\apps\network\Hostname::get (238):
Nov 14 19:12:47 UTC 2018: 0.0973: profile: debug: clearos\apps\base\File::__construct (176):
Nov 14 19:12:47 UTC 2018: 0.0973: profile: debug: clearos\apps\base\File::get_contents (208):
Nov 14 19:12:47 UTC 2018: 0.0974: profile: debug: clearos\apps\base\File::get_contents_as_array (224):
Nov 14 19:12:47 UTC 2018: 0.0974: profile: debug: clearos\apps\base\File::get_size (423):
Nov 14 19:12:47 UTC 2018: 0.0975: profile: debug: clearos\apps\base\File::exists (392):
Nov 14 19:12:47 UTC 2018: 0.0975: profile: debug: clearos\apps\base\File::_get_system_max_bytes (1599):
Nov 14 19:12:47 UTC 2018: 0.0976: profile: debug: clearos\apps\base\File::exists (392):
Nov 14 19:12:47 UTC 2018: 0.0991: profile: debug: clearos\framework\Core (0): File loaded: /usr/clearos/apps/language/language/en_US/language_lang.php
Nov 14 19:12:47 UTC 2018: 0.1021: profile: info: clearos\framework\Core (0): User Agent Class Initialized
Nov 14 19:12:47 UTC 2018: 0.1023: error: PHP notice: /usr/clearos/framework/application/core/MY_Loader.php (125): Undefined property: CI::$user_agent
Nov 14 19:12:47 UTC 2018: 0.1023: profile: debug: clearos\apps\language\Locale::__construct (126):
Nov 14 19:12:47 UTC 2018: 0.1024: profile: debug: clearos\apps\language\Locale::get_languages (326):
Nov 14 19:12:47 UTC 2018: 0.1024: profile: debug: clearos\apps\language\Locale::get_locales (357):
Nov 14 19:12:47 UTC 2018: 0.1025: profile: debug: clearos\apps\language\Locale::_load_locales (527):
Nov 14 19:12:47 UTC 2018: 0.1032: profile: debug: clearos\apps\language\Locale::get_language_code (268):
Nov 14 19:12:47 UTC 2018: 0.1033: profile: debug: clearos\apps\base\File::__construct (176):
Nov 14 19:12:47 UTC 2018: 0.1034: profile: debug: clearos\apps\base\File::exists (392):
Nov 14 19:12:47 UTC 2018: 0.1034: profile: debug: clearos\apps\base\File::lookup_value (369):
Nov 14 19:12:47 UTC 2018: 0.1035: profile: debug: clearos\apps\base\File::get_contents_as_array (224):
Nov 14 19:12:47 UTC 2018: 0.1035: profile: debug: clearos\apps\base\File::get_size (423):
Nov 14 19:12:47 UTC 2018: 0.1036: profile: debug: clearos\apps\base\File::exists (392):
Nov 14 19:12:47 UTC 2018: 0.1036: profile: debug: clearos\apps\base\File::_get_system_max_bytes (1599):
Nov 14 19:12:47 UTC 2018: 0.1037: profile: debug: clearos\apps\base\File::exists (392):
Nov 14 19:12:47 UTC 2018: 0.1039: profile: debug: clearos\framework\Core (0): Login_Session::set_language(228)
Nov 14 19:12:47 UTC 2018: 0.1040: profile: debug: clearos\apps\language\Locale::__construct (126):
[14-Nov-2018 19:12:47 UTC] PHP Fatal error: Call to undefined method clearos\apps\language\Locale::get_translation_code() in /usr/clearos/framework/application/libraries/Login_Session.php on line 238
Nov 14 19:12:47 UTC 2018: 0.1046: error: error: clearos\framework\Core (0): Severity: Error --> Call to undefined method clearos\apps\language\Locale::get_translation_code() /usr/clearos/framework/application/libraries/Login_Session.php 238
Nov 14 19:12:47 UTC 2018: 0.1048: error: PHP warning: /usr/clearos/framework/system/core/Exceptions.php (268): include(../../application/views/errors/html/error_php.php): failed to open stream: No such file or directory
Nov 14 19:12:47 UTC 2018: 0.1049: error: PHP warning: /usr/clearos/framework/system/core/Exceptions.php (268): include(): Failed opening '../../application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/clearos/sandbox/usr/share/pear:/usr/share/php')
]# yum remove app-openvpn-core
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
No Match for argument: app-openvpn-core
No Packages marked for removal
Please assist,
John -
Accepted Answer
Hi John,
Turn on debugging:
touch /etc/clearos/webconfig.debug
Then reload a webconfig page that is blank and then post back here the contents of /var/log/webconfig/debug.log for analysis.
Disable debug:
rm /etc/clearos/webconfig.debug
To fix your Webconifg problem, run:
yum remove app-openvpn-core
B
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »