18/05/17

Permalink 12:47:46 pm, by Greg, 22 words, 7 views   English (CA)
Categories: Documentation; Mins. worked: 0

Keyman keyboards on Linux

Placeholder for info on using Keyman keyboards on Linux using KMFL framework provided by SIL. A full tutorial will be added eventually.

03/05/17

Permalink 02:34:53 pm, by Greg, 23 words, 9 views   English (CA)
Categories: Servers, Activity log; Mins. worked: 450

Building an Ubuntu package server - apt-mirror, reprepro, tftp

I'm building a new apt Frankenserver out of spare parts, and have re-documented the process from scratch. Notes are in the utilities repo.

01/05/17

Permalink 09:05:19 am, by mholmes, 77 words, 5 views   English (CA)
Categories: Servers, R & D, Activity log, Activity log, Documentation, Documentation; Mins. worked: 30

Upgrading teiJenkins java

The upgrade for Jenkins on teiJenkins was being kept back, and it turned out this was because Ubuntu 14.04 has Java 7 by default. I added a PPA for Java 8, updated the alternatives (sudo update-alternatives --config java) to point to the new one, and was then able to install Java 8. Following that, the Jenkins update went ahead. I elected to keep my existing config for Jenkins rather than overwrite. It needed a reboot for Apache to find Jenkins again.

Permalink 08:33:12 am, by mholmes, 23 words, 5 views   English (CA)
Categories: Servers, R & D, Activity log, Activity log, Documentation, Documentation; Mins. worked: 20

Extended partition on jenkins.hcmc.uvic.ca

RE provided new space to double the available drive space; followed my own instructions here to extend the partition. No problems at all.

20/04/17

Permalink 05:02:07 pm, by mholmes, 132 words, 11 views   English (CA)
Categories: Servers, R & D, Activity log, Activity log, Documentation, Documentation; Mins. worked: 90

How to deploy a new XAR on Jettys

Today I blew up a couple of the apps and had to restart them, through doing this the wrong way. When you have a new XAR to deploy:

  1. Use Chrom*, not FF.
  2. Connect over the internal URL on :8080.
  3. Upload the new package.
  4. If it goes wrong and you see an error message, the chances are the db is now set to read-only.
  5. If that happens, try shutting down the db from the web interface. If that works, restart it from /etc/init.d/jetty. If it fails, you may need to kill all the relevant processes on Peach before restarting.

With these big XARs, we may need to consider testing an alternative process where we uninstall the old XAR and then put the new one in the autodeploy folder before restarting eXist.

07/04/17

Permalink 02:08:28 pm, by mholmes, 128 words, 31 views   English (CA)
Categories: Announcements; Mins. worked: 60

Starting and stopping exist when not listening on localhost

We've hit a problem with the normal situation where we're running eXist listening on a different domain from localhost. To summarize:

If eXist is running on the default localhost:8080, I can use startup.sh and shutdown.sh to start and stop it.

If it's listening instead on another ip name, I can still start it with startup.sh, but I can't stop it with shutdown.sh or with start.jar directly. I get:

ERROR: Failed to create input stream: Unexpected end of file from server
CAUSE: Failed to create input stream: Unexpected end of file from server

Disowning the process in the terminal where it was started makes no difference. Supplying credentials also makes no difference. Waiting to see if anyone on the eXist list has any ideas.

05/04/17

Permalink 04:02:33 pm, by mholmes, 66 words, 12 views   English (CA)
Categories: R & D, Activity log; Mins. worked: 20

Large XAR uploads and Firefox

The Mariage XAR is large, and when I try to deploy it to a running eXist from Firefox, it dies after a couple of minutes with an anonymous "error". This must be due to some file size constraint in Firefox; logging it here, along with the workaround (which is to use Chromium instead), and if I have the chance to research the reason I'll post it.

24/03/17

Permalink 03:11:21 pm, by mholmes, 24 words, 54 views   English (CA)
Categories: Servers, R & D, Activity log, Activity log, Documentation; Mins. worked: 60

Rebuild of eXist template

The eXist team tagged 3.1.1, so I've rebuilt our template from that tag, tested it, and pushed it to the existDeployer folder on home1t.

Permalink 12:24:58 pm, by Greg, 84 words, 86 views   English (CA)
Categories: Announcements; Mins. worked: 0

Mimetypes on lab machines

If you've tried to open a local html file on the lab machines, you may have noticed that it opens in oxygen. This is a mistake. I've made an adjustment in the next version of the hcmc-desktop package to fix this, but for existing accounts you'll need to remove a file in your home directory to reset things. The file is at:
~/.local/share/applications/mimeapps.list
Once deleted, log out and back in, and you will get the default settings for the machine.

23/03/17

Permalink 04:07:11 pm, by mholmes, 28 words, 54 views   English (CA)
Categories: Servers, Activity log; Mins. worked: 60

Server down issue

Our MySQL server was down ("too many connections"); spent some time reporting, investigating, and fielding and responding to queries from users. In the end a restart fixed it.

:: Next Page >>

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent, in the server room, the labs and the R&D rooms.

Reports

XML Feeds