<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PanOrders Agent is stopped. Cant restart in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222985#M306</link>
    <description>&lt;P&gt;That port is not used by Apache, but by rabbitmq.&lt;/P&gt;
&lt;P&gt;If you make Apache bind to that port, the messaging system that the agent uses won't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason, I would say that the issue was that rabbitmq stopped working on your system, therefore the connection was refused.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may be that, through the cleaning, the configuration for rabbitmq got corrupted, some files for the service are missing, or simply it also got hung due to lack of space (and a reboot after the cleaning would have been enough)&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 18:25:49 GMT</pubDate>
    <dc:creator>dgildelaig</dc:creator>
    <dc:date>2018-07-19T18:25:49Z</dc:date>
    <item>
      <title>PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222870#M305</link>
      <description>&lt;P&gt;My expedition server ran out of space because I was using the ML and sending logs to the expedition server.&lt;/P&gt;
&lt;P&gt;Cleared that space and ever since then the PanOrders agent will not start.&lt;/P&gt;
&lt;P&gt;this is the output from the panReadOrders.log file&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------&lt;BR /&gt;Wed Jul 18 15:51:51 CDT 2018 : Starting readOrders.php &lt;BR /&gt;------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Fatal error: Uncaught ErrorException: stream_socket_client(): unable to connect to tcp://localhost:5672 (Connection refused) in /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php:141&lt;BR /&gt;Stack trace:&lt;BR /&gt;#0 [internal function]: PhpAmqpLib\Wire\IO\StreamIO-&amp;gt;error_handler(2, 'stream_socket_c...', '/var/www/html/l...', 141, Array)&lt;BR /&gt;#1 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php(141): stream_socket_client('tcp://localhost...', 111, 'Connection refu...', 3, 4, Resource id #113)&lt;BR /&gt;#2 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(205): PhpAmqpLib\Wire\IO\StreamIO-&amp;gt;connect()&lt;BR /&gt;#3 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(189): PhpAmqpLib\Connection\AbstractConnection-&amp;gt;connect()&lt;BR /&gt;#4 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AMQPStreamConnection.php(60): PhpAmqpLib\Connection\AbstractConnection-&amp;gt;__construct('guest', 'guest', '/', false, 'AMQPLAIN', in /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/IO/StreamIO.php on line 141&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I manualy edited the ports.conf file in apache2 to Listen 5672 and then got this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wed Jul 18 16:11:21 CDT 2018 : Starting readOrders.php &lt;BR /&gt;------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;Fatal error: Uncaught PhpAmqpLib\Exception\AMQPTimeoutException: The connection timed out after 3 sec while awaiting incoming data in /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php:132&lt;BR /&gt;Stack trace:&lt;BR /&gt;#0 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php(148): PhpAmqpLib\Wire\AMQPReader-&amp;gt;wait()&lt;BR /&gt;#1 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php(106): PhpAmqpLib\Wire\AMQPReader-&amp;gt;rawread(7)&lt;BR /&gt;#2 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(522): PhpAmqpLib\Wire\AMQPReader-&amp;gt;read(7)&lt;BR /&gt;#3 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Connection/AbstractConnection.php(570): PhpAmqpLib\Connection\AbstractConnection-&amp;gt;wait_frame(3)&lt;BR /&gt;#4 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php(225): PhpAmqpLib\Connection\AbstractConnection-&amp;gt;wait_channel(0, 3)&lt;BR /&gt;#5 /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Channel/AbstractChannel.php( in /var/www/html/libs/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Wire/AMQPReader.php on line 132&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be great&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 21:13:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222870#M305</guid>
      <dc:creator>NateMiles</dc:creator>
      <dc:date>2018-07-18T21:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222985#M306</link>
      <description>&lt;P&gt;That port is not used by Apache, but by rabbitmq.&lt;/P&gt;
&lt;P&gt;If you make Apache bind to that port, the messaging system that the agent uses won't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason, I would say that the issue was that rabbitmq stopped working on your system, therefore the connection was refused.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This may be that, through the cleaning, the configuration for rabbitmq got corrupted, some files for the service are missing, or simply it also got hung due to lack of space (and a reboot after the cleaning would have been enough)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:25:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222985#M306</guid>
      <dc:creator>dgildelaig</dc:creator>
      <dc:date>2018-07-19T18:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222996#M310</link>
      <description>&lt;P&gt;Thank you for pointing that out.&lt;/P&gt;
&lt;P&gt;Following your post I simply removed the rabbitmq-server&lt;/P&gt;
&lt;P&gt;as root&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;apt-get remove rabbitmq-server &amp;amp;&amp;amp; apt-get purge rabbitmq-server&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then reinstalled it&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;apt-get install rabbitmq-server&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Verified fixed now.&lt;/P&gt;
&lt;P&gt;Thanks again&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:56:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/222996#M310</guid>
      <dc:creator>NateMiles</dc:creator>
      <dc:date>2018-07-19T18:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/257077#M1383</link>
      <description>&lt;P&gt;Cant login as root so how did you accomplish this?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 20:06:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/257077#M1383</guid>
      <dc:creator>stevenjwilliams83</dc:creator>
      <dc:date>2019-04-10T20:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/257152#M1389</link>
      <description>&lt;P&gt;after logging in as the 'expedition' user issue:&lt;/P&gt;
&lt;P&gt;$sudo su&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;enter the password for the expedition user.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 06:03:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/257152#M1389</guid>
      <dc:creator>sjanita</dc:creator>
      <dc:date>2019-04-11T06:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345260#M2886</link>
      <description>&lt;P&gt;Unfortunately that did not fix it.&amp;nbsp; Here's what the uninstall and install had to say:&amp;nbsp; Failed to start RabbitMQ broker.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Last login: Mon Aug 24 16:22:48 2020 from 198.18.150.146&lt;BR /&gt;expedition@Expedition:~$ sudo apt-get remove rabbitmq-server &amp;amp;&amp;amp; apt-get purge rabbitmq-server&lt;BR /&gt;[sudo] password for expedition:&lt;BR /&gt;Reading package lists... Done&lt;BR /&gt;Building dependency tree&lt;BR /&gt;Reading state information... Done&lt;BR /&gt;The following packages were automatically installed and are no longer required:&lt;BR /&gt;erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon erlang-parsetools erlang-percept&lt;BR /&gt;erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools erlang-webtool erlang-xmerl libodbc1 libsctp1&lt;BR /&gt;Use 'sudo apt autoremove' to remove them.&lt;BR /&gt;The following packages will be REMOVED:&lt;BR /&gt;rabbitmq-server&lt;BR /&gt;0 upgraded, 0 newly installed, 1 to remove and 28 not upgraded.&lt;BR /&gt;After this operation, 5,830 kB disk space will be freed.&lt;BR /&gt;Do you want to continue? [Y/n] y&lt;BR /&gt;(Reading database ... 114913 files and directories currently installed.)&lt;BR /&gt;Removing rabbitmq-server (3.6.15-1) ...&lt;BR /&gt;Processing triggers for man-db (2.7.5-1) ...&lt;BR /&gt;E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)&lt;BR /&gt;E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?&lt;BR /&gt;expedition@Expedition:~$ sudo apt-get install rabbitmq-server&lt;BR /&gt;Reading package lists... Done&lt;BR /&gt;Building dependency tree&lt;BR /&gt;Reading state information... Done&lt;BR /&gt;The following NEW packages will be installed:&lt;BR /&gt;rabbitmq-server&lt;BR /&gt;0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.&lt;BR /&gt;Need to get 5,025 kB of archives.&lt;BR /&gt;After this operation, 5,830 kB of additional disk space will be used.&lt;BR /&gt;Get:1 &lt;A href="https://www.rabbitmq.com/debian" target="_blank"&gt;https://www.rabbitmq.com/debian&lt;/A&gt; testing/main amd64 rabbitmq-server all 3.6.15-1 [5,025 kB]&lt;BR /&gt;Fetched 5,025 kB in 4s (1,112 kB/s)&lt;BR /&gt;Selecting previously unselected package rabbitmq-server.&lt;BR /&gt;(Reading database ... 114706 files and directories currently installed.)&lt;BR /&gt;Preparing to unpack .../rabbitmq-server_3.6.15-1_all.deb ...&lt;BR /&gt;Unpacking rabbitmq-server (3.6.15-1) ...&lt;BR /&gt;Processing triggers for systemd (229-4ubuntu21.28) ...&lt;BR /&gt;Processing triggers for ureadahead (0.100.0-19.1) ...&lt;BR /&gt;Processing triggers for man-db (2.7.5-1) ...&lt;BR /&gt;Setting up rabbitmq-server (3.6.15-1) ...&lt;BR /&gt;Job for rabbitmq-server.service failed because the control process exited with error code. See "systemctl status rabbitmq-server.service" and "journalctl -xe" for details.&lt;BR /&gt;invoke-rc.d: initscript rabbitmq-server, action "start" failed.&lt;BR /&gt;● rabbitmq-server.service - RabbitMQ broker&lt;BR /&gt;Loaded: loaded (/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: enabled)&lt;BR /&gt;Active: activating (auto-restart) (Result: exit-code) since Mon 2020-08-24 16:24:51 CDT; 4ms ago&lt;BR /&gt;Process: 48614 ExecStop=/bin/sh -c while ps -p $MAINPID &amp;gt;/dev/null 2&amp;gt;&amp;amp;1; do sleep 1; done (code=exited, status=0/SUCCESS)&lt;BR /&gt;Process: 48500 ExecStop=/usr/lib/rabbitmq/bin/rabbitmqctl stop (code=exited, status=0/SUCCESS)&lt;BR /&gt;Process: 48301 ExecStart=/usr/lib/rabbitmq/bin/rabbitmq-server (code=exited, status=1/FAILURE)&lt;BR /&gt;Main PID: 48301 (code=exited, status=1/FAILURE)&lt;BR /&gt;Status: "Exited."&lt;/P&gt;
&lt;P&gt;Aug 24 16:24:51 Expedition systemd[1]: Failed to start RabbitMQ broker.&lt;BR /&gt;Aug 24 16:24:51 Expedition systemd[1]: rabbitmq-server.service: Unit entered failed state.&lt;BR /&gt;Aug 24 16:24:51 Expedition systemd[1]: rabbitmq-server.service: Failed with result 'exit-code'.&lt;BR /&gt;dpkg: error processing package rabbitmq-server (--configure):&lt;BR /&gt;subprocess installed post-installation script returned error exit status 1&lt;BR /&gt;E: Sub-process /usr/bin/dpkg returned an error code (1)&lt;BR /&gt;expedition@Expedition:~$&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 21:28:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345260#M2886</guid>
      <dc:creator>Blake_Wofford</dc:creator>
      <dc:date>2020-08-24T21:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345261#M2887</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/115536"&gt;@Blake_Wofford&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you try run commands listed in the below thread:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/expedition-discussions/rabbitmq-not-properly-starting-failing/td-p/322729" target="_blank"&gt;https://live.paloaltonetworks.com/t5/expedition-discussions/rabbitmq-not-properly-starting-failing/td-p/322729&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 21:33:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345261#M2887</guid>
      <dc:creator>lychiang</dc:creator>
      <dc:date>2020-08-24T21:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345565#M2897</link>
      <description>&lt;P&gt;I ran the commands in the last article you referred me to.&amp;nbsp; Unfortunately, it still hasn't fixed the problem.&amp;nbsp; We are going to re-install with a new OVA file to resolve this issue.&amp;nbsp; Thanks for all your help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 14:11:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345565#M2897</guid>
      <dc:creator>Blake_Wofford</dc:creator>
      <dc:date>2020-08-26T14:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345569#M2898</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/115536"&gt;@Blake_Wofford&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you continue to have issues let us know and we can start a zoom session.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 14:53:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/345569#M2898</guid>
      <dc:creator>azuniga</dc:creator>
      <dc:date>2020-08-26T14:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: PanOrders Agent is stopped. Cant restart</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/458135#M3814</link>
      <description>&lt;P&gt;Running "sudo su" helped us with that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 01:16:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/panorders-agent-is-stopped-cant-restart/m-p/458135#M3814</guid>
      <dc:creator>ayazdani</dc:creator>
      <dc:date>2022-01-12T01:16:14Z</dc:date>
    </item>
  </channel>
</rss>

