"AFP proxy user configuration failed" during OES Install

  • 7012097
  • 08-Apr-2013
  • 21-Aug-2015

Environment

Novell Open Enterprise Server 11 (OES 11) Linux
Novell Open Enterprise Server 2 (OES 2) Linux

Situation

Getting error "AFP proxy user configuration failed" during OES install of AFP

Resolution

There are a few things that can cause this issue:

1)  Make sure all the user contexts specified for AFP are valid.  Remove any contexts that do not exist.

2)  Make sure the AFP config file in /etc/sysconfig/novell/ has a valid value for CONFIG_AFP_LDAP_SERVER.  (ie. CONFIG_AFP_LDAP_SERVER="192.168.1.1")

3)  Disable APPArmor and try again.

There are a lot of ways to disable an application.
Here is a way directly from the documentation to disable AppArmor:

19.2 Enabling and Disabling AppArmor

AppArmor is configured to run by default on any fresh installation of SUSE Linux Enterprise Desktop. There are two ways of toggling the status of AppArmor:

Using YaST System Services (Runlevel)

Disable or enable AppArmor by removing or adding its boot script to the sequence of scripts executed on system boot. Status changes are applied on reboot.

Using AppArmor Control Panel

Toggle the status of AppArmor in a running system by switching it off or on using the YaST AppArmor Control Panel. Changes made here are applied instantaneously. The Control Panel triggers a stop or start event for AppArmor and removes or adds its boot script in the system's boot sequence.

To disable AppArmor permanently (by removing it from the sequence of scripts executed on system boot) proceed as follows:

  1. Start YaST.

  2. Select System > System Services (Runlevel).

  3. Select Expert Mode.

  4. Select boot.apparmor and click Set/Reset > Disable the service.

  5. Exit the YaST Runlevel tool with Finish.

AppArmor will not be initialized on reboot, and stays inactive until you reenable it. Reenabling a service using the YaST Runlevel tool is similar to disabling it.

Toggle the status of AppArmor in a running system by using the AppArmor Control Panel. These changes take effect as soon as you apply them and survive a reboot of the system. To toggle AppArmor's status, proceed as follows:

  1. Start YaST.

  2. Select AppArmor > AppArmor Control Panel.

  3. Select Enable AppArmor. To disable AppArmor, uncheck this option.

  4. Exit the AppArmor Control Panel with Done.


You might want to disable it manually like this:

List information about how it is configured to be run currently:

chkconfig -A | grep -i app

Stop it from loading on boot like this:

chkconfig boot.apparmor off

Stop it from running right now like this:

/etc/init.d/boot.apparmor stop

Rerun the OES install for AFP and it will now install without this error.