Log files missing r5096 v6895
-
I am still having issue with Log Files missing from storage nodes.
i have the log file on the server but not the nodes2 Nodes
Ubuntu 14.04 Fog r5096 v6895 -
Only the logs of the master nodes are shown.
-
@Tom-Elliott No log files on the master node, just got log files on server…
-
@Raymond-Bell The message, ip passed is incorrect is displaying from what I can see. Can it not find the storage node based on the IP as defined?
This is just my guess, of course I could just be talking out by you know what lol.
-
Can you update and try again?
I’m no longer requiring the use of FTP to get the files. I don’t know if we’ll be able to read the files, but at Least it should show the files (and do so much faster than before).
-
@Tom-Elliott Updated to the latest pull r5102 v6907
Still same IP message
There are no log files located on the master storage node… -
@Raymond-Bell What’s the IP address per what’s on the node?
-
@Tom-Elliott said:
@Raymond-Bell What’s the IP address per what’s on the node?
are you asking the ip address of the node?
-
Or this
* Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Server IP Address: 10.24.28.16 * Server Subnet Mask: 255.255.192.0 * Interface: eth0 * Installation Type: Storage Node * Node IP Address: 10.24.28.16 * MySQL Database Host: 10.24.28.18 * MySQL Database User: fogstorage
-
What version of php is installed?
php -v
Does your version of php have mcrypt?
php -m|grep mcrypt
-
fog@fog-GX620-K2:~$ php -v PHP 5.6.19-1+deb.sury.org~trusty+1 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies fog@fog-GX620-K2:~$ php -m|grep mcrypt mcrypt fog@fog-GX620-K2:~$
-
@Tom-Elliott What i don’t get is there is no log files at all on the nodes… It is like they were never created…
-
@Raymond-Bell What’s the output of:
sudo service FOGImageReplicator restart
? -
fog@fog-GX620-K2:~$ sudo service FOGImageReplicator restart [sudo] password for fog: * Restarting FOG Computer Imaging Solution: FOGImageReplicator [ OK ] fog@fog-GX620-K2:~$
-
@Raymond-Bell Does a file get created in /var/log/fog or /opt/fog/log?
-
@Tom-Elliott said:
@Raymond-Bell Does a file get created in /var/log/fog or /opt/fog/log?
No files in either location
-
@Raymond-Bell can you change the ownership of /opt/fog/ to:
sudo chown -R fog:apache2 /opt/fog
Then try restarting the services? (For now just do
sudo service FOGImageReplicator stop; sleep 2; sudo service FOGImageReplicator start
-
fog@fog-GX620-K2:~$ sudo chown -R fog:apache2 /opt/fog chown: invalid group: ‘fog:apache2’ fog@fog-GX620-K2:~$
-
@Raymond-Bell
sudo chown -R fog:www-data /opt/fog/
-
@Tom-Elliott
Still no files in either locationfog@fog-GX620-K2:~$ sudo chown -R fog:www-data /opt/fog/ fog@fog-GX620-K2:~$ sudo service FOGImageReplicator stop; sleep 2; sudo service FOGImageReplicator start * Stopping FOG Computer Imaging Solution: FOGImageReplicator [ OK ] * Starting FOG Computer Imaging Solution: FOGImageReplicator [ OK ] fog@fog-GX620-K2:~$