What Does It Mean When a Search in ServiceNow Returns “No records found”?

Problem scenario
In ServiceNow you search for an item, but the searches return “No records found.”  You are given a hyperlink to a case, but you see “Record not found” despite being logged into the web UI for ServiceNow.  What is going on or what is wrong?

Solution
It is possible that the hyperlink had a typo or that the search term literally could not find a matching record. 

 » Read more..

How Do You Get the gatling.sh Script to Work when You Get an Error about There Not Being a Simulation Script?

Problem scenario
You run gatling.sh but you receive this error: “There is no simulation script. Please check that your scripts are in user-files/simulations”.  What should you do?

Possible solution #1
Go to the subdirectory user-files/simulations/.  Place a .scala file there that is a simulation script.

Possible solution #2
Run the gatling.sh script with “sudo” before the command like this:  

 » Read more..

How Do You Troubleshoot an Ansible Problem about Missing Quotes when You Have Quotes around Each Variable?

Problem scenario
You run an Ansible playbook but you get an error about “this one looks like it might be an issue with missing quotes.”  Your Ansible playbook compares two variables with each other.  

After running ansible-playbook on the .yaml file, you get this error:

“ERROR! Syntax Error while loading YAML.
  expected <block end>, but found ‘<scalar>’

The error appears to have been in ‘/home/cooluser/good.yaml’: line 12,

 » Read more..

How Do You Get Your GPS to Get Traffic and Show Your Position Properly?

Problem scenario
Your GPS is not working properly.  The traffic updates and satellites for the maps are not working correctly.  What is wrong?

Possible solution #1
The cord should be unravelled.  They often are supposed to work as antennas.  Bundled up the cord may not work as an antenna.  Place as much of the cord along the dashboard as possible.  This way there is a clear path to the sky.

 » Read more..

How Do You Delete the Git Credentials You Entered Into Jenkins for “Source Code Management”?

Problem scenario
In a Jenkins job there is a “Source Code Management” section.  You checked Git and entered credentials.  You entered the same username twice (or more).  Now you want to delete some of those users to be able to know which (unique) password is being used.  What should you do?

Solution
It isn’t always easy to find where the credentials for your Git repository are stored. 

 » Read more..

How Do You Install Gatling on a CentOS/RHEL/Fedora server?

Problem scenario
You are using a Red Hat derivative of Linux.  You want to install Gatling.  What do you do?

Solution
Prerequisite

Install Java.  If you need assistance, see this posting.

Procedures
#1.  Run a script with the following content (e.g., name it installgatling.sh and run sudo bash installgatling.sh):

gatlingversion=2.3.1    # change this version as needed. 

 » Read more..

How Do You Set up an nfs File Share between Two Linux Servers in GCP?

Problem scenario
You want to be able to share a directory between two Red Hat distribution Linux servers.  How do you expose an NFS share on one Linux server and make it viewable for reads and writes from a second Linux server?

Solution
Prerequisites
You have install nfs-utils on both servers.  To do this, run this command:  sudo yum -y install nfs-utils

How Do You Troubleshoot the Ansible Error “Unsupported parameters for (copy) module: become Supported parameters”?

Problem scenario
You are trying to run an Ansible playbook with the “become: yes” stanza.  You get this error after your ansible-playbook command:

fatal: [instance-11]: FAILED! => {“changed”: false, “checksum”: “da39a3ee5e6b4b0d3255bfef95601890afd80709”, “msg”: “Unsupported parameters for (copy) module: become Supported parameters include: _original_basename, attributes, backup, checksum, content, delimiter, dest, directory_mode, follow, force, group, local_follow, mode, owner, regexp, remote_src, selevel, serole, setype, seuser, src, unsafe_writes, validate”}

Solution
Unindent the “become: yes” stanza so it is at the same level of its corresponding module.

 » Read more..

How Do You Iterate through a List of Servers When Running an Ansible Playbook?

Problem scenario
You want an Ansible playbook to run on specific managed nodes.  You can create a list of the servers you want the playbook to apply to.  How do you provide a list of specific hostnames and have the Ansible playbook run on each server?

Prerequisites
This assumes that you have installed Ansible and have it working with the managed nodes you want to run a playbook on. 

 » Read more..

How Do You Browse SonarQube and Interact with It as a Web UI from the Front-End?

Problem scenario
You run a “sudo ps -ef | grep sonar” and find Sonar to be running.  You run “sudo sytemctl status sonar” and find that it is active.  You run nmap or netstat and see port activity from the sonar service.  Sonar is listening.  When you go to a web browser over the right port (e.g., http://x.x.x.x:9000/) you do not see any web page.  There is no evidence you can connect. 

 » Read more..