Categories
Mastering Development System & Network

ubuntu 18.04: clamav running, tomcat dying

Ubuntu 18.04. 2Gb RAM + 512mb swap. When running clamav, it consumes 800+mb of memory because it loads all the signatures into the memory. Because of that, I set it to run every day at 3am instead of ongoing. So far, tomcat and clamav got along very well. Last night, at 3am, tomcat service was […]

Categories
Mastering Development System & Network

What killed my tomcat service and how can I restart it automatically?

tomcat 9 with ubuntu 18.04. tomcat service status: ● tomcat.service – Tomcat 9 servlet container Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: enabled) Active: failed (Result: signal) since Thu 2020-03-26 03:00:31 UTC; 3h 33min ago Process: 8815 ExecStop=/opt/tomcat/latest/bin/shutdown.sh (code=exited, status=0/SUCCESS) Process: 8858 ExecStart=/opt/tomcat/latest/bin/startup.sh (code=exited, status=0/SUCCESS) Main PID: 8865 (code=killed, signal=KILL) catalina.out says nothing. syslog says Mar […]

Categories
Mastering Development User Help

systemd: Freezing execution in Yocto

We have a legacy device with following configurations: Chipset Architecture : Intel NM10 express OS : Yocto warrior CPU : Atom D2250 Dual Core Volatile Memory : 2GB DDR3 CPU core : 4 I have generated 64-bit core-image-sato and run on my device but systemd freezes execution with SIGILL (as shown below). Please note that […]

Categories
Development Linux Ubuntu

My Ubuntu 19.10 keeps randomly crashing

I have recently received a new dell latitude 16gb ram laptop I installed a clean encrypted 19.10 Unity keeps crashing every few days. I will be on my IDE, SoapUI mocking away, Pycharm and node running, some dockers, nothing that is over exerting my new laptop suddenly the screen goes blank and I’m at the […]

Categories
Development System & Network

What does this bind mean?

Background I’m trying to setup a recursive DNSSec Server, with the dnssec-lookaside option. Following this guide. Error Message root@dnssec:/home/jose# systemctl status bind9 ● bind9.service – BIND Domain Name Server Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled) Active: failed (Result: signal) since Sun 2020-01-19 18:54:09 UTC; 1s ago Docs: man:named(8) Process: 1617 ExecStart=/usr/sbin/named -f $OPTIONS (code=killed, […]

Categories
Development Linux Ubuntu

Ubuntu Favorites Bar keeps Disappearing

The favorites bar on the right hand side of my Ubuntu 19.10 desktop keeps disappearing. Sometimes it will be days, sometimes several times a day. I have found references here: Taskbar keeps disappearing! and here: Ubuntu 16.04 Jan 3 2018 update causing screen/access issues for previous versions. I had this problem on previous versions as […]

Categories
Development Linux Ubuntu

cron job not running bash script

I am wanting to create backups of a Minecraft server I administrate. I wrote a bash script that performs a ftp wget backup of the server files to a new folder. Here is that script: TIMESTAMP=$(/bin/date +%Y-%m-%d_%H:%M) /bin/mkdir /disks/Media/MC\ Server\ Backups/backup/$TIMESTAMP -p cd /disks/Media/MC\ Server\ Backups/backup/$TIMESTAMP /usr/bin/wget -r ftp://$FTP_USER:$FTP_PASS@$FTP_ADDR// -l 0 -nH The variables are […]

Categories
Development System & Network

Memcached fails/crashes every few hours

I have a CentOS 7 server with Memcached. There are a lot of requests, and usually after a few hours, the memcached daemon crashes. I always restart the service, but it crashes again a few hours later. The /var/log/memcached.log file is empty. These are the /etc/sysconfig/memcached settings: PORT=”11211″ USER=”memcached” MAXCONN=”1024″ CACHESIZE=”32″ OPTIONS=”-vv >> /var/log/memcached.log 2>&1″ […]

Categories
Development Linux

Raspberry Pi 4 becomes unresponsive after Chromium idle

I am building a kiosk application on my Raspberry Pi 4 (4GB RAM Version) that requires that Chromium continuously idles as a service. I created a supervisorctl service that will keep it alive and give me the ability to easily stop, start, fetch status, etc. However, after some time I am noticing that the entire […]

Categories
Development Linux Ubuntu

Ubuntu 19.10 Wireless Not Working after Resume

The problem Wifi seems to connect fine after system bootup or reboot, but if I suspend my computer (which is a laptop, so this is happening whenever I close the laptop lid), when the computer wakes, wifi indefinitely attempts to connect and fails. Details I’ve been trying to diagnose what’s going on primarily by looking […]