Page 1 of 1

One problem and one tip

Posted: Tue Jul 19, 2005 8:25 am
by koldo
Hello all
After the catastrophic sudden dead of my hard drive just as I managed to install ZM, and after the consequent expenditure in a new one, here I am again with a problem, but as well with a tip
the problem is as follow

Due to the fact that I lost everything -the physically died- I decided to give it a go with a different system, and try the new RPM for Fedora.
So far so good, and even a linux dummy as myself manage to install the whole lot.
So far so good. However as they say in Spain "happiness is short in the beggar's home"
following the instructions step by step I reached the point in which to test the system I must point the browser to http://localhost/zm

the response in the browser is:

"could not connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql.sock (13)'

What can be wrong?

I will appreciate any help

Now the tip.

I was having a bunch of problems previously with MySQL and the passwords etc. Somebody suggested me the use of "webmin" and since then, managing the databases is absolutely simple thanks to its graphic interface. I suposse that all those MySQL gurus around here will be having a laugh thinking "what a useless dummy" but as I supposse there are lots of people in the same situation as myself -hope not to be the only useless dummy" that's why I decided it was a good idea to give the tip

Regards

Luis

Re: One problem and one tip

Posted: Tue Jul 19, 2005 10:41 am
by TheFluffyOne
koldo wrote:the response in the browser is:

"could not connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql.sock (13)'
Initial guess would be that the MySQL server is not running.

What response do you get if you type the following as root at the console:

Code: Select all

service mysqld status
Your comments regarding Webmin suggest that MySQL ought to be running, but the command above will confirm for certain.

Posted: Tue Jul 19, 2005 1:20 pm
by koldo
problem sorted.

All it was is that fedora core 3 has a default feature called SELinux with was preventing my browser to connect with the database. I disable it by using the system-config-securitilevel command and at least I can access to the zm console.
From now, -when I came back home after work- I will try to create my first camera.

Regards and thanks for your help