Terminus Logo  Secured by phpPhobos

Shadow Family   
  Login  - No Account?  Create One   
Search 
Tuesday, 23 April 2024  -
News FeedRSS Feed
rss rdf  
  Home 
  Authentication 
 Documentation 
    Site Documentation 
    About me 
  Legal Notice 
 Applications 
    Web Links 
 Hobbies 
    RC Models 
    RC Batteries 
    Build blogs 
 Modules 
    Downloads 
    Weblinks 
 Blacklists 
    Blacklist 
    Blockout 
    DNS Blacklist 
 Registered Bloggers 
  Joerg's Blog 
 Gallery [Listing]
  > Diving 
  > Steampunk 
  > RC Planes 
  > FPV Drones 
  > Indy travels 
 FAQ  [ Topics  ]
 Common Linux problem... 
 Routerboard RBxxxAH 
 Apple Mac-mini 
 PHP Phobos 
 Stargate's Backup sc... 
 eBook Reader / PRS-5... 
 RC Models 
 Server in SolLan 
->  Terminus daily news 
Server upgrade Disks and OS release  
Posted by smurphy on Friday, 19 April 2019  GMT
spacer line
Stargate Icon

 The mail, web and DNS server has received new disks. The old 5400RPM 320Gbytes HDDs have been replaced by 1Tb SSD disks. This will allow to use larger quotas on the mail-server side, and will be specially faster for all requests that are ran on the server.

The day after the OS has been upgraded from Ubuntu 14.04 LTS to Ubuntu 18.04 LTS getting through Ubuntu LTS 16.04 LTS.
The main issues have been the passage from upstart to systemd, where some applications (mysql)_ could not be upgraded correctly as the upgraded needed to run mysql_upgrade, but the upgrader did shut down mysql for the process. Hence - stopping the upgrader just after he stopped the mysql-server, in another terminal, starting the mysqld, and then sending the CONT signal to the ugprader made the trick.
The second issue was apparmor and some applications not working correctly (bind9), had to be fixed by adding some special paths for bind9 to gather its data.
The mysql DB 5.7 is crap. Most application stopped working with it. Luckily I noticed that my dev environment using Mariadb 10.1 worked, so I tried upgrading the DB to mariadb 10.3 (10.2+ is required, as previous versions would not be compatible with mysql 5.7). That upgraded, all apps worked as before.
Luyckily dovecot, postfix, opendkim and the greylisting stuff were not impacted by the upgrade. Apparently admins of these installations don't like upgrades to mess with all this.
Lessons learned: Next developments will make sure the applications are running inside docker containers. This way - an OS Update will not impact any of the settings.  

 
View DetailsView details
 
| 
Print ViewPrint view
 
| 617628 views
Comments below
 
Database not dockerized by admin @ 2019-09-11 15:03:38
 Because some functions can't access the MySQL DB inside docker, and user ACL was becoming a nightmare. The strategy was changed to leave the DB running on the host system. So far the Web-Server including dynamic blacklisting is working as required. Scripts had to be adapted for the new locations etc.

Why the change? by smurphy @ 2019-09-11 15:04:26
 Why not connect all containers together to run it inside the docker environment alltogether?

Running system jobs by admin @ 2019-09-11 15:06:33
 Regular system jobs are running on the local host and require access to the DB. Interfacing with Docker call in front made some bail out. When using a local IP Address as host to connect mysql, most apps try to use the socket to connect to the DB and the communication fails.
When I figure this part out, I'll change it.


 
  Back Back  
[  Current weather  ]

Weather @ 19:36 on Tue, Apr 23 2024 UTC
Location: Clermont Oise/FR
  > Temperature: 8.1 °C
  > Atmospheric Pressure: 1,013 hPa
  > Humidity: 64.00 %
  > Precipitation: 0.000 mm
  > Wind speed: 0.35 Km/h
  > Wind Gust: 1.80 Km/h
  > Wind Direction: 250 ° WSW
  > Light: 0 W/m²
  > UV Index: 0
 Recent links [ Index ]
  > RPILocator 
  > Command line for you 
  > Digital Attack Map 
  > Password Meter 
  > Mini Case 
  > ArduPilot Planes 
  > INAV 
  > Shortcut 
  > Draw.io 
  > Lakemont Editions 
 > Site Hits: 13.497.407
   - Linux: 41,53%
   - Windows: 39,15%
   - Macintosh: 6,13%
   - Other: 13,20%
 Download [ Index ]
  > lircd file for OSMC/... 
  > goscan 
  > pcap analysis script 
  > WinSCP 
  > Backuper 
  > Applesmc fan control... 
  > cryptsetup wrapper s... 
  > Cryptsetup Static Bi... 
  > Atmel at76c503 rfmd ... 
  > Atmel at76c503 rfmd ... 
 [ Past announcements 

 Monday, 12 September 2016 
 > New MPOE for home network 

 Saturday, 16 July 2016 
 > New facelift 

 Sunday, 29 May 2016 
 > RC Models DB released 

 Monday, 02 May 2016 
 > Certificates from
 letsencrypt movement 

 Sunday, 24 April 2016 
 > Blacklisting reaction
 improved 

 Monday, 21 March 2016 
 > PasteBin released 

 Saturday, 09 January 2016 
 > How to stop Windows 10
 upgrade on Win7/8 

 Sunday, 11 October 2015 
 > ISP instability 

 Wednesday, 26 August 2015 
 > Win 10 and total
 observation 

 Tuesday, 16 June 2015 
 > New NAS installed 
 
Problems to  webmaster(-AT-)solsys(-DOT-)org  - best viewed @ 1920bpp
This site is powered by phpPhobos v2.0b446
© J. Mertin smurphy(-AT-)solsys(-DOT-)org 
Icons - Copyright Breeze artists GPL 2+