- 3
- Replies
- 3524
- Views
- 0
- Likes
I don't know how to correct this problem. I also have a DS1515+ on the same network but it is working normally.
When working with VMware ESXi it’s quite simple to check logs. Not really simple means:
We were looking to make that a lot simpler, especially as we don't have a team looking after log files the whole time. I doubt so many companies have actually.
So our goal was to find an affordable turnkey solution (ideally free VMware Log analysis solution) to make our life easier to access logs (syslog) centralized with some fancy alert graphs and filters.
Most of the time I accessed log files navigating to /var/log/vmware on my ESXi hosts, but the files you see in this directory are only links, pointing to /scratch/log/. The host keeps keeps rotating the log-files 8 times at 1024 KiB of size and deletes everything after those 8 rotates. The log-rotates look like
To view them you have to gunzip them. So “gunzip hostd.0.gz” to unzip the first log-rotate. Please make sure to copy the file to another folder (like /tmp/) before extracting it to avoid replacing existing log-files.
When using a syslog most logging-information are sent to a central server, means you no longer have to grab the files manually from a single server. Checking log-files for “errors” or “warnings” for ALL your ESXi-Servers becomes then very easy. At least that's the first thought. But the biggest issue then is the amount of log data that comes in and most of the time you don't really know what the log entry could mean, as they have different structures. Depending on which syslog-server you are using, you can also have difficulties in finding a good query engine to search for certain content.
Handling too many data can be very expensive based on the product licensing model, especially when data amount based. Very often it makes sense to start or extent existing solutions with free VMware Log analysis tools.
The alternative solutions
As we didn't need to use a commercial solution like VMware vRealize Log Insight or Splunk.
I did some some google research about free log analysis solutions and found a lot of ElasticSearch and logstash based solutions. All supposed to be free to use. So I took a closer look on the so called ELK Stack - ElasticSearch, LogStash, Kibana. All open source alternatives to Splunk. If you're interested in a more enterprise grade solution with professional support you should definitely look into Graylog. Btw. Graylog also enables you to save big time in filtering log traffic before forwarding it to Splunk.
Of course using a very feature rich, VMware Log analysis solution that is free to use wasn't so bad.
For us the fastest solution as we wanted to focus on VMware ESXi and VMware vCenter was Sexilog (just switch S with e and you know where the name comes from.)
Beside the awesome name, SexiLog offers easy installation, and quick results and nice graphs and filtering.
The installation of SexiLog is really easy. Just download the .ova from the webpage (http://www.sexilog.fr/quickstart/) and deploy it using the vSphere client or the webclient (please make sure that the VMware client integration plugin is running, because otherwise you want be able to deploy anything).
After the installation just select a portgroup for the appliance to run. When powering on, it will start to search for a dhcp address. If you want to use a static/manual ip address just open the console, login using the default user: root password: Sex!Log.
After the login it will offer a nice menu to help you doing so. Hit “5” to open the network settings dialogue and enter the values you’d like to use.
The appliance will reboot and listen on the configured IP address or DNS name.
If you want to check if everything went fine, just open the IP-address/fqdn in a browser of your choice and the SexiHome dashboard should show up.
To add the SexiLog syslog server now to your ESXi server just open the advanced configuration of the ESXi-server. Using the webclient, go to:
vCenter à Hosts à Select the host à Manage à Settings à Advances settings
And search for the “Syslog.global.logHost”. Set in to udp://<FQDN_of_SexiLog>:514
To make sure that the log entries are able to leave to host just make sure that the firewall entries are set. Go to the:
vCenter -> Hosts -> Select the host -> Manage -> Settings -> Security Profile -> Edit
Search for syslog and enable it.
Repeat this step for each ESXi host. If you want to use the Powercli to make this more comfortable, just check out the guide on the SexiLog webpage.
You’re now ready to use the freshly installed syslog, using your browser just open http://<FQDN_of_SexiLog> and check if the data keeps coming.
You can now browse, filter, inspect all the data received.
What makes SexiLog really compelling for any VMware Shop is that there are a ton of preconfigured Log Queries integrated. You can access them on the upper right.
Some of the great preset queries are Snapshots, SenseData and vMotionRate. Of course you can change these queries as well as the timerange.
To get an overall View the Kommandantur Dashboard is a very good starting point - especially for your support team on a big screen.
If you're looking for a quick and easy solution focussing on free VMware Log Analysis, SexiLog is definitely a very good choice. The standard virtual appliance can roughly server up to 20 ESXi hosts and is also capable of receiving vCenter and Windows VM log files.
Btw. this free VMware log solution can be combined with Opvizor Health Analyzer or Snapwatcher in a perfect way, to predict and catch most of the bad situations that can happen in a VMware based environment. You should give it a try!
filesystemmountread-only
I'm running Ubuntu 12.10, Upon opening any shell I get the following error:
/home/jack/.rbenv/libexec/rbenv-init: line 87: cannot create temp file for here-document: Read-only file system
I realised this wasn't simply a rbenv issue, as any file I try to write to returns an error saying the system is Read-only.
I don't know how else to describe my problem, each time I boot up the system goes through a disk check, where it supposedly fixes several errors in my disk.
Here is my /etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=1cc4b2ab-a984-4516-ac25-6d64f5050244 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=4e0dfeae-701a-43ce-b5c6-65f15ab3d8e3 none swap sw 0 0
The entire file system is read-only. I've tried the following
sudo fsck.ext4 -f /dev/sda1
which gave the following (shortened) output
/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: ***** REBOOT LINUX *****
/dev/sda1: 1257080/45268992 files (1.0% non-contiguous), 50696803/181051904 blocks
I have same problem with Xubuntu 12.10. The FS suddenly and randomly become read-only. Maybe it is related to this bug:
RDP connection error “CredSSP encryption Oracle remediation”
If you are trying to connect to a server (or host in general) which has a recent Windows Update, and if the client machine you are connecting from is not patched to the latest level, you may receive the following error.
An authentication error has occurred.
The function requested is not supported.
Remote computer: xxxxxxxx
This could be due to CredSSP encryption oracle remediation.
For more information, see https://...
Here’s a version matrix between Windows 10 clients and Windows Server 2016, but the error can exist also in different version combinations:
This error has been quite common since the latest release of May Windows Updates. Indeed, the latest Windows RDP server-side no longer considers older (pre-May) versions of RDP clients.
Quick workaround
Microsoft recommends that you update your Windows client to the latest version and updates. However, in some cases this is not practical. Be it due to your organization’s OS updating process or the fact you are in need of a quick RDP access. Here is a quick workaround for those of you who wish not to update the entire OS in order to connect to a picky RDP server. There are different ways for applying this workaround:
Method 1: regedit
Run “regedit.exe” and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters
There, add a DWORD value “AllowEncryptionOracle” and set it to 2.
Method 2: command line
Alternatively, you can launch the following from an elevated (administrator-launched) command line:
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters\ /v AllowEncryptionOracle /t REG_DWORD /d 2
Method 3: local group policy editor
Run the command “gpedit.msc”. There, go to
Local Computer Policy\Computer Configuration\Administrative Templates\System\Credentials Delegation
Double-click the line “Encryption Oracle Remediation”. Set it to Enabled with Protection Level = “Mitigated”:
Comprehensive fix
If you need RDP for your users to run a specific set of programs, products such as Cameyo allow you to avoid this sort of issues altogether. Cameyo transforms Windows / Active Directory sessions (such as performed by RDP) into cloud-friendly sessions that support modern authentication methods such as OAuth2 (Google ID, Microsoft ID, Azure Active Directory) or email / passwords. It optionally allows multi-factor authentication (MFA). This simplifies cloud & Web migration, with less maintenance and more security.
Click here to start your free trial of Cameyo.
root@TEL:~# su - oracle
oracle@TEL:~$ sqlplus /nolog
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
oracle@TEL:~$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe
oracle@TEL:~$ sqlplus /nolog
SQL*Plus: Release 11.2.0.2.0 Production on Tue Dec 29 11:14:11 2020
Copyright (c) 1982, 2011, Oracle. All rights reserved.
SQL> connect /as sysdba;
Connected.
SQL> startup;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> exit
I've a linux RedHat which contains oracle database. I setted all environnement variables, but when I running sqlplus
command I've this error : SP2-0667: Message file sp1<lang>.msb not found
Here are my variables ans my sqlplus
commands :
[oracle@as ~]$ echo $ORACLE_HOME
/oracle/product/12.1.0/dbhome_1
[oracle@as ~]$ echo $ORA_NLS33
/oracle/product/12.1.0/dbhome_1/nls/data
[oracle@as ~]$ echo $LD_LIBRARY_PATH
/oracle/product/12.1.0/dbhome_1/lib
[oracle@as ~]$ sqlplus
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
Note that I'm currently running as oracle
user, which seems to be the owner of the /oracle
folder with read and excecute permission. I also seen that a file named sp1us.msb exists in the following folder :
[oracle@as ~]$ find $ORACLE_HOME | grep sp1
/oracle/product/12.1.0/dbhome_1/sqlplus/mesg/sp1us.msb
/oracle/product/12.1.0/dbhome_1/sqlplus/mesg/sp1us.msg