zoukankan      html  css  js  c++  java
  • 常见异常

     rsync常见错误

    sending incremental file list
    profile
    rsync: mkstemp "/etc/.profile.YF3qCk" failed: Permission denied (13)
    sent 693 bytes  received 49 bytes  212.00 bytes/sec
    total size is 2010  speedup is 2.71
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]

    错误原因

    1>    服务端配置文件中指定的用户和模块指定的目录的属主属组不同

    2>    服务端模块指定的目录属组属组没有权限

    -rw-r--r--.  1 root root   2010 1月  15 19:38 profile  都是root组和root用户;其他用户是没有权限的;要加sudo;

    异常:
    Task not serializable
    Caused by: java.io.NotSerializableException: redis.clients.jedis.Jedis
    Serialization stack:
    - object not serializable (class: redis.clients.jedis.Jedis, value: redis.clients.jedis.Jedis@4dc45584)
    - field (class: com.atguigu.sparkmall.realtime.Req4RedisUserBlackList$$anonfun$main$1$$anonfun$apply$2, name: jedis$1, type: class redis.clients.jedis.Jedis)
    - object (class com.atguigu.sparkmall.realtime.Req4RedisUserBlackList$$anonfun$main$1$$anonfun$apply$2, <function1>)
  • 相关阅读:
    Docker入门
    15个Docker基本命令及用法
    Docker系列
    docker
    Docker 常用命令
    查看用户列表在Linux
    Spring boot Mybatis
    CountDownLatch和CyclicBarrier 专题
    Spring Boot MyBatis 连接数据库
    Spring Boot MyBatis 通用Mapper插件集成 good
  • 原文地址:https://www.cnblogs.com/shengyang17/p/10357888.html
Copyright © 2011-2022 走看看