froggy
11th December 2008, 03:41
I am having issues setting up a satelite monitor and am hoping someone can assist,
The issue from what i can tell starts with the ssh connect and ends with various other symptoms . The one that gives the best hint to me was whenever I try and generate the configuration for the satilite server I get the following error in the central servers /var/log/messages
sudo: wwwrun : pam_authenticate: User not known to the underlying authentication module ; TTY=unknown ; PWD=/usr/local/centreon/www ; USER=root ; COMMAND=/usr/local/nagios/bin/nagios -v /usr/local/centreon/filesGeneration/nagiosCFG/2/nagiosCFG.DEBUG
and in the apache error log I get
root's password:
sudo: pam_authenticate: User not known to the underlying authentication module
On the satalite I don't actually get anything in the logs at all when I generate the changes so it doesn't get that far, however it does show the nagios user making connections but failing cycleing every few minitues or so
the key phase passes , but then it still recives a pam error ( as if I was being prompted for a password and failign when i didn't enter one ) this error says
"sshd[29910]: Accepted publickey for nagios from 10.1.0.121 port 5830 ssh2
sshd[29912]: PAM audit_log_acct_message() failed: Operation not permitted"
All doesn't seem to be completely broken though so I think it is just a small issue that is causing my greif, to give a bit of background info
Things I can do as expected
tail -f /var/lib/centreon/log/2/nagios.log on the central server updates with errors and notifications as expected from the satalite
I can su - nagios and log into the satilite as nagios without a password
I can log into the central mysql server as the set user from both server locations as expected
The thing thing that I can't do that I really want to sort out is the sshd error I get from communication done between the servers I belive once I can get this ironed out and have copied my configuration files to the new server that
ethe other small problems will likely fall into place or not far off
anyone have any clue's as to where I can continue on my trouble shooting ( perhaps permissions ? ) is there a way to change centreon to use the nagios user and not the wwwrun user ?
The issue from what i can tell starts with the ssh connect and ends with various other symptoms . The one that gives the best hint to me was whenever I try and generate the configuration for the satilite server I get the following error in the central servers /var/log/messages
sudo: wwwrun : pam_authenticate: User not known to the underlying authentication module ; TTY=unknown ; PWD=/usr/local/centreon/www ; USER=root ; COMMAND=/usr/local/nagios/bin/nagios -v /usr/local/centreon/filesGeneration/nagiosCFG/2/nagiosCFG.DEBUG
and in the apache error log I get
root's password:
sudo: pam_authenticate: User not known to the underlying authentication module
On the satalite I don't actually get anything in the logs at all when I generate the changes so it doesn't get that far, however it does show the nagios user making connections but failing cycleing every few minitues or so
the key phase passes , but then it still recives a pam error ( as if I was being prompted for a password and failign when i didn't enter one ) this error says
"sshd[29910]: Accepted publickey for nagios from 10.1.0.121 port 5830 ssh2
sshd[29912]: PAM audit_log_acct_message() failed: Operation not permitted"
All doesn't seem to be completely broken though so I think it is just a small issue that is causing my greif, to give a bit of background info
Things I can do as expected
tail -f /var/lib/centreon/log/2/nagios.log on the central server updates with errors and notifications as expected from the satalite
I can su - nagios and log into the satilite as nagios without a password
I can log into the central mysql server as the set user from both server locations as expected
The thing thing that I can't do that I really want to sort out is the sshd error I get from communication done between the servers I belive once I can get this ironed out and have copied my configuration files to the new server that
ethe other small problems will likely fall into place or not far off
anyone have any clue's as to where I can continue on my trouble shooting ( perhaps permissions ? ) is there a way to change centreon to use the nagios user and not the wwwrun user ?