Wizard is not working.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Wizard is not working.

Post by paulol »

Follows the file.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Wizard is not working.

Post by ssax »

Looks like your postgresql DB is having issues, did you guys do any customization to the postgresql settings?

Try running a repair on it.

As root run the following:

Code: Select all

service postgresql stop
Change to the postgres account:

Code: Select all

su postgres
Run these commands to single user fix the psql databases:

Code: Select all

postgres --single -D /var/lib/pgsql/data/ nagiosxi
backend> vacuum full
PRESS CTRL-D TO BREAK
postgres --single -D /var/lib/pgsql/data/ postgres
backend> vacuum full
PRESS CTRL-D TO BREAK
Then run these commands:

Code: Select all

exit
service postgresql start
Then try the wizard again and let us know the results.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Wizard is not working.

Post by paulol »

No, I didnt.

I did everything you told me to do and the problem was not solved.
[root@DOUAI var]# service postgresql stop
Stopping postgresql service: [ OK ]

[root@DOUAI var]# su postgres
bash-4.1$ postgres --single -D /var/lib/pgsql/data/ nagiosxi

PostgreSQL stand-alone backend 8.4.20
backend> vacuum full
bash-4.1$ postgres --single -D /var/lib/pgsql/data/ postgres

PostgreSQL stand-alone backend 8.4.20
backend> vacuum full

[root@DOUAI var]# service postgresql start
Starting postgresql service: [ OK ]
You do not have the required permissions to view the files attached to this post.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Wizard is not working.

Post by paulol »

I enabled the parameter standard_conforming_strings on file postgresql.conf to ON and the following error stopped, but the wizards still doesn't work:

WARNING: nonstandard use of \\ in a string literal at character 98
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Wizard is not working.

Post by ssax »

I think at this point we should move this into a ticket so that we can setup a remote session.

Please send an email to [email protected] with a descriptive subject and the body detailing this issue with a link back to this thread.
paulol
Posts: 159
Joined: Wed Jul 02, 2014 11:39 am

Re: Wizard is not working.

Post by paulol »

Sean you can close this thread the problem was already solved.

I found a file in /usr/my.cnf that was set this parameter.

[mysqld]

sql-mode = STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

and i changed to :

[mysqld]

sql-mode = NO_ENGINE_SUBSTITUTION

Thx.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Wizard is not working.

Post by hsmith »

paulol wrote:Sean you can close this thread the problem was already solved.

I found a file in /usr/my.cnf that was set this parameter.

[mysqld]

sql-mode = STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

and i changed to :

[mysqld]

sql-mode = NO_ENGINE_SUBSTITUTION

Thx.
Thank you for posting the resolution - we always appreciate the feedback.

Closing this one.
Former Nagios Employee.
me.
Locked