Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ubuntu]

Ubuntu is a desktop and server operating system based on Debian GNU/Linux. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

0
votes
0answers
15 views

What to do with --force?

I'm trying to do sudo apt upgrade and I get: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Then do sudo dpkg --configure -a and I get: ...
1
vote
1answer
62 views

Error Code: 1728. Cannot load from mysql.db. The table is probably corrupted

Whenever I try to do a DB query with a particular DB user (myuser) I get the following error: Access denied for user 'myuser'@'localhost' to database 'mydatabase' [1044] I decided to check the ...
1
vote
1answer
152 views

This installation of MySQL is already upgraded to 5.7.25?

I used sudo apt upgrade and got this: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So I did it and I see this for more than an hour. Setting up ...
3
votes
1answer
35 views

When I run mssql-cli, I get “No module named mssqlcli”

I just installed mssql-cli with pip, pip3 install mssql-cli Then I try to run mssql-cli and I get $ mssql-cli /usr/bin/python: No module named mssqlcli
1
vote
0answers
35 views

Impdp (Oracle 12c) on Ubuntu 16.04

I am trying to import a dump into Oracle 12c by using the below command: impdp SROUSER/<password> directory=dump_dir dumpfile=SROUSER.dmp logfile=dp.log full=yes Which is resulting in the ...
-2
votes
1answer
29 views

PostgreSQL won't start [closed]

I installed Postgresql on Ubuntu 18.10 (on a VPN) and was unable to connect to it. At this point I did: ps -f -u postgres and got the shocking result of.... absolutely nothing. I ran htop to double ...
0
votes
0answers
13 views

Can not move MySQL data folderto external storage

OS Ubuntu 18.04, laptop, ssd partitioned for two OS (win8 and linux), second drive mounted with permissions. Line from fstab: UUID={UUID} /media/iam/storage ntfs-3g permissions 0 1 I created dir db/ ...
1
vote
0answers
10 views

virtual MySql server with mounted RAID array

I have a Ubuntu 16.04 server with an 18TB RAID array. I am running virtual servers on the server using Wok/Kimchi and am wondering if it is reasonable to run a MySQL virtual server and set the data ...
0
votes
0answers
14 views

mysql cluster with 1 master 1 node and 2 slave

My Query is I want to set up MySQL cluster with 1 Master 1 Node and 2 Slave with Auto failover. If my master is down node should assign slave as a master. Can anyone suggest me an idea to do that? As ...
1
vote
1answer
22 views

Error while restoring the table dump

ERROR 1067 (42000) at line 25: Invalid default value for 'created_on' I'm getting this error while restoring a table after taking the dump(remotely). I have used mysqldump -h (hostname) -u -p (...
1
vote
1answer
155 views

Error while installing Oracle 11g in Ubuntu 18.04

Also getting a runfixup.sh script which is also giving error root@szh-server:/tmp/CVU_11.2.0.1.0_zuman# ./runfixup.sh Response file being used is :./fixup.response Enable file being used is :./fixup....
2
votes
1answer
123 views

SQL Server 2019 CTP 2.1 on Ubuntu fails after powering off

I've installed Microsoft SQL Server 2019 (CTP2.1) - 15.0.1100.94 (X64) on my VirtualBox Ubuntu 16.04.5 LTS. Everything seemed to work properly until I've powered off the machine. Since then SQL Server ...
0
votes
1answer
236 views

Installation of PostgreSQL-11: Depends: libllvm6.0 (>= 1:6.0~svn298832-1~) but it is not installable

I've added the official repository to my sources.list, deb http://apt.postgresql.org/pub/repos/apt/ cosmic-pgdg main 11 When I try to install PostgreSQL-11 on Ubuntu Cosmic (18.10), I get the ...
1
vote
1answer
52 views

Should I stop my PostgreSQL server before reboot?

Every week I do an apt-get upgrade and dist-upgrade on the server where my PostgreSQL is running. After that, I do a sudo reboot now. Should I stop the PostgreSQL service before this reboot?
0
votes
1answer
19 views

VIM returns “Error detected while processing” and “Sorry, the command is not available in this version”

When I run VIM with \e inside of psql, I get Error detected while processing /home/ecarroll/.vimrc: line 11: E319: Sorry, the command is not available in this version: call plug#begin('~/.vim/...
1
vote
1answer
392 views

Mysql (MariaDB 10.3.9) can not start

I updated my mysql and I can't start it now. I try: sudo service mysql start Result: Job for mariadb.service failed because a timeout was exceeded. See "systemctl status mariadb.service" and "...
0
votes
1answer
639 views

Failed to start MySQL Community Server

A lot of stuff stopped working on my server because the sda3 partition became full. After fixing that issue, I cannot start the mysql service: root@abcd:~# sudo service mysql start Job for mysql....
0
votes
1answer
751 views

MariaDB startup failure on Ubuntu 18.04

I have installed MariaDb hundreds of times on previous Ubuntu versions, but on Ubuntu 18.04 I'm struggling. After the installation finishes, once I restart the PC, MariaDB starts for around 2 minutes ...
1
vote
1answer
106 views

I can not get Postgres to listen on anything but localhost

I have been on this for MANY hours and can not understand why Postgres will not listen on anything other than localhost. I an running on Ubuntu 18.04 clean install + Django, Postgres and nginx. All up ...
0
votes
1answer
370 views

Workbench freezes on connecting after Ubuntu 18.04 upgrade

I recently upgraded to Ubuntu 18.04 and started having this issue, I can connect to my local mysql server via the terminal fine using mysql -u root -p however when I try to use mysql workbench it ...
2
votes
0answers
214 views

Postgres 9.6.10 pg_hba.conf altered

We have an Ubuntu dedicated server. A couple of weeks ago we started to notice that when the postgresql service restarts, the directory /var/lib/postgresql turns readonly. We changed the permissions ...
1
vote
0answers
106 views

MongoDB Warning impossible to clear

I'm using Ubuntu 16.04 and MongoDB 4.0.1. When I use mongo shell I got this : I STORAGE [initandlisten] I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with ...
-2
votes
2answers
103 views

pg_ctl still pointing to 9.5.4 after upgrade to postgres 10 [closed]

I have updated postgres from 9.5.4 to the latest 10.4 on Ubuntu 14. But after installing postgres 10 I am seeing support@platform1:/usr/bin$ ls -lah pg_ctl lrwxrwxrwx 1 root root 34 Jun 13 08:59 ...
1
vote
0answers
37 views

Can't add new node to Galera Cluster

I have a 5 node Galera 3 Cluster running MySQL 5.6 on Ubuntu 16.04 (I tried running 5.7 but ran into the AppArmor issue). I'm trying to add another node to the cluster but it continually fails. The ...
0
votes
2answers
291 views

Ubuntu cannot open shared library mysqlx.so

MySQL Server version: Ubuntu: 5.7.23-0ubuntu0.18.04.1-log (Ubuntu) MySQL installed using apt-get. When installing a plugin with the following command: mysql> INSTALL PLUGIN mysqlx SONAME '...
1
vote
1answer
52 views

error connecting to master 'replica@192.168.57.10:3306' mac-ubuntu

Server info: Master server (Vmware): Ubuntu 18.04 IP: 192.168.57.10 Slave server1 (Vmware): Ubuntu 18.04 IP: 192.168.57.11 Slave server2 (mac): macOS High Sierra IP: 192.168.0.3 MySQL Server ...
-1
votes
0answers
10 views

How to reinstall only Mysql on LAMP?

My MySql stopped working and i dont know why. I've posted the problem in many forums but couldn't find a solution. Everything on Xampp works well, except MySql. So how can i reinstall only MySql ...
0
votes
1answer
144 views

MariaDB Galera Cluster on Ubuntu 16.04 does not start after rebooting [closed]

I've installed a MariaDB Galera Cluster on Ubuntu 16.04 in 2 nodes. Here the info from node1: root@localhost:~# sudo more /etc/mysql/conf.d/galera.cnf [mysqld] binlog_format=ROW default-storage-...
1
vote
1answer
491 views

Why is MySQL slow on the Ubuntu dedicated machine while fast on the Ubuntu VM?

I have a dedicated machine with intel i5, 8GB RAM, 7200RPM HDD with Ubuntu 18.04 OS. I have installed only MySQL-5.7.22 in it, see the configuration file's content at the end of this question. I ...
1
vote
1answer
1k views

Installing SQL Server, I get unmet dependencies libc++1 and libjemalloc1 but it is not installable

Here is the output, $ sudo apt install -y mssql-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
0
votes
1answer
560 views

Mysql upgrade 5.7.22 to 8.0, server not starting after upgrade

I followed the upgrade guide Upgrading MySQL. Already installed version of mysql is 5.7.22 Verified all Upgrade Prerequisites for MySQL 5.7 Installation SET GLOBAL innodb_fast_shutdown = 1; then ...
0
votes
0answers
102 views

Intermittend DB service error (Ec2+RDS)

I have a EC2 Ubuntu server with the database as RDS. It is connecting fine and the db connections are low but intermittently showing a DB service error. SQLSTATE[HY000] [2002] ...
2
votes
2answers
671 views

Moving Postgres 10 data dir on Ubuntu 18

I am trying to move the initial Postgres data dir from /var/lib/postgresql/10/main to another harddrive. The harddrive is accessable within the terminal via /media/chris/Datenspeicher I used ...
1
vote
0answers
181 views

DPKG error: uninstall percona xtradb server 5.7

Trying to uninstall percona, as I broke installation. No luck: >$ sudo apt remove percona-xtradb-cluster-server-5.7 Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
29 views

MongoDB start script - how does it choose configuration file?

I'm new to the MongoDB. I have the MongoDB server version 3.6.5 installed on my Xubuntu 14.04 VM, and I see it running (look at configuration file name): ps -ef|grep mongodb mongodb 79884 1 0 ...
-4
votes
1answer
256 views

PSQL copy-paste tab-completion and inserting errant parenthesis

Note, I use tabs. Frequently, when I write answers on this site, I write them in vim with the assistance of vim-surround, especially when I'm migrating a fixed-width table/grid to a DDL. Here is an ...
1
vote
0answers
38 views

Why postgresql can't been accessed after added Datadog agent?

After added Datadog agent for postgresql, restarted Datadog. Reference: https://docs.datadoghq.com/integrations/postgres/ Then check postgresql status, it's fine. But can't find in the process: ...
0
votes
0answers
28 views

Retrieving Mongo Databases without connecting directly to an instance

Hope someone can help. I have two MongoDB 3.6 installation set up on Windows Server and Ubuntu. Both installations (Windows and Ubuntu) have 5 databases each including the default databases. I've ...
1
vote
1answer
1k views

psql gives Invalid data directory error

I have VM with ubuntu 18.04 server installed. I have installed postgres 10 from the repo. Default installation. I made some connection count related changes in postgres.conf and connection security ...
-1
votes
0answers
239 views

Too many open files - Mongodb 3.2.4 , Ubuntu

I have a client's server, with a downed mongod. The log shows an error on mongodb 3.2.4 and ubuntu 16 Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: ...
2
votes
1answer
150 views

When trying to connect to an external postgres database using pgAdmin, I get an error

I get the following error when trying to connect: "FATAL: no pg_hba.conf entry for host "", user "postgres", database "postgres", SSL off" The db is installed on an Ubuntu machine in Azure. I have ...
1
vote
1answer
967 views

How do I disable MySQL on Linux from starting on boot or statup?

After adding MySQL to Ubuntu, it automatically starts up on server boot. I would like it to not start up with the system. How can I disable it and manually start it?
1
vote
1answer
79 views

How to synchronize a Windows database for Linux?

I have some database (PostgreSQL 9.5) on a Windows server, and I would like this data to be synchronized to a Linux server, that is connected in an application. Is it possible to synchronize?
0
votes
1answer
349 views

Unable to add a new connection to server in PostgreSQL using pgAdmin

I am new to PostgreSQL and trying to configure it. After installing the PostgreSQL. I am trying to add a new connection to server using pgAdmin. I know there is a by default created on port 5432 but I ...
0
votes
0answers
109 views

How do I force an update of local transactions when a off line InnoDB multi-primary mode cluster member rejoins the cluster?

How do I force an update of local transactions when a off line InnoDB multi-primary mode cluster member rejoins the cluster? GOAL: Small office with <50 users. Each user will work on a desktop ...
2
votes
1answer
283 views

How to change MySQL InnoDB cluster from single primary mode to multi primary mode?

My goal is to setup, in a lab environment, a MySQL InnoDB cluster in multi-primary mode. I have read much, but I cannot get this setup to work. Ubuntu 16.04.3 server LTS x 3 SQL0 - SQL2 Ubuntu 16....
3
votes
2answers
46 views

Connect to SQL Server on Linux over the network

I have setup Microsoft SQL Server on an Ubuntu VM. I know how to connect to SQL Server on Windows using SSMS -> but unfortunately I can not install SSMS on Ubuntu. Which leads me to the question ...
4
votes
2answers
4k views

Can Microsoft SQL Server be installed on Ubuntu 18.04 LTS?

Trying to install SQL Server on Ubuntu 18.04, I'm getting # sudo apt-get install -y mssql-server Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
1answer
54 views

SSL errors with Couchdb on Ubuntu 14.04

I am beginning to set up CouchDB on an Ubuntu 14.04 Server (yes, it expires next year) and I'm having troubles setting up SSL connections. For the moment, I don't have any CA signed certs for it, so I'...
0
votes
1answer
342 views

MySQL Group Replication stuck on RECOVERING

I'm testing MySQL Group Replication. Environment: Microsoft Azure Ubuntu 16.0.4 I've followed this guide: https://www.digitalocean.com/community/tutorials/how-to-configure-mysql-group-replication-on-...