3.26.2006
cron deficiencies
From: http://www.darklab.net/resources/hpux-mailinglist/0715.html
DO SOMETHING ON THE LAST DAY OF A MONTH
Unfortunately, cron does not give us a simple way to say
'run this on the last day of month'. Fiddling with the
different length months, leap years, y2k bugs and so on is
messy. Here's a simple solution that gives all the dirty
work to some well tested utility. The idea is to check whether
*tomorrow* is the first day of a month.
Solution 1 (using date, change MET to your local time zone)
#!/bin/sh
if test `TZ=MET-24 date +%d` = 1; then
# today is the last day of month
fi
You can call this script from cron, say with a crontab of
4 2 28-31 * * /path/to/your/script
3.21.2006
Copy IAS configuration
I was getting a Reason-Code 16 in the system eventlog on a Windows 2003 ISA server and didn't know if the secret for the Radius clients was wrong, or if my config was wrong. I had a Windows 2000 IAS server that was functioning fine.
I copied the IAS config from the Win2k box to the 2k3 box:
http://support.microsoft.com/kb/317589
By running netsh aaaa config > 2000.txt and then running netsh exec 2000.txt on the Windows 2003 server.
Then my 2003 IAS started working.
RightFax Fax Cover Sheet conversion issues
The workservers would hang or crash when using Microsoft Word to convert the FCS. You couldn't stop them in the Enterprise Fax Manager; they would just stay in a "stopping" state. You would have to kill the workserver.exe processes. Converting these to the RightFax native PCL format solved the issue and increased the stability and performance of RightFax in a huge way.
FCS (Fax Cover Sheets) are stored in Rightfax\FCS. The source (word document) file is in a subfolder of FCS. Typically the cover sheet should be PCL format. See the AdministratorsGuide.pdf for details on how to create a FCS.
Using the built-in Windows 2000 HP LaserJet 4000 PCL driver produced the best results for us.
Here are some articles from Captaris that are useful:
190 - How do I run a RightFax 8.x or 9.0 WorkServer in Debug Mode?
3537 - Important information on Server Side Application (SSA) conversion using Microsoft Office applications
Basically don't use Word to do your fax cover sheet (FCS) conversion…..
3.20.2006
Changing MSDE sa password
RightFax 9.0 upgrade from 8.5
2110 - Upgrading to RightFax version 9.0
3.18.2006
Windowsupdate error 0x80072F76
error 0x80072F76
Along with these entries in %systemroot%\WindowsUpdate.log:
2006-03-18 15:29:28 372 cd0 Misc WARNING: DownloadFileInternal failed for http://update.microsoft.com/v6/windowsupdate/selfupdate/wuident.cab : error 0x80072f76
2006-03-18 15:29:28 372 cd0 WUWeb FATAL: CheckIfClientUpdateNeeded failed: error 0x80072f76
http://support.microsoft.com/kb/836941
TDS accelerator was enabled and running. I disabled the TDS download accelerator and was able to scan for updates on Windowsupdate.
3.17.2006
urldecode
http://www.albionresearch.com/misc/urlencode.php
http://www.simplelogic.com/Developer/URLDecode.asp
3.14.2006
disable the F8 safe mode
http://groups.google.com/group/microsoft.public.win2000.security/browse_thread/thread/4db76c0cf6d216be?hl=en&
aka http://tinyurl.com/h89j3
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=132165&page=&view=&sb=5&o=&vc=1
3.12.2006
Unload application disbled /greyed out in IIS
3.10.2006
HSG80 controller - setting time
set [this_controller | other_controller ] time 11-mar-2006:08:10:15
For instance, to set the time on the attached controller ("this" abbreviated) to 3/11/2006 at 8:10:15 am --
set this time 11-mar-2006:08:10:15
3.08.2006
blogger "mail-to-blogger" feature stops working - marked as draft
Why are all my posts being set to drafts? - http://help.blogger.com/bin/answer.py?answer=1263
Edit just one draft and by the word verification area click the ? question mark. Blogger will review your blog to verify it's not spam and you'll be able to publish like you used to. I'm not certain what triggers blogger to mark the blog as spam, but this blog was marked and hopefully they'll review it and find it's nothing more than silly old me.
What's a Spam Blog? - http://help.blogger.com/bin/answer.py?answer=1260 (excerpt: they can be recognized by their irrelevant, repetitive, or nonsensical text) -- that pretty much characterizes my style of writing: "nonsensical text"! HA!
3.07.2006
Admin Scripts - Earn $100
http://techrepublic.com.com/5100-1035_11-6045607.html?tag=search
2.28.2006
nslookup command line options
nslookup -type=mx domain.tld nslookup -debug domain.tld
To bring up nslookup's help in interactive mode, just issue a ? (question mark). To bring up the syntax that is listed below I had to provide more than two options on the command line: nslookup 1 2 3 brought up:
Usage:
nslookup [-opt ...] # interactive mode using default server
nslookup [-opt ...] - server # interactive mode using 'server'
nslookup [-opt ...] host # just look up 'host' using default server
nslookup [-opt ...] host server # just look up 'host' using 'server'
2.27.2006
html links without clicking
They've got some other interesting things HTML/javascript, etc: http://labs.mininova.org
2.22.2006
Refreshing group policy - 2000/XP/2003
I keep forgetting how to refresh Group Policy on a Windows 2000 client:
secedit
The command changed from secedit to gpupdate in Windows XP and Windows 2003. From the secedit help file:
secedit /refreshpolicy has been replaced with gpupdate.
GPUpdate [/Target:{Computer | User}] [/Force]
2.21.2006
USB problem in XP
in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USB Edit or create a DWORD "DisableSelectiveSuspend" set it to 1 and reboot.
Window XP USB problems (hotfix): keyboard, file transfer, etc. - http://support.microsoft.com/kb/908673
2.20.2006
Deploy printers by using Group Policy
Deploy printers by using Group Policy
URL: http://technet2.microsoft.com/WindowsServer/en/Library/ab8d75f8-9b35-4e3e-a344-90d7799927231033.mspx
2.19.2006
Handle mailto email link via gmail
Disable hotkey support in Citrix NFUSE / web interface
Hotkey1Shift=(none)
2.17.2006
Command to remove all CRLFs from a file
Use the following command to remove CRLF (all) carriage returns and line feeds from a text file, effectively joining all lines into one single line.
Using the tr command in cygwin:
tr -d '\r\n' < sql.txt > sqlnew.txt
If you want to use the tr command outside of the Cygwin environment, the following files must be copied from \cygwin\bin to the directory you want to store them in:
tr.exe
cygwin1.dll
cygintl-3.dll
cygiconv-2.dll
2.15.2006
Terminal Services licensing database corrupt/damaged
Trying to deactivate License Server (terminal services) via the "internet" method, I get the following error after hitting 'next' in the dialog:
"The Licensing wizard encountered an internal error from the license server. Message Number: 0xc0110011"
System eventlog:
Event Type: Error
Event Source: TermServLicensing
Event Category: None
Event ID: 38
Date: 2/15/2006
Time: 2:48:25 PM
User: N/A
Computer: MyComputerName
Description:
Can't generate a license for client because of error 'Can't add certificate to store, error c0010020.'.
You cannot activate a Terminal Services license server in Windows 2000 Server or in Windows Server 2003 - http://support.microsoft.com/kb/887444
Windows Server 2003 Terminal Server Licensing - http://www.microsoft.com/windowsserver2003/techinfo/overview/termservlic.mspx
Frequently Asked Questions About Terminal Services 2003 - http://www.microsoft.com/windowsserver2003/community/centers/terminal/terminal_faq.mspx
call (888) 571-2048 to reach the Microsoft Clearinghouse.
File access via VPN very very slow
PersistMoniker=file://Folder Settings\Folder.htt
PersistMonikerPreview=%WebDir%\folder.bmp
[ExtShellFolderViews]
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262}
[.ShellClassInfo]
ConfirmFileOp=0
2.14.2006
How to determine browser cipher strength
You can determine the client's encryption cipher strength via the following links:
https://www.fortify.net/sslcheck.html
http://browsertest.ccra-adrc.gc.ca/rc.genr.tierp/BrowserSecurity-e.jsp
You can do this yourself if you've got a working web server with SSL support:
2.11.2006
Determine SSL ciphers running on your web server
SSL Digger - Nice free tool from FoundStone (division of McAfee) for determining what SSL versions and encryption ciphers your web server supports. If you are running a crucial web server you might want to turn off the weak ciphers and SSL version (SSL2). The browser and server are supposed to negotiate the highest cipher and SSL version, but some ciphers have already been proven to be weak and vulnerable to crack/attack.
www.foundstone.com It's kind-of hard to navigate the site: click on resources, then on the left side, "free tools". You should see it under the "Foundstone S3i™ Tools".
Disable SSL2 and weak ciphers in IIS
How to disable SSL protocols and encryption ciphers in Microsoft IIS. For IIS (IIS6 and IIS5):
The ciphers and SSL protocols must be disabled via registry entries; thus a reboot is required after changing the settings. If I ever find some free time, I may create a GUI utility to easily enable/disable these cryptos.
See the following documents:
Description of the Secure Sockets Layer (SSL) Handshake - http://support.microsoft.com/kb/257591
TLS/SSL Tools and Settings - http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/3f98fdd9-ed64-49f7-9c20-a2d4581dfbea.mspx
How to disable PCT 1.0, SSL 2.0, SSL 3.0, or TLS 1.0 in Internet Information Services - http://support.microsoft.com/kb/187498
How to Restrict the Use of Certain Cryptographic Algorithms and Protocols in Schannel.dll - http://support.microsoft.com/kb/245030/
The following are the registry entries I made to make one of my servers secure (Grade A by SSL Digger):
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\Multi-Protocol Unified Hello\Server]
"Enabled"=dword:ffffffff[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\PCT 1.0\Server]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Server]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 3.0\Server]
"Enabled"=dword:ffffffff[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Server]
"Enabled"=dword:ffffffff
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\DES 56/56]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\NULL]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 128/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 40/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 56/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 128/128]
"Enabled"=dword:ffffffff[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 40/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 64/128]
"Enabled"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168/168]
"Enabled"=dword:ffffffff
Adding CPU / RAM to ES45 Alpha Server
1. shutdown, turn off and unplug power
2. insert hardware - see pages 129-140 of the ES45 manual: http://h18002.www1.hp.com/alphaserver/download/ek-es450-ug-b01.pdf
3. at chevron >>> show config | more and show memory
4. After boot:
psrinfo –v (processor info)
vmstat -P (Physical memory info)
dxsysinfo -dash (X windows display of CPU / memory activity)
5. If you receive a “too many users logged on already” you may have to add the License PAK codes that were shipped with the cpu. As root, run lmfsetup and enter the codes from the PAK. After successfully entering the codes, it will ask to run an “lmf reset”, say yes and it will load the licenses into the kernel cache.
rDirectory - make AD web browsable
rDirectory: A Smart Choice for Your Evolving Directory Needs: "Simply put, rDirectory turns Active Directory into your enterprise-wide platform for securely publishing, accessing and maintaining information about virtually any directory-based corporate resource."
tail multiple log files in Win32 environments
Tail for Win32 - Home Page
2.10.2006
Updating to FireFox 1.5 on Linux (Ubuntu)
FirefoxNewVersion - Ubuntu Wiki
Security Warning disabled
What was weird about it was that I had NO, not one, site listed in the trusted sites zone. I later found this was because of group policy. A few days later after group policy refreshed on my machine, the sites showed up in the trusted sites list.
To remove this warning, in the trusted sites zone, open the custom settings under Miscellaneous, "Web sites in less privileged web content zone can navigate into this zone." set to enable.
See: Security Warning appears when you try to navigate to a Trusted site from a webpage
Read AND Write NTFS volumes from Linux - Captive
Jan Kratochvil: Captive: The first free NTFS read/write filesystem for GNU/Linux: "Captive: The first free NTFS read/write filesystem for GNU/Linux"
2.09.2006
Packet capture tools
Open source and free packet sniffer/capture tools:
http://www.winpcap.org/ Also provides WinDump tool which is
based/proted from tcpdump. Reading the Windump FAQ first, even before
the manual, is essential.
And of course the big one: http://www.ethereal.com/
2.08.2006
Kerberos Token Size and logon problems
Microsoft Certified Professional Magazine Online Column: The Group that Broke the Camel�s Back
2.03.2006
Gmail browser cache full message
This only happens when using Gmail via the secure https method: https://mail.google.com/mail
caused by the Advanced option in Internet Explorer (in IE: tools/internet options/Advanced tab, security section) setting: "Do not save encrypted pages to disk" When this option is checked, gmail believes the cache is full because the pages won't be saved to disk, thus gmail thinks the cache is full. Uncheck the box or ignore/hide the error message.
1.18.2006
Renaming device files in Tru64
# hwmgr show scsi -type tape
-get hwid of old device
-in this case tape1 was hwid 165
# hwmgr delete -id 165
hwmgr: Delete operation was successful
Second, move the new device file to the old name.
# dsfmgr -m tape2 tape1
Alpha Server performance
Quick way to gauge how a CPU upgrade will increase performance on your
Alpha box:
http://h18002.www1.hp.com/alphaserver/performance/perf_by_name.html
1.17.2006
Frontpage error submitting form
Problem: Can't submit frontpage developed form. The error message in the browser is: Frontpage error. In the application event log on the server hosting the frontpage extended web the following two entries will appear:
Event Type: Warning
Event Source: FrontPage 5.0
Event Category: None
Event ID: 1000
Description:
Microsoft FrontPage Server Extensions:
(OS Error #13 Message: Permission denied)
Event Type: Warning
Event Source: FrontPage 5.0
Event Category: None
Event ID: 1000
Description:
Microsoft FrontPage Server Extensions:
http://frontpageserver - Error #2005d Message: The server extensions were unable to access the file "service.lck". Please check the file permissions.
Solution: http://frontpageserver/_vti_bin/_vti_adm/fpadmdll.dll?page=webadmin.htm Click on 'Check server health' choose 'Tighten security', detect and fix for the web or subweb that is experiencing the problem
That solved the issue I was experiencing.
12.26.2005
Good vi tutorial
I like the % command which moves the cursor to the next matching bracket or paren. set showmatch to have it move to the beginning match when closing the bracket.
12.23.2005
New Dell and Sonic Update Manager
Which points to the following: http://consumer.installshield.com/kb.asp?id=Q111006
I just downloaded and ran the first program listed. Then ran the second program listed on the installshield.com web page. The message never reappeared since....
12.21.2005
Source of tech news: digg.com
Open source Linux home theatre software: freevo and A/D converter
How to build a Linux analog to digital converter: http://linuxgazette.net//118/chong.html
12.20.2005
Gmail 'operation' aborted in IE
This seems to happen only when using gmail via SSL: https://mail.google.com/mail You can view the message without any problems via gmail and standard http - http://mail.google.com/mail The problem only seems to happen in IE; using https://mail.google.com/mail via FireFox, I have no problems opening the emails. Another way around the issue is to open the email in a new window: turn on the keyboard shortcuts for gmail and then do a shift-o to open the message in a new window; it will open just fine that way. Sometimes just trying to open the message after a few times will get it to open successfully. Another thing that works is to open the message first using the standard http interface: http://mail.google.com/mail, then without closing the browser, change the URL to secure http - https://mail.google.com/mail then view the message without a problem.
The above was tested using fully patched IE6 on Windows XP, SP2 and using FireFox 1.5. It may act the same way with different versions of both IE and firefox.
12.10.2005
TCP/IP filtering and security in Windows 2003
Microsoft Windows Server 2003 TCP-IP Implementation Details - http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/networking/tcpip03.mspx
Configure TCP/IP to use TCP/IP filtering - http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/676ec0f3-4200-43d4-a512-7c637493c387.mspx
List of IP protocol numbers from IANA - http://www.iana.org/assignments/protocol-numbers
Some common IP protocols are:
1 - ICMP
6 - TCP
17 - UDP
12.09.2005
Open Source M database / compiler
GT.M High end database + MUMPS compiler -
http://sourceforge.net/projects/sanchez-gtm
Possible alternative to Intersystems Cache?
12.07.2005
See your IP address
Browser Capabilities and browscap.ini
http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2000/en/server/iis/htm/asp/comp3xx0.htm
http://www.w3schools.com/asp/asp_browser.asp
http://support.microsoft.com/kb/311227
12.06.2005
vdump to tape and file simultaneously
type : advfs
advfs id : 0x3cbae55e.010baf45.b
FCA2684 and EMC ClARiiON Cx500
#
# Entry for CLARiiON Storage
#
Type = disk
Stype = 2
Name = "DGC"
#
PARAMETERS:
#
TypeSubClass = hard_disk, raid
BlockSize = 512
BadBlockRecovery = disabled
DynamicGeometry = true
DisperseQueue = false
TagQueueDepth = 32
PwrMgmt_Capable = false
LongTimeoutRetry = enabled
ReadyTimeSeconds = 90
InquiryLength = 120
RequestSenseLength = 120
#
ATTRIBUTE:
#
# Disable PR/AWRE/ARRE and enable I/O Barrier
#
AttributeName = "DSBLflags"
Length = 4
ubyte[0] = 25
#
ATTRIBUTE:
#
# Disable Start Unit with every VPD Inquiry
#
AttributeName = "VPDinfo"
Length = 16
ubyte[6] = 4
#
ATTRIBUTE:
#
# Report UDID value in hwmgr -view devices
#
AttributeName = "rpt_chgbl_dev_ident"
Length = 4
ASP code to log events to application event log
Bandwidth speed test for broadband connections
This one much more to offer: a latency and upload speed test and has links for pasting results in forums and what-not.
http://www.speedtest.net/
12.04.2005
modify Tru64 kernel parameters
see sysconfigdb -l proc to see what values are recorded in /etc/sysconfigtab
sysconfig -q proc max-threads-per-user max-proc-per-user > dave
vi dave
proc:
max-threads-per-user = 8192
max-proc-per-user = 8192
sysconfigdb -m -f dave proc
sysconfig -q pts nptys > dave
vi dave
pts:
nptys = 2048
sysconfigdb -m -f dave proc
sysconfig -q ipc sem-msl sem-mni shm-max > dave
vi dave
ipc:
sem-msl = 50
sem-mni = 128
shm-max = 2147483648
sysconfigdb -m -f dave ipc
restart the system
verify the values:
sysconfig -q proc max-threads-per-user max-proc-per-user
sysconfig -q pts nptys
sysconfig -q ipc sem-msl sem-mni shm-max
Tru64 boot hanging on configuring network
12.02.2005
determine if cluster group is running on current node
if %errorlevel%==0 echo Yes group is running on this node
System error 997 trying to online application in cluster
cluster.exe is the command line tool to administer a Windows cluster (NT,2000,2003). See cluster /? for options.
C:\>cluster resource solitaire /offline
Taking resource 'solitaire' offline...
Resource Group Node Status
---------- ---------- ------ ----------
solitaire CluGrp Node1 Offline
C:\>cluster resource solitaire /online
Bringing resource 'solitaire' online...
System error 997 has occurred.
Overlapped I/O operation is in progress.
Error Message: System Error 997 Has Occurred -- http://support.microsoft.com/kb/248408
solution: use the /wait switch see below:
C:\>cluster resource solitaire /online /wait:2
Bringing resource 'solit' online...
Resource Group Node Status
--------- ------ ----- -------
solitaire CluGrp Node1 Online
11.30.2005
Epic Client communications registry settings
"TraceFile"="c:\\trace.log"
"TraceMode"="0"
"ClientConfigFile"="c:\\test.txt"
usr8022 and dwl-G132 won't connect
G132 sees access point, but won't associate or connect to it.
192.168.123.254
blank password.
wireless tab -- Change basic rate to 1-2-5.5-11(mbps) instead of 1-2-5.5-11-22(Mbps)
must reboot router tools tab -- reboot
possibly: (seemed to work either way)
using D-Link ariplus xtremeG wireless utility, under advanced change the frequency from 802.11b/g-2.4GHz to 802.11b-2.4GHz
11.29.2005
accesskey attribute on html tags
create keyboard shortcuts for html forms, links and other elements....
11.28.2005
DHCP Client service and Dynamic DNS relationship
: Refreshing DNS names
11.25.2005
DVD burning with cdrtools / cdrecord and cygwin
Free cookie analyzer
11.24.2005
Public/Private key authentication with Putty and OpenSSH
It's great when great minds share information like this freely. It helps all of those searching for solutions to find the answers quickly. His web site is full of good stuff as well: http://www.unixwiz.net/
Thanks Steve!
Technet virtual labs - FREE
Best of all there's FREE!!!! You people know how I'm a big proponent of Free!
Microsoft Exchange Server 2003 Outlook Web Access Web Administration
It wouldn't work when I installed it. I had my default web site stopped when I did the install. I started the web site, and installed OWAAdmin again, but still didn't solve the problem. Had to right-click and uninstall the OWAAdmin.MSI file. Then I installed again, and all was well.
Guess what? You don't need to do manual segmentation anymore, you can use this tool.
I keep getting prompted for credentials when I access it, I assume it needs admin rights on the exchange server.
I also had to re-create the client side scripts for .NET:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322> aspnet_regiis -c
Start copying the ASP.NET client side script files for this version (1.1.4322.0).
Finished copying the ASP.NET client side script files for this version (1.1.4322.0).
Exchange 2003 OWA customization
Tru64 LPD and EVM - can't shutup LPD
LPD job submit requested - Status 0 Printer myprintername
LPD job submit completed - Status 0 Printer mypritnername Job number 0
EVM event name: sys.unix.evm.daemon.event_activity
daemon when it detects a high number of events occurring over
several minutes.
event log for the source of the activity. If the log does not show
high activity around the time at which this event was posted, it is
likely that the events were low priority, and hence were not
logged. You can monitor low-priority events by running the
evmwatch(1) command with an appropriate filter, or by temporarily
reconfiguring the EVM logger to log low-priority events.
this event by modifying the daemon configuration file,
/etc/evmdaemon.conf.
EVM daemon: High event activity - exceeds 500 in 10 minutes
Event Name : sys.unix.evm.daemon.event_activity
Priority : 600
PID : 1048856
PPID : 1048577
Event Id : 326425
Member Id : 2
Timestamp : 24-Nov-2005 15:08:06
Host IP address : 192.168.1.1
Cluster IP address: 192.168.1.3
Host Name : host.domain.com
Cluster Name : cluster
User Name : root
Format : EVM daemon: High event activity - exceeds $count in
$period minutes
Reference : cat:evmexp.cat:100
count (INT32) = 500
period (INT32) = 10
do
num=$(expr $num + 1)
echo $num
echo 'event { name sys.unix.print.lpd }' | evmpost
done
file=/usr/users/davidbon/evmwatcher.log
evmwatch -A -f "[priority >= 0]" -t "@priority @timestamp @@" >> $file
11.23.2005
VMWare workstation audio / sound volume level
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=853
in workstation 4 and above just add the following line somewhere inside your .vmx config file:
pciSound.enableVolumeControl = "FALSE"
Happiness!
quickly access Microsoft KB article
Migrating from single print server to clustered print server
Event Source: ClusSvc
Event Category: Services
Event ID: 1069
Date: 11/23/2005
Time: 2:00:24 AM
User: N/A
Computer: NODE1
Description:
Cluster resource 'printserver1' failed.
*************************************
Event Source: ClusSvc
Event Category: (2053)
Event ID: 1052
Date: 11/23/2005
Time: 2:00:24 AM
User: N/A
Computer: NODE1
Description:
Cluster Network Name resource 'printserver1' cannot be brought online because the name could not be added to the system.
Data:
0000: 0e 50 00 80 .P.
delete all wins records for printserver1
then brought printserver1 network name online
11.22.2005
Event ID 8 on Windows 2000 cluster
Event log entry almost every 5 seconds, even when no connections are being made to the IIS ftp server:
Event Source: MSFTPSVC
Event Category: None
Event ID: 8
Date: 11/22/2005
Time: 5:55:45 PM
User: N/A
Computer: NODE1
Description:
FTP Server could not create a client worker thread for user at host 192.168.1.50. The connection to this user is terminated. The data is the error.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Put the IP of the cluster (192.168.1.50 in this case) in address restrictions and the event log entry no longer happens, except for when an unauthorized IP tries to connect to the cluster ftp. You must restart the IIS resource in the cluster to stop the event log from appearing.
Connected to cluster.domain.com.
530 Connection refused, unknown IP address.
User (cluster.domain.com:(none)):
Connected to node1.domain.com.
Connection closed by remote host.
not quite related to this issue, but has same event log entry:
Event ID 8 When Clients Try to Access IIS FTP Site - http://support.microsoft.com/kb/293637
Epic Print Service running on Windows 2000 cluster
11.18.2005
Microsoft SQL 2000 setup error
error message:
previous installation created pending file operations on the installation machineyou must restart the computer before running setup.
FIX --
go here and delete the contents of the following registry key:HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
11.17.2005
PowerDVD XP v4 DVD error message
message:
title bar: DVD Error
error code: 89030000
Unknown file format
patch can be found here: http://www.cyberlink.com/multi/download/dl_patch_82_1_ENU.html
This error message occurred on a Windows XP SP2 box. Not sure if it happens on other platforms, who knows?
11.16.2005
registration forms for newpaper websites - why bother
11.15.2005
HBA card install in AlphaServer
SUMMARY: HBA: How to install -- http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2005-07/0035.html
I had to install a FCA2684 (aka DS-A5132-AA ??) HBA in a ES45 for various reasons. First after picking a 66Mhz slot and installing, at the SRM console, I ran wwidmgr -show adapter to see the adapter and receive an error something about NVRAM being invalid. That's because the NVRAM wasn't initialized since it was a brand new card. So since the topology was set correctly ('fabric' in my case) all I had to do was issue: wwidmgr -set adapter -item
Many times the firmware on the HBA must be a certain level, to check the firmware level, you can run the 'lfu' command and do the 'verify' command to see what the firmware level is. You can also see the firmware version when the emx driver initializes - see the /var/adm/messages for boot-time messages; grep for emx.
After that comes the Tru64 driver install / kernel rebuilt/config. The emx subsystem/driver that comes with Tru64 provides the support for this card. Support for the FCA2684 is included in Tru64 5.1B-2 (patch kit PK4) and above. If you don't have PK4 or higher installed, install it. If for some reason you can't install the PK, then you can install NHD7 (New Hardware Delivery) which will give you the driver/kernel rebuild necessary. I didn't want to screw with that, so I installed 5.1B-3 (PK5), at least I thought I did...
I configured support for the emx driver in the /sys/conf/SYSNAME ( where SYSNAME is the uppercase name of the system ). It's found in a section of like named 'config_driver' entries. all I did was add a line: config_driver emx and then save the file. Then came time to rebuild the kernel using the new option just added to the config file:
doconfig -c SYSNAME (rebuild the kernel)
cp /vmunix /vmunix.old (backup the kernel)
cp /sys/SYSNAME/vmunix / (move the new kernel into place)
After I rebooted, I noticed something strange in the boot up log: (from /var/adm/messages)
PCI device at bus 0, slot 9, function 0 could not be configured:
Vendor ID 0x10df, Device ID 0xfa00, Base class 0xc, Sub class 0x4 Sub-VID 0x10df Sub-DID 0xfa00 has no matching entry in the PCI option table
This message appear because I was NOT running the correct version of the emx driver. I was on 5.1B not 5.1B-3 (aka PK5). To see what version the emx driver is, or to see what cards it supports you can grep for strings in the emx module:
strings /sys/BINARY/emx.mod grep rev -- I was running 2.06 (from 5.1B)
strings emx.mod grep FCA -- see if my card was supported - it wasn't listed.
I then installed 5.1B-3 from cd and after the reboot, the emx driver loaded and all was well.
Stay in touch with business colleagues
LinkedIn: www.linkedin.com seems like a great way to find people that may be interested in working on a project or business idea. I like the idea, if not just to see who in my area is involved in my industry. I always felt like an outsider.
WPA2, D-Link, and Windows XP
How to get WPA2 to work in Windows. I believe it's only supported natively in Windows XP SP2 with the addition of a hotfix. WiFi equipment vendors may offer their own connection software that may work with WPA2...
I've got a DI-624 and wanted to use the more secure WPA2, but didn't know how to configure it properly on my WinXP SP2 laptop with the Dell TrueMobile 1300 WLAN 802.11b/g card. Don't give me the credit, I just found the following via google: http://www.dslreports.com/forum/remark,13878831?hilite=dwl-g650
The hotfix to add WPA2 to XP is found here: http://support.microsoft.com/kb/893357 (titled: The Wi-Fi Protected Access 2 (WPA2)/Wireless Provisioning Services Information Element (WPS IE) update for Windows XP with Service Pack 2 is available)
Here's a good white paper on WPA/WPA2 and deployment: http://www.wi-fi.org/getfile.asp?f=WFA_02_27_05_WPA_WPA2_White_Paper.pdf
intermediary remote control products
The remote control I'm speaking of here is specifically designed for end users / customers that need support periodically and will launch the support via their web browsers by means of a java applet or activex control.
Here's some research I've done. My favorite solution, so far, is the logmeinrescue.com from 3am labs. It seems to be the biggest bang for the buck. If you have one that's better, then comment about it bucko!
www.gotoassist.com
Annually $3900 for 1 seat
$700 implementation fee
www.logmeinrescue.com $1188/year
The technician: www.logmeinrescue.com
ask the user to go to: www.logmein123.com then type in pin number.
remote support products:
http://www.gotoassist.com
3rd party
http://www.networkstreaming.com
appliance
http://www.logmein.com
3rd party
http://www.netsupport247.com
http://www.remoteus.net
requires app server in DMZ
http://www.dualdesk.com
must open ports on technician's firewall.
11.14.2005
Single server KVM over IP
I've always been looking for an inexpensive single device IP KVM. This one isn't that cheap from the quick froogle search I did, it seems to be around $750. Provide a comment regarding more economical IP KVMs that you've used. Thanks.
11.13.2005
In practice: g4u cloning
BTW: www.webattack.com aka www.snapfiles.com has lots of great freeware / shareware utilities that have helped me over the years. If I'm looking for an app or utility free to use (and when aren't I?), the first place I look is webattack.com.
Anyway, after the FTP server is setup (setup a user named 'install' and give him a password), then boot the PC you want cloned/imaged with the g4u CD. Follow the instructions on the screen. I did this to move from a 40gb drive in my laptop to a 80gb drive. Once the uploaddisk/slurpdisk (g4u terminology for dump disk / load disk) is complete I was able to use my new 80gb drive.
But wait; it copied the configuration over identically. That means all my partitions are still the size they used to be on the 40gb drive. Solution: enter ntfsresize - or the QTparted front end, available on many linux distros. Here's some info: http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html
I opted to use the RIP distro: http://www.tux.org/pub/people/kent-robotti/looplinux/rip/ after booting, I followed the instructions from the RIP homepage to backup the mbr and partition table. I then ran fdisk, deleted my partitions, recreated a new 80gb partition that consumed the entire drive size, changed the type to 7 (ntfs) and set it to be bootable ('a' command). After writing ('w') it to disk, I ran the ntfsresize /dev/hda1 to resize the partition to occupy the entire disk. To confirm the resize was successful, I ran ntfsresize --info --force /dev/hda1. Remeber that just because I used fdisk to delete the partition, that doesn't delete the phyisical partition, it just deletes the entry for the partition in the partition table. That part is not that destructive because your can recover from it (if you know what the hell you're doing!).
Lastly for me, since I was doing dual-boot with XP and Fedora and had grub installed on the mrb, I had to fix that since I'm stupid when it comes to grub. I booted with the XP cd, selected R for repair, which booted me into recovery console. From there I did a 'fixmbr' command to kill grub and get the XP boot loader installed. see the description of the XP recover console: http://support.microsoft.com/?id=314058
confused? See the following: http://homepage.smc.edu/morgan_david/cs40/assignments/assgt4.htm
http://homepage.smc.edu/morgan_david/cs40/partitionrec.htm
http://www.ntfs.com/boot-sector-damaged.htm general good source of NTFS info: www.ntfs.com
11.12.2005
cheap / free hard disk cloning
g4u - Harddisk Image Cloning for PCs
http://www.feyrer.de/g4u/
using dd and netcat to clone disks:
(down ???) http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html
Google's cached copy: http://72.14.203.104/search?q=cache:jx4674quVY0J:www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html+linux+cloning&hl=en
resize those NTFS partitions:
http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html
11.08.2005
problems with Dell M5200 or Lexmark/IBM printers and MS Office apps
dell printer m5200 "program error" "generated errors"
right-click properties on printer:C:\winnt\explorer.exe -Function address 0x77fcb21d caused a protection fault. (exception code 0xc0000005)Some or all property page(s) may not be displayed.
http://www.msusenet.com/archive/topic.php/t-1870972607.html
http://support.microsoft.com/kb/908506 -- 891861 update causes problems for driver
delete printer, then had to stop/start spooler, delete driver, and reconnect to printer.
Entry from C:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log. Look at the ascii output in the raw stack dump... reference to lexsetprinter lead me to believe it was a print driver issue.***********************************************
Raw Stack Dump
0012c640 ea ac fc 77 c8 00 00 00 - 50 06 a9 01 00 00 13 00 ...w....P.......
0012c650 a8 06 a9 01 50 00 00 00 - 10 c8 12 00 cc c4 01 10 ....P...........
0012c660 00 86 04 10 05 00 00 00 - 06 00 00 00 c0 c7 12 00 ................
0012c670 50 00 00 00 20 07 a9 01 - a8 06 a9 01 50 06 a9 01 P... .......P...
0012c680 0a 00 09 00 00 00 13 00 - 05 00 00 00 00 c6 12 00 ................
0012c690 1e a3 d3 77 f8 c7 d5 77 - 78 01 a9 01 78 01 a9 01 ...w...wx...x...
0012c6a0 b4 83 80 77 28 c6 12 00 - f4 c7 12 00 f4 c6 12 00 ...w(...........
0012c6b0 64 7e fb 77 78 16 f8 77 - ff ff ff ff 04 c7 12 00 d~.wx..w........
0012c6c0 fb 92 57 7c 00 00 13 00 - 00 00 00 00 40 41 15 00 ..W........@A..
0012c6d0 8c c8 12 00 c4 06 a9 01 - 03 00 00 00 00 00 00 00 ................
0012c6e0 00 00 00 00 c8 c6 12 00 - 00 00 00 00 d0 c6 12 00 ................
0012c6f0 f4 c7 12 00 f4 c7 12 00 - 54 1f 5c 7c 80 24 57 7c ........T.\.$W
0012c700 ff ff ff ff 2c c7 12 00 - 76 43 80 77 40 41 15 00 ....,...vC.w@A..
0012c710 34 02 81 77 40 41 15 00 - 8c c8 12 00 c4 06 a9 01 4..w@A..........
0012c720 50 06 a9 01 40 41 15 00 - 05 00 00 00 04 c8 12 00 P...@A..........
0012c730 ab 9f 59 7c 74 02 00 00 - 01 00 00 00 66 d9 01 10 ..Yt.......f...
0012c740 74 02 00 00 5a d9 01 10 - 8c c8 12 00 c4 06 a9 01 t...Z...........
0012c750 50 06 a9 01 74 02 00 00 - 47 00 6c 00 6f 00 62 00 P...t...G.l.o.b.
0012c760 61 00 6c 00 5c 00 4c 00 - 65 00 78 00 53 00 65 00 a.l.\.L.e.x.S.e.
0012c770 74 00 50 00 72 00 69 00 - 6e 00 74 00 65 00 72 00 t.P.r.i.n.t.e.r.
6.08.2005
she's gone
How stupid can one man be?