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
vote
0answers
18 views

How do I ensure basic linux server security [on hold]

As the title suggests I am a complete beginner to server administration and I have no idea what I'm doing. So a little backstory first, I recently developed a website and set it up for deployment ...
0
votes
1answer
16 views

How to open ports in amazon (AWS) Lightsail?

I try to open a port in my instance of AWS Lightsail to be able to raise an application in NodeJs. Enable the Firewall rules as seen in the image. enter image description here but when I run nmap -...
0
votes
0answers
13 views

Installing a package with Ansible and not starting the service [duplicate]

I have the following play snippet: 27 - name: ensure necessary packages are installed 28 apt: 29 state: present 30 name: 31 - apache2 32 - libapache2-mod-rpaf ...
0
votes
1answer
16 views

MySQL Error: Can't create thread to handle new connection(errno= 11)

I'm running Ubuntu 16.04.4 LTS on a hosted Virtual Server with a MySQL DB 5.7.23 and a Gunicorn web server, which is providing the web application with an API. Everything is running properly, however ...
0
votes
1answer
18 views

What services and ports are required for NFSv4?

I've been trying to find the definitive answer to this question, but I'm getting conflicting results due to various NFS versions out there. I've configured NFSv4 by following https://help.ubuntu.com/...
0
votes
1answer
18 views

Advice on Server Solution for small business? [duplicate]

We are a small business looking to change server and I am not the most knowledgeable in this field so I was hoping some of you had some suggestions or some knowledge and expertise that can at least ...
0
votes
1answer
12 views

Chrome not launching VMware Horizon in Ubuntu 18.04.2

I have a new installation of Ubuntu 18.04.2. I downloaded and installed VMware Horizon Client which has installed successfully. I need to log onto a remote server using a web-login to authenticate. ...
0
votes
1answer
13 views

Raspberrpi, Ubuntu [on hold]

I have just started using the raspberrypi. So I was facing a problem with my raspberrypi regarding remote host identification, this error used to pop-up every time I tried to boot my raspberry pi. So ...
1
vote
1answer
23 views

curl resolving invalid hostnames to own IP

When I curl an invalid domain, I get a response from my own webserver. Ubuntu 16.04.5, curl 7.47.0 For example: root@l ~ # curl -v foobar.x * Rebuilt URL to: foobar.x/ * Trying 148.X.X.X... * ...
1
vote
1answer
38 views

sysctl not sticking after reboot

Using Lubuntu 18.10 Cosmic Cuttlefish Most commands do stick. However Lynis has repeatedly demonstrated four sysctl parameters are not sticking on reboot. sysctl -p does successfully apply them ...
0
votes
2answers
15 views

Lost connection to main interface after brctl addif

I was setting up a server recently, and I was supposed to assign one of the public IP available for the server to a KVM guest. The server have the following setup: eno1 - main internet connection of ...
0
votes
0answers
12 views

Need help killing psuedo terminals

I have a ubuntu web server that uses a chron job to connected to a third party sftp, pull a file and disconnect. This was working for a few weeks and has stopped. I tried to manually SSH into the ...
0
votes
0answers
21 views

Setting up public IP address on CentOS 7

When configuring a LAMP server on CentOS 7, do I need to to setup first a public IP address before my website to be accessible on the browser? I already tried configuring the /etc/sysconfig/network-...
0
votes
0answers
13 views

Netplan How to setup auto DHCP and DNS

I'm trying to configure DHCP and DNS on Ubuntu Server 18.04 with Netplan but I have a hard time setting the DHCP on and Local DNS servers. I have found an example yaml file that I used to set a ...
-1
votes
0answers
16 views

VirtualBox windows 10 host to Ubuntu 18.04 guest host-only adap but no communication [on hold]

ipconfig from windows 10 host Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.56.1 Subnet Mask . . . . . . . . . . . : ...
1
vote
1answer
21 views

MySQL 8 on Ubuntu: what's the difference between /etc/mysql/conf.d/ and /etc/mysql/mysql.conf.d/?

As per title. In /etc/mysql/my.cnf I see: !includedir /etc/mysql/conf.d/ !includedir /etc/mysql/mysql.conf.d/ .cnf files from both location are loaded: why having two? Which one is the "right one" ...
0
votes
1answer
16 views

Ganglia - missing metrics for some of the servers

I've installed Ganglia on my Ubuntu 16.04 servers, recently. I basically followed the instructions here. The problem is, rrd files for sets of the metrics for some servers are missing. Most ...
3
votes
2answers
42 views

Reducing the verbosity of auditd, my minimal rules catch stuff they should not (apparmor)

My auditd rules and my needs are fairly simple, I want only to log root actions. # auditctl -l -a always,exit -S all -F euid=0 -F perm=x -F key=ROOT_ACTION That is the only rule, and it works: type=...
-1
votes
0answers
19 views

How are these ips same in iptables? [on hold]

123.30.60.0/24 123.30.60.0/* I found 24 means netmask 255.255.255.0 but can't understand 2 lines above have the same meaning. Please let me know this. Thank you.
-1
votes
1answer
54 views

Is someone able to sniff our corporate emails?

To put the long story short: we discovered someone is able to access some of our "secret" links we do send to our clients over email. The links are highly secured with hashes, extremely difficult to ...
0
votes
0answers
20 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
26 views

PHP performance benchmarking between Windows and Linux

I'm trying to look around for any reliable PHP performance benchmarking test between Windows Server vs Linux. To be specific, this is what I'm going after:- PHP 7.2 Windows Server 2012 Linux Ubuntu ...
0
votes
1answer
17 views

Configuring Lightsail bitnami vsftpd passive

I've spent a really long time on this and I had it working last night. Came to work this morning and it has stopped working (I am the only IT support and no changes were made by me). I have ...
0
votes
2answers
74 views

How are hackers getting into our server without brute-force? [duplicate]

I am a web developer and we have no one specialising in the wellbeing of the server or the network currently at our office. Usually I can sort many of the issues that arise with my basic knowledge but ...
0
votes
1answer
16 views

Aws Ubuntu access lost, while creating new user

I had created a new user ( disable password command) on my instance. while giving him access somehow i have edited file at etc/ssh/sshd_config at line 33 #AuthorizedKeysFile %h/.ssh/authorized_keys /...
0
votes
0answers
14 views

Failure to connect VM to Remote Desktop Connection

When I restart my Azure Ubuntu VM and then try to connect to it using Remote Desktop Connection, RDC shows the login screen and after passing the credentials it shows I am successfully logged as shown ...
0
votes
2answers
75 views

Unable to ping the remote user via ansible

I'm trying to connect my host machine which is of Ubuntu (ctrlnode is user) to remote machine which is of RHEL (rhelnode1 is user) on AWS and when I try to connect my a user (rhelnode1) on remote ...
0
votes
0answers
22 views

Stuck on config of Postfix & courier, got spams

I'm having issue to configure Postfix & Courier for multiple domain without being blocked.... I have 2 domains on my server and I setted an email server with Postfix & Courier... First, I've ...
0
votes
0answers
27 views

Domain redirects to wrong nginx vhost site

I have ubuntu 18.04 server with 2 dedicated ip addresses: eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 195.161.41.218 netmask 255.255.255.0 broadcast 195.161.41.255 ...
-1
votes
0answers
7 views

nginx not connecting with node server routes [duplicate]

I'm having trouble with setting up my digital ocean server with node. I have a simple node app with express routes. I'm using Nginx to connect with reverse proxy port 80 & 443. I've tried multiple ...
0
votes
0answers
29 views

Does Ubuntu 18/Linux respect the order of DNS servers?

Does Ubuntu/Debian (or Linux in general) respect the order of the DNS servers? Let's assume clean installation of Ubuntu 18.04 In Ubuntu 18, you can setup the DNS servers like this: Aka does it take ...
0
votes
0answers
12 views

Error Code: 1728. Cannot load from mysql.db. The table is probably corrupted

Whenever I try to do a DB query with a particular DB user (myuser) I get the following error: Access denied for user 'myuser'@'localhost' to database 'mydatabase' [1044] I decided to check the ...
0
votes
1answer
49 views

Postfix issue: Email not showing up

I'm being taught to use PostFix to make a personal, cross-domain mail service. I've been stuck on this for a while, but... here's what happens. In this case, the DNS and mail servers, as well as ...
0
votes
1answer
59 views
+200

Kickstart automatic partitioning

I'm using the following partman settings for automated installs of VMs for some years now: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-lvm/...
0
votes
1answer
37 views

Customize permissions for sftp under pureftpd

I have an Ubuntu Server 18.04.1 LTS running Pure-Ftpd (installed from ubuntu repos). I need to change file and directory permission to - respectively - 664 (default is 644) and 775 (this is default). ...
-1
votes
1answer
34 views

how to run a web server of EC2 on port 80/443

I have an application which can be reached by typing http://EC2 IP:3838/My_app. But I need a domain name rather than this address and so purchased a DNS from AWS and linked it to the EC2 IP. now I can ...
1
vote
1answer
48 views

how to force Nginx to override header?

I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text. I tried to override content type with below configuration but it didn't help. ...
0
votes
1answer
95 views

Apache2 segmentation fault errors after every midnight

I am seeing a strange error with my ubuntu dev machine. It is going on since almost a year. Meanwhile I have reinstalled ubuntu at every release (not just upgraded to the next release). Every day ...
4
votes
1answer
102 views

How do I expand the root's volume size?

I have Ubuntu Server 18.04 LTS running off a 16GB SanDisk USB pendrive in my server. From what I can remember, when I installed Ubuntu on there I had enabled LVM support. For some reason, when I ssh ...
1
vote
1answer
27 views

How do I figure out how my certbot is configured?

I need to change the domain on my server, which I've been using certbot to get certificates for successfully. I need to switch it to a different domain though. I did not set it up initially so I have ...
1
vote
2answers
28 views

Postfix - Connection Refused error

I'm trying to build send only mail server using postfix. I folowed this documentation from digital ocean When I try to send email, it gives below error. (I copied from /var/log/mail.log) lets say my ...
0
votes
0answers
3 views

/etc/hosts file overwritten in persistent live USB [migrated]

This page https://help.ubuntu.com/community/mkusb encourages to create persisten live bootable USB. So that's what I suggested to my class, when I had to suggest a way how they could enjoy Ubuntu ...
0
votes
0answers
17 views

Apache2 server - www-data user causes 100% CPU overload

I have a 100% CPU load caused by www-data various users.I traced the PID and the result is a repeating of this 3 lines of code : lock_gettime(CLOCK_MONOTONIC, {41414, 205227694}) = 0 rt_sigaction(...
2
votes
1answer
47 views

ZFS pool degraded with faulted disk, export and replace not working

I run into troubles after trying to add more disks to my Ubuntu server device. While being a total beginner I powered the server off, added two more disks and restarted the system only to find one of ...
0
votes
1answer
25 views

unable to get local issuer certificate

I have a SSL certificate that is valid for *.example.com. I have been able to set up this SSL certificate on IIS correctly for subdomain.example.com. But I'm having problems on ubuntu 16.04 server ...
-1
votes
1answer
20 views

Bind9 DNS does not work Ubuntu 18.04

I can't get my BIND9 server to work for internal name resolution. My clients always get an external IP back. I guess the internal fails and I get redirected out and someone has homenet.com for ...
1
vote
1answer
26 views

getting error from ubuntu command line when trying to access samba windows share

We configured Samba at our Ubuntu 18. But at Ubuntu cmd prompt, we type: smbclient //windowsIP/Users/myUserName -U myUserName ..and then get error: "NT_STATUS_BAD_NETWORK_NAME" However, ...
1
vote
1answer
16 views

Location of conf files for PostgreSQL 11 on Ubuntu 16?

Where are the configuration files located for PostgreSQL 11 on Ubuntu, specifically 16.04? Postgres Ubuntu packages normally store their configs in /etc/postgresql/<version>/main. However, I ...
0
votes
0answers
6 views

Upgrading Ubuntu 14.04 hosts to support Shibboleth SP 3

I've inherited a few Ubuntu 14.04 hosts which are configured with Shibboleth auth through Apache. They run rails/apache. The installed packages(1) on these hosts is libapache2-mod-shib2 along with a ...
0
votes
0answers
29 views

How to push a local DNS resolving entry to client when an OpenVPN connection established?

I am using OpenVPN-2.4.6 clients and an OpenVPN-2.4.5 server that resides an OpenWRT(18.06.01) router. The OVPN client connects to the server by a public DNS name of the server(i.e pubName.my.router),...