Indeed - if this hasn't been positively confirmed yet, it would be good to 
check whether the server (mysql) is running. (I have to admit that I haven't 
read the output below and don't know whether it's in there...) But just 
installing the server doesn't mean it will automatically be started.

Kind regards, Helmut. 

On 28 June 2015 5:37:46 PM NZST, steve <[email protected]> wrote:
>The apache error is no big deal, especially for a private server. I 
>manage some in production that are set up like that... well they won't 
>pay me to fix it lol ( more important for mail ).
>
>Doesn't that mysql message state it's failing to access using a named 
>socket, not a TCP port? Maybe check what socket mysqld is listening on,
>
>and that you have permission to access it ( and that it's running ).
>
>$ sudo ps -ef | grep my
>root      2057     1  0 May30 ?        00:00:00 /bin/sh 
>/usr/bin/mysqld_safe --datadir=/var/lib/mysql 
>--pid-file=/var/lib/mysql/steve-new.pid
>mysql     2671  2057  0 May30 ?        00:17:33 /usr/sbin/mysqld 
>--basedir=/usr --datadir=/var/lib/mysql 
>--plugin-dir=/usr/lib64/mysql/plugin --user=mysql 
>--log-error=/var/log/mysqld.log --open-files-limit=2048 
>--pid-file=/var/lib/mysql/steve-new.pid 
>--socket=/var/lib/mysql/mysql.sock --port=3306
>
>[and check that's what it's really listening on]
>
>$ sudo lsof -p 2671| grep unix
>mysqld  2671 mysql   18u  unix 0xffff8802289fa480       0t0   12326 
>/var/lib/mysql/mysql.sock
>
>If it's different to the zoneminder configuration, than that needs
>updating.
>
>hth,
>
>Steve
>
>
>On 28/06/15 16:52, [email protected] wrote:
>> From the install log although the apache message is said to be a 
>> friendly reminder not an error relating
>> to the machines private address 127.0.1.1 Zoneminder may be having 
>> issues trying to connect to the
>> remote mysql server using "host=localhost" most likely 127.0.0.1.
>>
>> Some tips to configure the FQDN Servername  -
>>
>http://askubuntu.com/questions/256013/could-not-reliably-determine-the-servers-fully-qualified-domain-name
>>
>>
>> On 27/06/15 19:14, Peter Simmonds wrote:
>>> Hi All, just regarding my previous question, the terminal output is 
>>> attached to this email.
>>> > * Restarting web server apache2    AH00558: apache2: Could not 
>>> reliably determine the server's fully qualified domain name, using 
>>> 127.0.1.1.
>>> > Set the 'ServerName' directive globally to suppress this message
>>> [ OK ]
>>> > Setting up php5 (5.5.9+dfsg-1ubuntu4.9) ...
>>> > Setting up zoneminder (1.28.1-trusty-1) ...
>>> > mysql not found, assuming remote server.
>>> > DBI connect('database=zm;host=localhost','zmuser',...) failed: 
>>> Can't connect to local MySQL server through socket 
>>> '/var/run/mysqld/mysqld.sock' (2)
>>> > at /usr/share/perl5/ZoneMinder/Config.pm line 91.
>>
>>>
>>>
>>> _______________________________________________
>>> Linux-users mailing list
>>> [email protected]
>>> http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
>>
>>
>>
>> _______________________________________________
>> Linux-users mailing list
>> [email protected]
>> http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
>
>-- 
>Steve Holdoway BSc(Hons) MIITP
>http://www.greengecko.co.nz
>Linkedin: http://www.linkedin.com/in/steveholdoway
>Skype: sholdowa
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Linux-users mailing list
>[email protected]
>http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Kind regards,

Helmut. 
-- 
+---------------
+ Helmut Walle
+ 021-446 137
+---------------
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to