Toggen Blog
Tech tips
Articles
Latest
seLinux practices the silent treatment – If you would only just tell me what’s wrong I would fix it
I have a html form that posts to a Perl CGI script. The script then loops and creates a CSV that is then piped to glabels-3-batch to create a PDF file of labels which lpr then sends to a printer. I found if I select to create 26 labels the script worked but above 26 I...
Fedora 25 Kernel Upgrade Breaks MacBook Pro WiFi
https://ask.fedoraproject.org/en/question/71227/how-to-keep-fedora-22-updates-from-breaking-broadcom-bcm4312-wireless/ The fix is to boot to the latest kernel and run
glabels-3-batch on Fedora 25 segfault
The default glabels-3.4.x install on Fedora 25 through 29 segfaults when using the glabels-3-batch command. The following command fails: glabels-3-batch -o output.pdf -i crossdock-data.csv 150x200-crossdock-labels.glabels I found compiling from source with defaults...
seLinux won’t exec my .pl
This error in httpd error_log [Wed Jul 12 21:39:57.069313 2017] [cgi:error] [pid 16811] [client 127.0.0.1:35330] AH01215: (13)Permission denied: exec of '/home/rupert/Sites/client1-www/cgi-bin/refnum.pl' failed:/home/rupert/Sites/client1-www/cgi-bin/refnum.pl [Wed Jul...
CakePHP – SQLSTATE[HY000] [2002] Permission denied
Just saw this error and usually this is due to having a misconfiguration in the database connection options. But I am running Fedora 25 with seLinux enabled by default. First to test if it's seLinux causing an issue If...
Installing Fedora 25 on Macbook Pro
My Log of getting Fedora 25 Running on my Macbook Pro After being on a MacOS for about 2 years I've just this week built the courage to blow the install away and install Fedora on the bare metal. What follows are my notes on the things that I have been tweaking as I...

![CakePHP – SQLSTATE[HY000] [2002] Permission denied](https://toggen.com.au/wp-content/uploads/2017/06/Screenshot-from-2017-06-28-15-38-42-400x250.png)