If you’re trying to run rkhunter check on your server and finding expr: syntax error for all binaries, it might be due to outdated file properties database.
Run the following command to fix it:
rkhunter –propupd –update
After updating the file properties database, you must get rkhunter working fine again.
Here is some more information about –propupd option
–propupd [file | directory | Update the entire file properties database,
package]… or just for the specified entries
Zimbra desktop installation on my system was prompting me to upgrade the installation to the latest 7.2.7 version. I downloaded the installer (zdesktop_7_2_7_ga_b12059_20150629062326_linux_i686.tgz) from Zimbra and found that it was not working. For couple of weeks there was no discussion around this on zimbra forums too.
Looking at the logs displayed the following error:
STARTED Jetty ಸೋ ಆ 3 23:03:55 IST 2015
Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.
STOPPED ಸೋ ಆ 3 23:03:55 IST 2015
This forced me to change the default java version that I’m using on my desktop to and i386 version.
$ sudo update-alternatives –config java
There are 4 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
0 /usr/lib/jvm/java-8-oracle/jre/bin/java 1077 auto mode
1 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
* 2 /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java 1070 manual mode
3 /usr/lib/jvm/java-8-oracle/jre/bin/java 1077 manual mode
4 /usr/lib/jvm/java-9-oracle/bin/java 1076 manual mode
Press enter to keep the current choice[*], or type selection number:
This sorted the issue with Zimbra desktop quickly.
Having trouble getting eclipse loaded on your linux machines?
Try the following troubleshooting methods to get that sorted.
First to understand the complete issue, run the eclipse command on your terminal as follows:
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Unrecognized VM option ‘MaxPermSize=256m’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Now, you know that the application is not able to identify the parameter related to Java MaxPermSize. These parameters are loaded via eclipse.ini file which is easy to find it under program files in Windows. But to find this on your linux machine, you should know where eclipse has its installation directory and find .ini under that.
I found the installation directory of eclipse by running the command dpkg -L eclipse-pde
to find it under /usr/lib/eclipse. Commented the lines containing MaxPermSize option to get eclipse working.
Let me know if you find it working for yourself.
VMWare communities thread again gives a quick for this issue here:
Find the solution below:
Step 1: log in as root (e.g. sudo -s)
Step 2: Enter your Root password.
Step 3: Enter these commands:
curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch
tar -xf vmnet.tar
patch -p0 -i /tmp/vmnet-3.19.patch
mv vmnet.tar vmnet.tar.SAVED
tar -cf vmnet.tar vmnet-only
rm -r vmnet-only
vmware-modconfig –console –install-all
VMware will now compile the vmnet module for Kernel 3.19. (please make sure you have DKMS installed)