If you run vmware-tools-upgrader-64 to install/upgrade your VMWare tools on your VM and you get the error:
Starting Tools Upgrader
RpcIn: Registering callback 'reset'
RpcIn: Registering callback 'ping'
RpcIn: Registering callback 'Capabilities_Register'
RpcIn: Registering callback 'upgrader.run'
RpcIn: Registering callback 'upgrader.cancel'
HgfsChannelGuest_Init: app tools-upgrader rpc = 0 rpc cb = 0.
HgfsChannelInitServer: Initialize Hgfs server.
HgfsChannelInitChannel: Init channel return 1.
HgfsChannelGuestBdInit: guest initialized.
RpcIn: Registering callback 'f'
Upgrader: To VMX: tools.capability.hgfs_server tools-upgrader 1
Rpci: Sending request='tools.capability.hgfs_server tools-upgrader 1'
Rpci: Sent request='tools.capability.hgfs_server tools-upgrader 1', reply='', len=0, status=1
Upgrader: To VMX: upgrader.setGuestFileRoot /tmp/vmware-root/296113e0/
Rpci: Sending request='upgrader.setGuestFileRoot /tmp/vmware-root/296113e0/'
Rpci: Sent request='upgrader.setGuestFileRoot /tmp/vmware-root/296113e0/', reply='Failed', len=6, status=1
RPC greeting failed: Host software version may not be compatible with the Upgrader.
Setting temp directory root failed.
Upgrader failed initialization.
Upgrader: To VMX: tools.capability.hgfs_server tools-upgrader 0
Rpci: Sending request='tools.capability.hgfs_server tools-upgrader 0'
Rpci: Sent request='tools.capability.hgfs_server tools-upgrader 0', reply='', len=0, status=1
RpcIn: Unregistering callback 'f'
HgfsChannelGuest_Exit: app tools-upgrader rpc = 0 rpc cb = 0 chn = 7F42C8489060.
HgfsChannelExitServer: Teardown Hgfs server.
HgfsChannelExitChannel: Exit channel returns.
it means you need to do some extra work to install the VMWareTools ;)
The solution is to unpack manually the tar file and run the installer:
tar xvf VMwareTools-10.0.10-4301679.tar.gz # actual version could be different
cd vmware-tools-distrib
run (as ROOT) the command
./vmware-install.pl
Done!
My Tips and Tricks for C#, C, C++, MatLAB, Java, LaTeX, Python and more!
Monday, September 26, 2016
Tuesday, July 26, 2016
Oracle-XE Configuration failes.
I installed today Oracle XE on SUSE 11 and I got this error during configuration:
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
In the files in /u01/app/oracle/product/11.2.0/xe/config/log
there were these errors:
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=linux-jbzk.site)(PORT=1521))'
The problem was on my machine the hostname was not pingeable.
Solution:
Add your current hostname (output of echo $HOSTNAME) to your /etc/hosts file
For example if your hostname is linuxbox :
127.0.0.1 linuxbox
Then you can re-run the oracle configuration:
/etc/init.d/oracle-xe configure
Source
https://community.oracle.com/
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
In the files in /u01/app/oracle/product/11.2.0/xe/config/log
there were these errors:
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=linux-jbzk.site)(PORT=1521))'
The problem was on my machine the hostname was not pingeable.
Solution:
Add your current hostname (output of echo $HOSTNAME) to your /etc/hosts file
For example if your hostname is linuxbox :
127.0.0.1 linuxbox
Then you can re-run the oracle configuration:
/etc/init.d/oracle-xe configure
Source
https://community.oracle.com/
The Most Difficult Program to Compute? Meet the Ackermann function
The Most Difficult Program to Compute?
Meet the Ackermann function. Fascinating subject :)
by Computerphile
Meet the Ackermann function. Fascinating subject :)
by Computerphile
Saturday, July 16, 2016
How to change bash prompt to red when you are root
To change your bash shell prompt to red when you became root, do the following:
- login as root
- vi ~/.bashrc
- add the this line: export PS1='\[\e[31m\][root]\[\e[0m\] \W\$'
Monday, July 11, 2016
Useful resources for code Optimization (C/C++/Assembly)
Here some references I find useful when it comes to code optimizations in C++
- A case for strlen (32 bit only!) : Just to start with a basic example!
- Some very well written guides : http://www.agner.org/optimize A must read!
Tuesday, July 5, 2016
BSD vs Linux
A really useful reading! A bit old but still highly valuable!
http://www.over-yonder.net/~fullermd/rants/bsd4linux/01
http://www.over-yonder.net/~fullermd/rants/bsd4linux/01
Wednesday, June 22, 2016
How to delete a Windows Service
To delete a windows Service there is a practical and easy command.
Open a command prompt and digit the command:
sc delete ServiceName
ServiceName is the name you see when you open the property tab of a service in Windows.
NOTE
If "sc delete ServiceName" does not succeed it means you don't have enough privileges to execute this command. In this case open the command prompt as administrator and retry.
Open a command prompt and digit the command:
sc delete ServiceName
ServiceName is the name you see when you open the property tab of a service in Windows.
NOTE
If "sc delete ServiceName" does not succeed it means you don't have enough privileges to execute this command. In this case open the command prompt as administrator and retry.
Subscribe to:
Posts (Atom)