バージョン選択

フォーラム

メニュー

オンライン状況

26 人のユーザが現在オンラインです。 (17 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 26
もっと...

サイト内検索

その他 > バージョンアップ > WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。

バージョンアップ

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
HYHR
投稿日時: 2023/11/2 9:46
対応状況: 確認中
半人前
登録日: 2020/6/12
居住地:
投稿: 24
WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
▼テンプレート
[EC-CUBE]4.0.6 新規インストール後アップデート
[レンタルサーバ]WADAX
[PHP] 7.3.4
[データベース] MySQL 5.7.24-log
[WEBサーバ] Apache
[ブラウザ] Google Chrome
[現象] WADAXのサーバーが移行された後にEC-CUBEがインストールされた私たちのホームページである

https://www.gdefence.com/

を立ち上げると

エラー 403 アクセスが出来ませんでした
Error 403 Access Denied (Forbidden)

のエラーが出て閲覧することができません。

どこを修正すればいいかを教えてください。
balisys
投稿日時: 2023/11/2 9:55
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 398
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
HYHR
投稿日時: 2023/11/2 10:06
対応状況: −−−
半人前
登録日: 2020/6/12
居住地:
投稿: 24
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
メッセージありがとうございます。

/logs下にerror_logというファイルがございました。
内容は、以下の通りです。

[Tue Oct 31 05:07:28.585069 2023] [proxy_fcgi:error] [pid 1290819:tid 139918886037248] [client 39.105.120.190:0] AH01071: Got error 'Primary script unknown', referer: http://www.gdefence.com/wp-login.php
[Tue Oct 31 08:15:20.095326 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 31 08:15:55.967832 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 31 11:49:47.377085 2023] [proxy_fcgi:error] [pid 2668919:tid 139918407882496] [client 194.169.175.23:0] AH01071: Got error 'Primary script unknown', referer: www.google.com
[Tue Oct 31 13:02:27.405425 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 31 13:03:50.550277 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 31 13:04:45.839231 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 31 14:04:43.991844 2023] [proxy_fcgi:error] [pid 3055946:tid 139919011862272] [client 194.169.175.23:0] AH01071: Got error 'Primary script unknown', referer: www.google.com
[Tue Oct 31 21:08:31.651004 2023] [proxy_fcgi:error] [pid 3056159:tid 139918181377792] [client 194.169.175.26:0] AH01071: Got error 'Primary script unknown', referer: www.google.com
[Tue Oct 31 21:08:43.438918 2023] [proxy_fcgi:error] [pid 3056574:tid 139919934600960] [client 194.169.175.26:0] AH01071: Got error 'Primary script unknown', referer: www.google.com
[Tue Oct 31 22:39:44.061965 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Oct 31 22:56:06.683881 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Nov 01 02:41:35.020333 2023] [proxy_fcgi:error] [pid 3764044:tid 139919951386368] [client 194.169.175.26:0] AH01071: Got error 'Primary script unknown', referer: www.google.com
[Wed Nov 01 02:41:51.747253 2023] [proxy_fcgi:error] [pid 3764225:tid 139918240093952] [client 194.169.175.26:0] AH01071: Got error 'Primary script unknown', referer: www.google.com
[Wed Nov 01 04:25:51.685461 2023] [proxy_fcgi:error] [pid 3764347:tid 139918693103360] [client 185.196.8.81:0] AH01071: Got error 'Primary script unknown'
[Wed Nov 01 04:38:05.155102 2023] [proxy_fcgi:error] [pid 3764225:tid 139917074097920] [client 52.68.206.8:0] AH01071: Got error 'Primary script unknown'
[Wed Nov 01 09:27:54.954086 2023] [proxy_fcgi:error] [pid 3763176:tid 139919942993664] [client 184.168.121.5:0] AH01071: Got error 'Primary script unknown', referer: http://gdefence.com/wp-login.php
[Wed Nov 01 11:15:21.432056 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Nov 01 11:15:58.931753 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Nov 01 14:53:44.654487 2023] [autoindex:error] [pid 404962:tid 139919313835776] [client 144.91.144.119:0] AH01276: Cannot serve directory /var/www/vhosts/gdefence.com/httpdocs/cp-bin/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm,index.shtml) found, and server-generated directory index forbidden by Options directive
[Wed Nov 01 15:30:03.274898 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Nov 01 15:32:22.282585 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Nov 01 15:35:51.001198 2023] [ssl:warn] [pid 1969992:tid 139921089654208] AH01909: gdefence.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Nov 01 19:05:45.970985 2023] [proxy_fcgi:error] [pid 772400:tid 139917275424512] [client 52.68.206.8:0] AH01071: Got error 'Primary script unknown'
[Thu Nov 02 01:35:09.298407 2023] [proxy_fcgi:error] [pid 772282:tid 139920047675136] [client 194.113.235.169:0] AH01071: Got error 'Primary script unknown', referer: https://gdefence.com/new_license.php
[Thu Nov 02 01:35:11.726596 2023] [proxy_fcgi:error] [pid 771754:tid 139918818928384] [client 194.113.235.169:0] AH01071: Got error 'Primary script unknown', referer: https://gdefence.com/newsleter.php
[Thu Nov 02 04:28:45.572993 2023] [proxy_fcgi:error] [pid 772282:tid 139920022497024] [client 27.111.82.74:0] AH01071: Got error 'Primary script unknown', referer: http://www.gdefence.com/wp-login.php
[Thu Nov 02 04:40:45.950501 2023] [proxy_fcgi:error] [pid 772282:tid 139919456446208] [client 52.68.206.8:0] AH01071: Got error 'Primary script unknown'
[Thu Nov 02 06:58:20.351155 2023] [proxy_fcgi:error] [pid 771316:tid 139919783597824] (70007)The timeout specified has expired: [client 52.167.144.228:0] AH01075: Error dispatching request to : (polling)

以上、よろしくお願いします。
ゲスト
投稿日時: 2023/11/2 10:12
対応状況: −−−
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
エラーログで、EC-CUBEが動かないエラーは下記になります。
[Wed Nov 01 14:53:44.654487 2023] [autoindex:error] [pid 404962:tid 139919313835776] [client 144.91.144.119:0] AH01276: Cannot serve directory /var/www/vhosts/gdefence.com/httpdocs/cp-bin/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm,index.shtml) found, and server-generated directory index forbidden by Options directive
HYHR
投稿日時: 2023/11/2 10:14
対応状況: −−−
半人前
登録日: 2020/6/12
居住地:
投稿: 24
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
メッセージありがとうございます。
では、どこを直せばいいのでしょうか?
ご教授くだされば幸いです。
ゲスト
投稿日時: 2023/11/2 10:16
対応状況: −−−
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
mcontact
投稿日時: 2023/11/2 10:23
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1307
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
御社のサイトを拝見させて頂きました。
qvq5sk6sn2さんのメッセージは、間違っていると思います。

EC-CUBE自体は、動作していますが何らかの移行ミスなどでエラーが発生していると思います。

EC-CUBEのログを見ないと詳細が解らないので、EC-CUBEログを確認できますか?
どのようなエラーが出ますでしょうか?
EC-CUBEのログであれば、var/log/prod/site-yyyy-mm-dd.log に「システムエラーが発生しました」や「ERROR」といった行がありましたらご提示ください。


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

HYHR
投稿日時: 2023/11/2 10:30
対応状況: −−−
半人前
登録日: 2020/6/12
居住地:
投稿: 24
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
メッセージありがとうございます。
最近のエラーは以下の通りです。
このエラーがずっと出っ放しになっています。

[2023-11-02 10:24:54] front.ERROR [N/A] [6501c4e] [anon.] [Eccube\Log\Logger:log:66] - システムエラーが発生しました。 ["An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused","/var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php",93,"#0 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException()\n#1 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(155): Doctrine\\DBAL\\DBALException::wrapException()\n#2 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(28): Doctrine\\DBAL\\DBALException::driverException()\n#3 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\\DBAL\\Driver\\PDOMySql\\Driver->connect()\n#4 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(827): Doctrine\\DBAL\\Connection->connect()\n#5 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/SingleTablePersister.php(165): Doctrine\\DBAL\\Connection->quote()\n#6 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/SingleTablePersister.php(140): Doctrine\\ORM\\Persisters\\Entity\\SingleTablePersister->getSelectConditionDiscriminatorValueSQL()\n#7 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1063): Doctrine\\ORM\\Persisters\\Entity\\SingleTablePersister->getSelectConditionSQL()\n#8 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(716): Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister->getSelectSQL()\n#9 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(736): Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister->load()\n#10 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php(466): Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister->loadById()\n#11 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(469): Doctrine\\ORM\\Cache\\Persister\\Entity\\AbstractEntityPersister->loadById()\n#12 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/var/cache/prod/ContainerO2jifqj/EntityManager_9a5be93.php(88): Doctrine\\ORM\\EntityManager->find()\n#13 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(151): EntityManager_9a5be93->find()\n#14 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/src/Eccube/Repository/BaseInfoRepository.php(44): Doctrine\\ORM\\EntityRepository->find()\n#15 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/src/Eccube/EventListener/TwigInitializeListener.php(162): Eccube\\Repository\\BaseInfoRepository->get()\n#16 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/symfony/event-dispatcher/EventDispatcher.php(214): Eccube\\EventListener\\TwigInitializeListener->onKernelRequest()\n#17 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/symfony/event-dispatcher/EventDispatcher.php(44): Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch()\n#18 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/symfony/http-kernel/HttpKernel.php(127): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch()\n#19 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#20 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/vendor/symfony/http-kernel/Kernel.php(200): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#21 /var/www/vhosts/gdefence.com/httpdocs/cp-bin/eccube4/index.php(76): Symfony\\Component\\HttpKernel\\Kernel->handle()\n#22 {main}"] [GET, /cp-bin/eccube4/products/detail/485, 66.249.79.132, NULL, Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)]
[2023-11-02 10:24:54] front.INFO [N/A] [6501c4e] [anon.] [Eccube\Log\Logger:log:66] - PROCESS END ["product_detail"] [GET, /cp-bin/eccube4/products/detail/485, 66.249.79.132, NULL, Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)]
[2023-11-02 10:24:54] front.DEBUG [N/A] [6501c4e] [anon.] [Eccube\Log\Logger:log:66] - Transaction is not active. Rollback skipped. [] [GET, /cp-bin/eccube4/products/detail/485, 66.249.79.132, NULL, Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)]
[2023-11-02 10:25:06] front.INFO [N/A] [00094e5] [N/A] [Eccube\Log\Logger:log:66] - INIT [] [GET, /cp-bin/eccube4/, 94.23.203.180, NULL, Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)]
[2023-11-02 10:25:06] request.INFO [N/A] [00094e5] [N/A] [Symfony\Component\HttpKernel\EventListener\RouterListener:onKernelRequest:123] - Matched route "homepage". {"route":"homepage","route_parameters":{"_controller":"Eccube\\Controller\\TopController::index","_route":"homepage"},"request_uri":"https://www.gdefence.com/cp-bin/eccube4/","method":"GET"} [GET, /cp-bin/eccube4/, 94.23.203.180, NULL, Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)]
[2023-11-02 10:25:06] security.INFO [N/A] [00094e5] [anon.] [Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener:handle:60] - Populated the TokenStorage with an anonymous Token. [] [GET, /cp-bin/eccube4/, 94.23.203.180, NULL, Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)]
[2023-11-02 10:25:06] front.INFO [N/A] [00094e5] [anon.] [Eccube\Log\Logger:log:66] - PROCESS START ["homepage"] [GET, /cp-bin/eccube4/, 94.23.203.180, NULL, Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)]
mcontact
投稿日時: 2023/11/2 10:33
対応状況: −−−
登録日: 2022/1/22
居住地:
投稿: 1307
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
> An exception occurred in driver: SQLSTATE[HY000] [2002] Connection refused
と出ているので、DB接続周りでエラーが発生しています。
サーバ移行時に、.envファイルのDB設定を移行先の設定に変更しましたか?


----------------
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
EC-CUBEインテグレートパートナー【ゴールド】ランク
M&I Works
URL: https://miworks.biz/
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

HYHR
投稿日時: 2023/11/2 10:45
対応状況: −−−
半人前
登録日: 2020/6/12
居住地:
投稿: 24
Re: WADAXがサーバーを移行した後、EC-CUBEが機能しなくなった。
全く手つかずでしたので、.envファイルのDB設定を移行先の設定に変更していません。

どの様に変更すればいいかご教授くだされば幸いです。
よろしくお願いします。
(1) 2 »
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,493名です
総投稿数は110,103件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1655
8
red
1570
9
mcontact
1307
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.