Execution of shell scripts returns “getaddrinfo failed” The 2019 Stack Overflow Developer Survey Results Are InProduct Attributes could not be reindexedFix for Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry?syntax error /shell/indexer.phpAnonymous Scripts found in “Miscellaneous Scripts” section magento admin panelCron jobs not being called, getting email notification errorsPHP Scripts within MagentoSQLSTATE[HY000] : General error: 2013 Lost connection to MySQL server during query in MagentoFlushed Cache and lost database connectionCan't run CRON PDOException Magento 1.9.3.8Magento 1.9: Maximum execution timeout after login

Why can't devices on different VLANs, but on the same subnet, communicate?

How to display lines in a file like ls displays files in a directory?

How to obtain a position of last non-zero element

How to charge AirPods to keep battery healthy?

What do I do when my TA workload is more than expected?

The phrase "to the numbers born"?

Can there be female White Walkers?

Getting crown tickets for Statue of Liberty

Computing the expectation of the number of balls in a box

Dropping list elements from nested list after evaluation

Output the Arecibo Message

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Deal with toxic manager when you can't quit

Flight paths in orbit around Ceres?

Is it safe to harvest rainwater that fell on solar panels?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

How much of the clove should I use when using big garlic heads?

How do you keep chess fun when your opponent constantly defeats?

How can I add encounters in the Lost Mine of Phandelver campaign without giving PCs too much XP?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

How do I free up internal storage if I don't have any apps downloaded?

Loose spokes after only a few rides

When should I buy a clipper card after flying to Oakland?



Execution of shell scripts returns “getaddrinfo failed”



The 2019 Stack Overflow Developer Survey Results Are InProduct Attributes could not be reindexedFix for Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry?syntax error /shell/indexer.phpAnonymous Scripts found in “Miscellaneous Scripts” section magento admin panelCron jobs not being called, getting email notification errorsPHP Scripts within MagentoSQLSTATE[HY000] : General error: 2013 Lost connection to MySQL server during query in MagentoFlushed Cache and lost database connectionCan't run CRON PDOException Magento 1.9.3.8Magento 1.9: Maximum execution timeout after login



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am running a version of magento 1.9 locally.



Everything works fine except shell scripts (indexer etc). They return:




PHP Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/kamran/Projects/Work/kiyv/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php:128




As i understand it means that the host parameter for PDO connection is wrong. But in fact it is correctly specified in local.xml file and website connects to the db and works without any issues on my local machine.










share|improve this question






























    0















    I am running a version of magento 1.9 locally.



    Everything works fine except shell scripts (indexer etc). They return:




    PHP Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/kamran/Projects/Work/kiyv/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php:128




    As i understand it means that the host parameter for PDO connection is wrong. But in fact it is correctly specified in local.xml file and website connects to the db and works without any issues on my local machine.










    share|improve this question


























      0












      0








      0








      I am running a version of magento 1.9 locally.



      Everything works fine except shell scripts (indexer etc). They return:




      PHP Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/kamran/Projects/Work/kiyv/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php:128




      As i understand it means that the host parameter for PDO connection is wrong. But in fact it is correctly specified in local.xml file and website connects to the db and works without any issues on my local machine.










      share|improve this question
















      I am running a version of magento 1.9 locally.



      Everything works fine except shell scripts (indexer etc). They return:




      PHP Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/kamran/Projects/Work/kiyv/magento/lib/Zend/Db/Adapter/Pdo/Abstract.php:128




      As i understand it means that the host parameter for PDO connection is wrong. But in fact it is correctly specified in local.xml file and website connects to the db and works without any issues on my local machine.







      magento-1.9






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 8 at 10:13









      Manashvi Birla

      6,48751841




      6,48751841










      asked Apr 8 at 10:04









      Asadov KamranAsadov Kamran

      6419




      6419




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269131%2fexecution-of-shell-scripts-returns-getaddrinfo-failed%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269131%2fexecution-of-shell-scripts-returns-getaddrinfo-failed%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

          Magento2 - How to hide price filter only in specific categories?Multiselect price filter attribute in layered navigationhide only some categories from layered navigation in magentoRemove Price Filter on certain categoriescustomize layered price filter?Hide Price for a particular customer groupPrice filter in layered navigation not working correctly with price including tax in magento 2.2.3Magento 2 how to hide attribute at Layered navigation?Magento 2. how to hide price only for specific categoriesMagento 2 How can I hide the price and total from cart and checkout summary?Magento2: Can we add navigation layered filter like price filter for other attribute?