Hot answers tagged

6 votes
Accepted

Unable to run `apt update` on Ubuntu 21.10

Impish went EoL on the 14th of July. As such, its repositories can no longer be found on the mirrors, so if you want to continue using this version, you need to use old-releases.ubuntu.com as your ...
user avatar
  • 6,492
4 votes
Accepted

High swap usage on Ubuntu server

As you can see from vmstat output you do not have si or so activities, even the average (first line) is negligible. Try to play with swappiness but if you do not see serious performance degradation ...
user avatar
  • 3,015
3 votes

ib_logfile0 size 44895232 is not a multiple of innodb_page_size after Ubuntu upgrade

innodb_page_size is by default 16K which is 16384 and your innodb_log_file_size seems to be corrupted in half way during upgrade. When you say you lost ssh, does that mean server was rebooted? you ...
user avatar
3 votes
Accepted

Cannot add cron task

You want to just run crontab -e and then hit Enter. Then your crontab will appear in the editor that is configured in your environment. In the editor, you can then add the line to the crontab that you ...
user avatar
2 votes

Unable to run `apt update` on Ubuntu 21.10

I tried this (on a RPI3, Ubuntu 21.10), modify /etc/apt/sources.list deb http://ports.ubuntu.com/ubuntu-ports impish main restricted to deb http://old-releases.ubuntu.com/ubuntu impish-security main ...
user avatar
2 votes

Postfix mysql warning: /etc/postfix/sql/mysql_virtual_alias_maps.cf: Permission denied

As expected, your postfix user has no permissions to read the configuration files. sudo chmod o+r /etc/postfix/sql/* Or, if you don't want other users to read the files sudo chown :postfix /etc/...
user avatar
2 votes

Cant ping between 2 machines in same subnet

Your LAN ports are in trunk mode, which means the devices need to do the VLAN tagging. Easiest solution is to change the ports to access mode by setting a VLAN. It is a best practice to avoid using ...
user avatar
  • 17.7k
2 votes

High swap usage on Ubuntu server

In my opinion, this shouldn't be interpreted as an argument to do a RAM upgrade directly since there are many factors regarding SWAP, one being swappiness. From Ubuntu FAQs: What is swappiness and how ...
user avatar
  • 23
1 vote

How to run two different applications simultaneously in same port with same Machine in Ubuntu

You may assign different ip addresses to your nic(s). Each application should listen on different ip possibly with the same port. Like 192.168.0.3:3000 and 192.168.0.4:3000. For public service you ...
user avatar
  • 250
1 vote
Accepted

When ufw enabled, FTP client stuck on: 150 Opening ASCII mode data connection

As you have open already port 20 you can make ftp to use passive connection by enter command pass after you authenticate.
user avatar
  • 3,015
1 vote

how to stop scheduled auto reboots on Ubuntu

You can check in cron records for root user. IMHO other users can't reboot your machine. And next time be careful when install unknown scripts :)
user avatar
  • 3,015
1 vote

Ubuntu Server 21.04 Update Error On apt update

Ubuntu 21.04 (Hirsute Hippo) End of Life reached on January 20 2022.
user avatar
  • 8,139
1 vote

How to setup the OCSP responder

How to setup the OCSP responder? Wikipedia lists several OSCP responder implementations here. Each server will have their own specific installation and configuration instructions. For testing ...
user avatar
  • 71.5k
1 vote

Linux / Django / Site not reachable

Judging from netstat output you provided, the process is listening on localhost interface only: tcp 0 0 >>127.0.0.1:8000<< 0.0.0.0:* LISTEN 260163/python It means that you'll be able to ...
user avatar
1 vote
Accepted

How to change the super user after installation in Ubuntu?

There is a difference in Ubuntu to granting you (full) admin privileges by creating an unrestricted entry in /etc/sudoers (or an sudoers.d include) for your regular user account, or by adding your ...
user avatar
  • 71.5k
1 vote
Accepted

Redis Server Refuses All Connections Via Unix Socket

From comments I see redis do not listen to TCP port but only use socket. In such case the connection should be done with command redis-cli -s /var/run/redis/redis.sock The line redis-cli -h 127.0.0.1 ...
user avatar
  • 3,015
1 vote

Unable to run `apt update` on Ubuntu 21.10

Running the following command allowed me to upgrade the Ubuntu release to the updated and supported version: do-release-upgrade The apt update command is now working as expected!
user avatar
1 vote

Blocking tor traffic with postfix or fail2ban on mailserver

Normally you use fail2ban to generate an IP blocklist based on abuse patterns found in your own log files. Your use case is different and I wouldn't use fail2ban for that. The TOR network provides a ...
user avatar
  • 1,137
1 vote
Accepted

How do I install dhcp plugin for Strongswan on Ubuntu focal

You need to install the libcharon-extra-plugins package because the plugin is technically located in libcharon (note that the other two packages you reference are actually called libstrongswan-...-...
user avatar
  • 3,800
1 vote
Accepted

Why I can not register gitlab-runner? 10.0.2.3:53: server misbehaving

I had a similar issue/error msg which seemed to be saying that the gitlab server couldn't be found. ERROR: Registering runner... failed runner=XXXX status=couldn't execute POST ...
user avatar
1 vote

How to make SCSI enclosure LEDs blink?

After having spent an hour trying to figure out how to get the correct indices for sg_ses command to work, I ended up using encled utility from this project https://github.com/amarao/sdled which has ...
user avatar
  • 217
1 vote

iptables match output rule for supplementary groups

Support for supplementary groups was added in ea6cc2fd in 2019: netfilter: xt_owner: Add supplementary groups option The XT_OWNER_SUPPL_GROUPS flag causes GIDs specified with XT_OWNER_GID to be also ...
user avatar
  • 143
1 vote

Virtualbox / Vagrant "closed by remote host" during routine use

Referring to the other answers here: Yes, it seems to be the RAM. I've just had a similar issue with a freshly created Fedora vagrant environment on VirtualBox. When trying to do something like "...
user avatar
1 vote

/proc/XXX/smaps does not exist

I can't comment because I just registered my account, but the answer by @user1979289 is correct; not sure why people are downvoting it. As per the Linux kernel documentation: CONFIG_PROC_PAGE_MONITOR: ...
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible