Monday, August 4, 2014

[SOLUTION] "Out of Memory' (Error 1416) When Saving Visio 2010 Drawings with Embedded PDF's

PROBLEM: After creating a Visio 2010 drawing and embedded PDF's, you receive an error: "Out of Memory' when saving the drawing.  The exact message reads:

An error (1416) occurred during the action Save.
There is not enough memory to complete the requested action.



SOLUTION: There is a bug in the way Visio 2010 handles PDF's and automatically "groups" them.

  1. Select the PDF(s) in your Visio drawing
  2. Click the Group menu item
  3. Select Ungroup


You should now be able to successfully save the file.

UPDATE: If this does not fix your particular problem, as it does for me, you can also try the following work-around that involves creating a picture file from your PDF and inserting that instead:

Sunday, April 13, 2014

Trusted CA Cert for WhatsApp Attachments



I'm selectively enabling CA trusts on my Android phone by disabling all Trusted CA's and then enabling only ones that I need to run on a daily basis. To re-enable WhatsApp attachments (I couldn't download photos anymore) I had to enable ValiCert, Inc. (http://www.valicert.com/). There's three of them listed, but I only needed to enable the first one.


This was a little troublesome because when I went to https://whatsapp.com in by browser, they're using a certificate published by DigiCert...which did not help when I re-enabled it.

Photos are downloading again!

Thursday, April 10, 2014

SOLUTION: DPM Service Failed to Start in a Timely Fashion

     After setting up a Microsoft System Center DPM 2012 SP1 server in my main network, I moved it to a remote location. However the DPM service world not start and gave me the errror and related Event Log entries:

DPM failed to communicate with DPMBACK1.mydomain.local.com because of a communication error with the protection agent (ID 53 Details: The service did not respond to the start or control request in a timely fashion (0x8007041D))
Log Name:      Application
Source:        MSDPM
Date:          3/21/2014 4:32:33 PM
Event ID:      976
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:    BACK1.mydomain.local.com
Description:  The description for Event ID 976 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:  The DPM job failed because it could not contact the DPM engine.
     After chasing my tail for a couple of days by trying to install the latest rollup packages (I was unable to because this requires the DPM service to be able to start...), troubleshooting SQL Integration Services, triple checking DNS and routing, NIC drivers, NIC teaming settings, replacing VSS dll's as I've seen in man other blogs, trousbleshooting Internet Access (as seen on technet), then out of frustration moving the server back to the main office (DPM started immediately...so the server is okay), etc...I found a simple registry key that fixed all of my problems.  Here's the instructions:

Apply the ServicesPipeTimeout registry setting: This registry setting helps avoid failures when installing DPM and DPM updates or after moving to a new network with more latency.

  • Launch Registry Editor (regedit) and navigate to the following key:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
  • Click the Edit menu and select New and DWORD (32-bit) Value
  • Type ServicesPipeTimeout (case-sensitive) for the name and press Enter
  • Right-click the ServicesPipeTimeout DWORD entry that you created and click Modify
  • Select Decimal
  • Type 300000 in the Value data field and click OK
  • Restart the computer

After restarting the server, then I ran the following command to cleanup the DMP database.
dpmsync -sync
SUMMARY: The new network must have had some extra latency...?

Thursday, October 31, 2013

HP 2520 24 Port Switch MTU Error and Subsequent Firmware Upgrade Instructions


   In troubleshooting a packet size problem with some of my HP ProCurve 2520-24G (J9299A) switches, I uncovered a bug in the HP firmware. It's on an HP forum for another switch model...but I can assure you the bug is in this model as well. (1810 Bug report)

   The symptoms of the problem are that when pinging from one device to another with a large ICMP frame, the packet drops without any logs or notifications of any kind...the other device looks like it's down.  The command from a windows client looks like this:
WORKS:  ping 192.168.10.10 -l 504
FAILS:      ping 192.168.10.10 -l 505
The solution posted on the forum for the 1810 essential says to reset the device and start from scratch:
"I encountered the exact same problem on two brand new 1810G's. The fact that I had configured them identically provided the clue - I had done a firmware upgrade to P2.2 (via the intermediate firmware, whatever what was) before doing anything else to both of the switches. There must have been some sort of anomaly that got propagated with the original internal configuration. Once I did a factory reset and reconfigured the switches again, the problem went away. BTW, running them Jumbo and tagged VLANs, no problems."
I'm in the process of doing that now, but first I thought I would take advantage of this opportunity to upgrade the firmware as well.Current firmware version is J.14.01 (07/27/09) and I want to go to J.15.09_0021 (10/16/2013).

The steps are essentially:
1. Install a TFTP server on your network (I use Whatup's)
2. Log in to the console of your switch (I use putty)
3. Run the following command to download and install the firmware to the secondary flash chip
      copy tftp flash 192.168.10.3 J_15_09_0021.swi sec      note: syntax is: copy tftp flash <IP address of TFTP server> <case-sensitive firmware filename> <pri | sec>
   After the firmware installed, I set the Secondary flash to be the boot flash with the follow command:
boot system flash sec
NOTE FROM HP: "If neither flash is specified in the command, then the primary flash will be updated by default. Should the administrator choose to update secondary flash, first, then he or she may reboot the switch to secondary flash to ensure the stability of the new image. That command is: boot system flash sec . The system must be manually rebooted for the new firmware to take effect."
   The command reboots the switch...so I don't know what it means to "manually reboot" the switch.  RESULT: And...now I'm locked out of the switch since the password changed!!!

   To get around the password issue, I simply had to "clear" the password with a paperclip. The button is on the lower left-hand side of the switch. After pressing this button for a few seconds, I attempted to log in again and all passwords were blank (Note: Nothing else in the switch configuration changed though. The VLANs, configuration, etc. were all intact)

   After setting my password again...I did some initial testing and the MTU problem appears to not have been resolved. Time will tell if it's any more stable now. In the meantime, I'm planning to decommission these from production.

To finalize the installation, copy the firmware from one flash to the other, use this command within the console:
copy flash flash pri
Source(s): HP

Tuesday, April 23, 2013

How to get iDRAC 6 Console Working with Google Chrome

     I've been able to use Dell's Remote Console, iDRAC 6, to work with Google Chrome without any issues. You can login to the web interface and navigate all of the menus without any re-configuration to the iDRAC settings. However to launch the Virtual Console and Virtual Media interface, you must make one adjustment. You must change the virtual console from Native to Java and specify the javaws.exe as the launcher for the JNLP file that will download.



1. Log into the web interface for iDRAC.
2. Select System from the right menu and then click Console/Media.
3. Select the Configuration screen menu
4. In the Virtual Console section, locate the Plug-in Type drop-down menu and select Java (Native is the default)



5. Click Apply at the bottom of the screen.
6. Select the Virtual Console and Virtual Media screen and then click Launch Virtual Console to launch the server console.
7. The file viewer.jnlp will download. Once the download is complete, click on the file download notification in Google Chrome to open it.
8. Click the Select a program from a list of installed programs radio button and click OK.


9. Click Browse...

10. Navigate to the Java Runtime installation directory on your computer and open the BIN folder (the complete path on my computer, which has a default installation, is C:\Program Files\Java\jre7\bin)
11. Select javaws.exe from the list of files and click Open. (This program file is called the Java(TM) Web Start Launcher)
12. Check the box Always use the selected program to open this kind of file and click OK.


13. Confirm any security or firewall prompts that appear.





Boom! You should be good to go.


Production Environment

  • Microsoft Windows 7 64bit with SP1 (and fully patched on the date of this writing)
  • Google Chrome 26.0.1410.64 m
  • Java Runtime 7u21
  • Dell iDRAC6 1.95



Dell iDRAC 6 Virtual Console - Keyboard Not Working


   When I launch the virtual console for the server my iDRAC is installed on, I am able to see the screen and to click on the logon buttons, however when I want to type anything...no text is passed to the console. I dug a little bit on the Internet and found two suggestions:
  • Problems first appeared after I changed the IP address on the iDRAC config. After some digging, I was able to get my keyboard working again within the Virtual Console Native Plugin by updating the firmware. [Note: I tried this, but it did not solve my problem]
  • I had a defective iDRAC expansion card with outdated firmware. I replaced the card with one running the current firmware (because I was also unable to update the firmware remotely) and the problem was solved. [Note: Wow...strange. iDRAC is built into my Dell system's motherboard, Poweredge R710]
  • I just had the same issue. Login to your DRAC and change the console type from Native to Java. Once I did this i could use my keyboard. It seems to be a problem with iDRAC plugin on my local computer. [Note: This does not appear to be possible with iDRAC 6, this tip must be for a previous version]
  • ...by adding the new iDRAC IP to Trusted Sites in IE.[Note: We already did this via Group Policy and the iDRAC website is trusted]


   None of these things were problems for me, so I tried to run the console in Google Chrome...the browser I normally use for the Internet. I was able to login and when I tried to launch the console, a JNLP file downloaded to my computer to run. From a quick search, I was able to see that JNLP are Java files, and I don't have Java Runtime installed on my computer, so the file would not open. So I downloaded Oracle Java Runtime 7 and installed it (despite my worries of the infinite exploits running around on the Internet and the frequent news releases of security problems with Java). I closed Internet Explorer, relaunched it, logged in, launched the Virtual Console...and still no dice.

I'll post the final solution later.

Notes:
Windows 7 64bit
Internet Explorer 9
Java Runtime 7u21
iDRAC 6 1.95

UPDATE: I found that the 3rd solution I found works for me, I just didn't know how to do it. Here's one way to switch from Native to Java consoles (note: Java Runtime is required as well).


  1. Log into the web interface for iDRAC.
  2. Select System from the right menu and then click Console/Media.
  3. Select the Configuration screen menu
  4. In the Virtual Console section, locate the Plug-in Type drop-down menu and select Java (Native is the default)
  5. Click Apply at the bottom of the screen.
  6. Select the Virtual Console and Virtual Media screen and then click Launch Virtual Console to launch the server console.

Dell iDRAC 6 Firmware 1.95 Installation Notes

As of April 2013, the latest firmware download for iDRAC 6 is version 1.95 A00. The details of the firmware from Dell are:


Q1FY14 iDRAC Monolithic release 1.95
iDRAC6 V1.95
Release Date: 2/21/2013
Importance: Urgent


Download Link


Fixes & Enhancements

  1. Creating a partition from an image failed intermittently with Dell supported 8 GB SD card.
  2. Cannot create Certificate Signing Request (CSR) with remote and local RACADM.
  3. Cannot perform firmware update using the Web interface with Internet Explorer 10 browser.
  4. Cannot upload an SSH public key using command racadm sshpkauth if the key does not end with an "=" or "==" at the end of the key string.
  5. RAC serial redirect prompts for user credential when cfgSerialConsoleNoAuth is enabled.
  6. Power monitoring graph is not visible in iDRAC6 Web interface with Internet Explorer 10 browser.
  7. If the user password has (?) character, access is denied for WSMAN commands.
  8. In iDRAC6 express configuration console/media tab is listed in the system page. The Console/media tab must not be available in iDRAC6 express configuration.
  9. If  is ON on the management station and Virtual Console is launched, and then if any letter is pressed small case letter is displayed. If  is OFF and any letter is pressed, then Capital letter is displayed.
  10. The racadm vmdisconnect command from local and Remote racadm displays an error while disconnecting Remote File Share (RFS) attached media-"Error:No Virtual media devices are currently connected". But the media is connected through RFS before executing the command.
  11. In the iDRAC Web interface -> System Summary page -> Server Health section, the Power Supplies component health status displays as critical health instead of warning health in the absence of redundant power supply.
  12. Hardware inventory page in iDRAC Web interface displays information for two Power Supply Units (PSUs) when only one is present.
  13. Broadcom NIC Firmware Version in the iDRAC Web interface -> System Inventory page is not listing the correct version.
  14. Lifecycle Controller version is not displayed in the iDRAC Web interface System Summary and System Details pages.


Installation Notes
I upgraded from version 1.92 Build 5 to 1.95 A00 using the Update tools in the iDRAC Web Console. After downloading the .EXE file for Windows systems, I used 7zip to extract the files to my hard drive. Two files were created:

iDRAC6_1.95_A00_ReleaseNotes.txt
firmimg.d6

In the iDRAC webpage console I clicked iDRAC Settings and then selected the Update tab. I clicked Browse, selected the firmimg.d6 file, clicked OK, and then clicked Upload. The file upload took about 3-5 minutes (pretty slow for a 50MB file...) and then I received the following message:

iDRAC6 Firmware Image has been updated successfully.
The iDRAC6 has been reset. You will not be able to access the iDRAC6 with this browser session.
Please close and reconnect to the iDRAC6 using new browser session.

I closed the webpage and then reconnected to the IP Address. Everything looks good at first glance.