MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
December
Sun Mon Tue Wed Thu Fri Sat
   
   
2009
Months
Dec


Thu, Dec 31, 2009 11:58 am

Radeon 9250 with Windows 7

Initially I couldn't get Second Life to work on my wife's desktop system, which has Windows 7 and an ATI Radeon 9250 AGP video adapter. I was eventually able to resolve the problem, though.

[ More Info ]

[/virtual_worlds/sl] permanent link

Thu, Dec 31, 2009 10:32 am

Setting Sofware Variable from the Command Line

I often need to run WPKG's wpkg.js script from the command line, but when run that way the %SOFTWARE% variable is not set to point to the location where I store the software I am going to install with WPKG. The value can be set from the command line, however, with set SOFTWARE=\\server\share.

When using the WPKG-client program, the variable is set by it. If you run the wpkg.js script manually with \\server\share\wpkg.js, you need to set it manually. You can create a batch file, such as wpkg.cmd to do so.

@echo off
set SOFTWARE=\\server\share
set SETTINGS=\\server\share2
cscript wpkg.js [whatever parameter you like]

References:

  1. [wpkg-users] %SOFTWARE% variable
    By: Rainer Meier (r.meier at wpkg.org)
    Date: February 18, 2008
    lists.wpkg.org Mailing Lists

[/os/windows/software] permanent link

Wed, Dec 30, 2009 10:48 pm

Determining the Uninstall Location for a Program

I needed to be able to determine the uninstall program for a program that was installed on a system by querying the registry. When you go to the Control Panel and choose "Add or Remove Programs" or "Uninstall a Program", you see a list of installed programs, such as is shown below:

Uninstall a program (Windows 7)

The information listed there is associated with Uninstall registry keys that are found at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall in the Windows registry.

Uninstall a program (Windows 7)

I created a batch file to query the registry to show all of the programs that have such an Uninstall key and that will accept a program name and return the uninstall command found under that key for the program.

The first example below shows the output when no arguments are passed to the batch file on the command line. For the second example, the script finds the uninstall value in the registry for the program vim. The third example shows the output when the value is not found. The fourth example shows how to query when the name of the program has spaces in it.
C:\Users\JDoe\Downloads>uninstallstring
AddressBook
Adobe Flash Player ActiveX
All ATI Software
ATI Display Driver
CDisplay_is1
Connection Manager
DirectDrawEx
DXM_Runtime
Fontcore
IE40
IE4Data
IE5BAKEX
IEData
MobileOptionPack
MPlayer2
PuTTY_is1
RealPopup_is1
SchedulingAgent
SecondLife
Total Uninstall 5_is1
Vim
WIC
{9D07059A-EC99-4F03-9BF2-BE40FB007822}
{FB08F381-6533-4108-B7DD-039E11FBC27E}
C:\Users\JDoe\Downloads>uninstallstring vim
C:\Program Files\vim\vim72\uninstall.exe
C:\Users\JDoe\Downloads>uninstallstring gvim
ERROR: The system was unable to find the specified registry key or value.
C:\Users\JDoe\Downloads>uninstallstring Adobe Flash Player ActiveX
C:\Windows\system32\Macromed\Flash\uninstall_activeX.exe

The batch file is as follows:

@echo off

REM uninstallstring.bat
REM
REM Written By: Jim Cameron
REM Created: 2009-12-29
REM Last Modified: 2009-12-30
REM Version: 1.0
REM
REM Usage:
REM
REM uninstallstring
REM uninstallstring program
REM
REM Purpose: If no arguments are given to the batch file on the command line, 
REM it will display a list of all the programs with UninstallString values, 
REM i.e., all the registry keys under 
REM HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. If 
REM an argument appears on the command line, it should be one of the values 
REM reported when no arguments are given to the script, i.e. a program name, 
REM such as "vim" or "Adobe Flash Player ActiveX" (don't actually put the quotes
REM around the names, even if there are spaces in the name. E.g. for the latter 
REM case you would use the following:
REM
REM uninstallstring Adobe Flash Player Activex
REM
REM When a program name is included on the command line, uninstallstring.bat 
REM will determine the "UninstallString" value in the registry for that
REM particular program, i.e.  the location for the uninstall program for a 
REM particular piece of software. It will return just that value. E.g., for 
REM the "uninstallstring vim", it would return the following:
REM
REM C:\Program Files\vim\vim72\uninstall.exe
REM 
REM If it can not find an uninstall registry value for the program listed it 
REM will return the following:
REM
REM ERROR: The system was unable to find the specified registry key or value.

REM The following example shows a "reg query" command that could be issued from 
REM the command line to determine the value of "UninstallString" for the Vim 
REM editor software. The last line of output contains the "value name", 
REM "value type", and "value data", which is the part of the output of interest.

REM C:\>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim /v UninstallString
REM
REM HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim
REM    UninstallString    REG_SZ    C:\Program Files\vim\vim72\uninstall.exe

REM First, display the UninstallString values present in the registry.
REM Values returned by the reg query command will be in the following format:
REM
REM HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim

IF "%1"=="" (
 GOTO Show_All
) ELSE (
 GOTO Find_String )

:Show_ALL

set _All=reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
FOR /f "tokens=6* delims=\" %%A IN ('%_All%') Do echo %%B
GOTO End

:Find_String

REM Set _Program to be the parameter entered on the command line. 
REM Use %* rather than %1 to cover cases where the program has spaces in the 
REM name.
set _Program=%*

REM Set the variable _UninstallString_Query to the reg query command to be issued.

set _UninstallString_Query=reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%_Program%" /v  UninstallString

REM There are two parts at the beginning of the line, the "value name" and the 
REM "value type" that aren't relevant, By specifying "2*" the "value name" is 
REM ignored, the "value type" goes into %%A and %%B holds everything else on 
REM the line.

FOR /f "skip=2 tokens=2*" %%A IN ('%_UninstallString_Query%') Do echo %%B

:End

Download uninstallstring.bat

References:

  1. Creating DOS Batch Files
    Useful Information: tons of info stuffed into a small site
  2. For /f - Looop through text
    SS64.com Command line reference
  3. For - Looop through command output
    SS64.com Command line reference
  4. Batch files - How To ... Verify if Variables are Defined
    Rob van der Woude's Scripting Pages
  5. Microsoft Windows XP - If
    Microsoft Corporation
  6. Microsoft DOS if command
    Computer Hope's free computer help
  7. Information on batch files
    Computer Hope's free computer help
  8. Microsoft Registry Tools
    Softpanorama (slightly skeptical) Open Source Software Educational Society
  9. Quotes, Escape Chars, Delimiters
    SS64.com Command line reference
  10. Tips for using the Windows command prompt in Windows XP
    The Command Line in Windows
  11. Batch File Command Reference
    At The Data Center - by Don WIlwol
  12. Batch file count tokens in var
    Computing.net Computer Tech Support Forum

[/os/windows/commands] permanent link

Wed, Dec 30, 2009 5:07 pm

Handle Installation with WPKG

I wanted to install Mark Russinovich's Handle (version 3.42) program using WPKG. I created the following package file for its installation.
<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
  id="Sysinternals"
  name="Sysinternals"
  revision="1"
  reboot="false"
  priority="1">
  
  <check type="file" condition="exists" path="%PROGRAMFILES%\Utilities\Sysinternals\handle.exe" />
  <!-- Test first to see if the Sysinternals directory already exists. 
  Otherwise, if it exists and an attempt is made to create it, which
  will fail, the entire installation process will fail as well. 
  Note: the double quotes must appear around the file name used as
  a test for "if not exist", since %PROGRAMFILES% expands to a directory
  path with a space in it. -->
  <install cmd='cmd /c if not exist "%PROGRAMFILES%\Utilities\Sysinternals" mkdir %PROGRAMFILES%\Utilities\Sysinternals' />
  <install cmd='cmd /c copy %SOFTWARE%\Utilities\Sysinternals\handle.exe "%PROGRAMFILES%\Utilities\sysinternals\."' />
  <remove cmd='cmd /c rmdir /s /q "%PROGRAMFILES%\Utilities\Sysinternals"' />
  <upgrade cmd='' />

</package>

</packages>

When handle.exe is first run, it prompts for the acceptance of the End User License Agreement (EULA). You can avoid the prompt by running the command with the /accepteula parameter, e.g. handle /accepteula. It has to be run from from any account under which you want to use the program. It creates the registry key HKEY_USERS\SID\Software\Sysinternals\Handle, where SID is the Security Identifier for the user under which it is being run. Within the key, it creates the value below:

NameTypeData
EulaAcceptedREG_DWORD0x00000001 (1)

You can just use handle /accepteula or you can use REG ADD HKCU\Software\Sysinternals\Handle /v EulaAccepted /t REG_DWORD /d 1 /f under the relevant account to create the registry key.

References:

  1. Handle
    By: Mark Russinovich
    Published: November 19, 2008
    Windows Sysinternals
  2. Microsoft Windows XP - Cmd
    Microsoft Corporation
  3. Batch File Commands
    Windows Support Center
    James A. Eshelman, Proprietor & Webmaster
  4. The option "-accepteula" doesn't work Title is required
    MIR-ROR
  5. >>> EULA prompt when running PSTools <<<
    Date: December 19, 2006
    Sysinternals Forums
  6. handle.exe
    Date: October 16, 2007
    Sysinternals Forums

[/os/windows/software/wpkg] permanent link

Tue, Dec 29, 2009 7:32 pm

Installing Vim with WPKG

I downloaded Cream (for Vim). Cream is a free, easy-to-use configuration of the famous Vim text editor for Microsoft Windows, GNU/Linux, and FreeBSD. I downloaded it rather than Vim from the website of the developer, Bram Moolenaar, since I had read the version from the developer's site doesn't support a silent installation, i.e. one where the user does not have to answer any questions or click on any buttons to complete the installation. I wanted to be able perform a silent install using WPKG, a software deployment tool.

THe WPKG page for Vim, noted that the Windows installer from vim.org doesn't have a silent installer, bu the installer created by Steve Hall, which is the one I downloaded from the sourceforge.net site does have one. The author of the WPKG webpage for Vim also noted that Steve's Vim installers from 7.0.146 onwards work correctly for silent installs; however, silent uninstalls still do not work correctly.

The WPKG webpage author created the following removal batch file:

@echo off

if exist "C:\Program Files\vim\vim70\uninstall.exe" %comspec% /c start "Vim" /wait /d %WINDIR% "C:\program files\vim\vim70\uninstall.exe" /S
exit 0

His batch file presumed that Vim would be installed in C:\program files\vim. I wanted to specify a different directory for the installation directory, so I created a batch file that will check the Windows registry for the location where Vim is installed and then uninstall the software based on the location found for it under the UninstallString for Vim in the registry.

@echo off

REM The following example shows a "reg query" command that could be issued
REM from the command line to determine the value of "UninstallString" for
REM the Vim editor software. The last line of output contains the "value name",
REM "value type", and "value data", which is the part of the output of
REM interest.

REM C:\>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim /v UninstallString
REM
REM HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim
REM    UninstallString REG_SZ C:\Program Files\vim\vim72\uninstall.exe

REM Set the variable _UninstallString_Query to the reg query command to be
REM issued.

set _UninstallString_Query=reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Vim /v UninstallString

REM There are two parts at the beginning of the line, the "value name" and
REM the "value type" that aren't relevant. By specifying "2*" the "value name"
REM is ignored, the "value type" goes into %%A and %%B holds everything else
REM on the line.

FOR /f "tokens=2*" %%A IN ('%_UninstallString_Query%') Do set _Uninstall_program=%%B

%comspec% /c start "Vim" /wait /d %WINDIR% "%_uninstall_program%" /S

exit 0

The installation file, gvim-7-2-320.exe was built with the Nullsoft Scriptable Install System (NSIS) as I could see by analyzing the file with FileAlyzer and searching for text in the binary file and also when I tried running the file without the /S option for a silent install. When I ran the file without the /S option, I saw "Nullsoft Install System v2.45" displayed on one of the installation windows.

An installation package created with NSIS should accept a /D=dir parameter to allow one to specify the installation directory, but no matter what I tried the software always installed in the default location of C:\Program Files\vim. I did put the option at the end of the installation line and used a capital "D" for the parameter, since the parameters are case sensitive. For the WPKG install line I first tried the following:

<install cmd='%SOFTWARE%\Editors\gvim-7-2-320.exe /S' /D=%PROGRAMFILES%\Editors\vim/>

That didn't work. the WPKG webpage for NSIS stated "It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported." So I tried the following variations in place of the environment variable %PROGRAMFILES%, but the results were always the same.

\Program Files\Editors\vim
C:\Program Files\Editors\vim
C:\Progra~1\Editors\vim
\Progra~1\Editors\vim

I.e. Vim was installed in C:\Program Files\vim no matter what I used. I thought that perhaps I had to use the 8.3 form for directores with a space in them, but using Progra~1 for Program Files did not help. It didn't matter that the directory Editors already existed, i.e. that I wasn't expecting it to create multiple directory levels. I finally just left it in that location.

The package file I used with WPKG for gvim, gvim.xml contains the following lines:

<?xml version="1.0" encoding="UTF-8"?>

<packages>
      
<package id="gvim" name="gvim" revision="1" reboot="false" priority="0">
   <check type="uninstall" condition="exists" path="Vim 7.2.320" />
   <!-- Though it uses the NSIS installer, the program won't accept
   the /D=dir option that allows you to specify the installation 
   directory. It insists on installing itself in C:\Program Files\vim. -->
 	
  <install cmd='%SOFTWARE%\Editors\gvim-7-2-320.exe /S' />
  <upgrade cmd='%SOFTWARE%\Editors\vim-remove.bat' />
  <upgrade cmd='%SOFTWARE%\Editors\gvim-7-2-320.exe /S'  />
  <remove cmd='%SOFTWARE%\Editors\vim-remove.bat' />
</package>

	
</packages>

[/os/windows/software/wpkg] permanent link

Sun, Dec 27, 2009 9:45 pm

Installing RealPopup with WPKG

I installed RealPopup 2.6 Build 167 on a Windows 7 system using WPKG, which is open source software for deployment and distribution of software. I created a realpopup.xml file which I placed in WPGK's packages directory on the server from which I install software. The realpopup.xml file contained the following commands:

<?xml version="1.0" encoding="UTF-8"?>

<packages>
      
<package
   id="RealPopup"
   name="RealPopup"
   revision="1"
   priority="3"
   reboot="false">
 
   <check type="uninstall" condition="exists" path="RealPopup"/>
 
   <install cmd='%SOFTWARE%\Network\Chat\RealPopup\realp26_167.exe /sp- /verysilent /Dir="%PROGRAMFILES%\Network\Chat\RealPopup"'/>
 
   <upgrade cmd='%SOFTWARE%\Metwork\Chat\RealPopup\realp26_167.exe /sp- /verysilent /Dir="%PROGRAMFILES%\Network\Chat\RealPopup"'/>
 
   <remove cmd='"%PROGRAMFILES%\Network\Chat\RealPopup\unins000.exe" /sp- /verysilent /norestart'/>
 
</package>

</packages>

%SOFTWARE% is a variable representing the directory on the server where software to be installed is located. I was able to specify the directory where the software should be installed with /Dir="%PROGRAMFILES%\Network\Chat\RealPopup" rather than having to accept the default installation directory, since RealPopup uses Inno Setup, an open source installer, to install RealPopup. I could tell beforehand that it uses Inno Setup by analyzing it with Filealyzer.

FileAlyzer analysis of realp26_167.exe

The developer's website no longer exists, but I found the software still works under Windows 7. The program provides a capability to chat with other users on the same LAN. It supports many useful features such as options for users and groups, an internal network browser, names auto complete, and so on. RealPopup is available in more than 12 languages.

[/os/windows/software/wpkg] permanent link

Sun, Dec 27, 2009 8:23 pm

Installing PuTTY 0.60 with WPKG

I installed PuTTY on a system using WPKG, which is open source software for deployment and distribution of software. I created a putty.xml file which I placed in WPGK's packages directory on the server from which I install software. The putty.xml file contained the following commands:

<?xml version="1.0" encoding="UTF-8"?>

<packages>
      
<package
   id="PuTTY"
   name="PuTTY"
   revision="0600"
   priority="1"
   reboot="false">
 
   <check type="uninstall" condition="exists" path="PuTTY version 0.60"/>
 
   <install cmd='%SOFTWARE%\network\ssh\putty-0.60-installer.exe /sp- /verysilent /Dir="%PROGRAMFILES%\Network\SSH\PuTTY"'/>
 
   <upgrade cmd='%SOFTWARE%\network\ssh\putty-0.60-installer.exe /sp- /verysilent'/>
 
   <remove cmd='"%PROGRAMFILES%\Network\SSH\PuTTY\unins000.exe" /sp- /verysilent /norestart'/>
 
</package>

%SOFTWARE% is a variable representing the directory on the server where software to be installed is located. I was able to specify the directory where the software should be installed with /Dir="%PROGRAMFILES%\Network\SSH\PuTTY" rather than having to accept the default installation directory of %PROGRAMFILES%\PuTTY , since PuTTY uses Inno Setup, an open source installer, to install PuTTY. I could tell beforehand that it uses Inno Setup by analyzing it with Filealyzer.

FileAlyzer analysis of putty-0.60-installer.exe

[/os/windows/software/wpkg] permanent link

Tue, Dec 22, 2009 5:10 pm

DVI versus HDMI versus VGA

After examining various monitors while out shopping for a Christmas gift for someone, I realized I needed to become familiar with the differences between HDMI, DVI, and VGA, in order to assess which might provide a higher monitor might provide a higher video quality, since different monitors supported different combinations of those video interfaces.

[ More Info ]

[/video/dvi] permanent link

Sat, Dec 19, 2009 2:59 pm

Port Spanning

Cisco switches have the capability to mirror what is going to/from one port on a switch to another port on the same switch for monitoring purposes. Cisco dubs this mirroring capability "port spanning". The monitor command can be used to have all of the data to and from a particular port copied to another port of your choosing on the switch.

[More Info]

[/hardware/network/switch/cisco] permanent link

Tue, Dec 15, 2009 2:27 pm

Open Failed for libssl.so.0.9.8

When I tried restarting ELOG from a user account on a Solaris 7 system, I received the following error:
bash-2.03$ /usr/local/bin/elogd -c /home/elog/elogd.cfg -d /home/elog/logbooks -n localhost -D
ld.so.1: /usr/local/bin/elogd: fatal: libssl.so.0.9.8: open failed: No such file
 or directory

I had been running the program before without a problem, so I looked for libssl.so.0.9.8. It was present on the system.

bash-2.03$ find / -name libssl.so.0.9.8 -print 2>/dev/null
/usr/local/ssl/lib/libssl.so.0.9.8
# ls -l /usr/local/ssl/lib
total 8950
drwxr-xr-x   2 bin      bin          512 Jun 22 15:46 engines
-r--r--r--   1 bin      bin         5396 Mar 29  2009 fips_premain.c
-r--r--r--   1 bin      bin           68 Mar 29  2009 fips_premain.c.sha1
-rw-r--r--   1 bin      bin      2263212 Mar 29  2009 libcrypto.a
lrwxrwxrwx   1 root     other         18 Oct 16  2007 libcrypto.so -> libcrypto.
so.0.9.8
-r-xr-xr-x   1 bin      bin      1525564 Mar 29  2009 libcrypto.so.0.9.8
-rw-r--r--   1 bin      bin       416204 Mar 29  2009 libssl.a
lrwxrwxrwx   1 root     other         15 Oct 16  2007 libssl.so -> libssl.so.0.9
.8
-r-xr-xr-x   1 bin      bin       313176 Mar 29  2009 libssl.so.0.9.8
drwxr-xr-x   2 bin      bin          512 Jun 22 15:46 pkgconfig

So I checked to see what libraries elogd was using with the ldd command.

bash-2.03$ ldd /usr/local/bin/elogd
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libssl.so.0.9.8 =>       (file not found)
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

So I then logged into the root account and checked the elogd file with the ldd command from that account.

bash-2.03$ su - root
Password:
Sun Microsystems Inc.   SunOS 5.7       Generic October 1998
# ldd /usr/local/bin/elogd
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libssl.so.0.9.8 =>       /usr/local/ssl/lib/libssl.so.0.9.8
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libcrypto.so.0.9.8 =>    /usr/local/ssl/lib/libcrypto.so.0.9.8
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1

From that account, I did not see "file not found" for libssl.so.0.9.8.

At an FAQ page on the Electrical and Computer Engineering Department website for the University of Toronto I found the following advice:

Q. When I try to run "svn" on Solaris, I get the error:
ld.so.1: svn: fatal: libssl.so.0.9.8: open failed: No such file or directory
Killed
How can I get svn to work on Solaris?

A. Add /local/openssl-0.9.8a/lib to the LD_LIBRARY_PATH env var before you \start:
i.e., setenv LD_LIBRARY_PATH /local/openssl-0.9.8a/lib

I checked the LD_LIBRARY_PATH setting for the root command.

# echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:/usr/local/ssl/lib

I then checked the value for the variable for the user account.

bash-2.03$ echo $LD_LIBRARY_PATH

bash-2.03$

On Solaris systems, you can use the -s option to show the full library search path.

bash-2.03$ ldd -s /usr/local/bin/elogd

   find object=libsocket.so.1; required by /usr/local/bin/elogd
    search path=/usr/lib  (default)
    trying path=/usr/lib/libsocket.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1

   find object=libnsl.so.1; required by /usr/local/bin/elogd
    search path=/usr/lib  (default)
    trying path=/usr/lib/libnsl.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1

   find object=libssl.so.0.9.8; required by /usr/local/bin/elogd
    search path=/usr/lib  (default)
    trying path=/usr/lib/libssl.so.0.9.8
        libssl.so.0.9.8 =>       (file not found)

   find object=libc.so.1; required by /usr/local/bin/elogd
    search path=/usr/lib  (default)
    trying path=/usr/lib/libc.so.1
        libc.so.1 =>     /usr/lib/libc.so.1

   find object=libnsl.so.1; required by /usr/lib/libsocket.so.1

   find object=libc.so.1; required by /usr/lib/libsocket.so.1

   find object=libdl.so.1; required by /usr/lib/libnsl.so.1
    search path=/usr/lib  (default)
    trying path=/usr/lib/libdl.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1

   find object=libc.so.1; required by /usr/lib/libnsl.so.1

   find object=libmp.so.2; required by /usr/lib/libnsl.so.1
    search path=/usr/lib  (default)
    trying path=/usr/lib/libmp.so.2
        libmp.so.2 =>    /usr/lib/libmp.so.2

   find object=libdl.so.1; required by /usr/lib/libc.so.1

   find object=libc.so.1; required by /usr/lib/libmp.so.2

   find object=/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1; required by /usr/lib/libc.so.1
        /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
bash-2.03$

So, when attempting to run elogd from the user account, the system was only checking /usr/lib for libssl.so.0.9.8. Since the file wasn't in that location, I got the "fatal: libssl.so.0.9.8: open failed: No such file or directory" message. So, though I thought I had been running the program from that user account, I must have always previously been running it from the root account, since I didn't ever see the error message before when running elogd.

So, while logged into the user account, I set LD_LIBRARY_PATH to /usr/local/ssl/lib. I was then able to run elogd from the user account without an error message appearing.

bash-2.03$ LD_LIBRARY_PATH=/usr/local/ssl/lib
bash-2.03$ export LD_LIBRARY_PATH
bash-2.03$ /usr/local/bin/elogd -c /home/elog/elogd.cfg -d /home/elog/logbooks -
n localhost -D
bash-2.03$ ps -ef | grep elogd | grep -v grep
jsmith  7961     1  0 14:13:05 ?        0:00 /usr/local/bin/elogd -c /home/elog/
elogd.cfg -d /home/elog/logbooks -n localhos

References:

  1. Blastwave Packages
    Date: January 25, 2008
    Joyent Wiki
  2. When I try to run "svn" on Solaris, I get the error: ld.so.1: svn: fatal: libssl.so.0.9.8: open failed: No such file or directory Killed
    Eugenia's Home Page
  3. Obtaining a List of the Libraries Required by a Program
    MoonPoint Support

[/os/unix/solaris] permanent link

Sun, Dec 13, 2009 4:57 pm

How Long Does Refrigerated Egg Salad Last?

We had some egg salad in the refrigerator that had "use by January 9, 2010" stamped on it, I was hesitant to have it for dinner tonight, though, because I opened the container on December 7, 2009. We hadn't eaten much of the egg salad that night, so there was quite a bit left. I searched online for information on how long egg salad might last in a refrigerator. Some people posting answers to others asking the same question stated it was only good for a couple of days, while others said 3 to 5 days. The maximum time I saw anyone mention was a week. I was hoping to find a more authoritate source than just guesses by people posting in forums, though. I did find a statement on a United States Department of Agriculture (USDA) Food Safety and Inspection Service (FSIS) site regarding Tips for Easter and Passover Food Safety stating the following:

For egg safety - to stay healthy and avoid foodborne illness — USDA advises:

Since the recommendation from the FSIS site was not to use egg sald after 3 to 4 days, I threw away the egg salad.

[/info/food/safety] permanent link

Fri, Dec 11, 2009 10:35 pm

Paint Shop Pro 9 Not Enough Memory Error

While editing an image in Paint Shop Pro 9.01 on her laptop my wife received the error message below:

Script Output
Executing Crop
Executing DeleteLayer
------- Command Execution Failed -----------
Command Name: JGLDeformObject
Error Text: Not enough memory to complete this operation; close one or more documents or applications and try again. If this does not correct the problem, you may need to adjust your memory settings or work on a smaller document.
------- Command Execution Failed -----------
Command Name: JGLDeformObject
Error Text: Not enough memory to complete this operation; close one or more documents or applications and try again. If this does not correct the problem, you may need to adjust your memory settings or work on a smaller document.

It took me awhile to figure out that the problem was simply due to an image resizing option being set to "percent" rather than "pixels". I should have spotted that fairly quickly, but didn't.

[ More Info ]

[/os/windows/software/graphics/corel/psp] permanent link

Tue, Dec 08, 2009 9:54 pm

Problem with Media Card Reader in HP G70 Laptop

A family member has an HP laptop, model number HP G70-460US. I upgraded Microsoft Windows on the system from Vista to Windows 7 a few weeks ago. Today, when she tried using memory sticks from her camera in the media card reader built into the laptop, Windows Explorer would stop responding. I attempted to restart Windows Explorer, but it wouldn't restart. Nor could I shutdown and restart the system without powering it off using the power button.

I tried a couple of memory sticks, but the result was the same. She could sometimes move files from a memory stick, but then attempting to access the memory stick again would cause the Windows Explorer to stop responding.

I downloaded and installed the Realtek USB 2.0 Card Reader driver, which appears to have resolved the problem.

Released:2009-08-28
Version:6.1.7100.30093 A
Compatibility: Microsoft Windows 7 (32-bit), Microsoft Windows 7 Home Premium (64-bit), Microsoft Windows 7 (64-bit), Microsoft Windows 7 Professional (64-bit), Microsoft Windows 7 Ultimate (64-bit), Microsoft Windows 7 Home Basic (32-bit), Microsoft Windows 7 Home Premium (32-bit), Microsoft Windows 7 Professional (32-bit), Microsoft Windows 7 Ultimate (32-bit), Microsoft Windows 7 Starter (32-bit), Microsoft Windows 7 Home Basic (64-bit)
System requirements:No additional prerequisites
Description:This driver enable card reader read/write functionalities.
Enhancements:Original Software/Drivers

Download Site: HP
Download URL: Realtek USB 2.0 Card Reader

[/pc/hardware/hp] permanent link

Mon, Dec 07, 2009 5:52 pm

Conditional Formatting in Excel

Microsoft Excel has a "conditional formatting" feature that allows one to change the formatting of cells based on their contents. E.g., you can specify that the background color for a cell or the font color be changed based on the current value of a cell.

[ More Info ]

[/os/windows/office/excel] permanent link

Tue, Dec 01, 2009 7:28 am

Removing the Arrow from Windows Shortcuts under Windows 7

A family member doesn't like the arrows on Windows shortcuts, so I needed to remove them from her new Windows 7 system. I found that the registry key I removed from her Windows XP system to remove the arrows from shortcuts on that system no longer was present in the Windows registry on her Windows 7 system. I did find someone providing a .reg file that could be used to add a registry entry under Windows 7 that would remove the shortcut arrows.

[ More Info ]

[/os/windows/win7] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo