Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
egroupware reconfig Goto page Previous  1, 2
View previous topic :: View next topic  
Author Message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Fri May 02, 2008 5:23 pm    Post subject: Reply with quote

My last post about naming violition, I just figured it out. I am so stoked! I was able to import egoupware.ldif successfully.

Now just the flushing of db.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri May 02, 2008 6:06 pm    Post subject: Reply with quote

Just open phpldapadmin login and mark the [dc=cliqn,dc=com] and choose delete this entry...
You can alternative delete all the .db and .bdb file in
/var/lib/openldap-data

After deleting the database you can import you egroupware.ldif, but you said you had already imported, Didn't you imported earlier when you got those error messages...?
Now I'm confused...

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Fri May 02, 2008 7:58 pm    Post subject: Reply with quote

Your confused. I'm confused!

I had not deleted db but imported 'egroupware.ldif'. and things were working, but I found a problem with egroupware and made a change. Not sure what I did but really messed things up. Now I am having nothing but problems.

I am going to re-install everything. Should be back to stable point within about 45 minutes.

So here are the steps I will be taking:
1. use sed script to change file
2. delete db and import egroupware.ldif
3. delete egroupware and install 1.4.04
4. config egroupware
5. dance happily around room

hope you are up in about an hour Smile
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sat May 03, 2008 3:14 pm    Post subject: Reply with quote

well, I've deleted db and imported 'egroupware.ldif'. Installed egroupware and here is what I get:

Error: Can't bind to LDAP server: cn=manager,dc=cliqn,dc=com! common::ldapConnect / accounts_backend::accounts_backend / accounts::accounts / CreateObject(phpgwapi.accounts) / setup::setup_account_object / setup::accounts_exist
Error: Error connecting to LDAP server cliqn!

Also, here is results of the following commands:

root@cliqn:~# testsaslauthd -u root -p toor
0: NO "authentication failed"

root@cliqn:~# ps aux | grep sladpd
root 8611 0.0 0.0 2000 652 pts/1 S+ 07:14 0:00 grep sladpd

Any thoughts?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat May 03, 2008 4:50 pm    Post subject: Reply with quote

Quote:
root@cliqn:~# testsaslauthd -u root -p toor
0: NO "authentication failed"

That's correct, root account it's not in LDAP, you admin account of egroupware is.

Quote:
root@cliqn:~# ps aux | grep sladpd
root 8611 0.0 0.0 2000 652 pts/1 S+ 07:14 0:00 grep sladpd

The correct process is 'slapd' try
ps aux | grep slapd

as for egroupware error at the end says setup::accounts_exist .?

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sat May 03, 2008 5:25 pm    Post subject: Reply with quote

root@cliqn:~# ps aux | grep slapd
root 3289 0.0 0.1 433416 3656 ? Ssl May02 0:00 /usr/libexec/slapd
root 28551 0.0 0.0 2008 660 pts/1 S+ 08:58 0:00 grep slapd

sorry about typo.

I saw that at the end as well, but don't understand it as I deleted ldap db and mysql and egroupware. Then I re-installed, so that does not make sense to me.
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sat May 03, 2008 6:32 pm    Post subject: Reply with quote

Just thought I would share this with you. I installed sms on another box and made NO changes to it. Then I went to egroupware/setup and logged in to config. The third step down is create an admin account. I did that and tried to save and here is what I got:

ldap_add(,uid=baboo,ou=accounts,o=egroupware,dc=sms,dc=org,Array ( [objectclass] => Array ( [0] => top [1] => person [2] => organizationalperson [3] => inetorgperson [4] => posixaccount [5] => shadowaccount ) [uidnumber] => 1006 [uid] => baboo [gidnumber] => 1003 [sn] => [cn] => [userpassword] => {SSHA}gkyNDeCGtCGD890l01EhyLozkk5WbmNtYXFHYQ== [homedirectory] => /dev/null ) ) Invalid syntax

Do you think there is a problem with your setup? Or is there a problem with egroupware?
Back to top
View user's profile Send private message
baboo
Senior Member


Joined: 04 Sep 2007
Posts: 676

PostPosted: Sat May 03, 2008 8:43 pm    Post subject: Reply with quote

I think there is some cached problem with ldap. On the SMS server that has not been modified, I rebooted it. Then I went into egroupware config. I setup an admin account. This time it accepted and no errors.

Then I logged into egroupware and clicked on mail. I got can not connect to imap server. I checked to make sure dovecot was running and it was.

Now with no changes made to SMS, except adding an admin account, it should have connected to imap server.

BTW, this is native cd install.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sun May 04, 2008 11:38 am    Post subject: Reply with quote

Quote:
Then I logged into egroupware and clicked on mail. I got can not connect to imap server. I checked to make sure dovecot was running and it was.


That must be an tls/ssl issue, either disable tls, or enable smtps in /etc/postfix/master.cf

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional