Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 0900D4758E6 for ; Sat, 7 Dec 2002 15:54:28 -0500 (EST) Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by postgresql.org (Postfix) with SMTP id 1A18A475F38 for ; Sat, 7 Dec 2002 15:51:01 -0500 (EST) Received: from 63-203-205-128.dsl.snfc21.pacbell.net (HELO kavo) (p?kavanagh@63.203.205.128 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Dec 2002 20:51:01 -0000 From: "Paul Kavanagh" To: Subject: Connection problem (newbie question) Date: Sat, 7 Dec 2002 12:51:09 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0005_01C29DEF.509323C0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <200212071153.15166.mail@tilo-schwarz.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/84 X-Sequence-Number: 6579 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C29DEF.509323C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I've just installed Postgresql 7.3 via Cygwin on Win2K, started the postmaster successfully, yet cannot connect using psql. See below for trace: $ pg_ctl start -D /usr/share/postresql/data -l serverlog postmaster successfully started $ psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? I've attached my .conf. Any ideas ? Thanks in advance, -Paul ------=_NextPart_000_0005_01C29DEF.509323C0 Content-Type: application/octet-stream; name="postgresql.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="postgresql.conf" # # PostgreSQL configuration file # ----------------------------- # # This file consists of lines of the form: # # name =3D value # # (The '=3D' is optional.) White space may be used. Comments are introduced # with '#' anywhere on a line. The complete list of option names and # allowed values can be found in the PostgreSQL documentation. The # commented-out settings shown in this file represent the default values. # # Any option can also be given as a command line switch to the # postmaster, e.g. 'postmaster -c log_connections=3Don'. Some options # can be changed at run-time with the 'SET' SQL command. # # This file is read on postmaster startup and when the postmaster # receives a SIGHUP. If you edit the file on a running system, you have=20 # to SIGHUP the postmaster for the changes to take effect, or use=20 # "pg_ctl reload". #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # # Connection Parameters # tcpip_socket =3D true #ssl =3D false max_connections =3D 16 #superuser_reserved_connections =3D 2 #port =3D 5432=20 #hostname_lookup =3D false #show_source_port =3D false #unix_socket_directory =3D '' #unix_socket_group =3D '' #unix_socket_permissions =3D 0777 # octal #virtual_host =3D '' #krb_server_keyfile =3D '' # # Shared Memory Size # shared_buffers =3D 32 # 2*max_connections, min 16, typically 8KB each #max_fsm_relations =3D 100 # min 10, fsm is free space map, ~40 bytes #max_fsm_pages =3D 10000 # min 1000, fsm is free space map, ~6 bytes #max_locks_per_transaction =3D 64 # min 10 #wal_buffers =3D 8 # min 4, typically 8KB each # # Non-shared Memory Sizes # #sort_mem =3D 1024 # min 64, size in KB #vacuum_mem =3D 8192 # min 1024, size in KB # # Write-ahead log (WAL) # #checkpoint_segments =3D 3 # in logfile segments, min 1, 16MB each #checkpoint_timeout =3D 300 # range 30-3600, in seconds # #commit_delay =3D 0 # range 0-100000, in microseconds #commit_siblings =3D 5 # range 1-1000 # #fsync =3D true #wal_sync_method =3D fsync # the default varies across platforms: # # fsync, fdatasync, open_sync, or open_datasync #wal_debug =3D 0 # range 0-16 # # Optimizer Parameters # #enable_seqscan =3D true #enable_indexscan =3D true #enable_tidscan =3D true #enable_sort =3D true #enable_nestloop =3D true #enable_mergejoin =3D true #enable_hashjoin =3D true #effective_cache_size =3D 1000 # typically 8KB each #random_page_cost =3D 4 # units are one sequential page fetch cost #cpu_tuple_cost =3D 0.01 # (same) #cpu_index_tuple_cost =3D 0.001 # (same) #cpu_operator_cost =3D 0.0025 # (same) #default_statistics_target =3D 10 # range 1-1000 # # GEQO Optimizer Parameters # #geqo =3D true #geqo_selection_bias =3D 2.0 # range 1.5-2.0 #geqo_threshold =3D 11 #geqo_pool_size =3D 0 # default based on tables in statement,=20 # range 128-1024 #geqo_effort =3D 1 #geqo_generations =3D 0 #geqo_random_seed =3D -1 # auto-compute seed # # Message display # #server_min_messages =3D notice # Values, in order of decreasing detail: # debug5, debug4, debug3, debug2, debug1, # info, notice, warning, error, log, fatal, # panic #client_min_messages =3D notice # Values, in order of decreasing detail: # debug5, debug4, debug3, debug2, debug1, # log, info, notice, warning, error #silent_mode =3D false #log_connections =3D false #log_pid =3D false #log_statement =3D false #log_duration =3D false #log_timestamp =3D false #log_min_error_statement =3D error # Values in order of increasing severit= y: # debug5, debug4, debug3, debug2, debug1, # info, notice, warning, error #debug_print_parse =3D false #debug_print_rewritten =3D false #debug_print_plan =3D false #debug_pretty_print =3D false #explain_pretty_print =3D true # requires USE_ASSERT_CHECKING #debug_assertions =3D true # # Syslog # #syslog =3D 0 # range 0-2 #syslog_facility =3D 'LOCAL0' #syslog_ident =3D 'postgres' # # Statistics # #show_parser_stats =3D false #show_planner_stats =3D false #show_executor_stats =3D false #show_statement_stats =3D false # requires BTREE_BUILD_STATS #show_btree_build_stats =3D false # # Access statistics collection # #stats_start_collector =3D true #stats_reset_on_server_start =3D true #stats_command_string =3D false #stats_row_level =3D false #stats_block_level =3D false # # Lock Tracing # #trace_notify =3D false # requires LOCK_DEBUG #trace_locks =3D false #trace_userlocks =3D false #trace_lwlocks =3D false #debug_deadlocks =3D false #trace_lock_oidmin =3D 16384 #trace_lock_table =3D 0 # # Misc # #autocommit =3D true #dynamic_library_path =3D '$libdir' #search_path =3D '$user,public' #datestyle =3D 'iso, us' #timezone =3D unknown # actually, defaults to TZ environment setting #australian_timezones =3D false #client_encoding =3D sql_ascii # actually, defaults to database encoding #authentication_timeout =3D 60 # 1-600, in seconds #deadlock_timeout =3D 1000 # in milliseconds #default_transaction_isolation =3D 'read committed' #max_expr_depth =3D 10000 # min 10 #max_files_per_process =3D 1000 # min 25 #password_encryption =3D true #sql_inheritance =3D true #transform_null_equals =3D false #statement_timeout =3D 0 # 0 is disabled, in milliseconds #db_user_namespace =3D false =20 # # Locale settings # # (initialized by initdb -- may be changed) LC_MESSAGES =3D 'C' LC_MONETARY =3D 'C' LC_NUMERIC =3D 'C' LC_TIME =3D 'C' ------=_NextPart_000_0005_01C29DEF.509323C0--