zoukankan      html  css  js  c++  java
  • 教训总结

    spring 程序启动错误
    2019-01-13 13:06:26.790 WARN 83321 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.IllegalStateException: Unable to create the directory [/tmp/tomcat.6148458843437164853.18080] to use as the base directory

    Caused by: java.lang.IllegalStateException: Unable to create the directory [/tmp/tomcat.6148458843437164853.18080] to use as the base directory

    按理说 tmp目录是可以写的,但是却报这个错误,查看磁盘df -h,磁盘竟然满了。

    也正是因为这个原因,squid代理拒绝访问,这个问题搞了我两天,周末就这样奉献给公司了,头疼。
    经过此事,得出的教训:
    1.平时跑的好好的程序,突然出现问题了,那肯定是发生了什么。
    2.平时运维一定要注意磁盘总量较小的盘,肯容易磁盘就满了,导致程序不能用。

  • 相关阅读:
    5.21 CSS样式表练习
    5.20 c#验证码练习
    5.20 邮箱注册,及网页嵌套,知识点复习
    5.19 网页注册练习
    5.19练习标签及其 定义
    5.16 兔子生兔子,日期时间练习
    5.15 复习;共5题
    5.11 集合 与 特殊集合
    5.11 集合与特殊集合
    WinForm1
  • 原文地址:https://www.cnblogs.com/gongpipi/p/10263858.html
Copyright © 2011-2022 走看看