Showing results for 
Search instead for 
Did you mean: 

redis error but without using redis

redis error but without using redis

Hi all,


Here is my situation,

i copy my old magento 2.0.12 to new server

However, i faced this issue:


There are no commands defined in the "cache" namespace.

cache, setup,static.....etc all have this error.



Then I remove it and install magento 2.0.12 from zero by these command:


composer create-project --repository-url= magento/project-community-edition=2.0.12 magento2
php bin/magento setup:install --base-url= --db-host=localhost --db-name=magento --db-user=magento --db-password=magento --admin-firstname=Magento --admin-lastname=User --admin-user=admin --admin-password=magento2 --language=zh_Hant_TW --currency=TWD --timezone=Asia/Taipei --use-rewrites=1
php bin/magento setup:static-content:deploy en_US zh_Hant_TW
php bin/magento cache:flush 
php bin/magento cache:clean
php bin/magento indexer:reindex
chown -R nginx:nginx *

After that, an unexplained issue appear when i go to my website


Exception printing is disabled by default for security reasons.

Error log record number: 446531357179


[root@devnfs report]# cat /mnt/dev/magento2/var/report/446531357179
a:4:{i:0;s:260:"Warning: SessionHandler::read(): open(tcp://, O_RDWR) failed: No such file or directory (2) in /mnt/dev/magento2/vendor/magento/framework/Session/SaveHandler.php on line 93";i:1;s:7405:"#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'SessionHandler:...', '/mnt/dev/magent...', 93, Array)

It is unreasonable, I try to check if there any redis config in my database or file:


#for checking files, but only output var/report/ 's files
grep -rnw /mnt/dev/magento2 -e "lvx80y"

After that i had mysqldump and grep, nth found.


Please help if anyone have any ideas, Thank you