One problem and one tip

Support and queries relating to all previous versions of ZoneMinder
Locked
koldo
Posts: 7
Joined: Mon Jun 27, 2005 10:22 am

One problem and one tip

Post 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
TheFluffyOne
Posts: 7
Joined: Mon Jul 18, 2005 12:47 pm
Location: Swindon, UK

Re: One problem and one tip

Post 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.
koldo
Posts: 7
Joined: Mon Jun 27, 2005 10:22 am

Post 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
Locked