2017-12-28

Windows10UpgraderApp.exe - System Error (api-ms-win-core-libraryloader-l1-1-1.dll)


The program can't start because
api-ms-win-core-libraryloader-l1-1-1.dll is missing from your computer. Try reinstalling the program to fix this problem.








Is working.

Renamed C:\Windows10Upgrade\wimgapi.dll      ->        C:\Windows10Upgrade\wimgapi.dll.ori
Copy C:\Windows\System32\wimgapi.dll      ->        C:\Windows10Upgrade\wimgapi.dll

Click on Try Again Button.




2017-12-26

What is wtmp.



When I was tracing a linux reboot time, found a line of log as below:

wtmp begins Mon Nov 27 09:12:36 2017
Commands I used:

last -f /var/log/wtmp
last -f /var/log/wtmp.1 



Reference URL#1: https://serverfault.com/questions/80939/how-to-find-who-was-logged-in-before-beginning-of-wtmp

Presumably your wtmp file has been rotated, so try last -f /var/log/wtmp.1 or last -f /var/log/wtmp.0 to read the previous files. If those don't work, ls /var/log/wtmp* and see if they're called something else. If they're compressed (.gz extension), decompress 'em.
If they're not there, find whoever setup the bollocks rotation scheme and give them a solid foot-punch to the pantaloons. There's no reason not to keep at least a few weeks' of wtmp logs.


Reference URL#2: https://www.linuxnix.com/read-view-utmp-wtmp-btmp-file-linuxunix/




VIEW UTMP, WTMP AND BTMP FILES

In Linux/Unix operating systems everything is logged some where. Most of the system logs are logged in to /var/log folder. This folder contains logs related to different services and applications. In this folder we have some files such as utmp, wtmp and btmp. These files contains all the details about login’s and logout’s which are from local as well as from remote systems and system status such as uptime etc.
Some info about utmp, wtmp and btmp 
  • utmp will give you complete picture of users logins at which terminals, logouts, system events and current status of the system, system boot time (used by uptime) etc.
  • wtmp gives historical data of utmp.
  • btmp records only failed login attempts.







2017-11-21

Oracle VM VirtualBox - E_FAIL (0x80004005)

Oracle VM VirtualBox

Issue#01
The VM session was closed before any attempt to power it on.


Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}






Only succeeded at 3rd tries:

  1. Tried#1 - made a copy of the "VM_NAME.xml-prev" file and renamed the copy to "VM_NAME.xml" at URL https://forums.virtualbox.org/viewtopic.php?f=6&t=33196
  2. Tried#2 - changed the 'virtual disc name - .vbox-prev' to 'virtual disc name .vbox' at URL https://forums.virtualbox.org/viewtopic.php?f=6&t=33196
  3. Tried#3 - Start as: Detachable Start, printscreen at: https://photos.app.goo.gl/MaOV5V1UVxD27vEN2




Issue#02
Update On: 2019-Jan-30_pm021031



Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine CentOS_7.6.1810.

Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}



Reference URL: https://askubuntu.com/questions/573596/unable-to-install-guest-additions-cd-image-on-virtual-box


I ran into this problem recently (Sept 2017) trying to install Guest Additions into Oracle VM VirtualBox Manager version 5.1.28, in a newly-installed VM for Ubuntu version 16.04.3. The host is Win-10. The problem was that the Guest Additions CD image was already mounted. To fix it:
  • In the VM Manager under Settings->Storage, under Controller: Right-click on VBoxGuestAdditions, and select “Remove Attachment." There will be a confirmation box: click “remove.”
  • Click the “+” icon next to “Controller," to add new optical drive. A dialog box will open. Choose “Leave Empty-> Okay”
  • Open the VM and select Devices->Insert Guest Additions. It should install now. Power off the VM (not the VM Manager) and restart the VM. GuestAdditions should now be working.













2017-09-28

Access restriction: The type 'JPEGCodec' is not API (restriction on required library 'C:\Program Files\Java\jdk1.6.0_45\jre\lib\rt.jar')




Found solution at: https://stackoverflow.com/questions/9266632/access-restriction-is-not-accessible-due-to-restriction-on-required-library


I ran into something similar, I think that the cause of the warning is Eclipse trying to discourage you from using the internal com.sun packages that are installed as part of your workspace JRE but which are not part of the public Java API.
As Justin says in his answer, changing your compiler settings can hide the warning. A more fine-grained approach is to modify your build path to explicitly allow access to the package in question:
  1. Open the Libraries tab of the Java Build Path project property window.
  2. Expand the JRE System Library entry.
  3. Select "Access rules" and hit the Edit button.
  4. Click the Add button in the resulting dialog.
  5. For the new access rule, set the resolution to Accessible and the pattern to "com/sun/xml/internal/**".
After adding this access rule, your project should build without these warning.

2017-09-26

JAR libraries was not in maven repository.




Summary:

  1. Added Web App Libraries are to resolve eClipse IDE classes/jars unresolve issue.
  2. Assign Web App Libraries to [Native library location] are to resolve run as maven install, cannot find symbol



regEx - Regular Expression to exclude set of Keywords




RegEx format:
^(?:(?!.SearchText1|SearchText2|SearchText 3|Search Text\|4|SearchText5).)*$\r?\n?


^(?:(?!.No such file or directory|Permission denied|recursive directory loop|Operation not supported on socket).)*$\r?\n?

^(?:(?!.1.2|1.3|1.1.1|appVerision\|null|1.0).)*$\r?\n?


2017-09-25

The following error occurred while importing IMG_XXXX.JPG: A device attached to the system is not functioning.


My case was connected to the fast charging port of the laptop.

Message won't pop up anymore after change to normal USB of the laptop.





2017-09-18

The VM session was closed before any attempt to power it on.









Found reference from: http://www.sysprobs.com/vm-session-closed-attempt-power-virtualbox-32-error

But I was unable to follow through as unable to remove both drive advised in the post.

Then I was still able boot my VM back by:

  1. Right click VM.
  2. Choose "Detachable Start"
  3. With an error pop up.(forgot what was that)
  4. Then Right click VM.
  5. And do Normal Start.

2017-07-18

How to force to clear standby memory so can be reuse immediately.




By referring to:

https://blogs.technet.microsoft.com/askperf/2010/08/13/introduction-to-the-new-sysinternals-tool-rammap/

Download

RAMMap v1.5

from

https://technet.microsoft.com/en-us/sysinternals/ff700229.aspx


unzip  RAMMap.zip
run RAMMap.exe

from menu, select

Empty

>   Empty Standby List

2017-06-12

Oracle VM VirtualBox Version 5.1.22



Oracle VM VirtualBox Version 5.1.22

Unable to install antivirus of:


  1. Avast offline
  2. Avast online.
  3. AVG online