既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!
由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新
错误:数据库“lyy”被其他用户访问
细节:有一个其他会话使用数据库。
解决办法 :停止web服务,或者另一个终端打开了这个数据库
2、用户yy连接lyyku会报错说没有connect权限,那么就授予用户yy对数据库lyy的访问权限
#psql -E -U yy -d lyy
Password for user yy:
psql: FATAL: permission denied for database “lyy”
DETAIL: User does not have CONNECT privilege.
**解决办法 :授予用户yy对数据库lyy的访问权限**
#psql -E -U highgo
Password for user highgo:
psql (2.0.2)
Type “help” for help.
highgo=# grant connect on database lyy to yy;
3、postgres日志报错
postgres@ubuntu:~$ cat logfile
LOG: could not bind IPv4 socket: Address already in use
HINT: Is another postmaster already running on port 5433? If not, wait a few seconds
LOG: could not bind IPv6 socket: Address already in use
HINT: Is another postmaster already running on port 5433? If not, wait a few seconds
WARNING: could not create listen socket for “*”
FATAL: could not create any TCP/IP sockets
LOG: database system is shut down
解析 :
提示:另一个邮政局长已经运行在端口5433上了吗?如果没有,等几秒钟
警告:无法为“*”创建监听套接字
无法创建任何TCP/IP套接字
日志:数据库系统关闭
解决办法 :停掉服务,然后重启
netstat -lantp,查看端口,直接kill掉,然后进入数据里面,启动数据库,再查看日志
su - postgres
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
cat logfile
![在这里插入图片描述](https://img-blog.csdnimg.cn/20191113141545691.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwOTA3OTc3,size_16,color_FFFFFF,t_70)
![在这里插入图片描述](https://img-blog.csdnimg.cn/2019111314172852.png)
停掉数据库的监控报警
![在这里插入图片描述](https://img-blog.csdnimg.cn/20191113143148320.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQwOTA3OTc3,size_16,color_FFFFFF,t_70)
4、postgres日志报错
![img](https://img-blog.csdnimg.cn/img_convert/4d0fedd4ec51e995344f0c1bcc2de647.png)
![img](https://img-blog.csdnimg.cn/img_convert/3051da1ad4e320cde5054b0bdcaa708a.png)
![img](https://img-blog.csdnimg.cn/img_convert/2d914bfdd12632a6e6086247172eed03.png)
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上软件测试知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化的资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618631832)**
、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化的资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618631832)**