- Copy installer iso contents to tftp server, like $TFTPROOT/esxi/installer/5.1u1/.
- Modify boot.cfg:
label esxi51u1 kernel esxi/installer/5.1u1/mboot.c32 append -c esxi/installer/5.1u1/boot.cfg
label esxi51u1 kernel esxi/installer/5.1u1/mboot.c32 append -c esxi/installer/5.1u1/boot.cfg
label esx01 kernel esx01/mboot.c32 append -c esx01/boot.cfg
In the last two years we were suffering from jenkins CPU and memory utilization. The following switches made miracle:
We see ~60% CPU usage at peaks(!) on a Xeon E5504 2.00GHz, instead of constant 400%.
Currently there are 80 executors.
Squid log looks like this:
Tue May 21 07:32:33 2013 25 10.0.1.63 TCP_MISS/200 68240 GET http://www.olcsobabakocsi.com/imagebrowser/ib_p010_0_66.jpg - DIRECT/212.108.200.61 image/jpeg
Use this one-liner to convert unix timestamp to readable dates:
There are number of howtos about changing a lost password in iLO. They’re all talking about properly formatted xml file and hponcfg.
But what if you get this message?
$ hponcfg HP Lights-Out Online Configuration utility Version 4.0.0 Date 12/08/2011 (c) Hewlett-Packard Company, 2011 ERROR: Could not find the Management Processor Device Node. Please check if the iLO driver module is installed and running properly. ACTION REQUIRED: Install/Re-install hp Lights-Out driver package('hp-ilo' RPM) for iLO.
It’s worth verifying, that it’s really iLO not Lights-Out 100!
Lights-Out 100 (or LO100) is a standard IPMI device.
It’s easy to manage:
Through the release upgrade process there is an error:
unable to make backup link of `./lib/init/fstab’ before installing new version: Invalid cross-device link
$ apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: mountall The following packages will be upgraded: mountall 1 upgraded, 0 newly installed, 0 to remove and 246 not upgraded. 8 not fully installed or removed. Need to get 0B/67.8kB of archives. After this operation, 5,120B of additional disk space will be used. Do you want to continue [Y/n]? (Reading database ... 18882 files and directories currently installed.) Preparing to replace mountall 2.15.3 (using .../mountall_2.36.4_amd64.deb) ... Moving obsolete conffile /etc/init/mounted-varrun.conf out of the way... Unpacking replacement mountall ... dpkg: error processing /var/cache/apt/archives/mountall_2.36.4_amd64.deb (--unpack): unable to make backup link of `./lib/init/fstab' before installing new version: Invalid cross-device link Reinstalling /etc/init/mounted-varrun.conf that was moved away Errors were encountered while processing: /var/cache/apt/archives/mountall_2.36.4_amd64.deb localepurge: Disk space freed in /usr/share/locale: 0 KiB localepurge: Disk space freed in /usr/share/man: 0 KiB Total disk space freed by localepurge: 0 KiB
Stop the container and run this command from the host:
$ lxc-unshare -s MOUNT -- chroot rootfs apt-get -f install
‘sudo rm -f’ does not remove directory content.
How can this happen?
Check permissions:
If user doesn’t have permission to list the directory, the wildcard matches to nothing in despite of sudo.
Note: in zsh an error message is displayed:
zsh: no matches found: /1/*
There is a quite common openvpn scenario:
NETWORK_A — GW_A — INTERNET — GW_B — NETWORK_B
GW_A is openvpn server, GW_B is client.
Everything is setup correctly including iroute.
Networking routes still cannot be used.
Continue reading
=======================================
Notify Zimbra of your installation? [Yes] no
Notifying Zimbra of installation via
http://www.zimbra.com/cgi-bin/notify.cgi?VER=8.0.0_GA_5434_UBUNTU12_64&MAIL=admin@domain.hu
Notification complete
=======================================
Thanks:o)
For unknown reason on my desktop the default button layout has changed.
There are a lot of links on the web, but they don’t look useful in Quantal.
The solution is using dconf instead of gconf.
In dconf-editor go to
org.gnome.desktop.wm.preferences
than
Change button-layout to: close,minimize,maximize:.
The change takes effect immediately.
When I wanted to install new or update available maps I saw the following error message:
Connect to Wi-Fi network to download maps.
Solution is on this page:
http://discussions.nokia.com/t5/Maemo-and-MeeGo-Devices/N9-Wi-Fi-internet-connectivity-problem/td-p/1189865/page/3
1) Turn off Power saving – Device|Battery|Power Saving. If this is on it will turn off the WiFi when it thinks it is not being used! You can turn it back on when finished the map downloads.
2) In the Map application go to Settings and turn ‘On-line’ on. This seems to turn itself off…
However for me the first step was not necessary.
Whereas restarting the Maps application was a must.
Login does not work in the application. In ipa access log there are some entries:
[26/Aug/2012:16:10:49 -0400] conn=183 fd=68 slot=68 connection from 10.0.0.4 to 10.0.0.5 [26/Aug/2012:16:10:49 -0400] conn=183 op=0 BIND dn="admin" method=128 version=3 [26/Aug/2012:16:10:49 -0400] conn=183 op=0 RESULT err=53 tag=97 nentries=0 etime=0 [26/Aug/2012:16:10:49 -0400] conn=183 op=-1 fd=68 closed - B1
Official error code shows:
#define EBADR 53 /* Invalid request descriptor */
Not really useful.
Solution: connection was initiated by the user (bind dn) ‘admin’, but wrong credential was provided.
run-all () { GROUP=$1 shift for host in `cat /root/.hosts.$GROUP`; do echo $host ssh $host "$*" done }
usage:
$ run-all web-servers apt-get upgrade -y
/root/.hosts.web-servers
w1 w2 w3
There are messages like this in glusterfs mount point’s log:
Although it’s not identified as an error, it is. Some of the clients cannot access the affected files.
For fix, run this command on each(?) cluster node:
Do not try on any kind of production environment. But good for testing for example a VM.
There is an almost brand new RHEV 3.0 installation.
Old users can authenticate and can be listed on the administration interface, but a new user cannot be added.
In the IPA log no relevant information or error message, only the same as in the rhev.log:
Solution: by default IPA password policy require to change the passwords from time to time. RHEV was installed before changing the password of the user, who used accessing IPA.
So change back the password and error disappear.
With this issue Windows 7 is not affected.
I installed Windows XP with virtio block device fine. After rebooting the OS cannot be started from the disk with this message:
Solution: upgrade seabios package to 0.6.2-0ubuntu2 or above.
It’s possible to install IPA into an LXC container.
First time I got this error message:
Solution: set up tmpfs for /tmp
When you install ant from tarball, according to http://ant.apache.org/manual/install.html library dependencies need to be downloaded and installed.
If you recieve 404 (Not found) you should check this post.
Continue reading
I could not hear skype buddies, but I could talk to them.
I fixed this by installing the a library:
$ apt-get install libsdl1.2debian:i386
This come up in many cases. Typical secanario for tomcat based applications.
This is an easy to use mysql backup script. Optionally you can choose whether you want to dump or only copy the database files which are created with an lvm snapshot in a safe way.
The official wiki page at http://munin-monitoring.org/wiki/HowToContactNagios says, the system can be configured by telnet. But no, you will get timeout.
Actually it can be tested via send_nsca like this:
In syslog this must be appeared if debug is enabled:
Jun 27 17:46:40 nagiospro nsca[6122]: Connection from 127.0.0.1 port 48773
Jun 27 17:46:40 nagiospro nsca[6122]: Handling the connection…
Jun 27 17:46:50 nagiospro nsca[6122]: End of connection…
Jun 27 17:46:54 nagiospro nsca[6129]: Connection from 127.0.0.1 port 49285
Jun 27 17:46:54 nagiospro nsca[6129]: Handling the connection…
Jun 27 17:46:58 nagiospro nsca[6129]: SERVICE CHECK -> Host Name: ‘test’, Service Description: ‘test’, Return Code: ‘0’, Output: ‘test-output’
Jun 27 17:46:58 nagiospro nagios3: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;test;test;0;test-output
Jun 27 17:46:58 nagiospro nagios3: Warning: Passive check result was received for service ‘test’ on host ‘test’, but the host could not be found!
Jun 27 17:47:04 nagiospro nsca[6129]: End of connection…
Jun 27 17:49:32 nagiospro nagios3: Auto-save of retention data completed successfully.
Topology:
WEB [10.0.0.1] – fw1 [1.1.1.1] —– INTERNET —– [2.2.2.2] fw2 – CAMERA [192.168.0.1]
On fw1:
On fw2:
After installing custom openssl certificate it cannot be properly restarted with this failure message:
Starting logger…Failed.
Starting logswatch…ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target)
zimbra logger service is not enabled! failed.
Everybody needs it and bigger crews also use ldap authentication.
After kernel version 2.6.33 for HP SmartArray storage controllers the driver changed.
Actually cciss is a driver for a raid controller, the new hpsa is a driver for SCSI/SATA/SAS block devices.
How to setup a serial console access to a libvirt based KVM machine?
Slightly modifid scipt from:
http://openconcept.ca/mysql_permissions_for_backup
Continue reading
/etc/ssh/sshd_config:
Keep everything for 1 month.
Keep every sunday backup for 3 months
Never erase a backup of the the first day of months.
Problem: After success password change with the plugin change_sqlpass the next page is:
This page request could not be verified and appears to have expired.
This patch get it working on newer systems, for example on Ubuntu 10.04 Lucid Lynx.
This script can be used out of box for traffic shaping via linux.
Just change the limits and the source address.
Continue reading
How to load config into varnish with no restart?
You will see a verbose log about the chat just like with telnet.
It’s more handy.