Help! MySQL Is Restarting Itself Every Minute!

Hello,

My mysql is restarting every minute.
I don't know what causing that

error.log: http://paste.debian.net/174335/
my.cnf: http://paste.debian.net/174336/


Similar Content



The Vncserver Doesn't Work After Debian 7 Update

Hello,

I updated my debian 7 wheezy few days ago, and now vnc server is not working.
Code:
http://prntscr.com/6glfu8


Log File:
Code:
http://paste.ubuntu.com/10596182/

Kdenlive In Debian 8 Not Installing?

I previously installed kdenlive in previous Debian versions with the suggested command:

apt-get install kdenlive frei0r-plugins dvgrab recordmydesktop dvdauthor genisoimage

but it gives error messages in debian 8 saying packages not available

maybe my sources.list is wrong?

# deb cdrom:[Debian GNU/Linux 8.0.0 _Jessie_ - Official amd64 DVD Binary-1 20150425-12:54]/ jessie contrib main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

deb-src http://ftp.fr.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ jessie-updates main contrib non-free

deb http://www.debian-multimedia.org jessie main

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib

What should I do?

Where Is Root Terminal In Debian 8

The previous Debian versions had root terminal application that I could use with line commands that I could copy/paste. I cannot find that anymore in Debian, only XTerm which I cannot copy/paste text from it. Any idea what I could use?

What's Wrong With My /etc/apt/sources.list - Jessie.

Hi all,
This is my /etc/apt/sources.list of jessie, what's wrong as I am getting the following error output .

error :-

Code:
Err http://http.debian.net jesssie/main Sources
  404  Not Found [IP: 54.192.190.154 80]
Err http://http.debian.net jesssie/contrib Sources
  404  Not Found [IP: 54.192.190.154 80]
Err http://http.debian.net jesssie/non-free Sources                                                                                            
  404  Not Found [IP: 54.192.190.154 80]
Fetched 7,819 B in 25s (307 B/s)                                                                                                               
W: The repository 'http://http.debian.net jesssie Release' does not have a Release file. This is deprecated, please contact the owner of the repository.
W: Failed to fetch http://http.debian.net/debian/dists/jesssie/main/source/Sources  404  Not Found [IP: 54.192.190.154 80]

W: Failed to fetch http://http.debian.net/debian/dists/jesssie/contrib/source/Sources  404  Not Found [IP: 54.192.190.154 80]

W: Failed to fetch http://http.debian.net/debian/dists/jesssie/non-free/source/Sources  404  Not Found [IP: 54.192.190.154 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

This is my /etc/apt/sources.list :-

Code:
[$] cat /etc/apt/sources.list                                                                                                       [2:23:45]
#### testing  #########
deb http://http.debian.net/debian jessie main contrib non-free
deb-src http://http.debian.net/debian jesssie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# testing-updates, previously known as 'volatile'
#deb http://http.debian.net/debian jessie-updates main contrib non-free
#deb-src http://http.debian.net/debian jessie-updates main contrib non-free

Now I am guessing one or more of the entries above are wrong, as probably all of testing-updates would probably come into play once jessie is released, right ?

This was generated via http://debgen.simplylinux.ch/ for lack of better places to generate sources.list from.

Problem With (instalation Of?) Mysql.h On C

Hi, I've just recently installed MySQL connector/c from source code on my Slackware 14.1 x64

I read the official instructions of the connector but I felt a bit disorientated when I read:
Code:
1 -Change location to the top-level directory of the source distribution.

I interpreted that I have to go to the "highest" directory Code:
/

So I wrote: Code:
 
        #                            cd /

root@- /#                            tar xzvf /home/normal/Downloads/mysql-connector-c-6.1.6-src.tar.gz 

root@- /#                            cd /mysql-connector-c-6.1.6-src/

root@- /mysql-connector-c-6.1.6-src# cmake -G "Unix Makefiles"

root@- /mysql-connector-c-6.1.6-src# make 

root@- /mysql-connector-c-6.1.6-src# make install

Then I did:
Code:
ln -s /usr/local/mysql-5.6.25/include /usr/include

But when I try to compile a program in c with #include <mysql.h> i get this error:
Code:
# gcc ctemp.c 
In file included from ctemp.c:2:0:
/usr/include/mysql.h:57:27: fatal error: mysql_version.h: No such file or directory
 #include "mysql_version.h"
                           ^

What can I do? Thanks a lot and sorry for poor english

PD: If you need the official instructions I paste here the link: https://dev.mysql.com/doc/connector-...on-source.html

Dual Boot Debian +W7:recovering Access To Encrypted Partitions

Hi

My machine was a dual boot debain + W7. The debian had LUKS encryption and LVM.

I had to re-install W7 and now there is no access to the grub menu and of course to the debian installation.

I tried "boot repair disk"
http://sourceforge.net/projects/boot-repair-cd/
, but it couldnt access the encrypted volume. It did generate the following output:
paste.ubuntu.com/10591353

Would appreciate help how to get the boot repair disk to access the encrypted partition and recover the grub menu

Thanks

Trouble Installing Mysql

Hi everyone,
i tried to install mysql on my slackware 14.1.
typed mysql_install_db --user=mysql and went to the automatic configuration of secure access and receive this "Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)".
How can remove this installation, to try to reinstall the db?


And another error when try to reinstall :
"bash-4.2# mysql_install_db --user=mysql
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
150130 9:40:11 [ERROR] mysqld: File '/var/lib/mysql/aria_log_control' not found (Errcode: 13)
150130 9:40:11 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/var/lib/mysql/aria_log_control'
150130 9:40:11 [ERROR] Plugin 'Aria' init function returned error.
150130 9:40:11 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
150130 9:40:11 [ERROR] mysqld: Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
150130 9:40:11 [ERROR] Aborting

150130 9:40:11 [Note] /usr/libexec/mysqld: Shutdown complete


Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.

The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:

shell> /scripts/mysql_install_db --defaults-file=~/.my.cnf

You can also try to start the mysqld daemon with:

shell> /usr/libexec/mysqld --skip-grant --general-log &

and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using
--general-log gives you a log in /var/lib/mysql that may be helpful.

The latest information about mysql_install_db is available at
http://kb.askmonty.org/v/installing-...sql_install_db.
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria

Please check all of the above before mailing us! And remember, if
you do mail us, you should use the /usr/bin/mysqlbug script!
bash-4.2#
"

Unable To Upgrade Squeeze To Wheezy

I try to upgrade the disto currently running in my box:

Description: Debian GNU/Linux 6.0 (squeeze)
Release: 6.0
Codename: squeeze

My sources.list looks like following:

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://mirrors.kernel.org/debian/ wheezy-updates main
deb-src http://mirrors.kernel.org/debian/ wheezy-updates main

After 2 commands:

aptitude update
aptitude upgrade

I have the same old good squeeze.
Help, please

yours`
sehrguey

Cant Connect To Mysql

Oh

Now I cannot connect to mysql on RHEL

I try:mysql --user=myuser--password=mydbpass mysql

and i get:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

Sorry I have done this many times before but cannot get in on this server. If I
mysqladmin -u root -p status, it states:

Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!

Cheers and sorry

PS /var/lib/mysql does not exist on my box

What's With Debian

I just read that in 2013 nasa stopped using windows and moved to linux quoting the need for a more stable ssystem with better security. They also said that they were using debian.

http://www.extremetech.com/extreme/1...ed-reliability

They also use lenova thinkpads for the same reasons.

My question is, what is the functionality difference with debian? Is it more stable than other distributions? If ubuntu is Debian based, what is the difference?

I'm currently using ubuntu studio Distro and very happy with it but I'm very interested in the reasons why nasa use Debian.