Questions tagged [ubuntu]

GENERAL UBUNTU SUPPORT IS OFF-TOPIC. Support questions may be asked on https://askubuntu.com/. Ubuntu is a free desktop and server operating system based on Debian GNU/Linux. Note that this is for programming questions specific to Ubuntu and http://askubuntu.com is dedicated to answering general Ubuntu questions.

0
votes
0answers
13 views

Conda R: devtools::install_github() fails for packages on Ubuntu VM run on Windows

I am trying to use the install_github command from the devtools package. It works fine on my Windows 10 computer, but I can't get it to work on my Ubuntu VM. For example, I could try: ...
0
votes
0answers
6 views

Error when running localectl set-locale on Ubuntu

I have this in a Dockerfile based on an Ubuntu image: RUN apt-get install -y systemd RUN localectl set-locale LANG=en_GB.utf8 but I get this error when running docker build: Step 67/94 : RUN ...
0
votes
1answer
5 views

Javafx (openjfx-11) does not work in Netbeans 11. What should I do?

So, My operating system is Ubuntu 18.04, and I have downloaded Netbeans 11.0. I have also installed openjdk-11, and openjfx-11, so these are all to be found on my computer. My problem is, when I want ...
0
votes
0answers
11 views

Docker service starts in LXC but cannot execute commands

I have a software application that creates LinuX Containers as virtual hosts. In these host(s), I want to start the docker service and run it. So I initialize the lxc and open up a terminal. I ...
0
votes
0answers
3 views

Trying to “make uninstall” redis-4.0.10 after to had “make install” redis-5.0.5 in Ubuntu

I have Windows 10 (Home) and I have installed Ubuntu 18.04 lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: ...
0
votes
0answers
13 views

Mysql Server does not require password to access and edit databases

Currently running Ubuntu 18.04.2 and have a freshly installed MySQL server 5.7.26-0ubuntu0.18.04.1 running on my server. My problem is that when I connect to mysql through mysql -u root -p the ...
0
votes
0answers
10 views

Elasticsearch fails to start with 'permissions read' error

I have a symlink at /etc/elasticsearch/analysis that points to a mounted drive at /elasticdata/fileshare/analysis on Ubuntu 16.04 LTS Azure VM. When I try and start elasticsearch I am getting the ...
0
votes
1answer
19 views

Docker image that has a full-featured Linux install [on hold]

I'm a Docker newbie, and I know that this way that I use Docker isn't standard. I have a Windows 7 machine and I want a quick Linux VM to do some Linux experiments. I know I can use Virtualbox, but I ...
0
votes
1answer
9 views

How to update/upgrade postman in linux [on hold]

Solutions "sudo snap switch --channel=candidate postman" "sudo snap refresh postman"
0
votes
0answers
28 views

Post method not work properly in different server

I use Laravel. This is the code $client = new \GuzzleHttp\Client(); $request = $client->post($urls['payment_generate'], [ 'form_params' => [ 'ClientID' => 'client_id', '...
0
votes
1answer
13 views

How to access a remote MySQL database from another Ubuntu server?

On server 1 (lets call it 1.1.1.1 , I have Wordpress installed, which has its own MySQL database. On server 2 (lets call it 2.2.2.2) , I have only MySQL on Ubuntu, with PhpMyAdmin installed. I am ...
0
votes
0answers
7 views

Why does the same bot.datetime configuration give different results on different machines?

I have a piece of nodejs code in a telegram bot on a testing and a production machine that prints the current datetime: var old = new Date(meetings[index].date); bot.date_time_formater.format(old) I ...
0
votes
1answer
11 views

Cron job (python script) not writing json file

Ubuntu machine 18.04 running on AWS EC2. I have a python script that polls an API and writes the results into a json file in the same directory. I have set up a cron job that runs it every 5 minutes. ...
0
votes
2answers
23 views

Killall -9 inside docker?

Let's say I have 2 dockers, dockerA and dockerB, each running an instance of program1. If I perform killall -9 program1 inside dockerA, what happens to the program running inside dockerB? Does it ...
-1
votes
0answers
11 views

Setup a load balancing in front of 2 https website

I'm setting up a Load Balancing Server 10.0.0.1 in front of 2 web servers. My web servers are running on secure mode at port 8443. (https://10.0.0.2:8443/login/ and https://10.0.0.3:8443/login/) So I ...
1
vote
1answer
13 views

Python playsound works in IDLE but gives “no module called gi” error in Thonny; mixed result in Ubuntu terminal

I was trying to use the playsound function from the playsound module in python 3. I obtained an mp3 file of a fire alarm sound from http://soundbible.com/1656-House-Fire-Alarm.html to test and saved ...
0
votes
0answers
14 views

Why can I not connect to my socket.io server?

I have a socket.io server running on an alpine linux docker image. I can connect to the socket on port 8080 via an html client, but if my Android or iOS apps try to connect they fail at the handshake. ...
2
votes
1answer
34 views

C Ring Buffer Shared Memory Semaphore ReadPointer WritePointer Not Right

I want to build a File Copier using Reader-Writer Synchronization Paradigm. The Writer initializes the both of the Mutexes. The FullMutex is denoting how many Buffers are available to Write and the ...
1
vote
1answer
19 views

Azure File Share Owner/Group Permissions Revert On VM Reboot

I am mounting an Azure File Share to /elasticdata/azshare on my Ubuntu 16.04 LTS virtual machine. I mount the drive using the following script: sudo mkdir /elasticdata/fileshare if [ ! -d "/etc/...
0
votes
1answer
21 views

Cannot open a python file in Ubuntu Terminal for Windows 10

I'd like to open a python file (main.py) in my Ubuntu terminal for windows 10, how would I go about doing that? I've tried simply opening terminal and entering "python main.py" or "python3 main.py" ...
0
votes
0answers
22 views

C Reader Writer Mutexes for a Copying a File using Shared Memory and Ring Buffer

I want to build a File Copier using Reader-Writer Synchronization Paradigm. The Writer initializes the both of the Mutexes. The FullMutex is denoting how many Buffers are available to Write and the ...
-1
votes
0answers
23 views

How to recover my all my 5 hours back data that was lost after snapshot restore Ubuntu 18.04 Server [on hold]

I am using Ubuntu 18.04 LTS server. I have lost all my current works when i restore snapshot. Now how i can recover my all my 5 hours back data that was lost after snapshot restore? Thanks
0
votes
0answers
10 views

Difference between /etc/python and /usr/local/lib/python as root on Ubuntu

I thought pip3 would install python in /usr/local/lib/pythonX but I also see /etc/pythonX, what's the difference between the two?
0
votes
0answers
11 views

Debian 9/Ubuntu: Which repository sources can I add to sources.list in order to get more up-to-date packages?

(I've already run apt-get update.) I installed php from the default Debian repositories, but found that it's only version 7.0. This is now 4 years old, from 2015... Last year, I had been developing ...
0
votes
1answer
15 views

How to combine two ffmpeg commands - adding blur bar and adding logo and subtitle?

I run the following two ffmpeg command lines to create videos with blur bar, logo and subtitle. Adding blur bars ffmpeg -i input.mkv -lavfi "[0:v]scale=iw:iw*3/4,boxblur=luma_radius=min(h\,w)/40:...
0
votes
2answers
24 views

Vim: No write since last change, even though I changed the file [duplicate]

I'm trying to set up a file on my ubuntu machine, but when I try to change the contents before saving the file I've just created, vim returns the error: No write since last change. I've created the ...
2
votes
0answers
19 views

The site-packages folder exists for python2 but not python3

As the root user I see: root@5d6f29f1d4e9:/usr/local/lib/python2.7# ls -a . .. dist-packages site-packages root@5d6f29f1d4e9:/usr/local/lib/python3.6# ls -a . .. dist-packages and when I run ...
-2
votes
1answer
21 views

How to get Apache and MySQL logs in PHP

I would like to get Apache and MySQL logs in my PHP script like: echo(file_get_contents('/var/log/apache2/error.log')); echo(file_get_contents('/var/log/mysql/error.log')); and clear after that: ...
0
votes
0answers
12 views

On EC2 how to chown / chmod .config/git files in /home/ubuntu [duplicate]

I am logged into an EC2 Ubuntu instance as the ubuntu user so my user home is just /home/ubuntu. Whenever I run git commands on the ec2 server I get errors like: warning: unable to access '/home/...
0
votes
0answers
13 views

Jetson TX2 multicast UDP stream with gstreamer

I'm trying to make a Jetson TX2 with Ubuntu 18.04 stream its CSI input encoded in H264 to UDP multicast with gstreamer. I've gone through (like) whole internet and tried all the codes and I'm unable ...
0
votes
0answers
18 views

How can I debug GNU C Library functions like mq_open returns error when called?

I have the following problem: I have ported a commercial Modbus slave stack for Linux in my Qt5.9.6 with ARM Cross-Toolchain in Ubuntu 16.04 Virtual Machine. The Modbus slave stack has a pure C source ...
-2
votes
1answer
23 views

What is the equivalent of Mac's cmd + L in Ubuntu? [on hold]

In a mac, Cmd + K clears all output and removes the scroll buffer as well. This is somewhat similar to Ctrl + L in Ubuntu. However another command that I very frequently use in Mac is Cmd + L. It ...
-1
votes
0answers
10 views

Need help setting full permissions for Geckdriver

I am trying to set full permissions for my geckodriver. I am using ubuntu 18.04 running on python 3.6. I have tried to set it by using chmod 777 but it still looks like this. Any idea on how to set ...
0
votes
0answers
9 views

Can't uninstall mysql-server because : Script SACSrv is broken

I want to install maven on my computer but when I start the installation, an error occurs concerning mysql-server. Since I don't need mysql-server on my computer, I decide to uninstall it but I face ...
-1
votes
0answers
14 views

How to disable Vagrant automatic SSH authentication?

I have created an Ubuntu vagrant box that requires users to log in to be able to access the VM environment. When I run 'vagrant up' everything runs smoothly until the user is asked to log in onto the ...
0
votes
0answers
11 views

Can bazel built debs be uploaded to PPAs?

Using bazel's built in pkg_deb rule, I've created a debian package. I'd like to upload this deb file to my PPA, but I have found that to be challenging. As far as I can tell, bazel creates "binary ...
0
votes
1answer
29 views

Calling rsync in bash from Windows cmd

I am trying to run rsync from a batch file. The command is SET CMD="rsync -P -rptz --delete -e 'ssh -i /root/.ssh/CERTIFICATE.pem' SOURCE_ADDRESS /mnt/c/Users/MYNAME/IdeaProjects/PROJECT/SUBFOLDER/...
0
votes
0answers
38 views

Failed to open stream: FTP server reports 550 Could not get file size. Function File() (Possible FTP problem)

Failed to open stream: FTP server reports 550 Could not get file size. Function: file() FTP INFO / Login details are Correct php_fileinfo extension is Enabled write_enable is putted on YES on ...
-1
votes
1answer
25 views

How to execute shell script with sudo from java backend?

I can't figure out how to execute a command like sudo some.sh from a java backend. The sudo is pwdless. I tried with exec() and with builder without any luck (see below). If i try passing exec("sudo ...
0
votes
0answers
10 views

Ubuntu 16.4: Every Code Editor Close Immediatly After Opening It

I'm new to Ubuntu 16.4, i use sublime as my code editor, i don't know what happened but when i open sublime it loads on left navebar and close after 4-5 seconds, i installed other code editors e.g ...
1
vote
1answer
15 views

How to retrieve hrSWRuntable using snmp in Ubuntu?

I just installed snmp on my machine using apt-get install snmp I want to retrieve the hrSWRuntable so I used this command snmptable -v2c -c public 104.236.166.95 hrSWRunTable but i recieved this ...
1
vote
0answers
16 views

Android Studio uses the first keyboard layout for shortcuts hotkeys

I have multiple keyboard layouts defined for my OS. Two of them are English Querty and Dvorak. The problem that I have is that the shortcut keys of Android Studio, always work with the first layout, ...
0
votes
0answers
13 views

How can I fix “broken-pipe error” while trying to insert data to Fuseki db?

I get this error on the log while trying to insert data to Fuseki db. 10:56:44.573 INFO o.a.h.i.c.SystemDefaultHttpClient - I/O exception (java.net.SocketException) caught when processing request to{...
0
votes
0answers
24 views

Node js ubuntu bin folder missing

I am trying to setup Node Js in Ubuntu following the tutorial Install Ubuntu Node Js Via Zip and Install nodejs without package manager Downloading the Node JS Zip File from Nodejs.org/download/...
0
votes
0answers
14 views

how to recover override files in vm instance google cloud ubuntu apache2

I have a VM instance ubuntu apache2 running on google cloud platform. There is running code in /var/www/html location. Accidently, i ran the following command which install the apache again and the ...
0
votes
4answers
34 views

Unable to install scikit-image for python 2.7.12

I am not able to install scikit-image for python 2.7.12. My first attempt to install scikit-image was by running the following command: $ pip install -U scikit-image However, I got an error saying: ...
0
votes
0answers
11 views

when installing opencv -----CMake Error at cmake/OpenCVFindIPP.cmake:242 (include): include could not find load file:

CMake Error at cmake/OpenCVFindIPP.cmake:242 (include): include could not find load file: /home/xingzi/opencv-3.3.0/3rdparty/ippicv/ippicv.cmake Call Stack (most recent call first): cmake/...
0
votes
2answers
25 views

Change version from php 7.0 to 7.1 not working

I have recently change my php version 7.0 to 7.1 I tried sudo apt-add-repository ppa:ondrej/php sudo apt install php7.1 sudo a2dismod php7.0 sudo a2enmod php7.1 sudo apt-get install php7.1-xml ...
0
votes
0answers
20 views

failed to open stream: FTP server reports 550 Could not get file size [duplicate]

failed to open stream: FTP server reports 550 Could not get file size. Function: file() Line: 145 FTP INFO / Login details are Correct php_fileinfo extension is Enabled $folder ='cache_folder/...
-1
votes
0answers
16 views

Adding Sound Card in Ubuntu for Windows 10

I'm using Ubuntu (bash version 4.4.19(1)-release) through Windows 10 which generally has been smooth enough to use with the exception of getting sound recognition. Any time I attempt to play sound I ...

http://mssss.yulina-kosm.ru