[原]关于Linux AS4 自启动Postgresql出现Do you want to choose a different one?问题
2007-07-19 13:32
483 查看
关于Linux AS4 自启动Postgresql日志出现Do you want to choose a different one?问题解决办法
OS:Linux AS4U2
DB:Posgresql 8.1
按照PG的安装说明,将postgresql脚本copy到/etc/init.d/目录下,执行chkconfig --add postgresql后,
在系统中运行service postgresql start,启动正常,但重启机器后,PG没法正常启动,查看日志serverlog中
有“Do you want to choose a different one?”提示。有网友用runuser命令替换postgresql中su来解决,但我试
后不行。
继续查资料了解到是SELinux中有一项配置SELINUX=enforcing引起的,将其改为:SELINUX=disabled
即可,该配置文件在/etc/selinux/config中。
特此贴出来,希望能帮助和我遇到同样问题的网友。
OS:Linux AS4U2
DB:Posgresql 8.1
按照PG的安装说明,将postgresql脚本copy到/etc/init.d/目录下,执行chkconfig --add postgresql后,
在系统中运行service postgresql start,启动正常,但重启机器后,PG没法正常启动,查看日志serverlog中
有“Do you want to choose a different one?”提示。有网友用runuser命令替换postgresql中su来解决,但我试
后不行。
继续查资料了解到是SELinux中有一项配置SELINUX=enforcing引起的,将其改为:SELINUX=disabled
即可,该配置文件在/etc/selinux/config中。
特此贴出来,希望能帮助和我遇到同样问题的网友。
相关文章推荐
- 使用水晶报表11.5 问题 is already open. Do you want to close it?
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”错误的处理
- 遭遇开机自检问题:If you want to install linux default partition RAID driver,please do not use OPROM creation oporation
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”错误的处理
- 【Datastage】Datastage在win10上安装报错:This Application requires one of the following versions of the .NET Framework:v1.1.4322 Do you want to install this .NET Framework version now?
- Source insight上修改samba共享ubuntu上内核源程序文件出现"Confirm by typing ‘yes' below"、"has been changed outside of the editor. Do you want to
- 关于使用navicat for mysql在建立数据库连接时出现的2003 can't connect to mysql server on'localhost'(10038)问题
- 关于使用JSON库的时候,出现[NSCFString JSONValue]: unrecognized selector sent to instance的问题
- ubuntu下安装软件出现You might want to run 'apt-get -f install' to correct these解决
- 解决linux系统打开可执行文件,一直弹出:Do you want to run “***”,or display its contents?
- 关于Eclipse出现unable to resolve superclass错误的问题
- Android studio 2.3版本出现的问题: Please select at least one of the signature versions to use
- Wamp 修改默认网站目录的方法及出现You don't have permission to access / on this server问题解决
- linux(ubuntu)安装软件出现You might want to run 'apt-get -f install' to correct these解决
- 关于使用JSON库的时候,出现[NSCFString JSONValue]: unrecognized selector sent to instance的问题
- 关于在windows下安装postgresql-8.4.4-1-windows-binaries所出现的问题和解决
- I want to do that you feel proud of me.
- 运行Android程序时,出现提示:No compatible targets were found .do you wish to add new android virtual device!
- Problem 2091 播放器 模拟问题 I never stop loving you, but I just don't want anybody to see it any more.