Archive for the ‘Windows’ Category

USB Disk Errors on Mint 19 VMware Guest

December 8th, 2020, posted in Windows
Share

Connecting a physical USB device to a virtual machine is sometimes tricky. Virtual machines are not really designed for physical interaction. In this case, it was necessary to mount a 1 TB external USB disk to a VMware virtual machine running Linux Mint 19.3. USB errors were seen and the disk would not connect. The fix was very simple.

 

Connecting the Disk :

A USB disk was connected to a Linux laptop running VMware Workstation 15.5.1, and hosting a Linux Min 19.3 guest. When the connection “button” (at the bottom right of the VMware window) was pressed, these errors appeared in the guest’s kernel log:

[Tue Mar  3 22:51:30 2020] sched: RT throttling activated
[Tue Mar  3 22:58:17 2020] usb 1-1: new high-speed USB device number 6 using ehci-pci
[Tue Mar  3 22:58:18 2020] usb 1-1: device descriptor read/64, error 18
[Tue Mar  3 22:58:18 2020] usb 1-1: device descriptor read/64, error 18
[Tue Mar  3 22:58:18 2020] usb 1-1: new high-speed USB device number 7 using ehci-pci
[Tue Mar  3 22:58:19 2020] usb 1-1: device descriptor read/64, error 18
[Tue Mar  3 22:58:19 2020] usb 1-1: device descriptor read/64, error 18
[Tue Mar  3 22:58:19 2020] usb usb1-port1: attempt power cycle
[Tue Mar  3 22:58:20 2020] usb 1-1: new high-speed USB device number 8 using ehci-pci
[Tue Mar  3 22:58:20 2020] usb 1-1: Invalid ep0 maxpacket: 9
[Tue Mar  3 22:58:20 2020] usb 1-1: new high-speed USB device number 9 using ehci-pci
[Tue Mar  3 22:58:20 2020] usb 1-1: Invalid ep0 maxpacket: 9
[Tue Mar  3 22:58:20 2020] usb usb1-port1: unable to enumerate USB device
[Tue Mar  3 23:00:32 2020] pciehp 0000:00:15.0:pcie004: Slot(160): Attention

USB Errors like this are very common. There are many causes and many potential solutions, some of them quite esoteric. In this case though, the solution was very simple.

 

Quick Solution :

The fix was to edit the virtual machine settings in VMware, and change the USB specification from “USB 2.0” to “USB 3.0”. With that done, the disk connected without a problem. More explicitly:

VM settings -> USB Controller -> USB compatibility -> change USB 2.0 to USB 3.0.

The physical USB port was indeed USB 3, as was the external disk. One strange thing is that the arrangement (USB 2.0) had worked until a day or two earlier.

Share

Calculator In Windows 10 Reset

May 5th, 2020, posted in Windows
Share

 

In addition to the standard mode that you see by default upon launching the Calculator app with default settings, programmer and scientific modes are also available in the Calculator app. Besides that, Calculator app includes a converter as well. The converter feature supports volume, length, energy, temperature, weight and mass, angle, pressure, data, time, power, area and speed.

reset or reinstall Calculator in Windows 10

The Calculator in Windows 10 app usually works well without any issues. Over the last year, the app has been updated a number of times and the app is quite stable now.

That said, if you’re having any issues while opening the Calculator app or using it, you can reset the app to fix the issue. If resetting the app didn’t help, you may reinstall Calculator to address the issue.

Refer to the given below directions to reset the Calculator app in Windows 10.

 

Reset the Calculator app in Windows 10

Step 1:Open Settings app and then navigate to System > Apps & features.

Step 2: Look for Calculator app entry. Click on Calculator app entry to see Advanced options link. Click Advanced options link.

 

Calculator In Windows 10 Reset And Reinstall ,Reset And Reinstall Calculator In Windows 10,Reset And Reinstall,Calculator In Windows 10,windows 10,Windows 10,

 

Step 3: This will open Storage usage and app reset page. Click Reset button.

 

Calculator In Windows 10 Reset And Reinstall ,Reset And Reinstall Calculator In Windows 10,Reset And Reinstall,Calculator In Windows 10,windows 10,Windows 10,

 

 

Step 4:When you see the warning dialog with “This will permanently delete app’s date on this device, including your preferences and sign-in details” message, click the Reset button again to reset Calculator app.

 

Calculator In Windows 10 Reset And Reinstall ,Reset And Reinstall Calculator In Windows 10,Reset And Reinstall,Calculator In Windows 10,windows 10,Windows 10,

Share

TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA

April 10th, 2018, posted in Linux OS, Oracle, Windows
Share

TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA,TNS-01155,Incorrectly specified SID_LIST_LISTENER parameter,LISTENER.ORA,LISTENER ORA,errors,Oracle ERP,Oracle ,ERP,Oracle ERP Application,Oracle Application,Oracle DBA,Oracle Forms,Oracle Apps,Apps DBA,ERP Application



Issue : While starting the listener we got the below error.


linux01(oracle:orcl1)/home/oracle: lsnrctl start

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 15-SEP-2015 03:43:02

Copyright (c) 1991, 2013, Oracle.  All rights reserved.

Starting /opt/oracle/product/11.2.0.4.RAC/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /opt/oracle/product/11.2.0.4.RAC/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/linux01/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
TNS-01155: Incorrectly specified SID_LIST_LISTENER parameter in LISTENER.ORA
 NL-00303: syntax error in NV string

Listener failed to start. See the error message(s) above...



Solution: 

In the listener.ora file there were blank lines under the section SID_LIST_LISTENER. We removed the blank line entries and brought up the listener. (please note that this may be one of the scenarios)

Erroneous listener.ora file excerpts below:

SID_LIST_LISTENER =
 (SID_LIST =
 (SID_DESC =
 (GLOBAL_DBNAME = ORCL1)
 (ORACLE_HOME = /opt/oracle/product/11.2.0.4.RAC)
 (SID_NAME = ORCL1)
 )
 <<<<< blank line
 (SID_DESC =
 (GLOBAL_DBNAME = ORCL2)
 (ORACLE_HOME = /opt/oracle/product/11.2.0.4.RAC)
 (SID_NAME = ORCL2)
 )
 <<<<< blank line
)
Share