Selenium error: Chrome failed to start: exited abnormally

selenium-and-chromeWhen I launched Selenium tests In Jenkins with Maven on CentOS 7 I got:

unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn’t exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Full error:
org.openqa.selenium.WebDriverException:
unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'testenv', ip: '192.168.3.33', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-693.17.1.el7.x86_64', java.version: '1.8.0_152'
Driver info: driver.version: ChromeDriver
remote stacktrace: #0 0x561bcf9f2479

Continue reading

Ergo B501 flashing and malware cleaning

ergo-b501-maximum-dual-sim-black

In addition to its good performance and capacitive battery, at an attractive price, the Ergo B501 firmware has several apk built-in that force the advertisement to load after some time using the device. The latest official firmware at the moment: Ergo B501_OS3.0 Lite_20171117 .

You can get rid of viruses in Ergo B501 by flashing a virus-free firmware. Continue reading

Disk Encryption on CentOS using LUKS Cryptsetup

luks-linux-disk-encryptionLUKS (Linux Unified Key Setup) is the standard for Linux hard disk encryption. By providing a standard on-disk-format, it does not only facilitate compatibility among distributions, but also provides secure management of multiple user passwords. In contrast to existing solution, LUKS stores all setup necessary setup information in the partition header, enabling the user to transport or migrate his data seamlessly. (source: http://code.google.com/p/cryptsetup/) Continue reading

Windows RunAs command syntax and examples

Windows-RunAs-commandRunAs is a very useful command on Windows OS. This command enables one to run a command in the context of another user account. One example scenario where this could be useful is: Suppose you have both a normal user account and an administrator account on a computer and currently you are logged in as normal user account. Now you want to install some software on the computer, but as you do not have admin privileges you can’t install the same from the current account. One option is to switch user and login as administrator. Instead, you can do the same by simply using runas command. You just need to launch the installer from command prompt using runas command and by providing administrator login id and password. Continue reading

Skype for Business Server 2019 Monitoring Reports Error: Cannot get the ReportServerWebService URL

When deploying a recent Skype for Business Server 2019 deployment, I came across an issue when installing monitoring reports on a server. In previous editions of SQL Server, SQL Server Reporting Services (SSRS) was installed and configured by default. With the release of SQL Server 2017, this is now a seperate download that only installs the service. After installing SSRS, the Report Server Web Service/Report Manager in Reporting Services Configuration Manager needed to be configured.

Continue reading

Install-CsDatabase error: The network name cannot be found.

skype-for-businessWhile publishing Skype for Business topology when new databases has to be created on Backend servers there may be an error publishing topology upon execution of Install-CsDatabase cmdlet:
Error: The network name cannot be found.
▼ Details
└ Type: IOException
└ ▼ Stack Trace
└ at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Microsoft.Rtc.Common.Data.DatabaseManager.CreateDatabase(String dbFileBase, String dbPath, String logPath, Int32 dbSizeMB, Int32 logSizeMB, Int32 dbGrowthMB, Int32 logGrowthMB, Int32 maxDbSizeMB, Int32 maxLogSizeMB)
at Microsoft.Rtc.Common.Data.DatabaseManager.CleanInstallDatabase(String dbFileBase, String initialScripfilePath, String dbPath, String logPath, Int32 dbSizeMB, Int32 logSizeMB, Int32 dbGrowthMB, Int32 logGrowthMB, Int32 maxDbSizeMB, Int32 maxLogSizeMB)
at Microsoft.Rtc.Common.Data.DbSetupBase.CleanInstallDatabase()
at Microsoft.Rtc.Common.Data.DbSetupBase.CreateOrUpdateDatabase()
at Microsoft.Rtc.Management.Deployment.Tasks.DatabaseCreator.CreateDatabaseForFeature(String featureName, Boolean clean, Boolean update, String sqlServer, String instanceName, String databaseType, List`1 databaseNames, Boolean collocated, Boolean backup, Boolean noreindex, DatabasePathAssignment[] pathAssignments, Boolean broadCast, String& logfile)

Continue reading

Repair Windows 10 Using DISM and SFC

dism online checkhealth

If the system files in your Windows 10 computer become corrupt and the System File Checker (SFC /scannow) is unable to reinstate the critical system files, it’s due to corruption of Component Store located at the C:\Windows\WinSxS directory. This directory contains the files needed for SFC utility to restore missing or damaged system files. The Component store stores all the Windows system files grouped by components and as hard links.

This post tells you how to fix Windows 10 if some system files or the component store are damaged. Continue reading

Get latest Windows 10 ISO Images Using MCT, Direct Download or Rufus

media creation tool - download windows 10 iso, usb installation mediaMicrosoft software downloads page offers you the Media Creation Tool (MCT) which can be used to upgrade Windows 10, download Windows 10 ISO locally or create a USB installation drive. MCT is the officially recommended way to get a copy of the latest Windows 10 ISO.

Though MCT is the only advertised way to get the Windows 10 ISO, there is another way to download the ISO directly and I will explain how you can do this below Continue reading

Slipstream Windows 10: Integrate Updates with Original Setup Disk

iso dvd header image

Monthly Cumulative Updates released for Windows 10 bump the build number which means your Windows 10 ISO becomes outdated after a Cumulative Update gets released. You can integrate the Cumulative Update and other required updates, and build an updated ISO containing the latest version and build of Windows.

The process of integrating Windows update packages into the Windows Setup disk is known as Slipstreaming. Continue reading

Error 0x800F0954 Installing .NET Framework 3.5 or Windows Feature

When you attempt to install .NET Framework 3.5 or any other optional feature using “Windows Features” (optionalfeatures.exe) dialog or using DISM command-line, error 0x800F0954 may popup.

enable feature .net framework 3.5

After enabling .NET Framework 3.5 and clicking OK, the following error may appear:

Windows couldn’t complete the requested changes.

The changes couldn’t be completed. Please reboot your computer and try again.

Error code: 0x800F0954

Continue reading

Load more