DB error when adding users
Posted: Mon Dec 08, 2014 11:23 am
Installed Version: 2014R1.0
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Hi Everyone
I am getting the following various errors as I was adding users. After looking over the install log I saw the following owner permissions error. Could this be causing all my errors below when I add/clone users. Please help me ! Also tell me the permissions needed for the db user so they can be corrected.
Install Log Error
Creating postgres database and user...
CREATE ROLE
CREATE DATABASE
Restarting postgres...
Stopping postgresql service: ESC[60G[ESC[0;32m OK ESC[0;39m]
Starting postgresql service: ESC[60G[ESC[0;32m OK ESC[0;39m]
Creating postgres db structure...
SET
SET
SET
SET
SET
ERROR: must be owner of schema public
SET
CREATE SEQUENCE
ALTER TABLE
CREATE SEQUENCE
various errors
1. Get this when I clone various user accounts
Unable to assign account privileges.
Use this functionality to create a new user account that is an exact clone of another account on the system. The cloned account will inherit all preferences, views, and dashboards of the original user.
SQL: INSERT INTO fusion_usermeta (user_id,keyname,keyvalue,autoload) VALUES ('27','userlevel','1','1') SQL Error [nagiosfusion] : ERROR: duplicate key value violates unique constraint "fusion_usermeta_pkey"
2. Get this too when I clone various user accounts
Clone User: *****
Security level is blank.
Unable to get insert id for new user account
Use this functionality to create a new user account that is an exact clone of another account on the system. The cloned account will inherit all preferences, views, and dashboards of the original user.
SQL: INSERT INTO fusion_usermeta (user_id,keyname,keyvalue,autoload) VALUES ('57','userlevel','1','1') SQL Error [nagiosfusion] : ERROR: duplicate key value violates unique constraint "fusion_usermeta_pkey"ERROR: UNABLE TO ADD USERID: ()
3. Get this when I just try to add (not clone)
SQL: INSERT INTO fusion_users (username,email,name,password,backend_ticket) VALUES ('*****','[email protected]','firstname lastname','qwqpasswordqwq') SQL Error [nagiosfusion] : ERROR: duplicate key value violates unique constraint "fusion_users_pkey"ERROR: UNABLE TO ADD USERID: ()
questrad
Posts: 63
Joined: Wed Mar 21, 2012 4:08 pm
Top
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Hi Everyone
I am getting the following various errors as I was adding users. After looking over the install log I saw the following owner permissions error. Could this be causing all my errors below when I add/clone users. Please help me ! Also tell me the permissions needed for the db user so they can be corrected.
Install Log Error
Creating postgres database and user...
CREATE ROLE
CREATE DATABASE
Restarting postgres...
Stopping postgresql service: ESC[60G[ESC[0;32m OK ESC[0;39m]
Starting postgresql service: ESC[60G[ESC[0;32m OK ESC[0;39m]
Creating postgres db structure...
SET
SET
SET
SET
SET
ERROR: must be owner of schema public
SET
CREATE SEQUENCE
ALTER TABLE
CREATE SEQUENCE
various errors
1. Get this when I clone various user accounts
Unable to assign account privileges.
Use this functionality to create a new user account that is an exact clone of another account on the system. The cloned account will inherit all preferences, views, and dashboards of the original user.
SQL: INSERT INTO fusion_usermeta (user_id,keyname,keyvalue,autoload) VALUES ('27','userlevel','1','1') SQL Error [nagiosfusion] : ERROR: duplicate key value violates unique constraint "fusion_usermeta_pkey"
2. Get this too when I clone various user accounts
Clone User: *****
Security level is blank.
Unable to get insert id for new user account
Use this functionality to create a new user account that is an exact clone of another account on the system. The cloned account will inherit all preferences, views, and dashboards of the original user.
SQL: INSERT INTO fusion_usermeta (user_id,keyname,keyvalue,autoload) VALUES ('57','userlevel','1','1') SQL Error [nagiosfusion] : ERROR: duplicate key value violates unique constraint "fusion_usermeta_pkey"ERROR: UNABLE TO ADD USERID: ()
3. Get this when I just try to add (not clone)
SQL: INSERT INTO fusion_users (username,email,name,password,backend_ticket) VALUES ('*****','[email protected]','firstname lastname','qwqpasswordqwq') SQL Error [nagiosfusion] : ERROR: duplicate key value violates unique constraint "fusion_users_pkey"ERROR: UNABLE TO ADD USERID: ()
questrad
Posts: 63
Joined: Wed Mar 21, 2012 4:08 pm
Top