Ubuntu Servers :: Mysqld.pid File Error On 8.04.4 LTS - Unknown Variable

Feb 4, 2010

I'm running Ubuntu 8.04.4 LTS to host a moodle server in a school.. moodle is running OK - but I'm having problems with MySql Any mysql command generates:

unknown variable 'pid-file=/var/run/mysqld/mysqld.pid'

I've taken a look in unknown variable 'pid-file=/var/run/mysqld/ and there is no mysqld.pid file I have followed these instructions that I found elsewhere:

If there�s no mysqld.pid inside /var/run/mysqld directory, create mysqld.pid
# cd /var/run/mysqld
# touch mysqld.pid

[code]....

But after reboot the mysqld.pid file is missing again.. I can access mysql via phpmyadmin - but webmin fails with unknown variable 'pid-file=/var/run/mysqld/mysqld.pid'

View 8 Replies


ADVERTISEMENT

Ubuntu Servers :: Error: 'Can't Connect To Local MySQL Server Through Socket '/var/run/mysqld/mysqld.sock' (2)

Apr 10, 2010

After the upgrade from 8.10 to 9.04, all was well. But after the upgrade from 9.04 to 9.10, I lost the MySQL server. Now, I recall during the upgrade, I was asked if I wanted to keep the existing my.cnf file or replace it with a newer one. I did as suggested and kept the original as I had edited it before. The same question was asked with a couple other config files. I kept the original in each case. After the first step, I checked the server was running and the websites were up, all was well. After the update to 9.10, when I checked the server, I get the following error:

Code: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Can anyone point me in the right direction to getting this resolved?

View 2 Replies View Related

Ubuntu Servers :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/run/mysqld/mysqld.sock' (2)

Feb 27, 2011

I'm the lead Dev of GnackTrack and we're having issues with running MySQL on the LiveDVD.Once installed everything works fine, mysql can be connected to but when using the liveDVD we get the following error:

Code:

root@root:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Contents of /etc/mysql/my.cf point to /var/run/mysqld/mysqld.sock but because this is a liveDVD the actual file is located in:
/rofs/var/run/mysqld/mysqld.sock

[code].....

View 4 Replies View Related

Ubuntu Servers :: Can't Connect To Local MySql Through Socket '/var/run/mysqld/mysqld.sock' (2)

Apr 18, 2011

installing mysql server manually. i have successfully installed mysql server but when i am try to create database, it shows error like this

ERROR 2002 (HY000): Can't connect to local MySql server through socket '/var/run/mysqld/mysqld.sock' (2)

** mysqld is not available in /var/run and error log file is also not available in /var/log **

View 5 Replies View Related

General :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/run/mysqld/mysqld.sock' (2)

Feb 24, 2011

I need some help.Trying to set up bugzilla on my VM.After setting up the IP to use static i could log on to the url its not even loading up from command line its issueing an error.when i try to log on to mysql

bugzilla:~# mysql -u root mysql] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

View 1 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

Ubuntu Servers :: Error "Starting MySQL Database Server Mysqld"

May 5, 2011

i'm not the most knowlegable person but i have successfully installed mysql in the past. but now that i am attempting to install it again i'm getting this error during installation. has anyone seen this before?

mysql error: *Starting MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1

View 6 Replies View Related

Fedora Servers :: Gnome Error - Hostname: Unknown Host

Mar 23, 2009

I installed Gnome on my server by when I run

Code:

[root@F026 ~]# startx

Code:

hostname: Unknown host
xauth: creating new authority file /root/.serverauth.2915
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.1.el5 i686

[code]...

I don;t have physical access to the system and it is a server located in Europe. Fedora release 10 (Cambridge) is installed in it.

View 2 Replies View Related

Ubuntu Servers :: Citadel-server Install Returns Error Bad Variable Name?

Jan 17, 2011

I'm trying to install citadel server on ubuntu server 10.04 via apt-get install citadel-server. I get an error at:setting up citadel-server (7.71-1)export: 106: 007: bad variable namedpkg script exits with error code 1.would this be due to unmet dependency?WalterPS. filed a bug in launchpad

View 2 Replies View Related

Ubuntu Servers :: Edit /etc/environment File And Write There My Variable

May 7, 2011

I edit /etc/environment file and write there my variable by it's not effected, what i need to restart daemon that it's show on echo $VARIABLE.

View 1 Replies View Related

Ubuntu Servers :: Mysqld Goes 100% Cpu Load And Freeze

Aug 15, 2010

as soon as mysqld starts it goes 100% cpu. I can stop it, there is no mysql_safe running, and I ran mysqlcheck -A -a -c -o -g --auto-repair -u root -p all is ok, syslog shows nothing important but I can't login to any account with mysql client it just sits there, using php it times out. I don't know how to fix the urgent situation...

Looks like it has been started after a release update to 9.10 or 10.4 (i did it in a row) I don't know if this bug is related [URL]

View 2 Replies View Related

Ubuntu Installation :: Grub Error Saying Unknown File System?

Sep 29, 2010

i installed ubuntu 10.04.. all very nice, but not the os for me.. lightscribe problems, front ir panel problems. minor niggles for sure, but enough for me to go ahead with formatting and installing windows. simple job...or so i thought... using windows set up, i formatted c: and continued with install...on first restart i got a grub error saying unknown file system... i have tried loads of different things... fix mbr fixboot, that nt60 one. dban wouldnt work either.. im at my wits end ive spunked the best part of 1000 on this system and my wife is nagging me.

View 4 Replies View Related

Fedora Servers :: Sendmail[31427]: Unable To Open Berkeley Db /etc/sasldb2: Unknown Error 13

Sep 7, 2010

I've been using cyrus and sendmail together for a very very long time now. Just recently I upgraded to fedora 13 and now my virtual users can not send email from the /etc/sasldb2 passwords. I get in the /var/log/messages sendmail[31427]: unable to open Berkeley db /etc/sasldb2: Unknown error: Its weird that they can still log in and get email from imapd.conf

sasl_pwcheck_method:auxprop saslauthd
sasl_auxprop_plugin: sasldb
sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5

[code].....

I even tried re-creating sasldb2 and sasldblistusers2 shows my two users 'one' that is also a local user account and the saslauthd authenticates when sending emails, but the virtual user 'two' can't send just only can log in to receive. /etc/sysconfig/saslauthd is set up as mech=pam. but I don't see how that would be relevant to this issue.

View 5 Replies View Related

Ubuntu Servers :: 'start Mysql' Never Returns And No Mysqld Running

Apr 26, 2010

Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore: me@mycomputer~#start mysql [ret] ...... for hours this command never returns so that ^C aborts...

me@mycomputer~#ps axw |grep mysql ( no results, no mysql!!! ) me@mycomputer~#stop mysql [ret] no returns either!!! This upstart [start|stop] thing seems a total failure for mysql!!!

View 9 Replies View Related

General :: Grub Rescue - Unknown File System Error ?

Jul 18, 2011

I have a pc that was running with the latest version of ubuntu and i wanted to install just vista for somereasons.

And what i did is to format the main driver and try to boot it from vista CD and as you may guess i have an error that says: unknown file system grub rescue

Each time i start the pc. I have an ubuntu live cd and also the vista cd, so what should i do now? the vista cd dosnt boot and the same screen appears all the time.

View 5 Replies View Related

Ubuntu :: Fatal Error: Could Not Find Mysqld?

Jul 7, 2010

I have a virtual machine (VirtualBox) with Ubuntu 9.10 installed, I'm trying to install MySql community editor using the linux-generic package (the tar package), I followed all the procedure but I had a problem with the next line of code:

shell> scripts/mysql_install_db --user=mysql

I don't understand a lot about the command line, but I think this line of code is used to create the basic tables of the database (users and so on). the problem I got with this line of code is:

FATAL ERROR: Could not find mysqld

I googled it and after a while I found this blog:
azimbabu.blogspot.com/2009/07/mysql-5136-in-ubuntu-904-fatal-error.html

The blog says that the problem is a default instalation of SQL, and the solution is replace the file my.cnf in the location /etc/mysql for other file that comes with the package.

I didn't replace the file my.cnf, I only changed the name and it woked perfectly, and this is the problem, I don't understand why it worked.

Any one knows why this file is so important?What could happen if I delete this file?what is the purpose of the package mysql-common un Ubuntu?

View 3 Replies View Related

Slackware :: Tcsh - Unknown Colorls Variable 'ca'

Jul 27, 2010

I have been using tcsh for quite some time, both on a laptop running Ubuntu and a remote server running Slackware 11. No problem whatsoever. Now I am compiling and installing tcsh on a brand new Slackware 13 box and when I run tcsh I get this error:

Unknown colorls variable 'ca'

or

Unknown colorls variable 'hl'

I didn't have this problem in Slackware 11, why is it happening now?

So I tried the official Slackware package for tcsh. It works, but it's tcsh 6.15.00. Tcsh is at 6.17.00, which runs fine on my Slackware 11 box.

I investigated the problem on Google and all reports seem to refer to Fedora, some to Mandriva. Many of the threads, across several forums and sites, point to this LinuxQuestions thread:

[URL]

View 2 Replies View Related

General :: Error On Startup - Unknown File Filesystem Grub Rescue> ?

Mar 7, 2011

Yesterday I installed the latest version of ubuntu to my computer that was already running windows 7. I had everything working fine until in windows I deleted a partition that had nothing in it.

After this I restarted but I can't get into either OS. I get an error that says Error: unknown filesystem grub rescue>

I think I need to fix something in grub. I have been booting off of a usb stick with linux on it in the mean time.

View 2 Replies View Related

General :: Error On Startup. Unknown File Filesystem Grub Rescue> ?

Mar 7, 2011

Yesterday I installed the latest version of ubuntu to my computer that was already running windows 7. I had everything working fine until in windows I deleted a partition that had nothing in it. After this I restarted but I can't get into either OS.

I get an error that says Error: unknown filesystem grub rescue>

View 3 Replies View Related

Ubuntu Installation :: Netbook / When Boot From Usb Stick, Getting Error Unknown Keyword In Configuration File?

Oct 25, 2010

I'm having problems installing Ubuntu 10.10 Netbook onto my Asus 900. I downloaded the .iso then used the "make startup disc" feature in my Mint 9 desktop machine to make a usb install disk. All appears well at that point. When I try to boot from the usb stick, I get an error message as follows:

"SYSLINUX 363 Debien-2008-07-15 ......
Unknown Keyword in Configuration File
boot: "

and the cursor just hangs there and doesn't respond to the keyboard.

I also tried it on another Asus and a Gateway Laptop with the same results.

My intention is to have this the sole OS on my little Asus 900.

View 4 Replies View Related

Fedora Servers :: Joomla+MySqlD: Mysql Homedir Permissions?

Feb 1, 2009

I've created a mysql user and he can connect Joomla to mysqld when everyone has full permissions to the mysql homedir but I know this is bad from a security standpoint. If I set mysql user as the only one with permissions then I can't connect. I know Joomla support is not very help from past experience, wish I could dump it for something else but it does work great once it is configured so I need to keep it around, can anyone make a guess as to what permissions I need to have set on mysql's home dir so that joomla can still connect yet I am more secure than now?

View 11 Replies View Related

Server :: Can't Connect To Local MySql Server Through Socket '/var/run/mysqld/mysqld.sock' (2)

Apr 18, 2011

i have successfully installed mysql server but when i am try to create database, it shows error like this

ERROR 2002 (HY000): Can't connect to local MySql server through socket '/var/run/mysqld/mysqld.sock' (2)

** mysqld is not available in /var/run and error log file is also not available in /var/log **

View 4 Replies View Related

Programming :: Bash - Read Content Of File To Variable And Use This Variable In For Loop ?

Aug 21, 2009

I'm trying to read content of file to variable and use this variable in for loop. The problem is, when I have c++ comment style in file - /*. Spaces in line are also interpreted as separated lines.

For example:

Code:

Changing $files to "$files" eliminate these problems but causes that whole content of variable is treated as one string (one execution of loop).

View 6 Replies View Related

CentOS 5 :: Yum Python New Thread.error When Mysqld Is Running

Mar 13, 2009

I installed mysqld with yum then yum quit working with this error:http://yum.baseurl.org/ticket/70 when mysqld is stopped yum works again. what does a running instance of mysqld have in common with a python yum package manager?

rpm -qa rpm* python* yum* mysql* | sort
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-server-5.0.45-7.el5

[Code]...

View 3 Replies View Related

Ubuntu Servers :: "ERROR :Closing Link: [unknown@127.0.0.1] (Ping Timeout)"

Apr 3, 2011

I am trying to set up the IRCD-IRC2 server to allow local chat between users connected to my Ubuntu server through SSH. I have port forwarding all set up to the point when I open port 6667 on the localhost it immediately comes back with":My.Irc.Com 020 * lease wait while we process your connection." Sounds promising. But it's not. It hangs for over a minute, then comes back with "ERROR :Closing Link: [unknown@127.0.0.1] (Ping timeout)" and closes the connection.

I don't want IRC2 to connect to any other servers. I just want it to facilitate chat between other users logged in through SSH as I said. Here is my ircd.conf file

M:My.Irc.Com::BC, Canada:6667:0001
A:Canada:info@irc.com:Notes::SrvName:
P:127.0.0.1:::6667:
I:127.0.0.1::::10

Can anyone tell me what I'm doing wrong?

View 1 Replies View Related

OpenSUSE Install :: Grub Error 18 - Unknown File System - Running From External Hard Drive

Jan 11, 2011

It started when I wanted to dual boot Windows 7 and Opensuse off of my netbook (No DVD/CD drive) I tried install suse from an external hard drive and I botched it. I ended up erasing EVERYTHING off of my internal netbook hard drive. Windows and all.

Well, I had a couple of other computers so I studied up and eventually successfully installed OpenSUSE 11.2 on my external hard drive (11.3 being the one that I accidentally erased everything with, so kinda scared of it) and now I want to install openSUSE 11.2 on my internal netbook hard drive.

I can not use disks

I can not use a flash drive (For some reason, even if I make it bootable, it will not load up, this could be because it's actually a 8GB microSD card that is placed in a USB card reader.)

I can not use an external hard drive because that's what I'm running suse off of.

I've tried reading up on how to install suse on another drive off of the hard drive and I've gotten as far as whenever I boot up the netbook with the suse external hard drive connected it will ask to boot into OpenSUSE, the Fail Safe, or to install OpenSuse. When I select to install it it gives me the Error 18 Unknown File system.

I've tried formatting the internal hard drive twice. One as NTFS and again as EXT4. Neither seems to effect it other than when it's ext4 I can open it and it contains a Lost and Found folder.

When I interrupt the boot sequence by pressing c and going to the terminal and I use the root (hd +TAB command it tells me I have a hd0 and a hd1. The hd1 only has 1 partition which is ext4, which I'm assuming hd1 is the internal hard drive (I'm not sure how to check) and the hd0 is the external hard drive, which has three partitions. One with an unknown file system and two with ext4. When I try to enter the set up from the terminal it gives me the same error for any thing I put it (e.g. root (hd0,0) gives the same error as root (hd0,1), or root (hd0,2) and root (hd1,0)

Something like it cannot locate these two files I'm assuming it needs to boot. If anyone finds this relevant I'll retry it and post the files its missing.

I've been searching for awhile and can't find any threads that can solve my problem. From other threads, however, I have noticed that I should probably include my menu.lst, listed below

Code:

I have also ran the boot info script and received the RESULTS.txt file it generates. Listed below

Code:

View 9 Replies View Related

CentOS 5 :: Timeout Error Occured Trying To Start Mysqld Daemon?

Mar 10, 2009

I have Centos 5.1 and im a total newbie. I have managed to get it running with Apache and PHP but after I install mysql it fails to start with the above error. I have removed it as well using YUM and reinstalled it but it still will not start.

View 4 Replies View Related

Software :: Get Variable From Text File Into Bash Variable?

Jun 10, 2009

I have a text file i that has a mailTo: NAME in it. In a bash script i need to extract NAME and put it in a $variable to use. How do i do this?

View 2 Replies View Related

CentOS 5 Server :: Mysql (mysqld) Not Loading Config File?

Apr 30, 2009

We have been struggling with a problem with the mysql-server package. This might be in the wrong category because our problems are with it on x86_64. Where the problem happens variables that should populate from the my.cnf don't, on other servers, they do, the my.cnf files are identical except for the server-id

The problem occurs on some of our machines but not others. All are using the mysql-server-5.0.45-7.el5.x86_64 The ones that work, when you connect with a client respond with server version 5.0.45-log source distribution The ones that don't work respond with 5.0.45 source distribution

It's unclear what the differences are between the two source versions and how we wind up with two different versions. One thing that might be involved, the mysql package is installed with both the i386 and x86_64

View 1 Replies View Related

Software :: Changing Variable Name Breaks Bash Script - Find: Unknown Predicate `-maxdepth 1'

Oct 28, 2010

I'm not sure if I should post the whole script here (60 lines) but the script has a variable that occurs only three times, once when it's set and twice when it's referenced/read/expanded (not sure of the correct terminology)Anyway if I change the name of this variable from "maxdepth" to "findopts" the script throws the following error:

find: unknown predicate `-maxdepth 1'

But if I change the variable name to "maxIdepth" it still works? Here are the lines that this variable appears in:

maxidepth=('-maxdepth 1');
.
# other code, etc

[code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved