Greg
animals brewing
food and drink fiction
gardening general
health history
language music
multimedia opinion
photography politics
Stones Road house technology
Greg's diary
recent entries
Translate this page
Select day in September 2019:
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Select month:
2019 Jan Feb Mar Apr
2019 May Jun Jul Aug
2019 Sep Oct Nov Dec
Today's diary entry
Diary index
About this diary
Greg's home page
Greg's photos
Network link stats
Greg's other links
Copyright information
    
Groogle

Monday, 16 September 2019 Dereel Images for 16 September 2019
Top of page
next day
last day

Spring is here
Topic: gardening, opinion Link here

Mid-September, a time of month when I used to do my monthly flower photos. I've put that off until the Equinox, but particularly right now the flowers are of interest. The north garden is full of flowering bulbs, and the succulent bed is flowering nicely:


This should be North-bed.jpeg.  Is it missing?
Image title: North bed          Dimensions:          5184 x 3889, 5695 kB
Make a single page with this image Hide this image
Make this image a thumbnail Make thumbnails of all images on this page
Make this image small again Display small version of all images on this page
All images taken on Monday, 16 September 2019, thumbnails          All images taken on Monday, 16 September 2019, small
Diary entry for Monday, 16 September 2019 Complete exposure details

   
This should be Succulent.jpeg.  Is it missing?
Image title: Succulent
Complete exposure details
Dimensions: 600 x 450, 124 kB
Dimensions of original: 5184 x 3888, 4459 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 16 September 2019:
thumbnails    small images    diary entry

The Iris (plant) are also flowering, including the new dark ones that we got from Petra Gietz:

 
This should be Iris-2.jpeg.  Is it missing?
Image title: Iris 2
Complete exposure details
Dimensions: 450 x 600, 79 kB
Dimensions of original: 3890 x 5184, 1800 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 16 September 2019:
thumbnails    small images    diary entry

And so are the Alyogyne huegelii:

 
This should be Alyogyne.jpeg.  Is it missing?
Image title: Alyogyne
Complete exposure details
Dimensions: 600 x 450, 119 kB
Dimensions of original: 5184 x 3890, 3801 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 16 September 2019:
thumbnails    small images    diary entry

I almost wonder if I want to hide them by planting tomatoes there.

But one plant is giving cause for concern: the Echium that looked so good only last week. Here then (first image) and now:

 
This should be Echium.jpeg.  Is it missing?
Image title: Echium
Display location on map
Complete exposure details
Dimensions: 450 x 600, 98 kB
Dimensions of original: 3888 x 5186, 3032 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 3 September 2019:
thumbnails    small images    diary entry
 
This should be Echium-1.jpeg.  Is it missing?
Image title: Echium 1
Complete exposure details
Dimensions: 600 x 450, 124 kB
Dimensions of original: 5184 x 3888, 5028 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 16 September 2019:
thumbnails    small images    diary entry
 
This should be Echium-2.jpeg.  Is it missing?
Image title: Echium 2
Complete exposure details
Dimensions: 450 x 600, 75 kB
Dimensions of original: 3888 x 5185, 2050 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Monday, 16 September 2019:
thumbnails    small images    diary entry

What has happened? Went looking and discovered something similar for last year.

 
This should be Echium-1.jpeg.  Is it missing?
Image title: Echium 1
Display location on map
Complete exposure details
Dimensions: 600 x 450, 291 kB
Dimensions of original: 5184 x 3888, 9696 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Friday, 5 October 2018:
thumbnails    small images    diary entry

Does it need more fertilizer? Or water? There should be plenty of water.


Web site configuration, next step
Topic: technology, opinion Link here

I've been dragging my feet on configuring the new web site, but time is moving on. I need to complete the migration by the end of the month, and that includes moving Chris Bahlo's stuff as well. The current status was that Apache works, but I hadn't configured PHP. OK, off to look at the documentation.

What documentation? I didn't find much of use. Though this page gave some ideas, it didn't relate directly to what I was looking for, and it also wasn't official. The official just had an indication to install mod_php71, and at FreeBSD handbook just had an indication to install mod_php56, not exactly the latest release, and said nothing about configuration. I had already done that, and I know there's more to it than that. But I couldn't find any documentation that says what to do, though there was some mention of a file /usr/local/etc/php.ini, which didn't exist.

OK, from memory: you need to install base PHP separately. Why doesn't the module depend on it? And why PHP 5.6? A bit of investigation showed that 7.3 is the latest version, though it's not clear whether it's a supported release or beta. What the hell, install it anyway. That gave me /usr/local/etc/php.ini-production and /usr/local/etc/php.ini-development. Which do I use? What's the difference? It seems mainly related to error reporting.

OK, based on my configuration on the old www, just add the include_path:

--- php.ini     2019/09/07 01:13:29     1.1
+++ php.ini     2019/09/16 05:56:44
@@ -734,7 +734,9 @@

 ; UNIX: "/path1:/path2"
 ;include_path = ".:/php/includes"
-;
+
+include_path = ".:/home/grog/www.lemis.com/grog/php/includes"
+
 ; Windows: "\path1;\path2"
 ;include_path = ".;c:\php\includes"
 ;

Is that enough? No, first I need to add stuff to httpd.conf. Also did some comparison with www, and ended up with:

--- httpd.conf  2019/08/22 04:02:47     1.1
+++ httpd.conf  2019/09/16 06:12:48
@@ -178,7 +178,16 @@
 #LoadModule userdir_module libexec/apache24/mod_userdir.so
 LoadModule alias_module libexec/apache24/mod_alias.so
 #LoadModule rewrite_module libexec/apache24/mod_rewrite.so
+LoadModule php7_module        libexec/apache24/libphp7.so

+# Does this belong here?  Greg 20190916
+<FilesMatch "\.php$">
+    SetHandler application/x-httpd-php
+</FilesMatch>
+<FilesMatch "\.phps$">
+    SetHandler application/x-httpd-php-source
+</FilesMatch>
+
 # Third party modules
 IncludeOptional etc/apache24/modules.d/[0-9][0-9][0-9]_*.conf

@@ -213,7 +222,7 @@
 # e-mailed.  This address appears on some server-generated pages, such
 # as error documents.  e.g. admin@your-domain.com
 #
-ServerAdmin you@example.com
+ServerAdmin grog@lemis.com

 #
 # ServerName gives the name and port that the server uses to identify itself.
@@ -222,7 +231,7 @@
 #
 # If your host doesn't have a registered DNS name, enter its IP address here.
 #
-#ServerName www.example.com:80
+ServerName www.lemis.com:80

 #
 # Deny access to the entirety of your server's filesystem. You must
@@ -246,8 +255,10 @@
 # documents. By default, all requests are taken from this directory, but
 # symbolic links and aliases may be used to point to other locations.
 #
-DocumentRoot "/usr/local/www/apache24/data"
-<Directory "/usr/local/www/apache24/data">
+# DocumentRoot "/usr/local/www/data"
+# <Directory "/usr/local/www/data">
+DocumentRoot "/home/grog/www.lemis.com"
+<Directory "/home/grog/www.lemis.com">
     #
     # Possible values for the Options directive are "None", "All",
     # or any combination of:
@@ -260,8 +271,8 @@
     # http://httpd.apache.org/docs/2.4/mod/core.html#options
     # for more information.
     #
-    Options Indexes FollowSymLinks
-
+    Options FollowSymLinks
+    Options -Indexes
     #
     # AllowOverride controls what directives may be placed in .htaccess files.
     # It can be "All", "None", or any combination of the keywords:
@@ -280,7 +291,7 @@
 # is requested.
 #
 <IfModule dir_module>
-    DirectoryIndex index.html
+    DirectoryIndex index.php index.html
 </IfModule>

, "1"); /* >>> */ ?>

Doing my comparisons on www, I also found these diffs:

-#LoadModule session_module libexec/apache24/mod_session.so
+LoadModule session_module libexec/apache24/mod_session.so

 # Server-pool management (MPM specific)
-#Include etc/apache24/extra/httpd-mpm.conf
+Include etc/apache24/extra/httpd-mpm.conf

What's that? I don't know, but I'm sure I don't need them at the moment, so I put them off until later.

Finally, start. Does it work? Sort of. First I needed to modify /etc/rc.conf:

apache24_enable=YES

Otherwise it won't allow apachectl start: it wanted apachectl onestart, which doesn't exist.

Finally started. It works. But it logged to the wrong place, and in the wrong format; I can check that later. More to the point, /var/log/httpd-error.log grew alarmingly:

-rw-r--r--  1 root  wheel       38,997 16 Sep 07:04 httpd-access.log
-rw-r--r--  1 root  wheel    3,419,426 16 Sep 07:04 httpd-error.log

What's that? The main error message was:

[Mon Sep 16 06:18:11.915844 2019] [php7:notice] [pid 68504] [client 207.46.13.178:5277] PHP Notice:  A non well formed numeric value encountered in /home/grog/www.lemis.com/grog/php/includes/onephoto.php on line 1020
[Mon Sep 16 06:18:11.915873 2019] [php7:notice] [pid 68504] [client 207.46.13.178:5277] PHP Notice:  A non well formed numeric value encountered in /home/grog/www.lemis.com/grog/php/includes/onephoto.php on line 1080
[Mon Sep 16 06:18:11.915893 2019] [php7:notice] [pid 68504] [client 207.46.13.178:5277] PHP Notice:  A non well formed numeric value encountered in /home/grog/www.lemis.com/grog/php/includes/onephoto.php on line 1214
[Mon Sep 16 06:18:11.915916 2019] [php7:notice] [pid 68504] [client 207.46.13.178:5277] PHP Notice:  A non well formed numeric value encountered in /home/grog/www.lemis.com/grog/php/includes/onephoto.php on line 1225

That proved to be implicit numerical conversions. It's in the function exposuredetails(), and the variable $focal_length was a string with contents like 30 mm. It got it right, but it didn't like the mm at the end. OK, that's easy enough to fix.

And then I got other messages:

[Mon Sep 16 06:19:50.920874 2019] [php7:notice] [pid 68505] [client 207.46.13.103:3503] PHP Notice:  Uninitialized string offset: 0 in /home/grog/www.lemis.com/grog/php/includes/utils.php on line 29

That's also fixable, apparently a parameter passing error that I can check somewhere. But where's that coming from? What's 207.46.13.103? httpd should have resolved the name before logging, but that's on the to-do list. It proves to be msnbot-207-46-13-103.search.msn.com.. I've only just brought up this system (w3.lemis.com) and already the search bots are crawling it. OK, shut down again, lick my (few) wounds, and plan what to do next:

And when it's all done: document the procedure for people who come after.


Tuesday, 17 September 2019 Dereel Images for 17 September 2019
Top of page
previous day

Power failures again
Topic: Stones Road house, general Link here

Another two short power failures today. Like last week they were between 12:00 and 13:00. Are they doing some kind of work during that time?


NBN not to be beaten
Topic: technology, general, opinion Link here

Two power failures? 10 seconds? Hah! The National Broadband Network can do better. Today we had 6 failures (sorry, “scheduled maintenance”) with a total of 7058 seconds, nearly 2 hours. That's worse than it seems: somehow it completely disrupts the day. When writing this diary, for example, I frequently check things on the web, something that kept failing on me. As a result, I didn't get the diary committed until 16:24.

How I hate the NBN! Why can't they get their act together?


Range hood issues
Topic: general, Stones Road house, opinion Link here

I've complained at length about the underpowered range hood, starting almost immediately after moving in here. My first reference in this diary was on 26 May 2015, but it referred to complaints I had made earlier.

After the disastrous results of my assessment from the DBDRV, I've given up on expecting correction of the deficiencies in the house, including the range hood. Clearly it works up to a point: a week or so ago I found drops of oil in the central pane of mesh that passes for a filter, so I put it through the dishwasher. But today I found more oil. Where did that come from? Looking upwards after removing the pane I saw:

 
This should be Range-hood-2.jpeg.  Is it missing?
Image title: Range hood 2
Complete exposure details
Dimensions: 530 x 509, 86 kB
Dimensions of original: 3212 x 3085, 1569 kB
Display this image:
thumbnail    hidden   alone on page
Display all images on this page as:
thumbnails    this size
Show for Tuesday, 17 September 2019:
thumbnails    small images    diary entry

Much of the oil has condensed on the motor. Yes, I can wipe it off, but what does that do for the lifespan?


This page contains (roughly) yesterday's and today's entries. I have a horror of reverse chronological documents, so all my diary entries are chronological. This page normally contains the last two days, but if I fall behind it may contain more. You can find older entries in the archive. Note that I often update a diary entry a day or two after I write it.     Do you have a comment about something I have written? This is a diary, not a “blog”, and there is deliberately no provision for directly adding comments. It's also not a vehicle for third-party content. But I welcome feedback and try to reply to all messages I receive. See the diary overview for more details. If you do send me a message relating to something I have written, please indicate whether you'd prefer me not to mention your name. Otherwise I'll assume that it's OK to do so.


Greg's home page This month Greg's photos Greg's links

RSS 2.0 Valid XHTML 1.0!