I recently came up to the error above, when updating my sql server management studio application. Rebooting or forcing windows update, didn't solve the error.
This issue is apparently caused by the presence of this registry entry:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
This entry should be related to some previous dirty installation. Removing the entry will allow management studio installation to end successfully
mercoledì 25 dicembre 2019
domenica 9 luglio 2017
Eclipse tooltip black with fedora
my eclipse had an annoying problem in fedora: the tooltip windows had black background, making text almost unreadable.
I experienced the problem with eclipse neon and oxygen, with fedora 24 and 25.
I solved, setting the following env variable:
export SWT_GTK3=0
I experienced the problem with eclipse neon and oxygen, with fedora 24 and 25.
I solved, setting the following env variable:
export SWT_GTK3=0
venerdì 20 marzo 2015
Fedora 21 - pptp vpn error
today, after upgrading to fedora 21 (from 20), my work pptp vpn connection stopped working. looking at journactl, the interesting message was:
: ** (nm-pptp-service:3518): WARNING **: pppd exited with error code 16
After checking around, the problem was with iptables default configuration (the upgrade readded some default rules). Since i don't need a local firewall, I simply disabled it and vpn began to work again.
to temporarily disable it: iptables --flush
to permanently disable id: systemctl disable firewalld
: ** (nm-pptp-service:3518): WARNING **: pppd exited with error code 16
After checking around, the problem was with iptables default configuration (the upgrade readded some default rules). Since i don't need a local firewall, I simply disabled it and vpn began to work again.
to temporarily disable it: iptables --flush
to permanently disable id: systemctl disable firewalld
mercoledì 8 agosto 2012
ssh tabbed manager for linux
being a developer (sigh) I often need to access several ssh server, paying particular attention to discriminate between production and test servers....
After digging around for a good ssh manager linux, I these two are the best ones:
http://kuthulu.com/gcm/ which I actually use. The tool is written in python, so easy to install.
Another widespread tool is pac manager https://sites.google.com/site/davidtv/ which is more debian-ubuntu oriented.
mercoledì 1 agosto 2012
fglrx with fedora 16 kernel 3.4.x
ok, this should be the final working approach!
Please note that I used amd 12-4 drivers, because my card RADEON HD 4670 in unsupported since 12.6. Anyway the following patch is ok to make the 12.6 compile too, just keep in mind that in case the drivers doesn't get loaded after reboot and aticonfig states something like "no suitable hardware found" you probably have a card no longer supported.
- Run amd-driver-installer-12-6-x86.x86_64.run --extract ./fglrx
- copy patch file (here's attached) into fglrx
- cd fglrx
- patch -p1 < fglrx12-4.patch
- ./ati-installer.sh 8.961 --install
The driver should get installed without any error.
sabato 21 luglio 2012
fglrx compiling problems (again)
Today I came into a new error, after trying to recompile my fglrx drivers.
configuration:
fedora 16 64bit
kernel 3.4.4-4
fglrx drivers 12-6
the error is:
make[1]: Entering directory `/usr/src/kernels/3.4.4-4.fc16.x86_64'
CC [M] /usr/src/fglrx-8.98/2.6.x/firegl_public.o
/usr/src/fglrx-8.98/2.6.x/firegl_public.c: In function ‘kasInitExecutionLevels’:
/usr/src/fglrx-8.98/2.6.x/firegl_public.c:4159:47: error: ‘cpu_possible_map’ undeclared (first use in this function)
/usr/src/fglrx-8.98/2.6.x/firegl_public.c:4159:47: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/fglrx-8.98/2.6.x/firegl_public.c:4159:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
Don't bother anymore with recompiling, use instead the rpmfusion repository and enter:
yum install kmod-catalyst
This solution, using non official amd drivers, is not suitable to me, because laptop gets very hot....
Googling aroung, it seems that the macro cpu_possible_map is invalid with 3.4.x kernel. try doing this:
rerun command 2, now it should work
reboot.
info from
http://cvs.rpmfusion.org/viewvc/rpms/catalyst-kmod/F-16/fglrx_kernel_3.4.0.patch?revision=1.3&root=nonfree&view=markup
EDIT:
a quicker solution is explained here (end of the page)
http://wiki.cchtml.com/index.php/Fedora_17_Installation_Guide
configuration:
fedora 16 64bit
kernel 3.4.4-4
fglrx drivers 12-6
the error is:
make[1]: Entering directory `/usr/src/kernels/3.4.4-4.fc16.x86_64'
CC [M] /usr/src/fglrx-8.98/2.6.x/firegl_public.o
/usr/src/fglrx-8.98/2.6.x/firegl_public.c: In function ‘kasInitExecutionLevels’:
/usr/src/fglrx-8.98/2.6.x/firegl_public.c:4159:47: error: ‘cpu_possible_map’ undeclared (first use in this function)
/usr/src/fglrx-8.98/2.6.x/firegl_public.c:4159:47: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/fglrx-8.98/2.6.x/firegl_public.c:4159:66: warning: left-hand operand of comma expression has no effect [-Wunused-value]
Don't bother anymore with recompiling, use instead the rpmfusion repository and enter:
yum install kmod-catalyst
This solution, using non official amd drivers, is not suitable to me, because laptop gets very hot....
Googling aroung, it seems that the macro cpu_possible_map is invalid with 3.4.x kernel. try doing this:
- cd /usr/src/fglrx-8.98 or whatever else you have
- sh make.sh --nohints --uname_r=3.4.4-4.fc16.x86_64 --norootcheck
- you get the error above: ok.
- open 2.6.x/firegl_public.c at line 4159
- replace for_each_cpu_mask(p, cpu_possible_map) with
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
- for_each_possible_cpu(p)
- #else
- for_each_cpu_mask(p, cpu_possible_map)
- #endif
rerun command 2, now it should work
reboot.
info from
http://cvs.rpmfusion.org/viewvc/rpms/catalyst-kmod/F-16/fglrx_kernel_3.4.0.patch?revision=1.3&root=nonfree&view=markup
EDIT:
a quicker solution is explained here (end of the page)
http://wiki.cchtml.com/index.php/Fedora_17_Installation_Guide
lunedì 9 aprile 2012
error installing fglrx ati drivers on fedora 16
I have an ati radeon 4650 on my laptop running fedora 16 x64. Each time the kernel is upgraded, I need to reinstall the driver (I tried the open source ones, but they make the laptop very hot, with fan always on) from amd. After switching to kernel 3.1.X, drivers did not install anymore, showing this error in the logs:
cd /var/lib/dkms/fglrx/8.95/build; sh make.sh --nohints --uname_r=3.3.1-3.fc16.x86_64 --norootcheck....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-8.95 with DKMS
[Error] Kernel Module : Removing fglrx-8.95 from DKMS
After running the above command alone, I found that a kernel header file is the source of the compile error. Don't ask me why (if you want, tell me why), but doing this it works:
open "/usr/src/kernels/`uname -r`/arch/x86/include/asm/uaccess_64.h"
at line 56 and 57 there is
else
WARN(1, "Buffer overflow detected!\n");
comment both lines and re-run the installer, now it should work.
I found this solution googling around.
sabato 3 marzo 2012
NS_ERROR_FAILURE (0x80004005) virtualbox on fedora 16
today, after upgrading to fedora 16 x64, I got this error when trying to open any virtualbox vm :
NS_ERROR_FAILURE (0x80004005)
Re-doing the virtualbox modules setup did the trick:
/etc/init.d/vboxdrv setup
sabato 3 dicembre 2011
vmware 8.0 does not compile on kernel 2.6.41x64
Yesterday I decided to update to vmware workstation 8.0 on my fedora 15 x64, running kernel 2.6.41.
At first run, the app began compiling the required kernel modules. Unfortunately the process failed on compiling module vmnet.
After googling around I found an usefule solution on this forum thread
Look down to various posts and you'll see one with a downloadable vmnet.tar.
Download this patched module and place it /usr/lib/vmware/modules/source/ replacing the old one (BACKUP IT BEFORE!).
then re-start vmware and now it should compile.
If you cannot the above link stops working, shoot me a message to get the vmnet.tart
mercoledì 12 gennaio 2011
IE developer tools no working or minimized
It might happen IE developer tools stop working (debugging the debugger....thanks micro$oft) or stays minimized.
Usually the solution is to remove the registry entry: HKCU\Software\Microsoft\Internet Explorer\IEDevTools
at least this worked for me, with IE8 and Windows XP
martedì 15 giugno 2010
Install mod_jk on CentOS 5.5
This little tutorial requires that apache and tomcat are installed. I used apache 2.2.3 and tomcat 6.0.20
Here are the instructions
-download mod_jk from tomcat website
-cd native
-./buildconfig.sh
-verify if you have apxs (Apache Extension tool). if not install latest httpd-devel rpm (you can search for it with "yum provides */apxs"
-./configure --with-apxs=/usr/sbin/apxs
-cp mod_jk.so /usr/lib64/httpd/modules/ (or wherever your lib modules are)
-touch /etc/httpd/workers.properties
-vim /etc/httpd/workers.properties
create a workers.properties file in your etc/httpd dir, with at least:
# workers.properties -
workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/lib/java
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
add at least this to your httpd.conf
# Where to find workers.properties
JkWorkersFile /etc/httpd/workers.properties
# Where to put jk logs
JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
then, if you have not any VirtualHost, just add all the JkMount you need in order to reach your tomcat apps.
The following two lines query tomcat each time a.jsp or .do page is asked.
JkMount /*.jsp ajp13
JkMount /*.do ajp13
If you do have VirtualHosts defined, then be aware that Jkmounts are not inherited in any way. So, or you define JkMount inside all the Virtual hosts you expect to serve your apps, or define them globally and use JkMountCopy in the vhosts.
martedì 9 marzo 2010
venerdì 29 gennaio 2010
Enabling port forwarding in windows xp
it might happen you need to enable port forwarding in windoze. If so, you need to change this key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
set key IpEnableRouter to DWORD value 1
More info here
lunedì 18 gennaio 2010
domenica 3 gennaio 2010
Eclipse Galileo + Ubuntu 9.10 buttons not responsive
Dear all,
today I upgraded my linux to Ubuntu 9.10 Karmic Koala and installed Eclipse 3.5
At a first sight, everything looked good, at a second not! I initially found that I couldn't install any new plugin in Eclipse, since the "Next" button in the install procedure, was clickable but not responsive. I initially thought about a plugins handling failure (like directory permission etc..) but then I discovered all the IDE was having this kind of problems.
I finally found the solution thanks to this post fix eclipse Basically the problem is into the updated GTK libraries and in particular the GDK api, who introduced the concept of client side windows. These new feature enables the developer to use handles windows without calling the underlying X server until explicitly required. In this way the system has reduced overhead (i.e. filckering) and it's possible to implement advanced graphical effects otherwise not availble.
Ok, now the solution :)
Basically Eclipse (but it seems this applies to Acroread too) does not support this feature (it should be from release 3.6) and then the problems. A patch to this mismatch is adding a global variable:
GDK_NATIVE_WINDOWS=1
today I upgraded my linux to Ubuntu 9.10 Karmic Koala and installed Eclipse 3.5
At a first sight, everything looked good, at a second not! I initially found that I couldn't install any new plugin in Eclipse, since the "Next" button in the install procedure, was clickable but not responsive. I initially thought about a plugins handling failure (like directory permission etc..) but then I discovered all the IDE was having this kind of problems.
I finally found the solution thanks to this post fix eclipse Basically the problem is into the updated GTK libraries and in particular the GDK api, who introduced the concept of client side windows. These new feature enables the developer to use handles windows without calling the underlying X server until explicitly required. In this way the system has reduced overhead (i.e. filckering) and it's possible to implement advanced graphical effects otherwise not availble.
Ok, now the solution :)
Basically Eclipse (but it seems this applies to Acroread too) does not support this feature (it should be from release 3.6) and then the problems. A patch to this mismatch is adding a global variable:
GDK_NATIVE_WINDOWS=1
This will disable the client windows and let eclipse work smoothly
martedì 22 dicembre 2009
the computer geek swiss knife...
LiberKey is an useful collectionf of utils running directly from your usb stick or whatever else, requiring no installation. Moreover it comes with a controller application allowing too run all the included software, checking periodical updates etc...Give it a try :)
giovedì 17 dicembre 2009
an useful system admin tool
just in case you forgot your windows admin password, this is one among the thousands of recovery tools, but quick and little (just a 3mb bootable image)
mercoledì 9 settembre 2009
test management tools
In the last few days I googled around to find out a test management tool software. I was not interested into the tons of bug tracking tools, since I wanted a software able to do test tracking in various engineering environments (e.g. what if I want to test a new hw component with all its features before sending it to the customer?) from production technicians who recorded the test results they performed on each item. Basically I needed for a Quality assurance sw.
Finally I came out with this http://forge.ow2.org/projects/salome-tmf/
I'm still trying it, but it sounds interesting: easy to use and apparently complete.
any other suggestion?
venerdì 4 settembre 2009
giovedì 3 settembre 2009
is your connection or the web server down?
this clean website might solve (some of) your network admin problems.....
Iscriviti a:
Post (Atom)
