Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

how to use old MySQL data directory for a new MySQL installation

I have my Mysql data in a EBS volume in aws, I need to point my Mysql to point to that directory instead of /var/lib/mysql. These steps i followed by this doesnot change the datadir sudo systemctl ...
0
votes
1answer
17 views

How to check the existing MySQL server if Strong Password Encryption is enabled?

Around half a year ago I have installed the latest MySQL 8 on Ubuntu 18.04. wget -c https://dev.mysql.com/get/${MYSQL_8_file} dpkg -i ${MYSQL_8_file} apt update apt install -y mysql-server I tried ...
0
votes
0answers
7 views

Ubuntu 18 Samba 4 File Explorer object missing in Group Policy Editor

As I intended to make a default application association per the instruction on https://support.google.com/chrome/a/answer/7009292?hl=en which is effectively the same documentation as in MSDN, I have ...
0
votes
1answer
16 views

Ubuntu not mounting connected hard drive but shows using fdisk

I have hdd connected to my single board computer running ubuntu bionic . Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/...
0
votes
0answers
13 views

Unable to Route from VPN to Internet in Azure

Wireguard Server Ubuntu 18.04 Server (fully up to date as of 11/20/2019) WireGuard is installed and working (wg0/192.168.220.1/24) IP Forwarding is enabled on in the VM IP Address: 10.0.0.4 Azure ...
0
votes
0answers
16 views

cause of cause of “broken pipe” error [on hold]

I am working on 2 of my university Linux servers. they are identical machines. I am using them to execute some heavy multicore experiments. (the machines are 60 cores each) I am executing the same ...
0
votes
0answers
35 views

VPN client doesn't have internet connection

I'm using Ubuntu 18.04 LTS on AWS and I'm trying to setup split tunneling using commercial VPN (PIA). I'm unable to use their .opvn configuration out of the box because when I do so my SSH connection ...
0
votes
0answers
18 views

Why does Kong use netcat?

There is a Kong gateway for a few microservices. When I see the htop on Kong server, there is a nc -wl -u kong-hf.mashape.com [port] which uses 100% CPU of one core all the time. And this slowly ...
0
votes
0answers
24 views

Network packet loss on ubuntu on a specific network [on hold]

So I have a recurring issue that's been driving me up the walls for weeks. It only happens with my ubuntu (18.04 LTS) laptop on my home network. other devices on this network (windows 10 desktop, ...
0
votes
1answer
49 views

Get remote ip of the client connecting to OpenVpn server

I have setup a openvpn server, everything works fine. Now I am trying to log client-connect events. I am aware that there is client-connect directive in configuration file and each time a client ...
0
votes
0answers
25 views

Handshake fail. Configuring syslog-ng with TCP/TLS [on hold]

I'm trying to do the whole chain of actions to make syslog-ng working with TLS. I created my own CA using OpenSSL using this guide ################################## source s_tcp_tls { network(ip(...
1
vote
1answer
69 views

NTP time synchronization [on hold]

I have two Linux computers connected to each other via Ethernet crossover cable. No Internet Connection! How can I make the first computer always sync to the time of the second computer? I tried ...
-2
votes
1answer
107 views

Use router DHCP to set ubuntu hotspot IPs? [on hold]

I've got an ubuntu PC serving as an SSH server for multiple purposes, one of them being being able to reconfigure a minecraft server from my main pc, but that's beyond the point. My problem is, due to ...
1
vote
0answers
32 views

How to remove (or modify) ip6tnl0 and tunl0 interface from Ubuntu 16.04 running in Docker

I am currently running Ubuntu 16.04 in Docker and need to get rid of (or adjust) /sys/class/net/ip6tnl0 and /sys/class/net/tunl0. The reason is that I need to install software that crashes when those ...
1
vote
1answer
29 views

2 identical VPS (Ubuntu 18.04): Postfix - Alerts from Monit to Google mail is not working

Let's start from beginning. I have a two identical VPS servers with Ubuntu 18.04 OS and Monit installed on both. I configured mailserver on the monit (for sending alerts) configuration as a localhost ...
-1
votes
0answers
25 views

Hosting a game server through a reverse proxy, (Via SSH, VPN, etc) [closed]

I have a server hosted on my local network, and for reasons beyond my control, I can't port forward. I have a VPS, but its not powerful enough to run the server. I was wondering if there was a way to ...
0
votes
2answers
48 views

How to protect against MITM attack while installing linux packages

Scenario : I recently came across this issue using lubuntu. When I tried upgrading using terminal "apt upgrade", I got an error like you are using http which is not secure, so the default action was ...
0
votes
0answers
16 views

wget: unable to resolve host in ubuntu. Starts working after a reboot

we have an API which has been exposed by another team in the company (say, api.internal.company.com). This API is only accessible from internal network, and is not accessible via. the internet. ...
1
vote
1answer
32 views

Ubuntu VPS unresponsive and garbled console screen

My Ubuntu VPS sometimes becomes unresponsive and inaccessible via SSH. When I use the "Emergency Console" provided by Rackspace I see a garbled screen like this: A hard reboot seems to be the only ...
0
votes
2answers
48 views

I don't know how to list the real users [closed]

I have a problem in listing all the real users. A real user is a user with a valid login shell. I know that the valid shells are found in etc/shells but i don't know how to list just the users that ...
1
vote
1answer
94 views

Docker / mySQL / MailCow [2002: Connection refused]

I am confronted with the following problem: 2002: Connection refused (mysql) Information about my cloudserver: 1 vCPU / 2 GB RAM / 20 GB NVMe SSD NO SWAP in standard-image from Hetzner (Provider) ...
0
votes
0answers
46 views

Ubuntu Server 18.04 - Can’t ping to server from another computer [closed]

I made a VMWare virtual machine on an old laptop I am currently using as a server. I set up Ubuntu Server 18.04 LTS, set up OpenSSH, and UFW. I can ping to my computer and to my router, however, when ...
0
votes
1answer
72 views

SMTP error '554 5.7.1 Relay access denied' with using postfix

I have been trying to setup a mail server on my ubuntu vServer for the last couple of days. I use postfix with mySQL and Courier. For webmail, I use roundcube. I can receive emails to my address, but ...
0
votes
1answer
41 views

Ubuntu VPS CPUs sometimes go wild with a process I don't recognize [duplicate]

My VPS sometimes goes wild because of /tmp/.X17-unix/.rsync/c/lib/64/tsm --library-path /tmp/.X17-unix/.rsync/c/lib/64/ /tmp/.X17-unix/.rsync/c/tsm64 -t 302 -f 1 -s 8 -S 8 -p 0 -d 1 Any idea ...
0
votes
1answer
53 views

Migrating old aws instance to current generation ec2 instance

I am trying to change my instance type from old generation which uses paravirtual virtualization to hvm (current generation instance), I am following this forum to do stuff, from aws forums This ...
-1
votes
1answer
43 views

Is there a way to use two separate mail hostname to send and recieve? [closed]

I'm dealing with my own email server and i'm not allow to send emails out my same network, i mean, i can't send emails to gmail, hotmail, etc. So, i was trying to find some way to use an external ...
-2
votes
3answers
531 views

Best solution for big logs [closed]

I curios if exsist some other way for huge logs instead of logrotate, I not love logrotate because for each run need restart apache and make little downtime, my problem is because my logs grow every ...
0
votes
1answer
16 views

Putting vsftpd homes on Windows AD share

I have external clients who upload/download files via vsftpd FTP on Ubuntu 18.04. They use linux accounts(not virtual), are chrooted and only need (and do) see under their own directories. Now, their ...
0
votes
0answers
24 views

OpenVPN is only able to connect to 3 ports: 80, 8080 and 443

I installed OpenVPN 2.3.7 and connect to a server via SSH. The config file of OpenVPN uses UDP port 1195. Then I have installed nginx and tried to connect to different ports. I realized that I am only ...
0
votes
1answer
29 views

Why proxy don't work for local network?

We have a stage server running in local network, that could be accessed from the internet. I want to test gdpr, and set proxy in browser, so ip checker sites shows my new ip. But when I access our ...
0
votes
0answers
19 views

Cannot send e-mail after configuration of postfix

After I had follow this tutorial and configured postfix o my server, when I try send a e-mail with: echo "test email" | sendmail <my e-mail> I got this message on the '/var/log/mail.og' file: ...
1
vote
1answer
34 views

IP address showing on my web server together with the domain [closed]

Recently I installed VESTACP and nginx, added domain name and everything is fine, I can access my website with domain but also when I type an IP address from server (http://11.11.11.11) I can access ...
0
votes
0answers
114 views

iptables INPUT rules work but FORWARD does not

Nmap of the network:- Starting Nmap 7.60 ( https://nmap.org ) at 2019-11-09 18:03 IST Nmap scan report for 192.168.56.1 Host is up (0.0011s latency). Nmap scan report for 192.168.56.101 Host is up (0....
18
votes
2answers
1k views

Invalid time zone 'UTC'

Listing the available timezones shows 'UTC' $ timedatectl list-timezones UTC Setting it to UTC fails claiming UTC is "invalid". $ timedatectl set-timezone UTC Failed to set time zone: Invalid time ...
2
votes
0answers
97 views

gsutil rsync fails on Ubuntu with UnicodeDecodeError

I'm trying to rsync between google cloud storage and amazon s3. On my local machine (MacOS) this command works gsutil rsync -d -r gs://mira-internal/data/exports/20191108 s3://mira-temp/raw/20191108 ...
0
votes
1answer
105 views

unable to update the MariaDB upgrade to work

Have run apt update and apt upgrade and this are the errors for mariadb Ign:1 http://mariadb.mirror.liquidtelecom.com/repo/10.4/ubuntu bionic/main amd64 mysql-common all 1:10.4.9+maria~bionic Ign:2 ...
0
votes
0answers
25 views

How to prevent Swarm nodes from freezing?

I run 3 Swarm nodes, one on-premises 2-core manager, and two smaller worker ones (2-core) on AWS. Today I experienced a DNS issue, and the manager lost connection to the workers. After the manager ...
0
votes
0answers
42 views

AWS EC2 Ubuntu 18.04.3 server can ping but cannot connect to apt use wget

Today i woke up and SSH'd into my EC2 server running Ubuntu 18.04.3 and noticed that I was unable to update any packages. Running sudo apt update would provide information like: Err:1 http://us-west-...
0
votes
0answers
55 views

Synchronization time after the Suspend / Power on the VM

I have a problem with synchronize time after the Suspend and Power On, after a while. For show purposes I prepared the following test: Lets say I have 01:43 Local Time, 21:43 Universal/RTC Time. ...
0
votes
2answers
47 views

Mount Azure datalake storage folder as a folder in linux ubuntu

I want to mount an Azure Datalake Folder as a Ubuntu folder. The link shows how to create 'system managed entities' to connect a Linux machine to ADLS, however, it shows 'REST'ful way of connecting to ...
0
votes
1answer
75 views

Hundreds of thousands hits from Asia coming from different IPs (not a crawler?)

I have a prestashop web hosted on Digitalocean (ubuntu 18 / lamp) and since yesterday the server CPU an Memory is always at 100% even when my site don't have more than 300 visits a day. I was ...
1
vote
1answer
49 views

Ubuntu: /dev/sdb1 is apparently in use by the system; will not make a filesystem here

I get this error when I try to format dev/sdb1: $ mkfs.ext4 -L data /dev/sdb1 mke2fs 1.42.13 (17-May-2015) /dev/sdb1 is apparently in use by the system; will not make a filesystem here! where /...
-1
votes
3answers
67 views

How do I host a subdomain?

I'm not sure why I've had so much difficulty finding an easy answer to a fairly common task. I'm sure there are easy answers, and I probably haven't been asking the right questions. I'm obviously not ...
1
vote
0answers
30 views

Not able to login to AWS instance using ssh

I created new EC2 instance (Ubuntu). It was working well until yesterday. Then I did a stop and start of the instance from the console. After which I'm not able to ssh using port 22. Right now I'm ...
0
votes
0answers
11 views

SFTP randomly closes out customer SFTP connection from IBM Sterling

I'm at a bit of loss in troubleshooting this issue. We run an Ubuntu 14 server which functions as an SFTP server. OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.10, OpenSSL 1.0.1f 6 Jan 2014 The customer gets ...
0
votes
0answers
9 views

Prevent tomcat 9 from writing application logs to syslog

I have several applications that I've recently updated so that I can run them using Docker or by deploying them in the tomcat9 application server. To get the logs in Docker, I've enabled logging from ...
0
votes
0answers
23 views

What means “Invalid cross-device link” error message inside a Jenkins Docker Pipeline?

I'm trying to setup the software tests inside Jenkins for a legacy project at work. In order to run those tests i need to setup a Docker container based on an old ruby version having several packages ...
2
votes
0answers
46 views

Why Does “yes” have drastically different performance on different ditros? [closed]

I tested yes using pv with following command on two different distros : yes | pv > /dev/null Results : Ubuntu 16.04 : 5.83GiB/s Centos 7.x : 100MiB/s Here is my Specs: 1st distro : Ubuntu ...
1
vote
0answers
33 views

How do I setup a permanent background VPN connection for Ubuntu/ Apache2 server?

We are building PHP backend application on a Ubuntu 18.04 server running Apache 2.4. The application needs to connect to a secure external server than can only be connected via a VPN. The server is ...
0
votes
0answers
33 views

Can't run “mysqld_safe --skip-grant-tables &” socket file at /run/mysqld/ dissapears when I stop mysql service, there for mysqld_safe can't find it

Trying to reset root password following different tutorials. First I stop the service, then I get stuck here: mysqld_safe --skip-grant-tables & returns 2019-11-03T00:29:07.330005Z mysqld_safe ...