I had a problem with Oracle timeouts when connecting to a remote Oracle database server from within a php page. This resulted in the need to restart Apache to resolve as other web pages were also not available in said situations.
blog.david14.com
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Labels
Wednesday, 1 October 2025
Friday, 4 July 2025
Sunday, 25 May 2025
fail2ban-client
An example of the fail2ban-client command would be:
fail2ban-client status filter-name
where filter name is the name of a file in /etc/fail2ban/filter.d/
Saturday, 8 March 2025
Netbeans build.xml file
Below is a couple of additions I've made in the past to the build.xml files:
Tuesday, 18 February 2025
Creating a jar file, adding to, extracting and viewing the contents of...
Friday, 14 February 2025
Saturday, 25 January 2025
Force zerotier one to stop and preventing reload on Mac
To unload the service and stop:
launchctl unload -w /Library/LaunchDaemons/com.mysql.mysql.plist
To load the service and start:
launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
[source]
Tuesday, 17 December 2024
Reset mySQL (mariadb) master/slave with GTID replication
To reset and start fresh, do;
Monday, 25 November 2024
Issue with slackpkg and gpg key
I found an issue while using slackpkg where the following error presented itself:
ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of date
or has been tampered with. If you use mirrors.slackware.com
as your mirror, this could also mean that the mirror to
which you got redirected is not yet updated with the most
recent changes in the Slackware tree.
Tuesday, 19 November 2024
An alternative way to use wget
Normally wget works as expected but every now and then, you page is forbidden or similar, so the below is an alternative approach;