2.03.2006

Gmail browser cache full message

Message from gmail after logging in:  Your browser's cache is full and may interfere with your Gmail experience.  Fix this   Hide

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

On Tru64, it sucks when a faulty device is replaced and the new device now uses a different device file.  The example below is how to delete the old device from hardware manager's database and how to rename the device special files using dsfmgr.
 
for reference: man hwmgr_ops
 
First, delete the old device:
# 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.


Solutionhttp://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

http://www.nuxified.org/vi_survival_guide

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

Brand new Dell Dimension 1100; after removing a bunch of the bundled software, I kept getting a Windows Installer message after bootup asking for the Sonic Update Manager disk.  "1" was listed in the "look in"/disk location.  The solution can be found here:  http://forums.us.dell.com/supportforums/board/message?board.id=sw_other&message.id=48777&view=by_date_ascending&page=2

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

www.digg.com  is a great source for lots of science / technology news.  A number of the links that I've posted on this blog have be found via digg.com

Open source Linux home theatre software: freevo and A/D converter

Home theatre software which Incorporates lots of open source projects including MythTV: http://freevo.sourceforge.net/about.html

How to build a Linux analog to digital converter:  http://linuxgazette.net//118/chong.html

12.20.2005

Gmail 'operation' aborted in IE

Using Gmail, I have come across some emails that kill Internet Explorer if I open them.  The emails that do it for me are ones from financial institutions, but I've heard that others have the same issue with emails from different origins.  What happens is that when you open the 'bad' message, IE pops up it's "Security Information" box and says: "This page contains both secure and nonsecure items.  Do you want to display the nonsecure items?".   It doesn't matter if you select Yes or No, because IE will give an error message: "Internet Explorer cannot open the Internet site https://mail.google.com/mail/.   Operation aborted"   Then once you click OK, you get either an "Action canceled" or "The page cannot be displayed" errors.

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.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

See what IP address your device/PC is reporting itself to be.  Check what IP address your company has assigned to the external NAT on the firewall:
 

burn DVD / CD from the command line free

Command Burner - http://www.commandburner.com
 

Browser Capabilities and browscap.ini

You can use the ASP object BrowserType (MSWC.BrowserType) to find browser capabilities within your web app.  Browscap.ini also affects the values returned from this object.
 
 
ASP Browser Capabilities Component
http://www.w3schools.com/asp/asp_browser.asp
 
HOW TO: Add Internet Explorer 6 Information to the Browscap.ini File
http://support.microsoft.com/kb/311227

12.06.2005

vdump to tape and file simultaneously

Use vdump to output to stdout, pipe it to tee and have tee send it to the tape device, then redirect stdout from tee to a file or another tape device.
 
Example:
fileset to backup: /mycrap/mountpoint
 
vdump -0f - /mycrap/mountpoint | tee /dev/ntape/tape1c > /morestuff/vdumpbackup
 
Using the -q (quiet) option still results in 4 lines from vdump going to stderr:
path     : /mycrap/mountpoint
dev/fset : crapdomain#mntpt
type     : advfs
advfs id : 0x3cbae55e.010baf45.b
You can kind just redirect stderr to /dev/null in that case.  I don't like the idea of that in case of 'real' errors going to stderr, then you'll miss them.  The above example would then be:
vdump -0f - /mycrap/mountpoint 2>/dev/null | tee /dev/ntape/tape1c > /morestuff/vdumpbackup
 
 

FCA2684 and EMC ClARiiON Cx500

Tru64 needs and entry entered into the ddr.dbase file:
backup the /etc/ddr.dbase first.  Here's the entry needed, put it under the DISKS section:
 
SCSIDEVICE
    #
    # 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
 
After this is entered, you need to recompile the ddr.db file using the ddr_config -c command.  You'll need to contact you SAN guy to create the LUN and setup security on the SAN side of things.  Once that's done, you should be able to see the LUN after you scan: hwmgr -scan scsi   then view the devices: hwmgr -show scsi
 
 

ASP code to log events to application event log

How To Log Events from Active Server Pages - http://support.microsoft.com/kb/301309
 
Note the "Troubleshooting Notes" section if it doesn't work.  I used the WSH method and it worked, even though the anonymous account was a part of the guests group and the RestrictGuessAccess was not set.
 

Bandwidth speed test for broadband connections

For DSL or Cable broadband connections. Many other ones out there, but this one does not require Flash or Java to perform the test.

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

How to modify Tru64 kernel parameters / attributes / subsystems:
 
Always backup the /etc/sysconfigtab file first before attempting any of this!!
Always merge instead of using the -u or -a option of sysconfigdb; you will overwrite what was in /etc/sysconfigtab.

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

 

make a bootable tape for tru64

sysman boot_tape