Skip to main content

Posts

Showing posts from May, 2012

problem using subversion (svn) with Apache http server and LDAP

My users decided to move from CVS to SVN, and they want to use centralized LDAP server for user authentication, I need to setup a test server for prove of concept test. I found one no longer used server, and installed SVN packages as well as mod_dav_svn. The Apache HTTP server is already there. After I configured Apache HTTP follow the document at http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.prereqs , I tried to use subversion client to connect to it but failed. I checked http server log and found the request was sent to the wrong place: # more error_log ...... [Wed May xx 16:07:36 2012] [error] [client 192.168.128.10] File does not exist: /var/www/html/repos [Wed May xx 16:07:36 2012] [error] [client 192.168.128.10] File does not exist: /var/www/html/favicon.ico [Wed May xx 16:07:49 2012] [error] [client 192.168.128.10] File does not exist: /var/www/html/repos [Wed May xx 16:07:49 2012] [error] [client 192.168.128.10] File d

troubleshooting: gimp 2.8 cannot start up plugin

gimp 2.8 is out, I downloaded Windows version and installed. But when I try to run it, below error pops-up (the procedure entry point gzdirect could not be located in the dynamic link library zlib1.dll):   if I click on OK, the program can continue, but I want to fix it since I don’t want to miss anything, so I fired up Process explore and when the error pops-up, I located the zlib1.dll using Process Explorer’s DDL view   Here’s the output double click on zlib1.dll, and got below info   I did a file search under GIMP’s directory, there are 2 of them (one for 64-bit and one for 32-bit), and the version is different with the one in Windows directory:   seems the dll file within system directory was loaded instead of the one come with Gimp. I located the plugin’s directory by double click on the name (script-fu.exe) in Process Explorer And then copied zlib1.dll from GIMP’s bin directory (in my case, its C:\Program Files\GIMP 2\bin ) into the plug-ins directory and try to
Symptom: When trying to do “edit table” or “query data” (as below) in pl/sql developer or try to run any SQL statement, the program will hang. Although schema browse works and connection to database server can be made withouth issue. Trouble shooting: I updated Oracle client to 11.2.0.3, upgrade pl/sql developer to the lasted version 9.0.6, no help.  I fired up TCPView (from www.sysinternals.com ) and found there were 2 connections to server: While on server side, we only got one: I did a few more test, and turned out, sometimes, the first connection you made to the database may disappear on server side, when that happens, plsqldeveloper will hang.   So I traced server side Oracle process using “strace” as below (the number after –p is process ID as in above picture 32641/oracle….) strace –p 32641 and in the trace file, I got: write(20, "\2\274\0\0\6\0\0\0\0\0ssed\25\1\0\1\7 EHCC Query H"..., 700) = -1 ECONNRESET (Connection reset by peer)