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
26 views

mysql high CPU usage

I have 2 servesr both on a LAMP stack. Two servers running almost the same PHP code. And on the second server i have troubles with loading time, where ttfb is too high, sometimes it is up to 17 sec. ...
0
votes
0answers
7 views

running a second odoo instance on ubuntu gives Peer authentication failed for user error in database

i am running an odoo instance on port 8069 with database user odoo. Now i am trying to run another instance on a different port. So i created a new postgres user named project .Below is my odoo conf ...
0
votes
0answers
13 views

how to make imideat change in file format disk of temporary of azure agent without reboot?

i tried edit in /etc/waagent.conf this lines : ResourceDisk.MountPoint=/tempo # instead of /mnt ResourceDisk.Format=y # isntead of n and even removed the line from /etc/fstab /dev/disk/cloud/...
0
votes
0answers
12 views

Ossec generating high read iops

After installing the ossec on ubuntu server, the read iops on the server goes high. Which affects the running php application to go down. Can anyone help, how to avoid this read iops issue on disk. ...
0
votes
0answers
12 views

java.nio.file.FileSystemException: Read-only file system

I have a tomcat webapp that generates a thumbnail from an image and wants to save it to a writable location (chmod 777). But for some reason I always get java.nio.file.FileSystemException errors and ...
0
votes
0answers
19 views

Sudo stop working when I change server using ssh

I have 3 servers and I have to connect one of them to reach the others 2. So I change beetwen servers very often with 'exit' and ssh. I copy the ssh id to avoid the password when I have to connect to ...
-1
votes
0answers
10 views

The Studio servers encountered an error (open edX)? [on hold]

I have install Open edX platform in ubuntu server 16.04 LTS on Azure and i am getting error on deleting (Grading) unable to save my work on CMS, Please can anyone help me on thisenter image ...
0
votes
0answers
15 views

Disallow apt to install local deb packages

I have to administer a bunch ubuntu clients, where the users are required not to get full sudo rights. The requirements of each user are rather specific, so I have to install packages for each of ...
0
votes
0answers
19 views

Windows .NET application can't connect after Ubuntu 16.04 upgrade of linux-image to 4.4.0-151

After upgrading Ubuntu 16.04 kernel to linux-image-4.4.0-151-generic some of our clients stopped being able to connect with TCP. Specifically using SSH.NET library from Windows servers with SFTP ...
0
votes
1answer
13 views

gpg-agent: fatal error in syslog on ssh login

In the syslog for my Ubuntu server, there is an error that appears whenever I log in using an SSH user account. systemd[27299]: usr/bin/gpg-agent failed (exitcode=2): General error systemd[27299]: ...
1
vote
0answers
15 views

Odd Apache2 Zombie Mode and Failure

For past few day's I been having some odd issues. This all starter this past Sunday, as per the system logs around 4:00 AM on Sunday morning. I noticed inability to connect to my site and all ...
0
votes
0answers
14 views

Boot Failed Error on Dell PowerEdge Ubuntu Server

After crash of our server We decided to reinstall everything from scratch. However, After reinstalling Ubuntu 18.04 either of these three things are happening. gets stuck at "Boot failed: press any ...
0
votes
0answers
11 views

Can and Should Apache Syncope be Installed and Used without Maven / or a better IAM alternative [on hold]

I'm running Ubuntu 18.04 server on a linode. I need an IAM Solution that will play nice with the other tools I intend to use (namely Vagrant, Jenkins [NOT Maven], and Ansible). I'm asking a ...
0
votes
0answers
11 views

Cloud formation shell command not working in Custom AMI Image

I have Customize AMI Image in AWS Account there i want to run cloudformation script. but below mention UserData part not executing in EC2. Same script running with official Ubuntu AMI image ami-...
1
vote
0answers
37 views

crontab error “lstat: No such file or directory”, after quit sudo crontab -e, without cron job modification

I checked list of my cronjobs, using this command: $ sudo crontab -e After finished, I quit using :q vim command. :q After that, vi/vim editor successfully exit, but this error occurred: lstat: ...
0
votes
1answer
16 views

Samba winbind and smbd failing on boot on Ubuntu 18.04

S.O. Ubuntu 18.04.2 Samba: 4.7.6-Ubuntu I have one samba ad dc server (dc1.jorla.club) running and working properly. There is also a second server (samba.jorla.club) meant to work as a file share ...
1
vote
1answer
18 views

Unable to upload .p12 certificate from local Mac to remote parse server on AWS ec2 - bitnami

I am well aware of how to upload .p12 cert for iOS push notifications - via Heroku or Back4App. However my Parse server is hosted on AWS ec2 instance with Bitnami image. Hence I can only interact with ...
0
votes
0answers
10 views

pam_mkhomedir silently failing in Ubuntu 18

I'm attempting to set up a workstation Ubuntu machine for use in our domain. Everything we need is working quite well (sssd is configured and the net ads join worked fine). I can authenticate using ...
0
votes
0answers
11 views

Microk8s keeps evicting pods

I have just installed Microk8s through Ubuntu directly. Interestingly, when I create a deployment, the pods appear to get evicted. Here's the output. What could be causing this? Let me know if you ...
1
vote
0answers
10 views

Apache Virtual Host incorrect document root

I'm trying to set up two websites on the same IP using virtual hosts on Apache/Ubuntu. If this info is relevant, SITE 1 is using https while SITE 2 only http. My issue is that SITE 2 will load the ...
3
votes
2answers
69 views

Bind master doesn't sync to slave

I got handed an old Bind system at work, and the zones on the master doesn't sync to the slave. I'm a noob at bind, and could really use the help. I would like all changes made on the MASTER to sync ...
-1
votes
0answers
43 views

opening ports in Hertzner server

We have ubuntu installed on Hertzner dedicated server. We tried to open port using Hertzner own firewall as well as using ufw. If we use nc -l 5927 and check using netstat, it shows 5927 is listening ....
0
votes
2answers
55 views

Having Postgres databases to be physically stored in a subfolder of the Ubuntu user's home directory

I am currently setting up an Ubuntu 18.04 server, where many different users are given SSH access - including access to the server's Postgres SQL and the ability to create their own Postgres databases....
0
votes
0answers
10 views

After clearing and re-adding iptables rules, docker container cannot access other container on other physical machine untill both are rebooted

Starting situation: 2 physical machines with 2 network cards each, Ubuntu Server and zookeeper in docker containers. Iptables to make sure only the correct ports on the correct interfaces are ...
1
vote
1answer
34 views

Failed to start Raise network interfaces. Hyper-V Ubuntu Server

I run a Ubuntu virtual machine inside Hyper-V. During the launch, an error appears that failed to start networking. osis@projmngsys:~$ sudo systemctl status networking ● networking.service - Raise ...
2
votes
1answer
37 views

Force “www” only in cases other than subdomain (nginx)

I have a problem with Nginx (Ubuntu 18), I need to force the "www." in dynamic domains, it is neither multiple domain, it is really dynamic, it can be any one that point to the server. Currently, I'm ...
0
votes
0answers
13 views

Ubuntu Postfix refuses SMTP connection after 12th time of successful connecting and sending email [closed]

I am sending emails through Postfix which is acting as a relay server - which is working totally fine. However, I can send maximal 120 emails in 60 seconds. After that I have to wait at least for a ...
0
votes
0answers
33 views

Ubunutu 18.04 Server with GUI, purple screen without login prompt [closed]

Few days back I had updated our Ubuntu 18.04 Server running Apache and Postix using sudo apt-get update I accidentally shut down the server during the update process. When I restarted the server, ...
0
votes
0answers
25 views

Kvm Guest Vm Network Unreachable

in my guest vm i can easily update and download as i want but if ping it says Request timed out after that i installed httpd (apache) in centos 7 port 80 unreachable in trace C:\Users\problem>...
0
votes
1answer
20 views

Port-forwarding iptables rule

I have not used iptables before aside from following pre-made instructions, so I am expecting that I've overlooked something basic! I've applied the below rule, but when trying to look it up it is ...
0
votes
1answer
13 views

Root password stopped working after upgrade - Ubuntu

I have an old development server I'm reviving. I'm a medium weak user - I can generally make things work, but it's been a few years and I'm pretty rusty. Everything is working mostly - I'm using xfce ...
0
votes
1answer
24 views

Do outbound TCP connections prevent port binding for listening?

I'm running an application that is trying to listen on port 34002. When it tries to do so, it gets the error: Address already in use When I use lsof to find the culprit, I find that it's an ...
0
votes
0answers
13 views

How to change modification dates uptill a certain date?

I want to copy the modification dates from my backup to my newly created server (forgot to specify the -p option on cp). As I changed files since I made the copy I only want to have the modification ...
0
votes
0answers
36 views

Some user from some networks cannot connect to my webserver… and I cannot understand why

After a huge ddos attack we move our webserver behind a CDN. Now we are returning to the original situation, and we have an issue: some user cannot access to the website. One of my collaborator can ...
0
votes
0answers
11 views

Keepalived Failover Not Working

I am using Keepalived (v1.2.20) for HAProxy. There are two servers, a Master and a Slave. The failover works fine and the floating IP switches to the slave when the HAProxy service in the Master fails ...
0
votes
1answer
49 views

Ubuntu 18.04 Permissions

I have multiple websites hosted on my server. The default user for apache is www-data. For the different websites I have used different folders. Use for example user gary. When I try to write log ...
0
votes
2answers
28 views

Can't enter directory despite correct permissions

I have a directory (Owned by nobody due to it being a part of a Docker bind mount, combined with user namespace remapping.) that I need to enter. This is its relevant ls -la output: drwxrwxr-x 2 ...
0
votes
0answers
26 views

Cant get a bridge ubuntu

Trying to set up kvm with some vms. I can ssh to my server, then ssh to the vm's it holds. I can ping the network from my vm. I cant ssh directly to my vm from my laptop. I have narrowed down the ...
0
votes
0answers
32 views

How to configure, manage and automatically update application built on GCP on a network of 50 odd Ubuntu machines?

I want to manage a network of Ubuntu machines from GCP. These physical devices are at a different location. I will develop and build software using CI/CD with bitbucket, Jenkins, Maven, and Docker on ...
0
votes
1answer
22 views

Apache2 default page shows without http://, https:// or www. prefix

I am running a django webapp on a ubuntu 19.04 server with apache2. I have installed a SSL certificate with certbot and I'm unable to direct traffic from domainname.com to https://www.domainname.com. ...
1
vote
1answer
46 views

How can I find out list of ip address establishing contact to my EC2 port 80 which is behind a load balancer?

I am trying to find the IP addresses that are establishing connection with my EC2 instance behind a load balancer. When I use netstat -tn 2>/dev/null it only provides me the load balancer IP ...
0
votes
0answers
37 views

Allow php to run shell script with sudo permission

command php -v is working when I execute simple shell_exec('./script.sh'); but when I use sudo it doesn't work without sudo service stop command is not working. var_dump(shell_exec('sudo bash ./...
0
votes
1answer
38 views

What's the process to use a cellular wifi hotspot as an ISP?

I'm currently waiting out an ISP outage. I have a Radware box that has static rules to push clients to the secondary ISP should the primary ISP go down. My secondary is the one that's down, so nothing ...
0
votes
1answer
20 views

Ubuntu samba restore idmap database

so i ran into a disaster and have to get the server up and running on monday morning :D my ubuntu server setup with samba / winbind and joined to active directory domain controller holds the shared ...
0
votes
0answers
19 views

Nginx service running, but nginx package not installed

I've been trying to reload nginx with service nginx reload but I keep getting a [fail]. I can't seem to use nginx -t as it says nginx is not installed. I have also tried running the command from ...
0
votes
0answers
37 views

How to print across subnets with CUPS?

I am running Ubuntu Server 18.04. I am printing from a Non-AirPrint Printer to iPads, which is why im using cups. I can find the printer if I'm on the same vlan as the server. I need to be able to ...
0
votes
0answers
49 views

Virtualized Ubuntu - I can SSH to one interface, but not the other

I've recently spun up a new Ubuntu 18.04 virtual machine, using image file ubuntu-18.04-server-cloudimg-amd64.img. When the VM came up, there was already an ens3 interface, and my KVM host assigned a ...
0
votes
0answers
40 views

How to add more than 32 routes to isc-dhcp-server and separate them to 2 fields?

Is there any way to add long list routes to server? Actually now I can add only 32 routes because we have only 1 octet for them. After adding more than 32 routes I received "Malformed packet" by ...
1
vote
2answers
283 views

Exim - How to reject mail to RCPT ${run

In reference to the recently publicized Exim vulnerability CVE-2019-10149, I am running supposedly patched Exim v. 4.90_1 (built June 4th, 2019) on Ubuntu 18.04.2 LTS. Although it is supposedly ...
0
votes
0answers
28 views

HP iLO CPQCIDRV not found when module is loaded

I'm trying to connect to the iLO interface on my HP ProLiant Server. I'm running Ubuntu 18.04 LTS I've been following instructions including https://downloads.linux.hpe.com/SDR/project/mcp/ https://...