Questions tagged [ubuntu]
GENERAL UBUNTU SUPPORT IS OFF-TOPIC. Support questions may be asked at https://askubuntu.com/. Ubuntu is a free desktop and server operating system based on Debian GNU/Linux. This tag is for programming questions specific to Ubuntu.
57,237
questions
0
votes
0
answers
7
views
javaee-endorsed-api-7.0 not found (no such file or directory) NetBeans
I am trying to run a java project on NetBeans using jdk v8. But when I build and run the project, I get this error.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:...
0
votes
0
answers
18
views
Extending File-system on M5 type EC2 with Ubuntu [closed]
I have an m5 ec2 nitro instance that is in need of query optimization. However, I have decided to temporarily throw memory and storage at this until I can complete the optimization of queries. (...
0
votes
0
answers
15
views
Can't run xterm terminals on Ubuntu Desktop via SSH, just after reboot server
I am having a hard time starting xterm terminals on Ubuntu Desktop via SSH, just after reboot the servers.
Abstract
I have some servers running Ubuntu Desktop 18.04.
I need to automate this process:
...
0
votes
0
answers
11
views
Nginx 403 forbidden even with index.html setup
I am kinda new to Nginx and Ubuntu but have been having the problem for a few days and can't really find the reason. I keep getting 403 forbidden when I go to the URL I have been searching around but ...
0
votes
0
answers
9
views
Handling custom users domains in nginx (SaaS)
I have a small SaaS website and I need to handle custom users domains.
custom.clientdomain.com -> (CNAME) domains.saaswebsite.com -> (USER SEE THIS PAGE) saaswebsite.com/shop/id/
I want to take ...
-1
votes
0
answers
7
views
what is Unknown Multi-Arch type 'forekgn' for package 'mythes-ca' in linux?
m newbie and when i using sudo apt-get update, it shows that
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http:/...
0
votes
0
answers
6
views
plugin modules not found when building Android Studio source code from command line
I follow this guide to build the android studio source code from Ubuntu:
https://android.googlesource.com/platform/tools/base/+/studio-master-dev/studio.md
Building from the command line
To build ...
0
votes
0
answers
17
views
Cron Job - Not Running/ Logging
I want to have a cron job that will:
a. Run a python file (test.py) every minute.
b. Log its output and errors to a file that I can debug.
My test.py path:
/root/my_project/my_project/warehouse/test....
0
votes
0
answers
18
views
How do I show a banner on html website pages from the server side [closed]
I would like to add a top and footer html code that contains content to 450 pages in 22 directories. No Js files included to them.
My environment:
Apache2, with php 7.4 fpm.
Ubuntu server.
-1
votes
0
answers
10
views
uname -r shows version 3.13.0-57-generic which doesn't exist in /lib/modules/ after upgrading to 18.04 [closed]
I had upgraded my Ubuntu 16.04 installation to 18.04 in 2020, but never checked the Linux kernel being used - it is still 3.13.0-57-generic! Now I need a newer Linux kernel because the iptables ...
0
votes
0
answers
10
views
Webserver status set to down after installing PHP on the webserver
After I install php 8.0 on my webserver running apache 2.4.53 on ubuntu 20.04, my haproxy config on a pfsense router says the webserver is down. Even though apache is running fine.
I know its the main ...
-3
votes
0
answers
11
views
Ubuntu 18 does not start after windows 10 update [closed]
I have dual boot in my laptop(Ubuntu 18+W10). Yesterday night I updated Windows10, and today Ubuntu has problems to boot. When I select the ubuntu partition, it enters the security mode and can't boot....
-1
votes
0
answers
9
views
Is there a way to create an indicator somewhere on the Ubuntu desktop, which shows that control key is being pressed? [closed]
I want an indicator that will show if the control key is pressed at the moment. So it will turn on when the key is pressed and turn off when the key is released.
0
votes
0
answers
14
views
input 2 integers and getting erorr in pycharm ubuntu
So when i press "Run" and manually input the 2 integers , i get this error down below. I've tried via terminal ,debug and "Run File in Python Console" and it's working fine.
I'm ...
0
votes
0
answers
7
views
running jenkins under different user
I am trying to run Jenkins under a different user than "Jenkins" on my ubuntu server. I want to run it under "alihasan".
I followed this guide and it used to work, used for years ...
0
votes
1
answer
29
views
"""input().split() in loop""" issues in Pycharm
n, m, k, r = tuple([int(i) for i in input().split()])
roads = []
for road in range(m):
t = tuple(list(map(int, input().split())))
roads.append(t)
print(roads)
My input is:
6 6 2 6
0 1
1 2
...
-1
votes
0
answers
15
views
CPE Based Vulnerabilities for OpenSSH CVE-2007-2768
The security checker shows the issue:
CPE Based Vulnerabilities for OpenSSH CVE-2007-2768
I need to fix this issue, but how? We are using Ubuntu 20.04 and OpenSSH server version 9.0.
Info about the ...
0
votes
1
answer
17
views
Problem doing npm run build on AWS server | JavaScript heap out of memory
I can see that the build folder has been made but get this error message. I dont know wether I should worry or not. I does not happen when i do it on my local machine?
yeah something def go wrong as I ...
0
votes
0
answers
12
views
How do I change the login prompt itself in Ubuntu console? (NOT etc/issue or etc/motd)
I am trying to edit the login prompt Ubuntu console of which the default value is
Ubuntu 16.04.7 LTS
login:
Last Login: Fri May .... Welcome to Ubuntu...
to something like
Ubuntu 16.04.7 LTS
...
0
votes
0
answers
11
views
mcr.microsoft.com/dotnet/aspnet:6.0-jammy `signatures couldn't be verified because the public key is not available`
Building ASP.Net 6 docker image on CircleCI 2.0 workflow using mcr.microsoft.com/dotnet/aspnet:6.0-jammy bumps into
The following signatures couldn't be verified because the public key is not ...
0
votes
0
answers
13
views
Ubiquity not working on Minimized Xubuntu
I want to create my own Xubuntu customize distribution with packages required by my application.
First I install Ubuntu 22.04 Server with Minimized type.
Second I run:
sudo apt -y update && ...
0
votes
0
answers
22
views
How do I start an app when the system (Ubuntu) starts?
I have an app which I want to start when the server starts. I also want the app to automatically restart if it ever crashed and stops. My understanding is that I need to setup a systemd service for ...
0
votes
0
answers
15
views
GTK 3.0 : undefined reference to all the gtk library [duplicate]
I have a school project to do and I have a problem with my Makefile and the library.
This is my Makefile :
#Makefile
CC = gcc
CFLAGS = -g -Wall -Wextra ...
-2
votes
0
answers
10
views
folder share from Windows 10 to Ubuntu 20.04 - Mount Error 13 [closed]
My apologies in advance if this sounds like a really daft question but I don't even know where I am going wrong here is my situation:
I have 2 laptops at home connected to the same wifi network and I ...
-1
votes
0
answers
12
views
Automatically switching to Ubuntu , Unusual behaviour after dual boot [closed]
The moment I open my laptop , it immediately switches to ubuntu , I used to restart the device and use windows . but now this is not happening , I'm unable to switch to windows, the system immediately ...
0
votes
1
answer
11
views
what is different at same libc? 1.2 1.3 1.4 etc
Reference: https://libc.nullbyte.cat/
There are same libc-2.27.so but different Ubuntu.
Ex)
libc6_2.27-3ubuntu1.2_amd64
libc6_2.27-3ubuntu1.3_amd64
libc6_2.27-3ubuntu1.4_amd64
What these number ...
-1
votes
0
answers
11
views
RW mounting of drive connected to router from Linux [closed]
I have a D-Link router with an external USB drive connected to it. In the router's configuration I have made the drive accessible and provided user names and passwords for accessing.
If I map the ...
0
votes
0
answers
18
views
Encountering a JDBC error on ubuntu linux and notebooks
import mysql.connector
from pyspark.sql import SparkSession
spark = SparkSession.builder.config("spark.jars", "/usr/share/java/mysql-connector-java-8.0.29.jar")\
.master(&...
-1
votes
4
answers
47
views
Split csv file into smaller csv files every 30 days using awk
I have a csv table that has a column that contains the date difference in days as integer values, and I want to split the file into 30 day intervals, such that the first file contains rows with the ...
0
votes
3
answers
32
views
Encountering a Mysql Connection problem java
The error I am getting is PY4JAVAERROR :
an error occurred while calling o313.load: Java.lang.classnotfoundexception: com.mysql.jdbc.Driver
has anyone encountered this before?
0
votes
0
answers
8
views
Puppet command does not start stop service in ubuntu
service{'cron':
ensure => 'running',
enable => 'true',
}
Error:
change from 'running' to 'stopped' failed: systems stop for cron failed.
0
votes
2
answers
27
views
mongodb.service dies after running some hours in Ubuntu
I have used mongodb(v3.6.8) for my server(Ubuntu 20.04), it works well for years. Recently,it be killed and failed to restart by systemd after running some days. I restart sysemd, it works for a few ...
-1
votes
1
answer
20
views
Ubuntu 20.04 "apt-get update" get error "Connection failed" [closed]
I am using Ubuntu 20.04 LST with WSL2 on Windows 10. The PC is a company PC that is connected to a secure network.
when I use the command "sudo apt-get update", I always get the error "...
0
votes
0
answers
21
views
Rstudio Installation on Ubuntu App windows 11 I get Black screen
I installed Rstudio from terminal of Ubuntu App of windows 11 (Windows subsystem for linux)
R version is R version 4.2.0 (2022-04-22)
R studio after installation
wget https://download1.rstudio.org/...
-1
votes
0
answers
7
views
ubuntu 20.04 network bandwidth becomes small after connecting to a switch
This image is My network info
The capacity property shown above is 1Gbit/s, but the size is 10Mbit/s. Is there a way to change the size of the size property?
Thanks.
-1
votes
0
answers
17
views
How to get CollectD data to my file without using plugins?
How do I set up CollectD to send the collected data to my file? I need this to keep track of running docker containers.
0
votes
0
answers
28
views
Can't login to ubuntu user even though it is the correct password
Goal:
Automate the creation of a user account using a shell script.
Script:
#!/bin/bash
USERNAME="catty"
PASSWORD="$USERNAME@123"
useradd -m $USERNAME -p $PASSWORD
How I run the ...
0
votes
0
answers
8
views
What's the best strategy for flutter-web to access its resources on server?
I've deployed a release in an ubuntu server with apache. When I access the deployed app, it shows in console: Error while trying to use the following icon from the Manifest: https://mydomain/icons/...
0
votes
0
answers
17
views
How to run Docker on an external USB hard-drive in Ubuntu 21.10?
I am trying to run the following command in Ubuntu 21.10 with Docker so that it will run on my external USB hard-drive:
sudo docker run -v /media/alexanderjsingleton/SEAGATE/blockchain -P registry....
-1
votes
1
answer
38
views
cargo build-bpf fails on ubuntu
rustc --version = rustc 1.60.0 (7737e0b5c 2022-04-04)
solana --version = solana-cli 1.10.8 (src:623ac656; feat:1122441720)
npm --version = 8.5.1
node --version = v12.22.9
os: ubuntu 22.04 lts
after i ...
0
votes
1
answer
34
views
How to run a Docker Containers pulled from GitLab Container Registry using Shared Runners?
Basically what I have got working so far is as follows in the following order;
Login to GitLab Container Registry
Build Docker Containers from docker-compose.yml config file using
GitLab shared ...
0
votes
0
answers
8
views
what tasksel not showing ubunto-desktop
I am running UTA on mac M1 and I am installing ubuntu server 20*, it come into. point where I need to install UI for it, I have upgraded/ updated apt and installed taskesl, I don't know why I can't ...
0
votes
1
answer
33
views
Docker container with shiny app listening on localhost
I am working with a linux server and I would like to run a docker container with my shiny app, but it is not working. In order to check the problem, I have run my shiny app in RStudio with the ...
0
votes
0
answers
12
views
Prometheus Node_Exporter missing power stats
I am trying to get the power supply stats off a containerized node exporter(Run on docker with wordpress,SQL,prometheus, cadvisor & grafana). On windows(Laptop) these just seems to work off the ...
-2
votes
0
answers
16
views
What's our situation? Trying to install Ubuntu on server with RAID 1 array [closed]
We are trying to install Ubuntu Server on this machine with a RAID1 array and we are getting this issue:
This is the installer console image
0
votes
0
answers
14
views
Wordpress showing white screen with a form
I have a server in google cloud with Ubuntu 18.
I have installed WordPress. It was working fine. But suddenly, this screen is shown SCREENSHOT / IMAGE
Any help/suggestions are welcome.
-1
votes
0
answers
22
views
Can't create new ubuntu machine in virtualbox
For some reason, i suddenly can not create a new ubuntu machine in virtualbox. It just gets stuck at this step
This never occurs before, not to mention the fact that i still use the same iso image, ...
-1
votes
0
answers
19
views
how to configure sddm in kubuntu 22.04? Where is config file? [closed]
I need to enable numlock on startup. So I'd like to put:
[General]
Numlock=on
into sddm config file, which is nowhere to be found and when creating it in some typical locations(/etc/sddm.conf, /etc/...
1
vote
1
answer
35
views
+50
AWS Codecommit - fatal: unable to access : The requested URL returned error: 403
I was able to pull and/or push updated from my AWS CodeCommit repository until I reinstalled aws-cli.
I tried all the suggested solutions I could find but nothing seems to work.
I am working on Ubuntu ...
0
votes
0
answers
14
views
copy files from folder based on csv file list
I want to copy certain files from a folder based on a list stored in a .csv file. Previously I used rsync to do this using
rsync -a /source/directory --files-from=/full/path/to/listfile /destination/...