Happy Halloween!!

Did you know these two interesting facts about Halloween?

If you are looking for a type of cinnamon that you do not eat and yearn for that creepy green glow color, try Linux Mint (not the type you eat) on a 

 » Read more..

What Are Some Tips on a Bash Programmer Becoming a PHP Programmer?

Problem scenario
You are a Bash programmer, but you want to learn how to code in PHP.  How do you learn to develop PHP scripts when you have a Linux bash background?

Solution
If you are new to PHP programming and familiar with Bash programming, remember these tips:

1.  Variable assignments involve the variable with the syntax of a cash sign “$” before the variable name. 

 » Read more..

How Do You Troubleshoot the Jira Cluster Message “Node is not using the correct shared home…”?

Problem scenario
In the Jira “Instance health checks” section you see a problem has been detected under the “Cluster” section.  It says “Node jiranode1 is not using the correct shared home…”  How do you get this error to go away?

Possible solution #1
Log into the node on the back-end.  Stop the Jira service and then start the Jira service.

Possible solution #2
Log into a working node on the back-end. 

 » Read more..

How Do You Troubleshoot the SonarQube Scanner Error “java.lang.IllegalStateException: Unable to load component class or.sonar.scanner.scan.ProjectLock”?

Problem scenario
You are trying to run SonarScanner, but you get an error about “java.lang.IllegalStateException: Unable to load component class or.sonar.scanner.scan.ProjectLock”.  What should you do?

Possible solution
Is there a sonar-project.properties file in the directory where you are running the above command?  Does your user have access to read the file?  Check these things first.

 » Read more..

How Do You Delete a Network Interface in AWS When You Get an Error about Not Having Permission?

Problem Scenario
In AWS you try to delete a Security Group.  You cannot do it because you get an error that “These security groups are associated with one or more network interfaces.  Delete the network interfaces, or associate them with different security groups.”  You click the link “View your network interfaces.”  But you are unable to delete the network interfaces.  You try to “Detach” them (with the “Force detachment” option), but you get “Error deleting network interface.

 » Read more..

How Do You Troubleshoot the Docker Command Error “not a valid repository/tag”?

Problem scenario
You are trying to run a Docker command, but you get this error:

Error parsing reference: ” continual/integration” is not a valid repository/tag.

What do you do?

Solution
Look to see if you have an extra “\” or space in your Docker run command.  That can cause this problem.

 » Read more..

How Do You Install the Elastic Stack on Any Type of Linux?

Updated on 9/24/19

Problem scenario
You want to install Elastic Stack on different distributions of Linux with the same exact script.  What should you do?

Solution
Prerequisites
i. You should have at least 3 GB of total memory (a combination of virtual memory and RAM) allocated to the server. If you need to add memory,

 » Read more..

How Do You Troubleshoot the PHP Syntax Error “unexpected end of file in …”?

Problem scenario
You receive this message “PHP Parse error:  syntax error, unexpected end of file in /path/to/file.php on line x.”  How do you solve this?

Solution
Verify you have a closing brace for every open brace.  You may want to go to this site to help you find an unmatched brace.

 » Read more..

How Do You Troubleshoot a “500 Error” with SonarQube?

Problem scenario
You try to run SonarScanner or do something with SonarQube.  You get a “500 Error” or some related internal server error.  What should you do?

Solution
Reinstall Java.  It is a dependency for SonarQube.  You can keep SonarQube installed and just stop the services while you uninstall and reinstall Java.  After you remove Java (and do research if you don’t know how), you can use this 

 » Read more..

How Do You Get an Ansible Playbook to Issue a Reboot of a Server and Wait for the Server to Come back?

Problem scenario
You know that the orchestrated installation of interconnected systems can have a significant benefit. Sometimes ordering the installation of packages on a single server can be useful. You do not want a “failed to connect to server” or “ansible ssh shared connection failed” message when you run a playbook.  You want the playbook run to wait for the server to boot up again.  The playbook reboots multiple servers at once. 

 » Read more..