Ubuntu 系统 本地的队列任务不执行了

上一周队列任务,本地还可以运行.不知道什么原因造成的,现在本地不执行了,但是测试环境上是可以运行的.我的redis启动了,也进行了监听php artisan queue:listen

日志错误

[2016-12-15 15:54:20] local.ERROR: exception 'Predis\Connection\ConnectionException' with message 'Error while reading line from the server. [tcp://127.0.0.1:6379]' in /home/clg/project/kingfisher/vendor/predis/predis/src/Connection/AbstractConnection.php:155
Stack trace:
  use DispatchesJobs;
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        \DB::listen(function($sql, $bindings, $time) {
        });
        //创建订单的时候执行此队列
        OrderModel::created(function($order){
            $this->dispatch(new SendOrderUser($order));
//            \Log::info($order);
        });
    }
class SendOrderUser extends Job implements SelfHandling, ShouldQueue
{
    use InteractsWithQueue, SerializesModels;
    protected $order;
    /**
     * Create a new job instance.
     *
     * @return void
     */
    public function __construct(OrderModel $order)
    {
        $this->order = $order;
这里能打印数据
    }
下面这就打印不出来数据了,什么原因,求解
    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
$username = OrderUserModel::where('username' , $this->order->buyer_name)->first();
        $phone = OrderUserModel::where('phone' , $this->order->buyer_phone)->first();
//        \Log::info($buyer_address);
//        \Log::info($this->order);
        if(($username && $phone) !=null){
            return;
        }
        $orderUser = new OrderUserModel();
        $orderUser->username = $this->order->buyer_name;
        $orderUser->phone = $this->order->buyer_phone;
        $orderUser->store_id = $this->order->store_id;
        $orderUser->type = $this->order->type;
        if($this->order->type == 2){
            return;
        }
        $orderUser->from_to = $this->order->store->platform;
        $orderUser->buyer_address = $this->order->buyer_address;
        $orderUser->buyer_province = $this->order->buyer_province;
        $orderUser->buyer_city = $this->order->buyer_city;
        $orderUser->buyer_county = $this->order->buyer_county;
        $orderUser->save();
    }

请问是什么原因造成的,谢谢

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!