container-based zabbix-server 5.0.3 restart with no reason in container logs - zabbix

I am running a container-based Zabbix-server 5.0.5 and from time to time it restarts. When looking into the log from docker logs -f zabbix-server, there is no specific reason printed in the log.
Starting Zabbix Server. Zabbix 5.0.5 (revision eaa427c).
Press Ctrl+C to exit.
6:20220316:152307.892 Starting Zabbix Server. Zabbix 5.0.5 (revision eaa427c).
6:20220316:152307.892 ****** Enabled features ******
6:20220316:152307.892 SNMP monitoring: YES
6:20220316:152307.892 IPMI monitoring: YES
6:20220316:152307.892 Web monitoring: YES
6:20220316:152307.892 VMware monitoring: YES
6:20220316:152307.892 SMTP authentication: YES
6:20220316:152307.892 ODBC: YES
6:20220316:152307.892 SSH support: YES
6:20220316:152307.892 IPv6 support: YES
6:20220316:152307.892 TLS support: YES
6:20220316:152307.892 ******************************
6:20220316:152307.892 using configuration file: /etc/zabbix/zabbix_server.conf
6:20220316:152307.931 current database version (mandatory/optional): 05000000/05000002
6:20220316:152307.931 required mandatory version: 05000000
6:20220316:152307.999 server #0 started [main process]
198:20220316:152308.000 server #1 started [configuration syncer #1]
199:20220316:152310.725 server #2 started [housekeeper #1]
200:20220316:152310.725 server #3 started [timer #1]
201:20220316:152310.726 server #4 started [http poller #1]
202:20220316:152310.726 server #5 started [discoverer #1]
205:20220316:152310.727 server #8 started [history syncer #1]
206:20220316:152310.727 server #9 started [history syncer #2]
203:20220316:152310.727 server #6 started [discoverer #2]
208:20220316:152310.728 server #11 started [history syncer #4]
204:20220316:152310.729 server #7 started [discoverer #3]
210:20220316:152310.729 server #13 started [proxy poller #1]
222:20220316:152310.731 server #25 started [poller #5]
221:20220316:152310.732 server #24 started [poller #4]
207:20220316:152310.741 server #10 started [history syncer #3]
217:20220316:152310.743 server #20 started [task manager #1]
211:20220316:152310.744 server #14 started [self-monitoring #1]
209:20220316:152310.745 server #12 started [escalator #1]
218:20220316:152310.746 server #21 started [poller #1]
215:20220316:152310.746 server #18 started [vmware collector #4]
216:20220316:152310.746 server #19 started [vmware collector #5]
213:20220316:152310.746 server #16 started [vmware collector #2]
232:20220316:152310.747 server #35 started [poller #15]
219:20220316:152310.747 server #22 started [poller #2]
214:20220316:152310.747 server #17 started [vmware collector #3]
225:20220316:152310.748 server #28 started [poller #8]
233:20220316:152310.748 server #36 started [poller #16]
234:20220316:152310.750 server #37 started [poller #17]
235:20220316:152310.751 server #38 started [poller #18]
224:20220316:152310.752 server #27 started [poller #7]
264:20220316:152310.757 server #67 started [poller #47]
271:20220316:152310.757 server #74 started [poller #54]
226:20220316:152310.758 server #29 started [poller #9]
229:20220316:152310.759 server #32 started [poller #12]
256:20220316:152310.759 server #59 started [poller #39]
245:20220316:152310.760 server #48 started [poller #28]
275:20220316:152310.760 server #78 started [poller #58]
227:20220316:152310.761 server #30 started [poller #10]
268:20220316:152310.762 server #71 started [poller #51]
228:20220316:152310.762 server #31 started [poller #11]
252:20220316:152310.762 server #55 started [poller #35]
240:20220316:152310.763 server #43 started [poller #23]
241:20220316:152310.764 server #44 started [poller #24]
223:20220316:152310.765 server #26 started [poller #6]
269:20220316:152310.765 server #72 started [poller #52]
242:20220316:152310.765 server #45 started [poller #25]
258:20220316:152310.766 server #61 started [poller #41]
270:20220316:152310.767 server #73 started [poller #53]
249:20220316:152310.768 server #52 started [poller #32]
212:20220316:152310.768 server #15 started [vmware collector #1]
248:20220316:152310.769 server #51 started [poller #31]
247:20220316:152310.769 server #50 started [poller #30]
238:20220316:152310.769 server #41 started [poller #21]
253:20220316:152310.770 server #56 started [poller #36]
250:20220316:152310.771 server #53 started [poller #33]
243:20220316:152310.772 server #46 started [poller #26]
279:20220316:152310.773 server #82 started [poller #62]
259:20220316:152310.773 server #62 started [poller #42]
246:20220316:152310.773 server #49 started [poller #29]
257:20220316:152310.777 server #60 started [poller #40]
239:20220316:152310.777 server #42 started [poller #22]
251:20220316:152310.778 server #54 started [poller #34]
230:20220316:152310.780 server #33 started [poller #13]
291:20220316:152310.781 server #94 started [poller #74]
276:20220316:152310.783 server #79 started [poller #59]
236:20220316:152310.784 server #39 started [poller #19]
261:20220316:152310.784 server #64 started [poller #44]
262:20220316:152310.786 server #65 started [poller #45]
220:20220316:152310.787 server #23 started [poller #3]
263:20220316:152310.788 server #66 started [poller #46]
280:20220316:152310.790 server #83 started [poller #63]
281:20220316:152310.791 server #84 started [poller #64]
231:20220316:152310.792 server #34 started [poller #14]
255:20220316:152310.794 server #58 started [poller #38]
290:20220316:152310.797 server #93 started [poller #73]
237:20220316:152310.799 server #40 started [poller #20]
244:20220316:152310.800 server #47 started [poller #27]
265:20220316:152310.803 server #68 started [poller #48]
277:20220316:152310.803 server #80 started [poller #60]
267:20220316:152310.804 server #70 started [poller #50]
278:20220316:152310.806 server #81 started [poller #61]
272:20220316:152310.807 server #75 started [poller #55]
274:20220316:152310.810 server #77 started [poller #57]
266:20220316:152310.814 server #69 started [poller #49]
273:20220316:152310.818 server #76 started [poller #56]
286:20220316:152310.820 server #89 started [poller #69]
260:20220316:152310.821 server #63 started [poller #43]
282:20220316:152310.822 server #85 started [poller #65]
254:20220316:152310.832 server #57 started [poller #37]
288:20220316:152310.841 server #91 started [poller #71]
289:20220316:152310.844 server #92 started [poller #72]
285:20220316:152310.846 server #88 started [poller #68]
287:20220316:152310.848 server #90 started [poller #70]
292:20220316:152310.858 server #95 started [poller #75]
283:20220316:152310.877 server #86 started [poller #66]
307:20220316:152310.877 server #110 started [poller #90]
309:20220316:152310.879 server #112 started [poller #92]
303:20220316:152310.880 server #106 started [poller #86]
301:20220316:152310.881 server #104 started [poller #84]
304:20220316:152310.881 server #107 started [poller #87]
297:20220316:152310.882 server #100 started [poller #80]
305:20220316:152310.882 server #108 started [poller #88]
308:20220316:152310.883 server #111 started [poller #91]
306:20220316:152310.884 server #109 started [poller #89]
284:20220316:152310.888 server #87 started [poller #67]
296:20220316:152310.924 server #99 started [poller #79]
302:20220316:152310.926 server #105 started [poller #85]
298:20220316:152310.927 server #101 started [poller #81]
295:20220316:152310.933 server #98 started [poller #78]
299:20220316:152310.943 server #102 started [poller #82]
300:20220316:152310.952 server #103 started [poller #83]
294:20220316:152310.955 server #97 started [poller #77]
310:20220316:152310.956 server #113 started [poller #93]
313:20220316:152310.957 server #116 started [poller #96]
314:20220316:152310.958 server #117 started [poller #97]
328:20220316:152310.968 server #131 started [poller #111]
342:20220316:152311.008 server #145 started [unreachable poller #5]
321:20220316:152311.010 server #124 started [poller #104]
322:20220316:152311.012 server #125 started [poller #105]
311:20220316:152311.013 server #114 started [poller #94]
325:20220316:152311.013 server #128 started [poller #108]
315:20220316:152311.014 server #118 started [poller #98]
319:20220316:152311.015 server #122 started [poller #102]
327:20220316:152311.015 server #130 started [poller #110]
344:20220316:152311.016 server #147 started [unreachable poller #7]
345:20220316:152311.017 server #148 started [unreachable poller #8]
340:20220316:152311.017 server #143 started [unreachable poller #3]
346:20220316:152311.018 server #149 started [unreachable poller #9]
324:20220316:152311.019 server #127 started [poller #107]
347:20220316:152311.020 server #150 started [unreachable poller #10]
333:20220316:152311.021 server #136 started [poller #116]
323:20220316:152311.021 server #126 started [poller #106]
339:20220316:152311.021 server #142 started [unreachable poller #2]
326:20220316:152311.025 server #129 started [poller #109]
335:20220316:152311.030 server #138 started [poller #118]
341:20220316:152311.032 server #144 started [unreachable poller #4]
329:20220316:152311.033 server #132 started [poller #112]
336:20220316:152311.034 server #139 started [poller #119]
312:20220316:152311.038 server #115 started [poller #95]
338:20220316:152311.042 server #141 started [unreachable poller #1]
318:20220316:152311.044 server #121 started [poller #101]
334:20220316:152311.045 server #137 started [poller #117]
331:20220316:152311.045 server #134 started [poller #114]
317:20220316:152311.045 server #120 started [poller #100]
293:20220316:152311.048 server #96 started [poller #76]
316:20220316:152311.054 server #119 started [poller #99]
332:20220316:152311.056 server #135 started [poller #115]
330:20220316:152311.056 server #133 started [poller #113]
337:20220316:152311.060 server #140 started [poller #120]
348:20220316:152311.062 server #151 started [unreachable poller #11]
320:20220316:152311.067 server #123 started [poller #103]
349:20220316:152311.074 server #152 started [unreachable poller #12]
350:20220316:152311.079 server #153 started [unreachable poller #13]
343:20220316:152311.089 server #146 started [unreachable poller #6]
369:20220316:152311.121 server #172 started [alerter #1]
370:20220316:152311.124 server #173 started [alerter #2]
357:20220316:152311.153 server #160 started [unreachable poller #20]
371:20220316:152311.188 server #174 started [alerter #3]
359:20220316:152311.191 server #162 started [trapper #2]
355:20220316:152311.194 server #158 started [unreachable poller #18]
360:20220316:152311.196 server #163 started [trapper #3]
353:20220316:152311.198 server #156 started [unreachable poller #16]
361:20220316:152311.203 server #164 started [trapper #4]
362:20220316:152311.208 server #165 started [trapper #5]
365:20220316:152311.214 server #168 started [icmp pinger #3]
352:20220316:152311.214 server #155 started [unreachable poller #15]
366:20220316:152311.217 server #169 started [icmp pinger #4]
368:20220316:152311.218 server #171 started [alert manager #1]
356:20220316:152311.219 server #159 started [unreachable poller #19]
363:20220316:152311.220 server #166 started [icmp pinger #1]
354:20220316:152311.223 server #157 started [unreachable poller #17]
358:20220316:152311.226 server #161 started [trapper #1]
372:20220316:152311.229 server #175 started [preprocessing manager #1]
367:20220316:152311.229 server #170 started [icmp pinger #5]
364:20220316:152311.229 server #167 started [icmp pinger #2]
376:20220316:152311.232 server #179 started [lld manager #1]
377:20220316:152311.233 server #180 started [lld worker #1]
378:20220316:152311.234 server #181 started [lld worker #2]
351:20220316:152311.235 server #154 started [unreachable poller #14]
379:20220316:152311.236 server #182 started [alert syncer #1]
373:20220316:152311.294 server #176 started [preprocessing worker #1]
374:20220316:152311.294 server #177 started [preprocessing worker #2]
375:20220316:152311.294 server #178 started [preprocessing worker #3]
6:20220316:152401.961 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:1997,reason:0]. Exiting ...
205:20220316:152401.962 syncing history data in progress...
205:20220316:152402.086 syncing history data... 100.000000%
205:20220316:152402.086 syncing history data done
6:20220316:152402.146 syncing trend data...
6:20220316:152406.292 syncing trend data done
6:20220316:152406.300 Zabbix Server stopped. Zabbix 5.0.5 (revision eaa427c).
The only meaningful output is this:
6:20220316:152401.961 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:1997,reason:0]. Exiting ...
Hopefully, anyone can help. The container of mysql and zabbix-web are all running fine.

Related

DBGp proxy error Handler response error: Error reading command: Don't understand command '[507]'

Remote debugging using Xdebug DBGp proxy and PhpStorm:
Ubuntu 22.10
PHP 8.1
Xdebug v3.1.2
Xdebug DBGp proxy (0.4.2-dev)
./dbgpProxy
Xdebug DBGp proxy (0.4.2-dev)
Copyright 2020 by Derick Rethans
2023-02-13 07:16:48.394 [warn] [SSL] The 'certs/fullchain.pem' file could not be found, not enabling SSL listeners
2023-02-13 07:16:48.394 [info] [dbgpProxy] Proxy started
2023-02-13 07:16:48.395 [info] [server] Started server server on 127.0.0.1:9003
2023-02-13 07:16:48.395 [info] [server] Started client server on 127.0.0.1:9001
Xdebug settings:
zend_extension=xdebug.so
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.log=/tmp/xdebug.log
SSH settings:
RemoteForward 9001 localhost:9001
LocalForward 9001 localhost:9001
Tools -> DBGp proxy -> Register IDE
2023-02-13 07:17:08.768 [info] [server] Start new client connection from 127.0.0.1:33682
2023-02-13 07:17:08.839 [info] [proxyinit] [POLYANIN] Added connection for IDE Key 'POLYANIN': 127.0.0.1:9001
2023-02-13 07:17:08.840 [info] [server] Closing client connection from 127.0.0.1:33682
The error:
2023-02-13 07:28:18.141 [info] [proxy-client] [POLYANIN] Found connection for IDE Key 'POLYANIN': 127.0.0.1:9001
2023-02-13 07:28:18.141 [info] [proxy-client] [POLYANIN] Connecting to 127.0.0.1:9001
2023-02-13 07:28:18.142 [info] [proxy-client] [POLYANIN] IDE connected
2023-02-13 07:28:18.142 [info] [server] Start new client connection from 127.0.0.1:33694
2023-02-13 07:28:18.142 [info] [proxy-client] [POLYANIN] Init forwarded, start pipe
2023-02-13 07:28:18.142 [warn] [server] Handler response error: Error reading command: Don't understand command '[507]'
2023-02-13 07:28:18.142 [info] [server] Closing client connection from 127.0.0.1:33694
2023-02-13 07:28:18.192 [info] [proxy-client] [POLYANIN] IDE closed connection
I put a breakpoint and refresh the page.
You cannot use the DBGp proxy this way, as it always sends the debug data to the host where the IDE registration with the key came from.
Since you are using a tunnel, it always comes from 127.0.0.1; this is why you get Found connection for IDE Key 'POLYANIN': 127.0.0.1:9001, and this is why you get the error message - the proxy tries to send the debug data to itself instead of PhpStorm.
There is an extremely ugly workaround - you can modify the proxy code so that it uses the IDE key as a port number to connect to:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010264920-xdebug-multiple-developers-php-storm-dbgpproxy

Prestashop use console command with mysql docker container

I'm using prestashop 1.7 and I've to run the following command from the terminal : php bin/console doctrine:schema:update --dump-sql.
But my mysql server is in a docker container. So, from prestashop website, the connection is OK, but when I run a command from the terminal, the connection seems to be not established, because I've this error :
PrestaShopException in /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/classes/db/DbPDO.php line 136
#0 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/classes/db/Db.php(330): DbPDOCore->connect()
#1 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/classes/db/Db.php(241): DbCore->__construct()
#2 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/config/alias.php(47): DbCore::getInstance()
#3 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/classes/shop/Shop.php(1345): pSQL()
#4 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/classes/shop/Shop.php(341): ShopCore::findShopByHost()
#5 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/config/config.inc.php(128): ShopCore::initialize()
#6 /mnt/E2CA5E15CA5DE677/Prestashop/opera/prestashop/bin/console(15): require_once('...')
#7 {main}

Minishift start using hyper-v on windows 10 fails with E1011

Windows 10 Version 1607
minishift v1.3.1+a2d3799
CDK v3.1.1-1
Vagrant 2.0.0
When I try to start minishift I'm getting an error pretty early on:
PS C:\minishift> minishift start
Starting local OpenShift cluster using 'hyperv' hypervisor...
E1011 16:57:09.569574 13196 start.go:282] Error starting the VM: Error starting stopped host: exit status 1. Retrying
E1011 16:57:12.173524 13196 start.go:282] Error starting the VM: Error starting stopped host: exit status 1. Retrying
E1011 16:57:14.765997 13196 start.go:282] Error starting the VM: Error starting stopped host: exit status 1. Retrying
Error starting the VM: Error starting stopped host: exit status 1
Error starting stopped host: exit status 1
Error starting stopped host: exit status 1
Any thoughts on what to look into would be appreciated. Thanks!

Magento Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DATABASENAMEHERE.mage_index_process' doesn't exist

I am getting this error -
Magento Error: SQLSTATE[42S02]: Base table or view not found: 1146
Table 'DATABASENAMEHERE.mage_index_process' doesn't exist
Below is the stack trace of the same.
Trace:
#0 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Varien\Db\Statement\Pdo\Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Zend\Db\Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `mage_in...', Array)
#4 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Varien\Db\Adapter\Pdo\Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `mage_in...', Array)
#5 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Zend\Db\Adapter\Abstract.php(791): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Index\Model\Resource\Setup.php(66): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select))
#7 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Index\Model\Resource\Setup.php(45): Mage_Index_Model_Resource_Setup->_syncIndexes()
#8 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Index_Model_Resource_Setup->applyUpdates()
#9 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Core\Model\App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App->_initModules()
#11 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#12 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\index.php(87): Mage::run('', 'store')
#13 {main}
How can I resolve this or track it down?
You should first verify that whether that table exists in your database or not.
If you couldn't find that table then create that table with dump data as per following post.
Magento - Base table or view not found
Or try from command line to reindex all as described in that post

Magento - attempts to connect through unix socket despite remote ip set in local.xml

<default_setup>
<connection>
<host><![CDATA[10.1.39.35]]></host>
<username><![CDATA[user]]></username>
<password><![CDATA[password]]></password>
<dbname><![CDATA[db_magento]]></dbname>
<active>1</active>
</connection>
</default_setup>
My local.xml file configuration is shown above.
I am getting this error
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Trace:
#0 /home/ecosmart/public_html/e-nrg.com/lib/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/ecosmart/public_html/e-nrg.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(251): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/ecosmart/public_html/e-nrg.com/lib/Zend/Db/Adapter/Abstract.php(448): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/ecosmart/public_html/e-nrg.com/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/ecosmart/public_html/e-nrg.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Resource.php(93): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#7 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(297): Mage_Core_Model_Resource->getConnection('core_read')
#8 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(312): Mage_Core_Model_Mysql4_Abstract->_getConnection('read')
#9 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Mysql4/Cache.php(41): Mage_Core_Model_Mysql4_Abstract->_getReadAdapter()
#10 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Cache.php(424): Mage_Core_Model_Mysql4_Cache->getAllOptions()
#11 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Cache.php(459): Mage_Core_Model_Cache->_initOptions()
#12 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/App.php(1101): Mage_Core_Model_Cache->canUse('config')
#13 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Config.php(404): Mage_Core_Model_App->useCache('config')
#14 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/Config.php(286): Mage_Core_Model_Config->_canUseCacheForInit()
#15 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/App.php(359): Mage_Core_Model_Config->loadModulesCache()
#16 /home/ecosmart/public_html/e-nrg.com/app/code/core/Mage/Core/Model/App.php(295): Mage_Core_Model_App->_initModules()
#17 /home/ecosmart/public_html/e-nrg.com/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#18 /home/ecosmart/public_html/e-nrg.com/index.php(83): Mage::run('', 'store')
#19 {main}
I have been looking on the internet, and I can't find someone with the same problem as this = everyone says that this occurs when they are running their local mysql on a different port. I am not, I am running a seperate server with a database that is networked through an internal network.
Does anyone know a workaround to stop magento using the MYSQL socket connection and force it to use the TCP protocol?
Thanks
Did you clean your cache? rm -rf var/cache
Here is the posts with answers that helped me to solve similar problem:
https://askubuntu.com/questions/125686/mysql-fails-to-start-after-upgrade-installation-etc
https://www.magentocommerce.com/boards/viewthread/2857/