I did and still no files

Posts made by Raymond Bell
-
RE: Log files missing r5096 v6895
@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:~$
-
RE: Log files missing r5096 v6895
fog@fog-GX620-K2:~$ sudo chown -R fog:apache2 /opt/fog chown: invalid group: ‘fog:apache2’ fog@fog-GX620-K2:~$
-
RE: Log files missing r5096 v6895
@Tom-Elliott said:
@Raymond-Bell Does a file get created in /var/log/fog or /opt/fog/log?
No files in either location
-
RE: Log files missing r5096 v6895
fog@fog-GX620-K2:~$ sudo service FOGImageReplicator restart [sudo] password for fog: * Restarting FOG Computer Imaging Solution: FOGImageReplicator [ OK ] fog@fog-GX620-K2:~$
-
RE: 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…
-
RE: Log files missing r5096 v6895
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:~$
-
RE: Log files missing r5096 v6895
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
-
RE: Log files missing r5096 v6895
@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?
-
RE: Log files missing r5096 v6895
@Tom-Elliott Updated to the latest pull r5102 v6907
Still same IP message
There are no log files located on the master storage node… -
RE: Log files missing r5096 v6895
@Tom-Elliott No log files on the master node, just got log files on server…
-
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 -
RE: HIGH CPU Fog Services after update r5029 v6759 posted in FOG Problems
-
RE: HIGH CPU Fog Services after update r5029 v6759
@Tom-Elliott After update to r5054 this morning
Looks like it is fixed now but i have not rebooted any of them…
Servertop - 07:57:51 up 23:03, 3 users, load average: 134.00, 122.87, 122.12 Tasks: 351 total, 32 running, 312 sleeping, 0 stopped, 7 zombie %Cpu(s): 55.3 us, 42.0 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 2.7 si, 0.0 st KiB Mem: 4355692 total, 3461944 used, 893748 free, 69372 buffers KiB Swap: 1046524 total, 16896 used, 1029628 free. 2231712 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17801 mysql 20 0 386360 85396 9744 S 19.5 2.0 3:07.93 mysqld 20119 www-data 20 0 111272 19556 13116 R 11.3 0.4 0:04.27 apache2 21537 www-data 20 0 0 0 0 Z 9.9 0.0 0:01.06 apache2 21239 www-data 20 0 111188 19952 13344 R 8.6 0.5 0:02.65 apache2 19002 www-data 20 0 111044 19584 13116 R 7.0 0.4 0:08.43 apache2 18759 www-data 20 0 111296 19812 13092 R 6.6 0.5 0:13.16 apache2 19062 www-data 20 0 110988 19788 13752 R 6.6 0.5 0:07.04 apache2 20017 www-data 20 0 110996 18988 12572 S 6.6 0.4 0:04.30 apache2 18845 www-data 20 0 111300 19240 12688 R 6.3 0.4 0:13.16 apache2 18875 www-data 20 0 111256 20412 13732 R 6.3 0.5 0:12.60 apache2
Storage Node Master
top - 07:58:14 up 19:25, 2 users, load average: 0.01, 0.06, 0.12 Tasks: 201 total, 1 running, 195 sleeping, 0 stopped, 5 zombie %Cpu(s): 0.2 us, 0.2 sy, 0.0 ni, 99.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 1014980 total, 975276 used, 39704 free, 106172 buffers KiB Swap: 1037308 total, 22532 used, 1014776 free. 443116 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 4616 3552 2432 S 0.0 0.3 0:02.85 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:03.88 ksoftirqd/0 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 7 root 20 0 0 0 0 S 0.0 0.0 0:26.13 rcu_sched 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 9 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/0 10 root rt 0 0 0 0 S 0.0 0.0 0:00.18 watchdog/0 11 root rt 0 0 0 0 S 0.0 0.0 0:00.20 watchdog/1 12 root rt 0 0 0 0 S 0.0 0.0 0:00.02 migration/1
Storage Node 2nd
top - 07:58:31 up 22:59, 3 users, load average: 0.01, 0.02, 0.05 Tasks: 227 total, 1 running, 225 sleeping, 0 stopped, 1 zombie %Cpu(s): 0.1 us, 0.0 sy, 0.0 ni, 99.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem: 7735460 total, 7466792 used, 268668 free, 69996 buffers KiB Swap: 7828476 total, 0 used, 7828476 free. 6881904 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7 root 20 0 0 0 0 S 0.3 0.0 0:29.70 rcu_sched 11185 fog 20 0 5572 2852 2352 R 0.3 0.0 0:02.77 top 1 root 20 0 4732 3844 2580 S 0.0 0.0 0:01.60 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:04.09 ksoftirqd/0 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 9 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/0 10 root rt 0 0 0 0 S 0.0 0.0 0:00.30 watchdog/0 11 root rt 0 0 0 0 S 0.0 0.0 0:00.32 watchdog/1 12 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/1
-
RE: HIGH CPU Fog Services after update r5029 v6759
@Tom-Elliott Yes same result after
sudo service FOGMulticastManager stop sudo service FOGImageReplicator stop sudo service FOGSnapinReplicator stop sudo service FOGScheduler stop sudo service FOGPingHosts stop sudo update-rc.d FOGMulticastManager disable sudo update-rc.d FOGImageReplicator disable sudo update-rc.d FOGSnapinReplicator disable sudo update-rc.d FOGScheduler disable sudo update-rc.d FOGPingHosts disable sudo service FOGMulticastManager start sudo service FOGImageReplicator start sudo service FOGSnapinReplicator start sudo service FOGScheduler start sudo service FOGPingHosts start
top - 10:48:18 up 1:48, 2 users, load average: 4.14, 4.92, 5.02 Tasks: 202 total, 6 running, 196 sleeping, 0 stopped, 0 zombie %Cpu(s): 66.6 us, 32.7 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st KiB Mem: 1014980 total, 966204 used, 48776 free, 19852 buffers KiB Swap: 1037308 total, 12316 used, 1024992 free. 529972 cached Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5970 root 20 0 41920 20164 15184 R 45.6 2.0 0:07.37 FOGSnapinReplic 6026 root 20 0 41920 20392 15408 R 41.3 2.0 0:05.85 FOGPingHosts 5990 root 20 0 41920 20240 15256 R 39.6 2.0 0:06.34 FOGTaskSchedule 5950 root 20 0 41920 20488 15504 R 39.3 2.0 0:06.90 FOGImageReplica 5930 root 20 0 41920 20116 15132 R 34.3 2.0 0:05.32 FOGMulticastMan 5779 fog 20 0 11284 3900 3128 S 0.3 0.4 0:00.04 sshd 1 root 20 0 4732 3788 2548 S 0.0 0.4 0:02.83 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 3 root 20 0 0 0 0 S 0.0 0.0 0:00.78 ksoftirqd/0 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 7 root 20 0 0 0 0 S 0.0 0.0 0:05.27 rcu_sched 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 9 root rt 0 0 0 0 S 0.0 0.0 0:00.01 migration/0 10 root rt 0 0 0 0 S 0.0 0.0 0:00.01 watchdog/0 11 root rt 0 0 0 0 S 0.0 0.0 0:00.01 watchdog/1 12 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration/1 13 root 20 0 0 0 0 S 0.0 0.0 0:00.12 ksoftirqd/1
-
RE: HIGH CPU Fog Services after update r5029 v6759
@Tom-Elliott said:
@Raymond-Bell Did you restart the services after adding the rc.local? I’m sorry if I’m asking obvious questions, but I really just need to make sure. Current update should help alleviate CPU usage as well though.
yes restarted and rebooted and also up to r5038 6777
will do it again to make sure -
RE: HIGH CPU Fog Services after update r5029 v6759
@Tom-Elliott said:
@Raymond-Bell The rc.local stuff is also on the Storage Nodes?
yes i edited rc.local on Storage Nodes also
-
RE: HIGH CPU Fog Services after update r5029 v6759
@Tom-Elliott said:
@Raymond-Bell said:
Too many connections, Message: Check that database is running
Too many connections, Message: Check that database is running.
Can you edit the /etc/mysql/my.cnf file and add in the
[mysqld]
portion (or change)max_connections = 500
then restart the mysql service? (sudo service mysql restart
)Yes that helped with the to many connections
Also this helped on the server but not the nodessudo update-rc.d FOG*service* disable``` Try disabling the FOG Services from starting at boot. Then, edit the /etc/rc.local file. Add: sleep 30 /etc/init.d/FOGPingHosts stop /etc/init.d/FOGScheduler stop /etc/init.d/FOGImageReplicator stop /etc/init.d/FOGSnapinReplicator stop /etc/init.d/FOGMulticastManager stop /etc/init.d/FOGPingHosts start /etc/init.d/FOGScheduler start /etc/init.d/FOGImageReplicator start /etc/init.d/FOGSnapinReplicator start /etc/init.d/FOGMulticastManager start
-
RE: HIGH CPU Fog Services after update r5029 v6759
@Wayne-Workman i will try this i think this is what Tom is talking about
-
RE: HIGH CPU Fog Services after update r5029 v6759
@Tom-Elliott said:
@Raymond-Bell are you disabling the services from booting completely? Then using the rc.local?
THe rc.local won’t work if it can’t stop the original tasking anyway.
Yes and i rebooted also