Error on PostgreSql Install
Hey Guys, on I try to execute /scripts/installpostgres, my server return an error:
thread.error: can't start new thread
Failed to locate postgresql user
The PostgreSQL installation failed.
Anyone have ideia to solve this?
Thks in advance.
-
thread.error: can't start new thread
Hello, Could you verify if there was any additional output before this error? For instance, did it appear after a YUM transaction? Thank you.0 -
Yeh, it seems appear that a yum mistake: [SPOILER="YUM output"> Traceback (most recent call last): File "/usr/bin/yum", line 29, in (XID 3anww2) The system failed to execute yum with the arguments "-y -c /etc/yum.conf install rh-postgresql rh-postgresql-devel rh-postgresql-libs rh-postgresql-server postgresql postgresql-devel postgresql-libs postgresql-server"because of an error: The "/usr/bin/yum"command (process 9364) reported error number 1 when it ended. : Traceback (most recent call last): File "/usr/bin/yum", line 29, in yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 298, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 146, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 440, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 211, in doCommand return base.installPkgs(extcmds) File "/usr/share/yum-cli/cli.py", line 702, in installPkgs self.install(pattern=arg) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3524, in install mypkgs = self.pkgSack.returnPackages(patterns=pats, File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 907, in pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 687, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.6/site-packages/yum/repos.py", line 295, in populateSack self.doSetup() File "/usr/lib/python2.6/site-packages/yum/repos.py", line 110, in doSetup self.ayum.plugins.run('postreposetup') File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 202, in postreposetup_hook all_urls = FastestMirror(all_urls).get_mirrorlist() File "/usr/lib/yum-plugins/fastestmirror.py", line 369, in get_mirrorlist self._poll_mirrors() File "/usr/lib/yum-plugins/fastestmirror.py", line 413, in _poll_mirrors pollThread.start() File "/usr/lib64/python2.6/threading.py", line 474, in start _start_new_thread(self.__bootstrap, ()) thread.error: can't start new thread
0 -
First, try repairing your RPM database with the following commands: mkdir /root/old_rpm_dbs/ mv /var/lib/rpm/__db* /root/old_rpm_dbs/ rpm --rebuilddb
If the issue continues, you can try disabling the YUM FastMirror plugin if it's enabled by running the following command:cp -av /etc/yum/pluginconf.d/fastestmirror.conf{,.enabled}; sed -i 's/enabled=1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf
Let us know if this helps. Thanks!0 -
Hey Guys... All work... very thx for the help. =D 0 -
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments