Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log There is also no socket on /tmp. sm (pid 2123) is running... Thanks, Rich -- Sent via pgsql-general mailing list ([hidden email]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general Rich Shepard Reply | Threaded Open this post in threaded view ♦ ♦ | Source
ok initializing dependencies ... If not, wait a few seconds and retry. Cordially Patrice Durosay Responses Re: Can't create lock file /tmp/.s.PGSQL.5432.lock at 2003-12-18 20:03:08 from Bruno LEVEQUE Re: Can't create lock file /tmp/.s.PGSQL.5432.lock at 2003-12-18 20:03:11 from Tom Lane pgsql-novice by date In particular, I wonder whether the script's refusal to start if the pidfile already exists accounts for your report that it fails to auto-restart after a reboot. http://stackoverflow.com/questions/33942967/unable-to-start-postgres-server-because-of-permission-denied-on-lock-file
I had to reinstall it again and again. Browse other questions tagged postgresql or ask your own question. regards, tom lane -- Sent via pgsql-general mailing list ([hidden email]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general Reid Thompson Reply | Threaded Open this post in threaded view ♦ ♦ If the other PostgreSQL instance is still running you'll lose the ability to connect to it over a unix socket, or you might get an error about being unable to bind
Referring to equations How to make a shell read the whole script before executing it? Do (did) powered airplanes exist where pilots are not in a seated position? ok creating system views ... We Acted.
Have you got a nondefault setting of unix_socket_directory in postgresq.conf? Document ID:7013035Creation Date:09-AUG-13Modified Date:10-DEC-13NovellData SynchronizerGroupWiseSUSESUSE Linux Enterprise Server Did this document solve your problem? The pidfile should not exist after a clean > shutdown, so it should be removed after a crash, too. https://www.postgresql.org/message-id/[email protected] Stopped rhn-search.
Learn more about Red Hat subscriptions Product(s) Red Hat Virtualization Tags rhev rhev_manager Quick Links Downloads Subscriptions Support Cases Customer Service Product Documentation Help Contact Us Log-in Assistance Accessibility Browser Support I concur on both accounts; I would like to see the output of the actual script, though, when it refuses to start; and also a netstat -anp | grep 5432 Cheers, Stopping s2s: [ OK ] Stopping c2s: [ OK ] Stopping sm: [ OK ] Stopping router: [ OK ] ^[[AStopping postgresql service: [FAILED] Done. [[email protected] tmp]# rhn-satellite start Starting spacewalk I've no idea how that could have happened.
Starting router: [ OK ] Starting sm: [ OK ] Starting c2s: [ OK ] Starting s2s: [ OK ] Starting tomcat6: [ OK ] Waiting for tomcat to be ready ok creating dictionaries ... Thanks share|improve this answer answered Nov 29 '15 at 11:26 Sarthak Saxena 2614 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using If not, wait a > few seconds and retry. > WARNING: could not create listen socket for "localhost" > FATAL: could not create any TCP/IP sockets > > If someone
Does "Excuse him." make sense? this contact form Hmm, maybe the postmaster thinks it should be putting the socket file someplace other than /tmp. I'm not sure about your comment that manual start attempts fail with LOG: could not bind IPv4 socket: Address already in use It's pretty hard to believe ok setting privileges on built-in objects ...
Probably the be best way to address all these things at once is rebooting the server. The row (command) runs every time console is started. ok copying template1 to postgres ... have a peek here Here's what I see: > > [[email protected] ~]$ su postgres -c 'postgres -D /var/lib/pgsql/data &' > Password: [[email protected] ~]$ LOG: could not bind IPv4 socket: Address > already in use >
c2s (pid 2131) is running... ok selecting default max_connections ... 100 selecting default shared_buffers ... 32MB creating configuration files ... Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Red Hat Insights Increase visibility into IT operations to detect and resolve technical issues
Many thanks, Rich Many thanks, Rich -- Sent via pgsql-general mailing list ([hidden email]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general Scott Marlowe-2 Reply | Threaded Open this post in threaded I can also provide the 'start' section of the Slackware init file so I > could learn why it's not working properly. > > TIA, > > Rich > what does FATAL: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied LOG: could not bind IPv6 socket: Cannot assign requested address HINT: Is another postmaster already running on port 5432? ok creating dictionaries ...
cobblerd (pid 2260) is running... at 2003-07-14 21:28:15 from Zengfa Gao pgsql-general by date Next:From: Terence ChangDate: 2003-07-14 22:16:36 Subject: Are you frustrated with PostgreSQL Previous:From: Kathy ZhuDate: 2003-07-14 22:10:15 Subject: change NAMEDATALEN to 64 Privacy If the Ch’in dynasty was so short-lived, why was China named for it? "newfangled", "fandangle" and "fandango" “muss” with an object In 4/4 time can I insert a half sized bar Check This Out The default database encoding has accordingly been set to UTF8.
Here's what I see: [[email protected] ~]$ su postgres -c 'postgres -D /var/lib/pgsql/data &' Password: [[email protected] ~]$ LOG: could not bind IPv4 socket: Address already in use HINT: Is another postmaster already Red Hat Account Number: Red Hat Account Account Details Newsletter and Contact Preferences User Management Account Maintenance Customer Portal My Profile Notifications Help For your security, if you’re on a public It's been commented out forever, so it should be the default. > Also, if you're using the distro's build of postgresql not your own, it's > possible that the compiled-in default No.
Actually, I was saying that the script should *not* concern itself with the pidfile at all. what directory needs to be in my path to run initdb?0Can't connect to local Postgres databases0Can’t connect to local PostgresSQL server13psql: could not connect to server: No such file or directory1Can't I then created a new Rails application setting postgres as the option for the database and, following along with the Railscast, ran rake db:create all but got an error rake db:create Register If you are a new customer, register now for access to product evaluations and purchasing capabilities.
It looked fine immediately after installation. Always create the DB and start and stop the database under this user. ok vacuuming database template1 ... ok copying template1 to template0 ...
Log Out Select Your Language English español Deutsch italiano 한국어 français 日本語 português 中文 (中国) русский Customer Portal Products & Services Tools Security Community Infrastructure and Management Cloud Computing Storage JBoss Andrej, The entire script is attached. Need access to an account?If your company has an existing Red Hat account, your organization administrator can grant you access. IOW, this: > else # remove old socket, if it exists and no daemon is running. > if [ ! -f $DATADIR/$PIDFILE ]; then > rm -f /tmp/.s.PGSQL.5432 > rm -f
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed srwxrwxrwx 1 postgres postgres 0 Dec 11 14:01 ./.s.PGSQL.543 Have any suggestion so that I can rstart the postmaster ? It's only 2588 bytes. Additional Information Troubleshooting StepsTo turn turn silent_mode = off for postgresql Edit /var/lib/pgsql/data/postgresql.conf Change "silent_mode = on" to "silent_mode = off" Start postgresql by typing "rcpostgresql start" and press Enter DisclaimerThis
Hot Network Questions Theorems demoted back to conjectures Golf a Numerical Growing Braid How do I respond when players stray from my prepared material? DETAIL: The data directory was initialized by PostgreSQL version 9.1, which is not compatible with this version 9.2.3. Thanks, Rich -- Sent via pgsql-general mailing list ([hidden email]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general Lennin Caro Reply | Threaded Open this post in threaded view ♦ ♦ | Please do - provide the section, I mean. > TIA, > > Rich Cheers, Andrej -- Please don't top post, and don't use HTML e-Mail :} Make your quotes concise.