Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ubuntu]

Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

0
votes
1answer
1k views

How to create a bootable ISO image from a disk snapshot

I've taken a disk snapshot of my Ubuntu VM from Amazon EC2. The snapshot is a ZIP archive of the whole disk. I've downloaded and then extracted the snapshot. Now I would like to create a bootable ISO ...
0
votes
1answer
56 views

Jquery Syntax Error on Ubuntu Apache

I have set up a new Apache/MariaDB server stack on Ubuntu 18.04.01 LTS. I have done this many times and have never experienced this issue. When I attempt to host wordpress sites on this erver (that ...
0
votes
1answer
77 views

How to migrate a MySQL 5.7 database to MySQL 8.0?

Currently I have a Drupal 8 site in production with a database on MySQL 5.7 How to migrate a MySQL 5.7 database to MySQL 8.0? Do I just need to export my Drupal 8 database from MySQL 5.7 and import ...
1
vote
2answers
4k views

What causes “SYN to LISTEN sockets dropped”?

A quite busy proxy server has lots of "SYNs to LISTEN sockets dropped". I learned one cause could be a too small backlog size. But in that case the "times the listen queue of a socket overflowed" ...
-1
votes
1answer
42 views

My Nginx server is not working

I have an Apache server on Ubunu 18.04 with a Drupal 8 site that I want to migrate to Nginx and PHP7.3-FPM. This is the only site on the server. I do not know Nginx at all. The site works with Apache ...
2
votes
2answers
79 views

How to migrate my Apache server to Nginx?

I have an Apache server on Ubunu 18.04 with a Drupal 8 site that I want to migrate to Nginx and PHP7.3-FPM. This is the only site on the server. I do not know Nginx at all. I deleted Apache with the ...
0
votes
2answers
1k views

How to backup an HFS+ partition using Ubuntu

i need to mount via AFP an HFS+ partition (Mac) and Backup it to an external drive, using Ubuntu. The problem is that in Nautilus i can 'view' the drive using afp:\myserver_ip but when i launch a ...
0
votes
1answer
1k views

Updating kernel modules in initrd for ubuntu-server usb install

I'm wondering how I can update the kernel modules properly in the hd-media initrd file for Ubuntu: http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/hd-media/ Using ...
1
vote
1answer
1k views

Lets encrypt ERR_CERTIFICATE_TRANSPARENCY_REQUIRED on chrome 68.0.3440.106

I have a VPS server under Ubuntu 17.10, and I have 2 domains, I have created a successful SSL certificate for the first domain 2 months ago, Today I tried to install lets encrypt domain for the 2nd ...
0
votes
1answer
27 views

Redirect archive.ubuntu.com to a mirror on DNS level

I rely a lot Docker images, and is impractical to change the /etc/apt/source.list for each of them, so I want to redirect archive.ubuntu.com to a mirror on DNS level (I have my own dnsmasq/unbound on ...
0
votes
0answers
20 views

Reboot ec2 after halting of 30 seconds

Is it possible to reboot Ubuntu after 30 seconds? When I reboot, it should halt then after 30 seconds it should boot. In case of Amazon aws ec2 instance, waiting for 30 seconds will make it boot ...
6
votes
2answers
24k views

Add a Home directory for already created user when no direct root login available

I have a user account provided by client with unrestricted sudo access, but this user has no home directory. I want to create one, but I'm not sure how to go about it. I tried logging in as my ...
0
votes
0answers
36 views

WSL issue: cannot execute C:\Windows\System32\Bash.exe from elevated PowerShell - “access is denied” - works in normal CMD/PS prompt (no admin rights)

I have an issue with WSL (Windows Subsystem for Linux) in PowerShell. If I run the Ubuntu 18.04 LTS app (the UWP app) it works as expected. However, if I run and run Bash.exe from an elevated ...
0
votes
1answer
1k views

Can't create an apt mirror using debmirror

I'm trying to create a mirror in my local machine, but I can't verify the gpg signatures. Followed these steps: https://help.ubuntu.com/community/Debmirror The only difference I created the ...
10
votes
2answers
33k views

apt-get cannot connect “failure resolving 'archive.ubuntu.com'”

Just got a new VPS running Ubuntu 11.04 and tried to update it. I got this error. I get the same error whenever using apt-get login as: root root@199.193.248.80's password: Welcome to Ubuntu 11.04 (...
0
votes
0answers
33 views

Unable to get Django Channels Daphne Nginx Supervisor to run: 502 bad gateway

I'm trying to traceback through the errors to find the core problem as to why my domain is displaying a 502 bad Gateway error. There are basically no clear tutorials on how to do this except for on ...
-2
votes
1answer
1k views

How can I know the maximum allowed number of forks for a process in Ubuntu?

I am using process control in PHP to create forks. My server's operating system is Ubuntu. How can I know what is the capacity of my server in handling those forks? Is there a limit? And if so, can I ...
0
votes
0answers
18 views

Ubuntu Apache https time out status. Though http works fine

Created ssl certificate using let's encrypt for apache. It is showing request timed out every time. nc -zvw 1 studytact.ml 443 nc: connect to studytact.ml port 443 (tcp) timed out: Operation now in ...
0
votes
0answers
26 views

Port forwarding in docker does not work

I have installed docker on my ubuntu 16.04 and have run a machine on port 52022 and enable ssh for that machine on port 2242. I have also opened 52022 on the firewall with this iptables -t filter -A ...
0
votes
0answers
8 views

unable to ping from OpenVPN to Virtualbox client

I'm using Ubuntu 16 desktop with Virtualbox running Ubuntu 16 server. Ubuntu 16 server has OpenVPN client, which connects properly, and the following IP table rules: sudo /bin/su -c "echo -e '\n#...
0
votes
1answer
1k views

How to tell squid use Source IP address for sending requests?

I have two interfaces in my ifconfig, eth0 and eth1. Squid is set to accept connections from both of them on port 3000. However, eth0's ip address is always used to send proxy requests, even if ...
0
votes
1answer
13 views

Ubuntu Bridge network interfaces on 4 port gigabit card

I've seen this on the internet before. I have a Ubuntu server with a 4 port gigabit network card. I would like to bridge the interfaces so that, if an interface is busy, the packets will go through ...
0
votes
2answers
1k views

Set static IP in OpenVPN

I have an OpenVPN server (pivpn.io), and three server clients. I'm trying to set a static IP address, for the VPN clients. I've created ipp.txt /etc/openvpn/ccd/ipp.txt. The file ipp.txt uses the ...
2
votes
2answers
1k views

Using Gentoo's `ebegin`, `eend` etc under Ubuntu

We're quite fond of the style of the ebegin, eend, eerror, eindent etc commands used by Portage and other tools on Gentoo. The green-yellow-red bullets and standard layout make for very quick spotting ...
0
votes
2answers
1k views

openvpn ubuntu client to pfsense server. Timed out

Trying to get openvpn to work so that I may connect from my Ubuntu 14.10 workstation to a pfsense 2.0.3 server using OpenVPN. I just installed the network-manager plugin and created a new vpn ...
2
votes
2answers
4k views

isc-dhcp leases file never cleaned

When running isc-dhcp the leases file seems to grow indefinitely (several hundred MB). If I restart the isc-dhcp service, the file shrinks to 1.5MB. How can I have isc-dhcp flush expired records ...
8
votes
1answer
778 views

Is it possible to do multiseat the systemd way with one graphic card / two heads?

I would like to setup a multi-seat configuration using Ubuntu Xenial 16.04. After some researches, it seems the way to do now is by systemd through "loginctl" calls. (saw here for example). Before ...
0
votes
1answer
78 views

'File not found.' after switching to php fpm (apache, ubuntu server 18.04 LTS)

I know this question has already been answered mutiple times, but the answers are almost all diffrent and are sorta confusing. I have tried alot of answers but none of them work. I follow the answer ...
0
votes
0answers
33 views

No internet access virbr0

I do not have internet access from the 172.16.0.0/24 network, I can reach the gateway (192.168.122.1) through the host PC-1 but there is no internet connection. The IOU1 router is connected to the ...
0
votes
1answer
46 views

How to configure strongswan peer-to-peer vpn tunnel using public IP as encryption domain?

I'm required to configure an ipsec tunnel to communicate with a remote vpn (Cisco ASA 5555). I have created an Amazon Lightsail instance with ubuntu 18.04 installed. Upon doing some studying i came ...
-1
votes
0answers
13 views

Default Encoding was latin1

I setup a ubuntu server and missed the locale settings. I changed it to utf-8 but are unsure, if there are some implications. I found a corrupted text file I created with vim while the locale still ...
5
votes
4answers
10k views

mysql my.cnf ignored

The Issue I'm trying to modify a my.cnf value on my production server but the changes aren't taking effect after a sudo service mysql restart, using an exact copy of the my.cnf (downloaded and ...
0
votes
1answer
66 views

kickstart file /run/install/ks.cfg is missing centos

I am in a bit of trouble in regards to an kickstart installation and this is done via net install and is running on VMWARE sphere. All systems have as well been updated and upgraded to the latest ...
0
votes
1answer
30 views

Postfix - can't recieve emails from external domain (Ubuntu 16.04)

Good morning! I have a bit common problem, but I haven't found any solution yet, after reading really a lot of forums and tutorials. Shortly: I want to send an email from external domain to my server,...
0
votes
1answer
18 views

How to make results of “localedef” survive “dpkg-reconfigure locales”?

Im using UB 16.04 LTS Server and yesterday a new version of the locales-package has been released and installed: Start-Date: 2019-02-21 09:44:05 Commandline: /usr/bin/apt-get -y -o Dpkg::Options::=--...
0
votes
2answers
57 views

Wrap bash script call with connect / disconnect from VPN

Once or twice a day, when the service I'm building is in production I'll have to read a database that sits behind a VPN. Now, in the development phase I've been doing as follows. As root user I run: ...
3
votes
1answer
1k views

Install Ubuntu with BTRFS and more subvolumes

I want to install an Ubuntu Server 11.10 with a BTRFS filesystem (in a RAID1 way). The problem is that I can't see the option in the installer to make more subvolumes. The installer creates two by ...
0
votes
1answer
1k views

Stop and prevent brute force attacks on Ubuntu 14.04

I've currently 3 servers with SSH service being attacked by brute force. The attack is from multiple sources or one who's changing his IP with each attempt performed. I need help to stop current ...
1
vote
2answers
1k views

RAID degraded on Ubuntu server

We're having a very weird issue at work. Our Ubuntu server has 6 drives, set up with RAID1 as follows: /dev/md0, consisting of: /dev/sda1 /dev/sdb1 /dev/md1, consisting of: /dev/sda2 /dev/sdb2 /dev/...
6
votes
1answer
1k views

How to completely remove a package in Ubuntu (like it never existed)

When I remove a package in Ubuntu using apt-get remove package, it always seems to leave behind a lot of files... for example, log files in /var/log, config files in /etc, data in /var/lib, etc. How ...
0
votes
1answer
14 views

Is apt-mark persistent after a reboot

More specifically, I would like to permanently ( or at least in the short term) disable updating a particular package. I see that sudo apt-mark hold will do the job. But I am not sure will the "hold" ...
1
vote
2answers
1k views

Removing a “semi joined” Ubuntu workstation from an Active Directory domain

I am joining an Ubuntu workstation to an MS AD. I had 1 or 2 config issues when I first tried to run net ads join which resulted in an error message and the workstation not being added correctly I ...
0
votes
1answer
1k views

Berkelay DB + Openldap : Program version doesn't match environment version

When I run : #slaptest it says "config file testing succeeded" If I run #slapd -f slapd.conf -d 256 I got: buildd@lamiak:/build/buildd/openldap-2.4.31/debian/build/servers/slapd ...
0
votes
2answers
1k views

RAID 10 beginner

I'm thinking of setting up my first RAID 10 server, built from commodity hardware + software RAID controller. My main requirements for the server is FAST WRITE/READs + resilience in the face of a ...
0
votes
0answers
25 views

Ubuntu Server 18.04 two NIC on same subnet

I have Ubuntu Server 18.04 with 2 NIC cards installed and both of them have static IP assigned via netplan. This is my config: root@box2:/etc/netplan# cat 01-netcfg.yaml network: version: 2 ...
2
votes
2answers
394 views

Bugzilla through an apache reverse proxy

I am trying to access bugzilla through an apache reverse proxy. I have the usual ProxyPass and ProxyPassReverse settings and this works to bring back the page, but it does not bring back any formating,...
-1
votes
0answers
12 views

Apache 403 from directory owned by www-data [duplicate]

So I have a user, we'll call him bob bob has a webroot on my server, /store/bob/www bob is a member of www-data group. Apache is running under its www-data user, which is also a member of the www-...
0
votes
2answers
1k views

Ubuntu UFW firewall turns itself off

I have UFW enabled on my server. However, I find that it is disabled at times, showing a status of "firewall not loaded". I enable it, verify that it is running (shows loaded and gives me a list of my ...
0
votes
1answer
90 views

Why is knockd with default knockd.conf not working?

System: Ubuntu Server 18.04, stock install, nothing tampered with. I cannot get knockd to work, even though I'm using the default knockd.conf and simply trying to get it do to anything. I can't see ...
0
votes
0answers
11 views

ASUS HyperX M.2 x4 only the first device is visible under Ubuntu

I have a Dell T320 with an ASUS HyperX M.2 x4 PCI-e card (in a PCI-e 3.0 x16 socket), and two Samsung 970 PRO in it (in slot 1 and slot 2 of Hyper M.2), but under Ubuntu 18.04.2 LTS I only see the ...