squeue -A halld,halld-production squeue -A halld,halld-production -t r squeue -A halld,halld-production -t r -w farm1997
system-administration
Weird Problem with MariaDB Server: Won’t Start
Trying to start MariaDB server, Fedora 34, get the following error:
# systemctl start mariadb . . . Jul 07 11:47:59 markdesk5.itodomain systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE Jul 07 11:47:59 markdesk5.itodomain systemd[1]: mariadb.service: Failed with result 'exit-code'. Jul 07 11:47:59 markdesk5.itodomain systemd[1]: Failed to start MariaDB 10.5 database server.
See this in /var/log/mariadb/mariadb.log:
2021-07-07 11:47:59 0 [ERROR] mariadbd: Can't create/write to file '/run/mariadb/mariadb.pid' (Errcode: 2 "No such file or directory") 2021-07-07 11:47:59 0 [ERROR] Can't start server: can't create PID file: No such file or directory
Fixed as follows (as root):
cd /run mkdir mariadb chgrp mysql mariadb chmod g+w mariadb
Don’t know why that directory disappeared.
Drupal Migration Meeting, May 21, 2019
- May 21, 2019
- Zisis, Sherman, Kari, MMI
- meeting 4 months to discuss upgrade drupal 7 -> 8
- drupal 7 unsupported in 1.3 years from now
- Sherman will install drush after meeting
- Zisis will send his notes on drush to Sherman
- drupal security upgrades will be done regularly on maintenance days
Persistent VNC Session
VNC session :1 always reported as being present although nothing extant in ~/.vnc folder. vncserver refused to create a :1 session. Solution below.
lorentz:marki:.vnc> vncserver Warning: lorentz.jlab.org:1 is taken because of /tmp/.X11-unix/X1 Remove this file if there is no X server lorentz.jlab.org:1 New 'lorentz.jlab.org:2 (marki)' desktop is lorentz.jlab.org:2 Starting applications specified in /home/marki/.vnc/xstartup Log file is /home/marki/.vnc/lorentz.jlab.org:2.log lorentz:marki:.vnc> cd /tmp/.X11-unix/ lorentz:marki:.X11-unix> lsl total 8 drwxrwxrwt. 2 root root 33 Jan 22 08:27 ./ drwxrwxrwt. 26 root root 4096 Jan 22 08:27 ../ srwxrwxrwx 1 root root 0 Jan 22 08:20 X0= srwxrwxrwx 1 root root 0 Jan 18 07:16 X1= srwxrwxrwx 1 marki halld-2 0 Jan 22 08:27 X2= lorentz:marki:.X11-unix> sudo rm -v X1 [sudo] password for marki: removed 'X1'
ldconfig needed after dropping a shared library into a system directory
NAME ldconfig - configure dynamic linker run-time bindings SYNOPSIS /sbin/ldconfig [ -nNvXV ] [ -f conf ] [ -C cache ] [ -r root ] direc- tory ... /sbin/ldconfig -l [ -v ] library ... /sbin/ldconfig -p DESCRIPTION ldconfig creates the necessary links and cache to the most recent shared libraries found in the directories specified on the command line, in the file /etc/ld.so.conf, and in the trusted directories (/lib and /usr/lib). The cache is used by the run-time linker, ld.so or ld- linux.so. ldconfig checks the header and filenames of the libraries it encounters when determining which versions should have their links updated.
Trick to get Lorentz Going after Reboot
systemctl restart ypbind