Recent Posts by Barrow Kwan

Subscribe to Recent Posts by Barrow Kwan 10 post(s) found

Nov 3, 2008
Avatar Barrow Kwan 10 post(s) #2598

Topic: Troubleshooting Installation of Mingle / Problem with LDAP

Hi Frank, for the next release (mid-December), we have removed this requirement. LDAP that allow anonymous access (binding) will not need to provide user/pass anymore. If this issue is blocking you please contact our support team.

 
Oct 14, 2008
Avatar Barrow Kwan 10 post(s) #2472

Topic: Troubleshooting Installation of Mingle / Problem with LDAP

look like you have the ldapbinduser and ldapbindpasswd missing. this is the account you use to bind (establish connection ) to your ldap server. It looks like you didn’t use this neither when you run the command line tool ( ldapsearch ). Get an account that has read only access to your directory ( at least this user can search people in the directory but doesn’t have admin access ). You can use ldapsearch with this account to verify you can query the directory.

 
Jun 9, 2008
Avatar Barrow Kwan 10 post(s) #1669

Topic: Troubleshooting Installation of Mingle / Running Mingle on existing Apache (so we dont have to open ports)

This has been fixed in 2.0.1 and here is the instruction

In Mingle

edit config/jetty.xml, look for the line ( Unless you have modified this file already, you should be able to find this on line 69 )

Before you edit this file, please make a backup

<Set name="contextPath">/</Set>

and change it to

<Set name="contextPath">/mingle</Set>



In Apache

Listen 1.2.3.4:80
NameVirutalHost 1.2.3.4:80
<Virtualhost 1.2.3.4:80>
  Servername mingle.example.com
  ProxyPass /mingle http://localhost:8080/mingle
  ProxyPassReverse /mingle http://localhost:8080/mingle
</virtualhost>

 
May 5, 2008
Avatar Barrow Kwan 10 post(s) #1454

Topic: Troubleshooting Installation of Mingle / Running Mingle on existing Apache (so we dont have to open ports)

Mike, we realized the issue and mingle team is working for a fix on the coming release. stay tune and sorry for the confusion

 
Apr 29, 2008
Avatar Barrow Kwan 10 post(s) #1394

Topic: Troubleshooting Installation of Mingle / AD LDAP integration

Can you look at the mingle.log and post the error stack about the LDAP error on the log file?

 
Apr 25, 2008
Avatar Barrow Kwan 10 post(s) #1358

Topic: Troubleshooting Installation of Mingle / Problem with LDAP

from the error message said, your mingle instance has problem to connect to the ldap server. please make sure you can connect to ldap from the machine that you are running mingle. Two other things you should check it too. First, the user you use to bind to LDAP ( ldapbinduser and ldapbindpasswd ) can authenticate to your ldap server. Second, make sure ldapbasedn ( ou=Users,dc=intra ) did exist on your LDAP server.

 
Apr 17, 2008
Avatar Barrow Kwan 10 post(s) #1255

Topic: Troubleshooting Installation of Mingle / LDAP working, but no auto enroll

The auto_enroll option is not being used when you are using ldap plugin. On the other hand, if your user successfully authenticated on LDAP and the account doesn’t exist, mingle will create that user account no matter auto_enroll is set to true or false. It looks like your problem is with the user entry in LDAP. Can you check if that user’s fullname exist on your LDAP ( check that user’s email address as well ).

 
Feb 5, 2008
Avatar Barrow Kwan 10 post(s) #1041

Topic: Troubleshooting Installation of Mingle / LDAP Authentication Problem

can you post your auth-config.yml ? ( remember to remove the password when you post the configuration and/or change the DN if you are not comfortable to post it here. )

 
Oct 23, 2007
Avatar Barrow Kwan 10 post(s) #742

Topic: Troubleshooting Installation of Mingle / Running Mingle on existing Apache (so we dont have to open ports)

There are couple of options

1. Use VirtualHost as Smerritt said and here is an example apache configuration. ( this is just a general configuration example). Please make sure you have enable mod_proxy and change mingle to run on other port than 80. eg mingle is running on port 82 and mantis is running on port 81. With this example, you can access mingle with http://mingle.example.com and mantis with http://mantis.example.com. Both mingle.example.com and mantis.example.com has the same ip address ( 1.2.3.4 ) on DNS

Listen 1.2.3.4:80
NameVirutalHost 1.2.3.4:80
<virtualhost 1> Servername mingle.example.com ProxyPass / http://localhost:82/ ProxyPassReverse / http://localhost:82/
</virtualhost>

<virtualhost 1> Servername mantis.example.com ProxyPass / http://localhost:81/ ProxyPassReverse / http://localhost:81/
</virtualhost>

2. If you really want use one hostname to serve both mingle and mantis ( ie http://www.example.com/mingle and http://www.example.com/mantis ). You can try this two approach ( The first approach won’t work all the time, so you have to test it through )

a. Same as one above but with one Virtualhost configuration
Listen 1.2.3.4:80
NameVirutalHost 1.2.3.4:80
<virtualhost 1> Servername www.example.com ProxyPass /mingle http://localhost:82/ ProxyPassReverse /mingle http://localhost:82/ ProxyPass /mantis http://localhost:81/ ProxyPassReverse /mantis http://localhost:81/
</virtualhost>

b) option a) above won’t work for all applications, then you will need to use mod_proxy_html

I will recommend option 1 above ( ie two virutalhosts configuration ).

 
Sep 6, 2007
Avatar Barrow Kwan 10 post(s) #654

Topic: Troubleshooting Installation of Mingle / here is an /etc/init.d/mingled file

Here is what we use in RedHat/Fedora Core/CentOS, I think it will work for Debian/Ubuntu

Step to install/run this script:
1. Save this script under /etc/rc.d/init.d ( eg /etc/rc.d/init.d/mingle )
2. change the file permission ( eg chmod 755 /etc/rc.d/init.d/mingle )
3. create a file called mingle under /etc/sysconfig ( ie /etc/sysconfig/mingle ) with the following one line : MINGLE_USER=mingle * This is the user who will run mingle. Change it to the user who will run mingle in your environment ( I highly NOT recommend you run Mingle as root )
3. run ”/sbin/chkconfig mingle on” ( this will make mingle run automatically after server reboot and shutdown mingle during “normal” server shutdown )
4. to start mingle, you can run ”/sbin/service mingle start”
4a to stop mingle, you can run ”/sbin/service mingle stop”

/etc/rc.d/init.d/mingle :

!/bin/bash

#

  1. chkconfig: – 84 16
  2. description: JRuby Mingle #
  1. source function library
    . /etc/rc.d/init.d/functions
  1. pull in sysconfig settings
    if [ -f /etc/sysconfig/mingle ] ; then . /etc/sysconfig/mingle
    fi

[ -z ”$MINGLE_USER” ] && MINGLE_USER=nobody

RETVAL=0

start(){ su – $MINGLE_USER -c ”/export/users/mingle/mingle/MingleServer start”
}

stop(){ su – $MINGLE_USER -c ”/export/users/mingle/mingle/MingleServer stop”
}

case ”$1” in start) start ;; stop) stop ;; restart) stop start ;; *) echo $”Usage: $0 {start|stop|restart}” RETVAL=1
esac
exit $RETVAL