1. 网络不通
(1)时间溢出会导致网络不通
相关链接:https://blog.csdn.net/knico/article/details/82018715
2. Ubuntu关机慢
(1)网上找了一下,说是安装了mysql,关机要10分钟
相关链接:https://blog.csdn.net/im_god_oh_d/article/details/81367416
(2)找到原因,是因为时区原因
相关链接:https://www.aliyun.com/jiaocheng/1106006.html
(3)从日志可以看出时间不对,直接原因是在等写数据,最终超时被kill掉了
相关链接:https://stackoverflow.com/questions/35123049/how-to-change-time-zone-of-error-log-file-of-mysql
2018-09-04T02:03:51.342399Z 0 [Note] InnoDB: FTS optimize thread exiting.
2018-09-04T02:03:51.342616Z 0 [Note] InnoDB: Starting shutdown...
2018-09-04T02:03:51.442971Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2018-09-04T02:03:51.443697Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180904 10:03:51
2018-09-04T02:04:51.801743Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:05:51.960357Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:06:52.113735Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:07:52.269912Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:08:52.427236Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:09:52.585257Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:10:52.756153Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:11:52.909802Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:12:53.069900Z 0 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
2018-09-04T02:16:53.772084Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-09-04T02:16:53.773268Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.23-0ubuntu0.18.04.1) starting as process 3785 ...
但是调整系统时区不可取的
(4)修改/etc/mysql/my.cnf
[mysqld]
# 调整默认时区,否则关机慢
default-time-zone = '+08:00'
(5)重启mysql,再看日志,正常,问题解决
2018-09-04T02:29:30.890720Z 0 [Note] InnoDB: FTS optimize thread exiting.
2018-09-04T02:29:30.890892Z 0 [Note] InnoDB: Starting shutdown...
2018-09-04T02:29:30.991072Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2018-09-04T02:29:30.991314Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180904 10:29:30
2018-09-04T02:29:32.661590Z 0 [Note] InnoDB: Shutdown completed; log sequence number 11884678
2018-09-04T02:29:32.663568Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-09-04T02:29:32.663584Z 0 [Note] Shutting down plugin 'MEMORY'
2018-09-04T02:29:32.663591Z 0 [Note] Shutting down plugin 'CSV'
2018-09-04T02:29:32.663598Z 0 [Note] Shutting down plugin 'sha256_password'
2018-09-04T02:29:32.663602Z 0 [Note] Shutting down plugin 'mysql_native_password'
2018-09-04T02:29:32.663760Z 0 [Note] Shutting down plugin 'binlog'
2018-09-04T02:29:32.664072Z 0 [Note] /usr/sbin/mysqld: Shutdown complete
3. Remmina远程Win7输入不可用
+ 打开Remmina菜单,Preferences -> RDP -> keyboard Layout:选择00000804-Chinese Simplified-US Keyboard
+ 注意:如果要用中文输入法,必须把use client key mapping勾掉,否则不一样的系统和输入法会导致输入法不生效
相关链接:https://askubuntu.com/questions/659195/keyboard-mapping-lost-using-remmina-rdp
4. OpenSSL找不到
相关链接:
https://unix.stackexchange.com/questions/tagged/python3
5. VMWare不可用(未解决)
相关链接:
https://communities.vmware.com/thread/571370
6. 远程Win7声音质量差(未解决)
使用了Remmina和rdesktop,都一样,找了一下,发现相关的问题很少(用ubuntu的太少么-_-!),在微软的网站上找到一些线索,但是试了一下,依旧没有能解决问题
相关链接:
https://social.technet.microsoft.com/Forums/en-US/7935be00-2e3f-493a-8048-d66bfc07a68e/remote-desktop-audio-quality?forum=winserverTS
7. 连接Window共享目录认证失败
连接不到Window's域中的共享目录,可是特定IP(Ubuntu Samba Share)可以,找了一圈,使用smbclient命令行试一下(万能的命令行)
~$ smbclient //update/share --workgroup=xyz.com -U hp
WARNING: The "syslog" option is deprecated
Enter XYZ.COM\hp's password:
SPNEGO(gse_krb5) NEG_TOKEN_INIT failed: NT_STATUS_NO_MEMORY
session setup failed: NT_STATUS_NO_MEMORY
和网上所说的协议不对貌似不一样,使用NT_STATUS_NO_MEMORY,发现应该是个BUG,将共享机器的域名带上就好了
~$ smbclient //update.xyz.com/share --workgroup=xyz.com -U hp
WARNING: The "syslog" option is deprecated
Enter XYZ.COM\hp's password:
Try "help" to get a list of possible commands.
smb: \>
smb: \> exit
问题解决~
相关链接:
https://unix.stackexchange.com/questions/454004/smbclient-not-able-to-connect-to-after-upgrade-to-rhel7
其他相关链接
1. 日期格式导致打不开命令行
https://blog.csdn.net/dyrlovewc/article/details/80817026