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.

0
votes
0answers
24 views

virtual network manage multiple ip

I have an Private Virutal Server with two ip. Th OS is Ubuntu 16. I would like to allow only* the ports 22,80,442 on the first ip and Allow the ports 12301,12302,12303,12304 on the second ip. How I ...
2
votes
0answers
26 views

Openstack Error: No valid host was found. There are not enough hosts available

As a purpose of testing, I am trying to spin up instances of large size, I mean of 8 vCPU's and greater than 20 GB memory, with 50 GB storage. Physical host has 48 GB RAM and 16 CPU. But everytime ...
0
votes
1answer
14 views

phpinfo shows difference between Local and Master Values of default_charset

Here us there is a difference in the local default_charset than the master's. Is there a way to find the source of the change of each? Especially the local? So it shows the path of the file that is ...
1
vote
0answers
24 views

What exactly does nfs4_disable_idmapping parameter do?

I've been experimenting with user/group ID mapping (translation) in NFSv4. What I want to achieve is name based ID translation, that is independent of the actual UID/GID on the server and clients. ...
0
votes
1answer
38 views

nginx set different document root for a proxypass

I'm just trying to run a nodejs app I made on a proxypass domain, and have it work exactly as it did on my desktop. However, for some reason, even though I defined a seperate document root for this ...
0
votes
1answer
25 views

nginx throws cannot get / bad gateway when trying to connect to proxypass path

I created a proxypass on my nginx server, and enabled ssl on it, but with and without ssl I still get an error saying 502 bad gateway. What can I fix to resolve this?(p.s. when I use curl on localhost ...
0
votes
1answer
31 views

Nginx configuration with different ports

I'm trying to configure the Nginx reverse proxy for a client to a server. The server is listening on port 80 and 55555 for a client. I was only be able to pass to a port 80, how is it possible to ...
0
votes
1answer
16 views

Running Pootle server under Apache with mod_wsgi on ubuntu server

I have successfully installed a pootle server in a localhost environment using the django default server following the instructions found here: http://docs.translatehouse.org/projects/pootle/en/stable-...
2
votes
1answer
74 views

standalone NTP config

I am trying to setup local NTP server for some testing. I have installed NTP on Ubuntu 18.04 and commented server-pool block in the config file Here is the full config : driftfile /var/lib/ntp/ntp....
0
votes
2answers
73 views

Copy LVM Volume Group to a new single hard disk

I have a headless Ubuntu (18.04) server with 3 hard drives each partitioned to a single lvm volume group for a combined size of 6Tb. I recently purchased a new hard drive that is 8Tb and I want to get ...
0
votes
0answers
39 views

Pm2 cannot open it's own PID file on ubuntu 18.04

I was recently trying to run a nodejs app I created using pm2 and this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-18-04 ...
0
votes
1answer
13 views

Limiting access to one libvirt domain via polkit (older .pksa format)

I have a hypervisor running libvirt on a Ubuntu 18.04 system. I need to configure access so that user 'joe' can only manage one domain. Recently, policykit moved from the .pksa configuration files ...
0
votes
1answer
23 views

Physical volume for RAID missing in Ubuntu 16.04.4

I am trying to configure software RAID 1 on ubuntu 16.04.4, but the option “physical volume for RAID” is missing during the disk partitioning process.. Does anyone have a solution for that issue? ...
0
votes
1answer
13 views

(Open) LDAP authentication - superuser not available on client

I'm still arguing with LDAP authentication. Now I have a server running openldap in centos, some account and a client that can use that directory to log on. The issue I have is that I'm no longer ...
0
votes
0answers
19 views

BIND Error on AWS - No Authorative DNS Response

We have recently setup and new EC2 Instance on AWS and are running WHM on the server. I can Ping the server and do the required, but cannot get the NS to register with the domains. the DIG give me the ...
2
votes
1answer
17 views

How to retain blockdev changes after server restart?

I am setting block device read ahead buffer size like so: blockdev --setra 8192 /dev/sda As suggested here. The problem is after restart it goes back to 256 (default). I need it to retain the value ...
1
vote
0answers
18 views

PhP Session Destruction not as eXpected

I have added this code to the top of my page and it is executed when a user login. <?php $lifetime=86400;session_start();setcookie(session_name(),session_id(),time()+$lifetime,"/","","TRUE","...
0
votes
0answers
39 views

Trying to setup a Django app using gunicorn and systemd

Trying to setup a Django app using Gunicorn and Systemd while following this tutorial by DigitalOcean. When I run curl --unix-socket /run/gunicorn.sock localhost, it returns with curl: (56) Recv ...
1
vote
1answer
19 views

SquirrelMail doesn't send or receive any mail

I just tried to set up a mail server on my Ubutnu 14.04. The goal is to be able to send mails from info@mydomain.com and receive mails sent to the same adress. Now I followed this tutorial to install ...
0
votes
1answer
66 views

Ubuntu 18.04.1, cannot add PPA wireguard/ubuntu/wireguard

I'm trying to install WireGurad on my fresh vanilla Ubuntu 18.04.1 machine, by following the instructions from WireGuard website. But when I try to execute very first command: sudo add-apt-repository ...
0
votes
0answers
67 views

tls 1.2 handshake timeout docker container

I'm working on a fresh ubuntu 18.04.01 in which I installed Docker version 18.09.1, build 4c52b90 by following the official install guide. I'm experiencing a weird issue regarding TLS 1.2 On the host ...
0
votes
1answer
29 views

Google cloud server ssh host key changed unexpectedly?

I have a Google cloud server that currently runs Ubuntu 16.04. I have not done much to it in years and it always ran great. Somehow or other, for the first time, it experienced downtime today of ...
0
votes
1answer
19 views

linux route nic2 connections to nic1

I have in linux envrioment: 1) firewall (192.168.1.1) 2) server1 (192.168.1.2) 3) server2 ubuntu (NIC1 - 192.168.1.3 - NIC2 - 192.168.2.1 - can customize) 4) device1 - 192.168....
0
votes
0answers
38 views

Website not showing my updated pages

The site is running on Ubuntu 16 with Nginx web server. Recently I have uploaded the new code but when I load the website still it's showing the old pages, I have removed all the files from the ...
0
votes
0answers
38 views

Mount AS/400 smb2 shared folder from Linux

I've always been using SMBv1 for mounting shared folders exposed by the AS/400. Recently, the AS/400 V7R3 has enabled SMBv2 but I haven't been able to effectively use a shared folder: I can browse ...
1
vote
0answers
33 views

Invalid file for download generated with PHP and www-data user

I have an amazon ec2 linux instance (ubuntu 18.04). There I installed my web site which is reacheable here. In the website I have a Download button which triggers a PHP that generates some files in /...
1
vote
1answer
34 views

Increasing swap space and removing previous swap space on ubuntu?

I have a virtual machine (hosted online) with 2Gb swap space. free -m total used free shared buffers cached Mem: 1995 438 1557 37 ...
1
vote
1answer
34 views

Monitor outbound connections

How I can monitor outbound connection that are made from my server along with the program/application which has made the connection request? I have tried using the below command and I am not much ...
0
votes
0answers
23 views

UFW allow from rules for service names (Nginx HTTP, OpenSSH)

I'm trying to set-up a server, but deny access from all IPs except specific IPs. I've installed the services OpenSSH and NGINX. To add these services to my firewall (using UFW), I am required to add ...
0
votes
0answers
41 views

Ubuntu 16.04 Docker CE not working ‘dependency job for docker.service failed’ [duplicate]

I hope this is the right place for my question. I try to run docker on a Ubuntu vServer. I installed docker ce according to the official documentation (https://docs.docker.com/install/linux/docker-ce/...
1
vote
1answer
62 views

Where does Certbot serve up HTTP-01 challenges from?

I am diagnosing a weird problem with some of my Ubuntu 14 LTS / Apache 2.4 machines with Certbot renewals. Yes, I know Ubuntu 14 LTS is EOL soon; these are some of the straggler machines on the ...
0
votes
0answers
27 views

How to run scripts owned by root with Apache?

I have built a Docker Ubuntu image with Torch installed, when running the container in interactive mode I'm able to execute a few commands as root user. For example, if I run /usr/bin/env th, I can ...
0
votes
0answers
33 views

Error 503 Back-end fetch failed

I have some problem with the nginx varnish configuration. When I connect https://example.com I get these messages: Error 503 Backend fetch failed Backend fetch failed I'm using hitch for ...
1
vote
2answers
70 views

Ubuntu: understanding iptables rules to allow domain name lookup

I'm currently setting up iptables rules on my web server (Ubuntu 18.04). Almost everything works as I expect it to work, but for the rules applied to DN lookup queries. Here is my understanding: DN ...
0
votes
0answers
22 views

How to stop a service before scheduled shutdown reboot?

I want to plan a shutdown of a ubuntu server as follows: shutdown -r 12:30 Problem: first I want to make sure that my webserver is shut down (eg to clear up some resources gracefully). Normally I'd ...
0
votes
1answer
60 views

Cron job to delete all files older than 7 days with extension in a specific folder - not working

I have a cron job that runs at midnight to delete all .txt files in a folder that are older than 7 days. I can see the job is running, but the files still exist in the folder. I'm new to cron, so I'd ...
0
votes
0answers
28 views

Anacron daily job is not running in ubuntu 16.04

I have the following script that I'm trying to run daily: $ cat /etc/cron.daily/my_backup_script #!/bin/sh pg_dump -h x.x.x.x -U myuser -d mydb -f /home/ubuntu/my_backup_dir/$(date '+%Y-%m-%dT%H-%M-%...
0
votes
2answers
49 views

How to configure NFSv4 mount so that owner of files created by root user on NFS client appear as 'root:root', rather than 'nobody:nogroup' on client?

I have an Ubuntu 16.04 server on which the Nextcloud snap is installed (nextcloud.lan), and an Ubuntu 16.04 NAS configured to serve files over NFSv4 (nas.lan). I would like to mount directory /var/...
1
vote
1answer
62 views

GCP Instance Connection Disruption

I am a novice GCP user trying to run 4 scripts in parallel on an a linux instance with 4 CPUs, 4 GPUs, 15 GB RAM, and 30 GB Disk space. However, a few minutes after initializing my scripts, both ...
0
votes
1answer
47 views

Enforce usage of VPN-provided DNS servers on Ubuntu 18.04

On a vanilla Ubuntu 18.04 headless server, the OpenVPN client is used to connect to a remote network in tap mode. The address, default gateway, DNS servers etc. are provided by a DHCP server on the ...
0
votes
0answers
58 views

no ssh outbound in an AWS Ubuntu instance

I have an EC2 Ubuntu instance A. Every time I run ssh user@someip from A command line I get "connection timeout" error. And I cannot find the auth log for user in server someip. To me it is apparent ...
-1
votes
1answer
56 views

NGINX Connection Too Slow

When I try to download files that are on my server the speed is very slow. Static files like .css .js take a long time to load. How can I test to see if the problem is the server connection or the ...
0
votes
0answers
26 views

PTP causes periodic time jumps

I have GigEVision cameras where I like to synchronize the cameras' internal clocks with a Ubuntu 16.04.5 host via PTP. Unfortunately, as soon as I enable the PTP synchronization, I get periodic jumps ...
1
vote
0answers
55 views

Can I delete events.out.tfevents.XXXXXXXXXX.computer_name files from TENSORFLOW training folder

I am training faster_rcnn_inception module for object detection on custom dataset. In training directory,we found folder called eval_0 and tensorflow generated events.out.tfevents.xxxxxx files. ...
0
votes
0answers
14 views

Which script is sending spam? [duplicate]

I have an ubuntu server in AWS, and recently I got my SES shutdown because of complaint rate, so I guess one of my webpages is sending spam, I have many sites in this server. I need to find from where ...
0
votes
1answer
128 views

PHP upgrade 5.6 to 7.2 result in segfault

I upgrade one of my Ubuntu 16.04.5 LTS server from PHP 5.6 to 7.2. I use Ondrej PPA : https://launchpad.net/~ondrej/+archive/ubuntu/php After the upgrade, I found some segmentation fault with ...
0
votes
0answers
36 views

Aptitude: security updates missing in interface mode

I've noticed that some security updates are not shown as such in the aptitude interface. $ aptitude search "?upgradable ?archive(security)" -F "%p %t %v %V" | awk '$2~/-security/' tzdata bionic-...
0
votes
0answers
22 views

TCP retransmissions inside vlan

I want to monitor a service from another machine. Both machines are connected to a VLAN. Both machines can ping and also establish connections to each other. So connectivity in general seems fine. ...
-1
votes
1answer
35 views

EC2 instance has apache2 server installed, but I can't connect to it

I have an EC2 instance running Ubuntu 18.04, with apache2 server. I am able to connect to it via PuTTY and via FileZilla and view the server. The server is running, there is the index.html file that'...
0
votes
0answers
24 views

Squid TCP_Denied

I'm trying to set up a basic proxy server. I've tried allowing all but to no avail. Following is my squid.conf file acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 ...