Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 denied
RESULT 4 (4)
EXEC unable to create/verify project relative working directory.
Thanks for any help,
regards Andreas

0 votes



6 answers

Permanent link
 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

0 votes


Permanent link
Hi Spencer,

oh yes, will check this ... thanks again for your helpful answer !

Regards Andreas

0 votes


Permanent link
Build Agent user has 'su' permissions ! (Checked this on server command line and then startet bfagent with 'bfagent -s').  Still get:
AUTH	 Using Build Forge user credentials for server authentication
AUTH Unable to set user account to permission denied (hugo)
RESULT	4 (4)

EXEC environment_test/environment_test_160 under /home/buildforge on server bflxx861 could not be accessed.
EXEC unable to create/verify project relative working directory.


Don't know what's wrong here ? Any ideas ?
Regards Andreas

0 votes

Comments

Does the test connection by itself work correctly (i.e. passes)?  My guess is that that fails too, so you can gather more information about the failure using the same debug technique here:


Permanent link
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
	

	

0 votes


Permanent link
 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

0 votes


Permanent link
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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Feb 18 '13, 8:48 a.m.

Question was seen: 6,250 times

Last updated: Feb 20 '13, 10:59 a.m.

Confirmation Cancel Confirm