-
Notifications
You must be signed in to change notification settings - Fork 42
DevNotes_Processeses_UTKServerAdminNotes
Paul Butler edited this page May 27, 2021
·
8 revisions
- Check permissions on major services etc on machines. Since the upgrades, various userids changed (e.g. postfix userid) and thus access to necessary directories might not work.
- Changed permissions on the mailman private directory to enable pipermail to render the public archives. Since
other
must have no privileges in order to keep the private lists private, and lists must also have access, made owner www-data and group list (already the case)
sudo chown -R www-data /var/lib/mailmen/lists.sasview.org/archives/private
- Upgraded to Ubuntu 20.04.1 LTS and upgraded all the packages.
- NOTE: sometime between Aug and September 2020, drupal 9 was installed and the Apache entry changed to point new.smallangles.org to this site.
- Installed the latest full LAMP stack (Apache 2, MySQL, PHP on top of Linux)
- installed drupal 8 and configured MySQL, PHP and Apache to work with i
- Pointed DNS to new.smallangels.org on danse2 (drupal 8 site)
- PDB visited UTK and with the help of Bill Gurley
- Removed the drives from danse2 and replaced with a new 250GB WD BLue SSD 3D NAND SATA SD as boot drive and transferred the imaged danse second 4T drive from danse to danse2 as sdb
- Installed Ubuntu 18.04 LTS, released on April 26, 2018 (with end of life April 2023), on sda of danse2
- Used minimal install option
- Installed ssh server
- Did apt-get update and apt-get upgrade
- Set ssh config file to not allow root login
- Installed ufw firewall and enabled only ssh.
- Starting work for migration plan:
- Paul Butler to install new boot disk + 4Tb spare from danse1 into danse2 on 5/11/2018
- In preparation, need to clone /dev/sdb to /dev/sdc
- First, copy stuff from /extra into a directory under /home
- Copy danse2 backup material from /backup to directory under /home on danse1
- Clone /dev/sdb to /dev/sdc via mounts of partitions and rsync
- At Code Camp in Copenhagen …
- Almost certainly has been admin activity since a year ago … probably should have been documented.
- Adding mail server and mailman for sasview.org and canvas.org : MailmanConfig
- Upgrade of danse2 to Ubuntu 16.04
- Worked
- Upgrade of danse from Ubuntu 10.04
- First had to upgrade to 12.04
- Since 10.04 well outside EOL, had to fiddle with repository settings in /etc/apt/source.list
- Problem with "unauthenticated packages" - fix as per https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1513232
- First had to upgrade to 12.04
- Updated postfix configuration to only listen on localhost. Had noticed lots of (blocked) attempts to send spam via danse.chem. Hopefully this will sort it out and not break delivery from services running here.
- fixed ntpd failure on danse.chem.utk.edu see update to SasView/sasview#421
- Replaced batteries in UPS
- Cleaned out trac spam
- First commit requiring build in a month had same problem of getting stuck on "archiving artifacts". Stopped and restarted build manually from Jenkins and new failure: Slave not starting
- Jenkins would log into VM and sart slave but then "waiting for Phase 2" retries timed out (max of 11 it seems)
- rebooted VM machine did not fix problem
- Looking at event logs a warning was being raised regularly on starting a child java process but could not tell what the problem was
- Looking at loaded services slave was loaded but no running. started it but it stopped immediately
- started the slave manually from command line. It started but then windows firewall popped up that it was blocking something - clicked unblock and then everything ran
- after completing the build I rebooted the machine for good measure.
- Ongoing problem with windows builds via jenkins getting stuck on "archiving artifacts"
- tried to update slave-agent.jnlp and that didn't work
- renamed C:\Jenkins to C:\jenkins-old
- deleted slave from jenkins master
- re-installed java on slave
- recreated slave with new name on master
- re-installed slave-agent.jnlp
- re-connected build jobs to new slave
- ran builds with success.
- Hope that updating to latest slave agent will fix problem with stuck windows builds. Needs monitoring
- Note that danse.chem seems to have a clock that is running fast and ntpd is not updating it. Needs looking at see ticket SasView/sasview#421
- Updated danse and danse2 (apt-get update/upgrade)
- Problem with ssh to danse machines after reboot following updates.
- For danse.chem seems to have been a problem with fstab (AJJ fat fingers most likely cause) which prevented the reboot after updates.
- Unable to ssh to danse2.chem even before update
- Bill Gurley rebooted machines on 2014-09-29 and solved problem.
- Installed bumps on danse and danse2 to fix Ubuntu builds
- Could not install on WinXP vm due to compiler issues.
- Problems with the windows build not running from jenkins
- corrected time on danse.chem and this seems to have fixed the failure of the build to start.
- The time servers used on ubuntu 10 (danse.chem) seem to no longer exist. Updated ntp.conf to use the same as ubuntu 12 (danse2.chem)
- Build now working again
- updated danse2.chem (apt-get update/upgrade)
- updated danse.chem (apt-get update/upgrade)
- View/Subscribe to the SasView Calendar
- Fortnightly developer's agenda/minutes
- Developer Guides
- Admin Processes and Procedure Notes
- Active Project Pages
- Historical Archive of Obsolete Pages
- Contributor e-Learning Course (free)
- Non Coding contribution needs/projects
- New functionality projects
- DRAFT for acknowledging contributions