Build Forge: Using variable _USE_BFCREDS=1 doesn't work
Hi,
I'd like to override Build Forge server authentication with Management Console login credentials by using special environment variable _USE_BFCREDS=1. I'm getting following error message: AUTH Using Build Forge user credentials for server authentication AUTH Unable to set user account to permission deniedThanks for any help, regards Andreas |
6 answers
That means that the Build Agent user does not have credentials to do the 'su'. Whatever user is running the bfagent daemon must have su permissions.
~Spencer
|
Hi Spencer,
oh yes, will check this ... thanks again for your helpful answer ! Regards Andreas |
Test connection shows status 'Pass':
No Errors
Host: bflxx861.boeblingen.de.ibm.com:5556 Agent Version: 7.1.3.0-0-0054 Authentication: hugo Platform: linux 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 16:21:01 EDT 2011 Status: Pass Duration: 0 200 HELLO - BuildForge Agent v7.1.3.0-0-0054 320 AUTH AuthOk["hugo"] 320 SET EnvSet["BF_AGENT_VERSION","7.1.3.0-0-0054"] 320 SET EnvSet["BF_AGENT_PLATFORM","linux 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 16:21:01 EDT 2011"] 320 EXEC Locale["C"] 320 PTY Pty[*PtyPipe] 320 EXEC Locale["C"] 320 EXEC ExecShellPath["/bin/bash"] 300 HEARTBEAT 1 310 * TERM environment variable not set. 310 PLAT linux 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 16:21:01 EDT 2011 320 PING PingOk 251 RESULT 0 260 EOR |
If the test connection works, and the daemon running bfagent has the su permissions, then really the only other thing that could cause a permission denied is if the authentication password is wrong. Are you positive that the user/password are the same between the Linux box and the BF console? The last test would be to create an identical "hugo" user in BF and see if that is able to run the build. Other than that you will have to enter a PMR for the issue.
~Spencer |
Test with an identical "hugo" user in BF also failed. Further debugging showed that the problem/error seems to be the PAM authentication on the server (Linux box). We continue changing PAM configuration.
Thanks for your help so far. Regards Andreas |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.