Log files missing r5096 v6895
-
@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:~$
-
@Raymond-Bell /opt/fog/log is the same location as /var/log/fog (they’re just a link to one another.
Is it possible for you to try sudoing up to root (
sudo -i
) then try restarting the FOGImageReplicator? -
I did and still no files
-
Than you may have to touch the files first.
sudo touch /opt/fog/log/{mulicast,fogsnaprep,fogscheduler,fogreplicator,pinghosts}.log sudo service FOGImageReplicator restart sudo service FOGScheduler restart sudo service FOGSnapinReplicator restart sudo service FOGPingHosts restart sudo service FOGMulticastManager restart
-
That worked. I can see the files now on the master node…
Do i need to do this on slave node?
-
-
@Raymond-Bell Do they actually have data though?
-
NO no data and still IP error
-
what version are you currently running?
-
What I mean by data (not that you don’t know how or anything), but if you run
cat /opt/fog/log/fogreplicator.log
is there anything output? -
@Tom-Elliott
r5102 v6907root@fog-GX620-K2:~# cat /opt/fog/log/fogreplicator.log root@fog-GX620-K2:~#
-
@Tom-Elliott
the ownership of the files are set to root also i see do i need to change that to owner fog?