Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qRjOD-002lMz-W9 for pgsql-general@arkaria.postgresql.org; Fri, 04 Aug 2023 01:14:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qRjOB-001iIP-24 for pgsql-general@arkaria.postgresql.org; Fri, 04 Aug 2023 01:13:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qRjOA-001iIG-NM for pgsql-general@lists.postgresql.org; Fri, 04 Aug 2023 01:13:59 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qRjO8-000Rf4-CL for pgsql-general@lists.postgresql.org; Fri, 04 Aug 2023 01:13:58 +0000 Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-40fed08b990so7674511cf.2 for ; Thu, 03 Aug 2023 18:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691111634; x=1691716434; h=in-reply-to:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:from:to:cc:subject:date :message-id:reply-to; bh=R4K8BsVuWf5b74MHa1mPmH0W+jq/0n8Eo1gekVj7nFA=; b=MicX27t6cyUL0hPwGkfFB5LDTX+o8+jcFu93n4Nez7gvB31zU78MtUVodSDLoBR9Hy HclLJMb9zRH95w7q6AbAVnWIyW2l9aGY29B6VckXYU80tvybhF4jqcKmlXzfE7zOAtjQ fcZ9cHU98QFGtuzK48SiizUnLl5ebzaq99NaIsYifIX6gPoSAqylJ9XQtTPCheHsATcI OdujpTaUg0Mdq0E/2Rm58dmEZPb3v2Lh23Kt75RvFX8viTUALX6GBW29a4s7yC+/6xzi TDqSImoeU02cNFnYHbdYRwsvTJAOnLHUS9ILfPOadonPeTGnigczMFCWTXkIelwIQCfT SXyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691111634; x=1691716434; h=in-reply-to:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R4K8BsVuWf5b74MHa1mPmH0W+jq/0n8Eo1gekVj7nFA=; b=FG2XD7GijXymSu2CUErUi7KRr1lRuCnJorau+v24omBf03EaYxEKVvwCtm/W8G349R 2jsgvwSJNaEPLwcxkZNI0QuoDrTgBRN4E9IsAkx2zOzw6Vyd3psJ1svlxs7YJ7cPupwy Iz+pvx5V5MBMnSp2wCQSUC3Le5Frn8tB6HnSbVgVizn1oXxTThxpwHQ+B+k2dNOwjKcr GWbXIX+UEzVlZOST45gS8UX75RkZtbGosIr533w7ketXTJmWDRaQaFeg0iVX8EcYjCEx 6uTJl2wb9w/mfo5i1kJd5bsRlqPeOJzmkqVhpbTQZGLO4GOR+yypfFBrc551zKk5I2wX G6ow== X-Gm-Message-State: AOJu0Yw1L20BOLy3mCGteRuPux3stvwCf+dQpiGZuwtgNWIbCfhFphC4 nr1QeTUFVCSpNja/R6VM5yzU3gd7BziAhg== X-Google-Smtp-Source: AGHT+IHtBNIIFEp8fnZcZfBCPrqZKSbZepjo/Vpj90Eu5iWeWGCkBe9SIqeFYFePD0ftO2AIXkAdYA== X-Received: by 2002:a05:622a:1449:b0:3fd:eaa8:ec5e with SMTP id v9-20020a05622a144900b003fdeaa8ec5emr533830qtx.20.1691111633589; Thu, 03 Aug 2023 18:13:53 -0700 (PDT) Received: from [192.168.2.170] ([67.70.150.114]) by smtp.gmail.com with ESMTPSA id dn9-20020a05622a470900b004052f71f79bsm311398qtb.74.2023.08.03.18.13.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Aug 2023 18:13:53 -0700 (PDT) From: Amn Ojee Uw X-Google-Original-From: Amn Ojee Uw Content-Type: multipart/alternative; boundary="------------RiCjUMGTrlgdAvW6ib07dLcX" Message-ID: <87434ea4-f1c3-9204-1356-73df7aaa7796@gmail.com> Date: Thu, 3 Aug 2023 21:13:43 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: Re: role "my_account" does not exist To: pgsql-general@lists.postgresql.org References: Content-Language: en-US In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------RiCjUMGTrlgdAvW6ib07dLcX Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I came to understand PG a bit better and then understood where I had gone wrong. Thanks folks, but please ignore this email. My most sincere apologies. On 8/3/23 8:17 p.m., Amn Ojee Uw wrote: > > Hello! > > Following this web page > , I have tried > to create a new role/user, but to no avail. > > After typing the following command : /*createuser --interactive > --pwprompt*/ I get the following questions: > > Enter name of role to add: company_name > Enter password for new role: xxxxxxx > Enter it again: xxxxxxx > Shall the new role be a superuser? (y/n) y > > Than this error is displayed : > */createuser: error: connection to server on socket > "/var/run/postgresql/.s.PGSQL.5432" /**/ > /**/failed: FATAL:  role "my_debian_login_account_name" does not exist/* > > How/ever, this issue is not really relevant/, per se, since I am able > to create roles once I log in PostgreSQL-15. Nonetheless, if the > service exist, why not usu it. If the services exist and is not > working, could it be that there is a problem that will come apparent > later on, when unlike now, it would be during a critical moment. Thus > the question, what can I do to resolve this issue? > Is there something I am missing? > > > Thanks > > --------------RiCjUMGTrlgdAvW6ib07dLcX Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

I came to understand PG a bit better and then understood where I had gone wrong. Thanks folks, but please ignore this email.

My most sincere apologies.

On 8/3/23 8:17 p.m., Amn Ojee Uw wrote:

Hello!

Following this web page, I have tried to create a new role/user, but to no avail.

After typing the following command : createuser --interactive --pwprompt I get the following questions:

Enter name of role to add: company_name
Enter password for new role: xxxxxxx
Enter it again: xxxxxxx
Shall the new role be a superuser? (y/n) y

Than this error is displayed :
createuser: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432"
failed: FATAL:  role "my_debian_login_account_name" does not exist

However, this issue is not really relevant, per se, since I am able to create roles once I log in PostgreSQL-15. Nonetheless, if the service exist, why not usu it. If the services exist and is not working, could it be that there is a problem that will come apparent later on, when unlike now, it would be during a critical moment. Thus the question, what can I do to resolve this issue?
Is there something I am missing?


Thanks


--------------RiCjUMGTrlgdAvW6ib07dLcX--