Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Browsing all 5952 articles
Browse latest View live

Ununderstandable linking error mesage - C++ - linux [duplicate]

I was coding a state machine for a game in C++ (Ubuntu), but when I tried to compile with GCC, this error message appeared :$ gcc main.cpp -o gameEngine/usr/bin/ld: /tmp/cc9n3ztz.o: in function...

View Article


404 page on "/" route in Laravel. Permission denied

I am running my Laravel application on Ubuntu in Windows 10 but when I want to access the "/" path, the browser displays a "404 Not Found" message. Currently viewing it on the localhost.However, the...

View Article


How to keep data synced between development and production databases?

Update:People have raised some good questions about my site and workload so I thought some addition information would be helpful.My site has 1200+ plants in a garden, with multiple tables and dozens of...

View Article

Git submodule update failed with 'fatal: detected dubious ownership in...

I mounted a new hard disk drive in my Linux workstation. It looks like it is working well. I want to download some repository in the new disk. So I execute git clone XXX, and it works well. But when I...

View Article

Nginx sites-enabled, sites-available: Cannot create soft-link between config...

I am trying to create soft links between config files containing server blocks in the sites-enabled and sites-available directories in /etc/nginx/.The command I am using is:sudo ln -s...

View Article


docker images on different computers are different

I am running a docker image on 2 different computers and the contents of said image are different.I am ensuring they are the same image by specifying the digest as suchdocker run -it...

View Article

How to solve errors while installing PHP 8.x on Ubuntu 20 [closed]

I am trying to install PHP 8.x but I am getting stuck at one point again and againSo in order to install PHP, I assume I need to have ppa:ondrej/php repository present. I was having errors while...

View Article

Removing "\n" character while writing into a file in Shell Script

Here i am taking the text input from the yad ui field and then i am writing that text into a solc.c but that text contains some \n characters , which are directly being written into...

View Article


Mosquitto from remote IP [closed]

I have Mosquitto 2.0.1 on an Ubuntu server. It works fine with the Mosquitto Explorer from an IP on the same subnet. The configuraion file of mosquitto is:pid_file...

View Article


Image may be NSFW.
Clik here to view.

How to configure XRDP to work with Gnome on Ubuntu 22.04?

I want to connect to my Ubuntu 22.04 computer with a remote desktop app just like how I connect to my Windows PC. Now XRDP promises to do that, and it is easy to install. However, configuring it so...

View Article

Compilation and execution issue with a C script using 'ls' utility in Ubuntu...

I am developing a C script in Ubuntu 20.04 that utilizes some external utilities to perform certain tasks. When attempting to compile and run the script, I encounter errors both during the compilation...

View Article

Connect MySQL configuration with CA certificate?

I am using mysqlkit for Vapor server side project and used to configure MySQL like below:let config = MySQLConfiguration(hostname: "127.0.0.1", port: 3306, username: "root", password: "s3#12412r657f",...

View Article

ufw rate limiting ansible on ubuntu 22

this was all done on ubuntu 22.$ ufw versionufw 0.36.1Copyright 2008-2021 Canonical Ltd.$ cat /etc/os-release | grep VERSIONVERSION_ID="22.04"VERSION="22.04.3 LTS (Jammy...

View Article


I am new to linux, Why is cd command not working on my ubuntu terminal? [closed]

cd command is working fine in windows powershell, but it is not working in ubuntuAt first I was doing error by writing Desktop as desktop, but linux is case sensetive, but now I have changed it to...

View Article

Encountered error while running C++ on V.S.Code on Ubuntu even after...

I'm encountering issues while trying to run C++ code on V.S.Code on Ubuntu distribution. I'd install the C++ extensions from V.S.Code along with mingw-64 and g++ compiler for C++. I've followed all the...

View Article


Image may be NSFW.
Clik here to view.

I am noticing spike in CPU usage in the server, please see the image [closed]

I am noticing spike in CPU usage in the server, please see the image. How do I know which is process is causing the CPU usage spike. I am trying to figure out why the spike is there. Is there a tool to...

View Article

In ubuntu server , systemctl status mongod

× mongod.service - MongoDB Database ServerLoaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)Active: failed (Result: core-dump) since Thu 2024-02-29 07:18:58 UTC; 1h...

View Article


TypeError: TransformerBatchNormEncoderLayer.forward() got an unexpected...

I am trying to run the github - gzerveas mvts_transformerAfter jupyter install -r requirement.txt, it show this error and I do not know how to fix.I've ask GTP and it suggest this question might due to...

View Article

Image may be NSFW.
Clik here to view.

How to run python3 code in VSCode? /bin/sh: 1: python: not found

I'm trying to run a python file in VSCode using python3.I know I can fix by simply setting to run using integrated terminal like it says in the microsoft vscode tutorial on python. However, I would...

View Article

How can i use the python of the anaconda environment when I use "rosrun" to...

I want use the python of the anaconda environment when I use ROS Noetic.But I found that even if the virtual environment is activated at the terminal,whether "rosrun" or "roslaunch" uses the Python for...

View Article
Browsing all 5952 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>