PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : خطا هنگام اضافه کردن اکانت



mil4d
May 19th, 2019, 12:09
سلام whm رو نصب کردم ولی میخوام اکانت اضافه کنم این خطا رو میده

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 رو وارد میکنم خطا میده میگه دسترسی ساخت فایل یا ... نداری
با یوزر رووت هم میرم

shayantl
May 19th, 2019, 12:50
یه بار سرویس دیتابیس رو ریستارت کن

mil4d
May 19th, 2019, 13:30
ریستارت کردم بازم نشد

- - - Updated - - -


ریستارت کردم بازم نشد

اروری که دریافت میکنم برای ریسیت دیتابیس 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".


دوستان اگه کسی میتونه کمک کنه ممنون