-
عضو جدید
خطا هنگام اضافه کردن اکانت
سلام whm رو نصب کردم ولی میخوام اکانت اضافه کنم این خطا رو میده
کد PHP:
Create a New Account Account Creation Status: failed
(XID 83k38c) The system failed to connect to the “PostgreSQL” database “postgres” because of an error: connection_failure (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"?) at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 1226.
توی shh هم رفتم که postgresql رو نصب کنم
دستور postgresql-setup initdb رو وارد میکنم خطا میده میگه دسترسی ساخت فایل یا ... نداری
با یوزر رووت هم میرم
-
-
May 19th, 2019 12:09
# ADS
-
پاسخ : خطا هنگام اضافه کردن اکانت
یه بار سرویس دیتابیس رو ریستارت کن
-
تعداد تشکر ها از shayantl به دلیل پست مفید
-
عضو جدید
پاسخ : خطا هنگام اضافه کردن اکانت
ریستارت کردم بازم نشد
- - - Updated - - -

نوشته اصلی توسط
mil4d
ریستارت کردم بازم نشد
اروری که دریافت میکنم برای ریسیت دیتابیس PostgresQL
کد:
The Postgres database is not initialized. The system will now initialize it.The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_US.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". initdb: directory "/var/lib/pgsql/data" exists but is not empty If you want to create a new database system, either remove or empty the directory "/var/lib/pgsql/data" or run initdb with an argument other than "/var/lib/pgsql/data". No enabled roles on this system use the “postgresql” service. Done
و اروری که دریافت میکنم برای پیکربندی اولیه Postgresql
کد:
could not change directory to "/root"
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
initdb: directory "/var/lib/pgsql/data" exists but is not empty
If you want to create a new database system, either remove or empty
the directory "/var/lib/pgsql/data" or run initdb
with an argument other than "/var/lib/pgsql/data".
could not change directory to "/root"
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
دوستان اگه کسی میتونه کمک کنه ممنون
ویرایش توسط mil4d : May 19th, 2019 در ساعت 14:15
-