Stargate Logo  Secured by phpPhobos

Smurphtools   
  Login  - No Account?  Create One   
Search 
Wednesday, 16 October 2019  -
News FeedRSS Feed
rss rdf  
  Home 
  Authentication 
 Documentation 
    Site Documentation 
    About me 
  Legal Notice 
 Applications 
    Web Links 
 RC Models 
    RC Models 
    RC Batteries 
 Modules 
    Downloads 
    Weblinks 
 Blacklists 
    Blacklist 
    Blockout 
    DNS Blacklist 
 Registered Bloggers 
  Blog de Maiwenn 
  Blog de Morgane 
  Joerg's Blog 
 Gallery [Listing]
  > Diving 
  > Martinique 
  > 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 
 System Stats [ Index ]
 Router
  > Gateway 
 Server
  > Stargate 
  > Halley 
 Client
  > RemPi 
->  Stargate daily news 
Server upgrade Disks and OS release  
Posted by smurphy on Friday, 19 April 2019 - 17:42  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
 
| 64092 views
Comments below
 
Database not dockerized by admin @ 2019-09-11 17: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 17:04:26
 Why not connect all containers together to run it inside the docker environment alltogether?

Running system jobs by admin @ 2019-09-11 17: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  
 Recent links [ Index ]
  > Mini Case 
  > ArduPilot Planes 
  > INAV 
  > Shortcut 
  > Draw.io 
  > Lakemont Editions 
  > What Kind of Etherne... 
  > PitLab 
  > Borg Backup 
  > Airbnb JavaScript St... 
 > Site Hits: 6.478.599
   - Linux: 38,60%
   - Windows: 48,26%
   - Macintosh: 5,65%
   - Other: 7,49%
 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 

 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 

 Tuesday, 21 April 2015 
 > Firewall updated 

 Thursday, 12 February 2015 
 > Harvester trap rewritten 

 Thursday, 29 January 2015 
 > MX Tools interface
 activated 

 Sunday, 11 January 2015 
 > Localization added to
 phpPhobos 
 
Problems to  root(-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+