Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
0answers
12 views

Varnish vs cookies vs usefulness [on hold]

How can be varnish helpful if they say that you should not cache sites with cookies, but sites do use usually lot of cookies like some application cookies, adsense cookies, session id cookie. i can't ...
0
votes
0answers
11 views

apache2.4 on Ubuntu 18.04 Failed to acquire SSL session cache lock

please help to solve this issue. This problem occurs after 1-3 days of apache start. After restarting apache, the error / warning does not occur again, but after some time or several days, the error ...
0
votes
0answers
20 views

How to Undo Changes Made by google-authenticator

I recently followed the Digital Ocean article How to Set Up Multi-Factor Authentication for SSH on Ubuntu 16.04 to test out MFA. Now I would like to undo the changes made by the google-authenticator ...
-2
votes
0answers
21 views

Unnecessary Server Overload [on hold]

I am using a VPS server of 16GB RAM and 6 Cores, 320GB SSD space. But my server gets overloaded when I have about 200 realtime users on my site. I have done a lot of configurations but all to no avail....
0
votes
2answers
25 views

Call rsync with args stored in a string

This is the same script as the one cited in my mhddfs thread, I'd like to define the args according to some inputs, and call rasync afterwards. I currently came up with this but only the call to rsync ...
0
votes
0answers
9 views

mhddfs not replicating properly

I'm currently setting up backup on 3 different HDD, I have a script for that but I'd to skipthe sync disks part and run rsync direclty on a mount point where the 3 disks are targets at the same time. ...
1
vote
0answers
17 views

Simultaneous usage of Nvidia and AMD GPUs

I have a server which hosts three different GPU platforms: Onboard GPU, Nvidia and AMD GPUs. I have not installed X server, as I do not intend to bring the desktop up. I always use ssh and use the ...
0
votes
0answers
3 views

Printers not showing up in search box [migrated]

All the tutorials on printing for Ubuntu 16.04 tell me to search for "Printers" but nothing shows up. What is the command (binary file) to run so I can open "Printers" GUI and setup a new printer? ...
0
votes
0answers
18 views

HTTPS + IP not redirecting to configured Domain Name and gives “Your connection is not private” [Nginx/Ubuntu]

I am using NGINX for 301 redirects on Ubuntu and reverse proxy for my Web Application and aim is to redirect traffic to non-www url such as https://mywebapplication.example. So with my current ...
1
vote
0answers
9 views

docker-compose fails to spin up a gerrit container due to permission errors

I'm trying to spin up a gerrit workspace on ubuntu following the details provided in the following link. https://gerrit.googlesource.com/docker-gerrit However, this keeps failing only in when trying ...
0
votes
0answers
13 views

Apache/2.4.7 (Ubuntu) restrict access by IP address - not working [on hold]

I try to create a development environment and to restrict it only to my ip address. my /etc/apache2/sites-available/stage.conf looks like this: <VirtualHost *:80> ServerAdmin webmaster@...
1
vote
1answer
20 views

SNMP MIBs on Ubuntu - error in MIBs

I'm concerned that the definitive set of MIB files for Ubuntu seems to have syntactic errors. Am I using the wrong MIBs? I have used sudo apt-get install snmp-mibs-downloader sudo download-...
0
votes
0answers
10 views

Proxy setup between a private and public [duplicate]

I have two servers: Private Server with IP: 172.16.0.2 Public Server with 172.16.0.3 (private IP) and x.x.x.x (public IP) What I want to achieve is: Incoming communications to Public IP (x.x.x.x) ...
0
votes
1answer
38 views

Nginx, SSL and Varnish returning ERR_TOO_MANY_REDIRECTS

I'm trying to setup a Nginx server with Lets Encrypt SSL and Varnish for cacheing but I've hit a brick wall. For some reason the website just keeps returning ERR_TOO_MANY_REDIRECTS and I'm can't track ...
0
votes
0answers
12 views

fail2ban does not add chain to ip6tables

I am using fail2ban-0.10.2 on Ubuntu 18.04. I have the following action configured in fail2ban, called ipset-simple.local: [Init] protover = 4 iptables = iptables -w blocktype = DROP [Init?family=...
1
vote
1answer
22 views

No network on Ubuntu Server 17.10 [on hold]

I lazily swapped a HDD with Ubuntu out of another old PC into a new one and although everything else works fine the network doesn't seem to come on until I run sudo dhclient. I have tried all kinds ...
1
vote
1answer
15 views

Non-standard site directories

You know that by default, servers like nginx and apache use standard directories for sites. Like "public_html", "www". And I noticed that on multi-user setups the sites are placed in the user's home ...
-1
votes
0answers
37 views

How can I add a second drive to my Dell PowerEdge R710 Server with Ubuntu Server? [on hold]

I have a Dell PowerEdge R710 server with 1 160GB SSD with the latest Ubuntu Server installed on it. It is currently working as it should with most of the 160GB available for me to store files. I ...
0
votes
0answers
9 views

Ubuntu 16.04 - TP-LINK TL-WN821N not ready on boot and slow after reboot from Windows [migrated]

I have Ubuntu 16.04 system with TP-LINK TL-WN821N USB wireless adapter. It was working properly until I rebooted from Windows back to Ubuntu (I have Ubuntu 16.04 and Windows 10 on dualboot). Now when ...
0
votes
1answer
16 views

Vagrant/VirtualBox guest boots only in single processor mode after upgrading Ubuntu guest from 16 to 18

I had a running WEB server with Ubuntu 14.04.5 LTS with LAMP environment. The server is running in a Vagrant/VirtualBox virtual machine. I upgraded it successfully to Ubuntu 16. After that I tried to ...
0
votes
1answer
19 views

boot from different hard drive

I have a Dell PowerEdge R710. I had it working with a 160GB Sata solid state drive no problem. That drive was removed and a new 1 TB drive was put in. The Raid settings were changed for this new drive....
-2
votes
0answers
36 views

WWW to https:// nginx [closed]

No matter what the visitor types www.example.net or http://www.example.net or http://example.net i want all of the requests to be redirected to https://example.net currently i have managed to ...
0
votes
2answers
17 views

How to trace cron actions?

I know that there are some cron jobs (run every minute) scheduled in my Ubuntu. How do I track what's running them, when the cron files (sudo su; crontab -e) are empty?
-1
votes
0answers
18 views

Non www and http://www to https://www [duplicate]

I'm trying to make all requests to be redirected to https://www.example.com server is ubuntu 16.04 i'm using apache and the current configuration is like this. <VirtualHost *:80> ServerAdmin ...
0
votes
0answers
18 views

Mikrotik backup using rancid

I'm trying to do a backup of a new Mikrotik using Rancid. To be more specific, Rancid is installed on a Ubuntu Server, that I can access via ssh using puTTY. I can access the Mikrotik via ethernet ...
0
votes
1answer
24 views

Losing access to LAN devices when connected to a VPN

I have an ubuntu VM running on Hyper-V which connects to a VPN service. When the VM is connected to the VPN I am unable to ping / connect to the host machine. Samba mounts won't get mapped, ping ...
0
votes
1answer
12 views

Vagrant/VirtualBox guest doesn't boot completely after upgrading Ubuntu guest from 14 to 16

I have a running WEB server with Ubuntu 14.04.5 LTS with LAMP environment. The server is running in a Vagrant/VirtualBox virtual machine. I made a release upgrade to Ubuntu 16. The upgrade had no ...
0
votes
1answer
19 views

vpncloud not working on EC2 (Ubuntu) [but works between Azure and GCP]

I'm attempting to set-up VPNcloud (https://github.com/dswd/vpncloud.rs/wiki) as a private VPN for my EC2 instance (running Ubuntu). I'm using this for a private network between this EC2 VM and my GCP ...
-2
votes
1answer
32 views

Strange server access logs

Every morning, I monitor access logs to filter out bots and malicious attempts to break in. I keep noticing this same type of log. Example output (website and IP address are hidden): 8232 xxx.xxx....
0
votes
1answer
25 views

MongoDB restart with no logs

Why would mongodb randomly restart? Where can I look for details? Using mongo 3.4 on Ubuntu 16.04 The first line of the log file is just 2018-10-11T00:21:01.610+0000 I CONTROL [main] ***** SERVER ...
1
vote
0answers
21 views

What is the best ZFS configuration for logging purposes?

I am planning for hardware that will be used for log management purposes. The software we plan to run on top of the hardware supports tiering and the plan is to go with three tiers as follows: tier ...
0
votes
0answers
18 views

Ubuntu sendmail AUTHENTICATING FOR org.freedesktop.systemd1.manage-units

I have an EC2 instance with Ubuntu and am trying to install sendmail sudo apt-get install sendmail, however it seems to be using polkit (never heard of it nor have I ever run across it). It's asking ...
1
vote
0answers
11 views

Set up Windows 10 SRP initiator

How do can I setup an SRP Windows 10 initiator? I've seen several mentions of an initiator being included in WinOF but I haven't found any instructions on how to do it. The initiator will be Windows ...
0
votes
1answer
19 views

Only 2T for using after I fdisk the disk

I have a 4T disk: Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes 255 heads, 63 sectors/track, 486401 cylinders, total 7814037168 sectors Units = section of 1 * 512 = 512 bytes Sector size (logical/...
0
votes
1answer
21 views

comparing the default enabled modules of httpd on CentOS to apache2 on Ubuntu

I'm migrating a server from Ubuntu 16.04 running Apache2 to CentOS 7.5 using httpd. By checking the enabled modules on both machines I found that httpd enables many more modules by default in ...
0
votes
1answer
39 views

Lets encrypt certificate renew: PluginError occured

I am trying to renew the letsencrypt SSL certificate in the apache by using the following command. sudo certbot renew But I am getting the following error error was: PluginError('There has been ...
1
vote
2answers
17 views

How to bind a range of ips to ubuntu interfaces

I am trying to bind a range of IPs(2048 total) on an Ubuntu server and the only way I know of is adding one by one to the interfaces file and restarting the network service like this: ### /etc/...
0
votes
0answers
61 views

Setting up Bridge for KVM on Ubuntu 18.04.1 Server

I'm trying to setup KVM on Ubuntu 18.04.1 Server. I tried following the instructions here, however I got stuck at the part which has me configure the bridge. I don't have a 50-cloud-init.yaml file, ...
0
votes
1answer
32 views

ssh spammed from 127.0.0.1 (“Did not receive identification string” and “Bad protocol version identification”)

Prequel: I've seen this question, but it's not quite the same situation. I'm particularly curious about 'heroku' showing up in the logs. I just built and spun up a new Ubuntu 18.04 box that I am ...
-1
votes
0answers
18 views

When su executes login process?

I have an expired service account and when I run-sudo su -c "printenv" -s /bin/bash - buddysvc I get the following output - Your account has expired; please contact your system administrator su: ...
0
votes
1answer
14 views

SSH tunneling and running commands inside Docker image

I'm pretty new to Docker and have a docker image, I need to do following: perform SSH tunneling to three different addresses from inside the docker image that to the outside. Then, I need to run a ...
0
votes
0answers
9 views

Create local proxy server that use vpn connection to route packets

I want to have a process that act as local proxy server that uses pptp or l2tp vpn connection and other processes can connect to this local proxy servers to bypass censorship. I want that vpn ...
0
votes
0answers
19 views

Configure L2TPv3 on Ubuntu using hostnames for peers instead of IP

Is it possible to configure L2TPv3 using ip l2tp commands on Ubuntu 18.04 but using hostnames for peers instead of static IP addresses ? If so can someone give me a hint on how to do this ?
0
votes
1answer
22 views

amazon ec2 ubuntu server is not reachable

I have an AWS Ubuntu EC2 Intance and suddenly it became unresponsive. So I decided to restart server however server is not reachable anymore. Although in the EC2 console it seems up & running (...
3
votes
1answer
63 views

strongSwan 5.6.2 and xl2tp 1.3.12 on Ubuntu 18.04 SA established but no traffic

Since updating strongSwan and xl2tpd to the latest versions available for Ubuntu I encounter a problem with ESP and AH in L2TP. Server config: Interface for generating traffic ens224: flags=4163<...
0
votes
0answers
25 views

How to access the Gitlab web user interface (wui) from another computer through https?

I've set up linux ubuntu 18.04 server with Gitlab ce. So far from the server I can access the Gitlab user interface with https. I want To do the same from a Mac running high sierra. When I type https:...
-2
votes
1answer
40 views

Ubuntu Static Network Issue

$ ip address flush eth0 #i flushed out the old ip $ route add default gw 192.xx.xx.xx eth0 #adding g.way i get this error SIOCADDRT: Network is unreachable. I use Ubuntu on VM box over wifii. ...
1
vote
1answer
36 views

bind: loading from master file failed: file not found

So I'm kinda a newbie and I'm following this to connect a domain to my server. here is my codes: named.conf.options: acl "trusted" { 124.243.241.164; 124.243.241.164; 124.243....
0
votes
0answers
17 views

Can You Mix and Match Between RAID Controller Connected Hard Drives and Hard Drives Connected to Motherboard via Standard SATA Cables?

Can You Mix and Match Between RAID Controller Connected Hard Drives and Hard Drives Connected to Motherboard via Standard SATA Cables? i.e. 1x Hardware RAID Controller / HBA Card, connecting to 4 ...
-2
votes
1answer
25 views

How to know if a server have private networking enabled or not [closed]

How can I know if my server (ubuntu 16.4) have private networking enabled or not? is there a command or something I could check with it?