All Questions

Tagged with
Filter by
Sorted by
Tagged with
25 votes
7 answers
101k views

Unable to access Webmin through browser

I followed DigitalOcean's tutorials on how to set up your server with SSH, creating a new user, firewalls etc. The first tutorial in the series is linked under: https://www.digitalocean.com/community/...
joseph's user avatar
  • 917
23 votes
5 answers
21k views

How to install pub (command line usage) for Dart on Ubuntu web-server

I've followed the instructions here (under the Linux tab) on installing Dart onto a Ubuntu web-server. Dart itself works fine, but I can't use Pub commands (only Dart commands). How can I install ...
Will Squire's user avatar
  • 6,287
22 votes
1 answer
34k views

Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/or LC_* environment variables are set correctly

I have a problem to generate the locales on the serveur herbert and homer . I run mongo I get the warning Failed global initialization: BadValue Invalid or no user locale set. Please ensure LANG and/...
Momo's user avatar
  • 249
21 votes
2 answers
27k views

Ubuntu - nodejs - npm install -g > Error: EACCES: permission denied, mkdir

Was having a issue installing a NodeJS npm package. On a Digital-Ocean Droplet Ubuntu (14.04) server. npm install -g PACKAGE-NAME I even tried with sudo had the same error. Error message: ...
K-G's user avatar
  • 2,871
14 votes
2 answers
35k views

libpulse.so.0: cannot open shared object file: No such file or directory

I am getting this error when trying to install a server. libpulse.so.0: cannot open shared object file: No such file or directory I run an ldd and there is the libpulse.so.0 but the script don't ...
xploshioOn's user avatar
  • 4,095
13 votes
4 answers
15k views

Docker: Error response from daemon: failed to create endpoint priceless_noether on network bridge:

I'm running an ubuntu server 21.10 on RasberryPi4.Docker version 20.10.7, build 20.10.7 0ubuntu5. I tried docker prune and to reinstall docker fully and even reinstall ubuntu, but nothing seems to ...
Krystian Kan's user avatar
12 votes
2 answers
31k views

How to get MySql 8 to run with laravel? [duplicate]

I'm having difficulty getting MySQL 8 to work. This is the error that appears everytime I attempt a php artisan migrate. I've reinstalled MySQL only once so far because I didn't want to hurt my head ...
Zac's user avatar
  • 1,867
12 votes
3 answers
33k views

Apache2 error: Hostname provided via SNI and HTTP do not match

In my Apache error.log, I am getting an error like the following: Hostname www.example.com provided via SNI and hostname hk.dv.nextmedia.com provided via HTTP are different I have no idea what hk....
Koda's user avatar
  • 141
10 votes
2 answers
50k views

uploading files from my computer to an ubuntu server

i'm connected to an Ubuntu server via putty (ssh). i want to be able to upload files from my computer to the server. the file i'm trying to upload is a .zip file, so are there any restrictions for ...
jukerok's user avatar
  • 347
9 votes
4 answers
7k views

Ubuntu 14.04 Server: Apache2 issue with phpMyAdmin

I have installed Apache 2, and it is working fine. I have installed PHP 7, and everything works fine, But when I install phpMyAdmin, Apache 2 stops working. When checking Apache 2, it even does ...
Gammer's user avatar
  • 5,488
9 votes
2 answers
32k views

Gunicorn not starting throwing gunicorn.service: Failed with result 'exit-code'. error

I'm trying a deploy simple Django application on Digital Ocean by following this link I follow every work step by step and successfully run that project via python manage.py runserver where it's not ...
Antu's user avatar
  • 2,253
9 votes
1 answer
6k views

Debugging 502 Bad Gateway error - Ubuntu, Nginx, Unicorn

I have an EC2 instance, trying to run a Rails app with Nginx and Unicorn. I keep getting a 502 Bad Gateway error after about 60 seconds: Here's what I get in the nginx error log: 2017/02/10 18:03:...
99miles's user avatar
  • 11.1k
9 votes
3 answers
6k views

Error installing php5-mcrypt

Just today I signed up with Google Cloud Compute Engine. I did everything but then I stuck into an error while installing php5-mcrypt extension. Error: root@instance-2:~# sudo apt-get install php5-...
Aditya Giri's user avatar
  • 1,816
9 votes
1 answer
22k views

Coturn stun server returned an error with code=701

I have my own server with ubuntu 19. NOTE: I need a stun/turn server for a video chat web application. It works already if both devices are in the same network. I have successfully installed and ...
Roman's user avatar
  • 3,693
8 votes
3 answers
19k views

Run Jupyter-notebook on boot on Ubuntu

I have an Ubuntu 16.04 Virtual Machine with anaconda installed, And I want it to launch Jupyter-notebook on startup with the correct configuration file (ip address, port, password,...) This ...
Simon Houdayer's user avatar
8 votes
1 answer
5k views

Mysql installation ubuntu server: Could not open 'abstractions/mysql'

I wanted to configure remote access to my database. I could not configurate this and I decided to reinstall ssh and mysql. After reinstallation i have this error: ERROR 2002 (HY000): Can't connect ...
harmster's user avatar
7 votes
2 answers
11k views

What is the difference between PHP and libapache2_mod_php

I’m new to system administration and while launching oho files with Apache 2 server I had to install php on my Ubuntu 16.04. I tried the basic sudo apt-get install php, which only loaded a blank page (...
Deeraj Theepshi's user avatar
7 votes
4 answers
7k views

UFW blocks most ports until disabled and re-enabled after reboot

I have UFW running on my server. When I restart it: $sudo ufw status Status: active To Action From -- ------ ---- OpenSSH ...
Diesel's user avatar
  • 5,287
7 votes
2 answers
16k views

"bad variable name" using "read var"

I am getting confused about Linux shells. It may be that I oversee something obvious as a Linux noob. All I want is the following script to run: #!/bin/bash echo "Type some Text:" read var echo "You ...
VapoRizer's user avatar
  • 341
6 votes
1 answer
27k views

Mounting Linux FS in Windows 10 using SSHFS

I don't exactly remember how my friend synched his changes in VS Code with remote machine(Gitlab). He commits, adds, changes the code in VS Code and it automatically applied to remote machine. The ...
Mark Ezberg's user avatar
6 votes
2 answers
8k views

How to run Android Emulator from Shell on Ubuntu Server

I installed Android SDK and JDK on Ubuntu Server 14.04 x64. But when I run the AVD, I got error: 'SDL init failure, reason is: No available video device' I follow this https://stackoverflow.com/a/...
sumy's user avatar
  • 301
6 votes
1 answer
818 views

Transfer file takes too much time

I have an empty API in laravel code with nginx & apache server. Now the problem is that the API takes a lot of time if I try with different files and the API responds quickly if I try with blank ...
Mox's user avatar
  • 61
6 votes
0 answers
5k views

cURL SFTP not supported or disabled in libcurl

I am trying to use sftp with cURL to upload files to my webserver, if I run curl -V on my server I get this output curl 7.47.0 (i686-pc-linux-gnu) libcurl/7.47.0 zlib/1.2.8 libssh2/1.8.0 Protocols: ...
AdmagTwoXray's user avatar
5 votes
3 answers
5k views

Unable to register git runner on local network server

i'm trying to register a git runner on my company local network server, gitlab is working fine with self singed certificate, but when trying to register a git runner like this sudo gitlab-runner ...
Fadi's user avatar
  • 2,350
5 votes
1 answer
10k views

Nginx SSL Handshake Error

I am getting following error in my server log : [crit] 915#0: *46701 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER_LIST:inappropriate fallback) while SSL ...
Ligo George's user avatar
5 votes
1 answer
5k views

Can't access a project running on a port on ubuntu server

I created a project on localhost. Frontend is angular that runs on port 4200, backend is laravel that runs on port 8000. On my localhost. I run the backend using php artisan serve and it starts ...
Syed Haris Ali Ghaznavi's user avatar
4 votes
4 answers
22k views

Permission denied (publickey,password). while using ssh to login

I'm trying to login to the server using ssh, and I realise that I forgot my password. I'm using this command: ssh [email protected] I don't know what to do, I searched for a solution but ...
EgzEst's user avatar
  • 361
4 votes
1 answer
8k views

c# Access to the path denied on ubuntu 18.04 server

My friend and I wanted to make a discord server. I made the bot in c# and needed something to host it on so it can run 24/7, I've chosen Digitalocean. I created a ubuntu 18.04 droplet, installed ...
magiccheese's user avatar
4 votes
1 answer
3k views

Running the selenium-standalone npm package on an Ubuntu server

I am trying to run selenium-standalone on an Ubuntu server from Digital Ocean. I ssh into the server, then run these commands: apt-get update apt-get install nodejs nodejs-legacy npm default-jre npm ...
fnsjdnfksjdb's user avatar
  • 1,643
4 votes
1 answer
3k views

Run python script as service, needed virtualenv (ubuntu)

I need to leave running a Python script in a remote server. All OK so far. The problem is I need using virtualenv because I have no sudo privileges and I only can install and use pip packages using ...
Carlos's user avatar
  • 928
4 votes
5 answers
8k views

OpenDayLight DLUX login: Unable to Login

This seems to be a common issue but I haven't found a solution that actually works. I've tried installing both Lithium and Helium on Ubuntu using the Installation Guide from the wiki. Following this ...
Alan's user avatar
  • 49
4 votes
1 answer
101 views

Does a server-called PHP script run asynchronously?

If a PHP script is called by the server via command line (on an Ubuntu server), can multiple instances of that script be running at the same time? In my case, it's a PHP script that converts uploaded ...
CGriffin's user avatar
  • 1,416
4 votes
1 answer
711 views

Apparmor: is it possible to call another executable from within an executable?

I have a problem I am not sure how to solve in AppArmor. Basically I have a profile that executes a program, let us say profile myprof { /my/executable ix, } The problem is that from that ...
Germán Diago's user avatar
4 votes
2 answers
6k views

Serving markdown from Apache 2.4.7 on Ubuntu

I am running Apache/2.4.7 (Ubuntu 14.04.3 LTS) and am trying to access .md files and view them formatted as Markdown files. If I point my browser to a .md file currently I either get a blank page or ...
josh's user avatar
  • 1,554
4 votes
1 answer
11k views

VNC server set up : -auth guess: failed for display='unset'

I am trying to setup vncserver(on ubuntu 18.04) remotely using putty. I was taking reference from https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/ . Although I got following message with ...
Shivam Kumar's user avatar
4 votes
1 answer
4k views

Receiving PHP Warning: Module '[module name]' already loaded in Unknown on line 0

I'm Trying to learn Laravel and PHP while learning how to manage a server. I was trying to fix a different problem, something about a PDO driver not being found when trying to read from a sqlite ...
Kyle Y.'s user avatar
  • 175
4 votes
2 answers
34k views

Can't get access to http://localhost:80 on running apache server

On running apache server in ubuntu 14.04 I get "This webpage is not available" in browser or "curl: (7) Failed to connect to localhost port 80: Connection refused" using $ curl localhost. Besides I ...
Al Che's user avatar
  • 69
4 votes
0 answers
2k views

AWS Lightsail display empty blackscreen after connect with SSH

I have created AWS lightsail instance for learning purposes. I downloaded the key file and created a public key with it and store it in the .ssh/authorized_keys file. For the testing, I tried to ...
Yash's user avatar
  • 512
4 votes
1 answer
1k views

Mayan EDMS install, seems ok, but not working

I follow the steps on the below link, and build it on my ubuntu cloud, it seems ok, but not working on my browser. https://mayan.readthedocs.io/en/v2.1.4/topics/installation.html no matter on local: ...
wong ian's user avatar
  • 123
3 votes
2 answers
6k views

Install Kubernetes on VPS server [closed]

I am planning to setup a kubernetes cluster, that looks as follows: As you can see on the image, the cluster will consist of 3 Ubuntu 18.04 Virtual Private Server, one is the master and the other ...
softshipper's user avatar
  • 33.2k
3 votes
3 answers
36k views

Edit and save php.ini over terminal

I have set up a ubuntu 14.04. Server. I would like edit the php.ini (/etc/php5/cli/php.ini). I can edit it with the console but how can i save it?
user3778868's user avatar
3 votes
2 answers
12k views

Shell can't find nginx

try to prompt this command nginx -V but shell returns fish: Unknown command “nginx” If I try sudo service nginx status I could see Usage: /etc/init.d/nginx {start|stop|restart|reload|force-reload} ...
getElementById's user avatar
3 votes
3 answers
8k views

Virtualbox - No suitable module for running kernel found

I just installed on Ubuntu server Virtualbox. Virtual box told me that I have to install virtualbox-dkms and linux-headers-generic, what I did so. But there is stil error No suitable module for ...
Delirium's user avatar
  • 1,377
3 votes
2 answers
543 views

Axios in Ubuntu returns a response in unreadable form, in Windows same snippet works well

I have a simple code that fetches data from url. I have executed same code in both Ubuntu(server-only) and Windows Code import axios from "axios"; (async () => { const url = "...
Charan Kumar's user avatar
3 votes
2 answers
231 views

mongodb keeps data in two places

My remote server is ubuntu 14.04 and I have mongodb installed there. But when I tried to restore my DataBase using mongorestore I noticed the disk space in the following two places have reduced ...
Chandler's user avatar
3 votes
1 answer
630 views

CouchDB with Erlang version 18?

Does couchDB work with erlang version 18? I'm running an ubuntu server on apache2. I first install erlangs latest version 18 and then couchDB. It fails to install couchdb when it gives this error: ...
Bryn's user avatar
  • 257
3 votes
1 answer
3k views

What could be the reason for the status code 503 Service Unavailable

I am running an Ubuntu server (DigitalOcean droplet) with 2 services. React (Create React App) frontend in PORT 3000 and Node.js backend/API in PORT 8765 with PM2(pm2.keymetrics.io). Screenshot of PM2 ...
Praveen Dias's user avatar
3 votes
1 answer
3k views

How to change session.gc_maxlifetime?

After setting $cfg['LoginCookieValidity'] = 604880; for phpMyAdmin, I'm getting the following warning in phpMyAdmin: Your PHP parameter session.gc_maxlifetime is lower than cookie validity ...
user avatar
3 votes
2 answers
3k views

Ubuntu shell script: Get and echo time from ntp server without synchronization

Is there a way to get time using shell scripting from pool.ntp.org without update my machine? ntpdate pool.ntp.org just updates my machine. Thank you in advance
zinon's user avatar
  • 4,514
3 votes
4 answers
592 views

How to run a shell script over ssh with resource(.txt files) in one machine and the script in another machine?

I want to run a shell script using SSH which takes resource from other machine while the script is in some other machine, all on the same network. I don't want to copy the resource to the local ...
kmario23's user avatar
  • 59.2k

1
2 3 4 5
14