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();
    }

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

《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

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