Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: EdelingF on November 18, 2009, 01:33:58 PM
-
Tried to install Zarafa using the contrib (http://wiki.contribs.org/Zarafa) but something must have gone wrong.
Since this no http anymore on the server, no domains and no server-manager.
I think something went wrong with one of the templates, but I'm not sure.
[root@server ~]# httpd -t
Syntax error on line 639 of /etc/httpd/conf/httpd.conf:
Alias takes two arguments, a fakename and a realname
Please help!
[root@server ~]# /etc/e-smith/events/actions/zarafa-install
initialize-default-databases
Migrating existing database domains
Migrating existing database hosts
Migrating existing database spamassassin
Migrating existing database yum_installed
Migrating existing database yum_available
Migrating existing database yum_repositories
Migrating existing database dar2
Migrating existing database networks
Migrating existing database mailpatterns
Migrating existing database yum_updates
Migrating existing database accounts
Migrating existing database configuration
Migrating existing database backups
signal-event remoteaccess-update
webaccess config
/bin/chown: cannot access `/var/www/html/webaccess/tmp': No such file or directory
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WAR NING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings
at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WAR NING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-sith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-s mith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings
at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpdconf/httpd.conf/VirtualHosts : 1 fragment generated warnings
at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings
at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-s mith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-s mith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings
at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZaraaAliases: Use of uninitialized value in concatenation (.) or string at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases line 24.
WARNING in /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts: WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf/VirtualHosts : 1 fragment generated warnings
at /etc/e-smith/templates//etc/httpd/conf/httpd.conf/80VirtualHosts line 38
WARNING: Template processing succeeded for //etc/httpd/conf/httpd.conf: 20 fragments generated warnings
at /sbin/e-smith/expand-template line 45
ok: run: /service/httpd-e-smith: (pid 9964) 0s, normally down
creating zarafa database
Loading 80zarafa into mysql [ OK ]
Enter your user plugin. Values: unix, db, ldap
db
expanding zarafa templates
ERROR: Cannot create output file //etc/zarafa/dagent.cfg.10080 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/gateway.cfg.10081 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/ical.cfg.10084 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/licensed.cfg.10085 No such file directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/monitor.cfg.10086 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/server.cfg.10088 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/spooler.cfg.10090 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/unix.cfg.10092 No such file or directory at /sbin/e-smith/expand-template line 45
ERROR: Cannot create output file //etc/zarafa/ldap.cfg.10093 No such file or directory at /sbin/e-smith/expand-template line 45
starting services
/etc/e-smith/events/actions/zarafa-services: line 3: /etc/rc.d/init.d/zarafa-gateway: No such file or directory
/etc/e-smith/events/actions/zarafa-services: line 4: /etc/rc.d/init.d/zarafa-ical: No such file or directory
/etc/e-smith/events/actions/zarafa-services: line 5: /etc/rc.d/init.d/zarafa-licensed: No such file or directory
/etc/e-smith/events/actions/zarafa-services: line 6: /etc/rc.d/init.d/zarafa-monitor: No such file or directory
/etc/e-smith/events/actions/zarafa-services: line 7: /etc/rc.d/init.d/zarafa-ser ver: No such file or directory
/etc/e-smith/events/actions/zarafa-services: line 8: /etc/rc.d/init.d/zarafa-spooler: No such file or directory
creating Public store
/etc/e-smith/events/actions/zarafa-install: line 28: /usr/bin/zarafa-admin: No such file or directory
-
you should post it in bugzilla.. and, of course, test Zarafa on a test server before putting in production.. the integration layer could have bugs..
-
Yes, I know. Haven't got a test-server yet, am working on that.
Can I undo something?
-
well.. removing smeserver-zarafa and
signal-event post-upgrade
signal-event reboot
should solve the issue.. if not, it's bug time
-
Nope, that didn't do it. There's no Yum remove command?
-
how did you remove smeserver-zarafa contrib?
the exact command, please
-
Sorry, I apperently wasn't paying attention to all the text.................
I did not yet remove smeserver-zarafa. I assume it's yum install smeserver-zarafa?
-
to solve the problem with httpd, remove smeserver-zarafa with
yum remove smeserver-zarafa
paying attention to the list of rpms
then reconfigure your server..
before doing so, please, raise a bug in bugzilla, thank you
-
Thanks, that did it. :D
Posted a bug in buggzilla
-
To solve your problem you should have removed the file:
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases
and then
expand-template /etc/httpd/conf.httpd.conf
service httpd-e-smith restart
-
Does this mean I can get Zarafa working on my computer this way?
-
I'm running it without any issue..
I'm using smeserver-zarafa contrib in smetest repo..
-
I'm running it without any issue..
I'm using smeserver-zarafa contrib in smetest repo..
I simply did : yum install smeserver-zarafa --enablerepo=smecontribs and /etc/e-smith/events/actions/zarafa-install
Is this the wrong way to do it?
Should I download the RPM and do yum localinstall *.RPM instead?
-
I simply did : yum install smeserver-zarafa --enablerepo=smecontribs and /etc/e-smith/events/actions/zarafa-install
Is this the wrong way to do it?
Should I download the RPM and do yum localinstall *.RPM instead?
you did nothing wrong..
you could try to reinstall it in the same way or, if you prefer (but, I said, it's in smetest), you can do:
yum --enablerepo=smetest install smeserver-zarafa
-
Nope, tried it and it gave the same results.
I guess I'll have to try it on a clean SME7.4 install when I get the chance
-
Thanks, that did it. :D
Posted a bug in buggzilla
please post here the reference, thank you
-
Do you get the same error? Did you remove the file as per my instructions?
-
Yes I did.
I was able to see Zarafa in the server manager, but I couldn't add users and the configuration-tab was blank.
This is the reference in BugZilla from the first install: http://bugs.contribs.org/show_bug.cgi?id=5601
-
Ok, here's what you need to do:
Uninstall and remove everything so we can start from scratch.
Download v 6.30.4 here: http://download.zarafa.com/zarafa/drupal/ondemand.php?version=6.30.4&distro=rhel&distroversion=4&arch=i386&type=1
(DO NOT USE 6.30.5, its not working on SME Server (yet?))
Copy the file to your server and extract: tar -xzvf zarafa-6.30.4-rhel4-i386.tar.gz
install all the rpms with:
yum localinstall *.rpm
Enable InnoDB engine with:
db configuration setprop mysqld InnoDB enabled
expand-template /etc/my.cnf
sv t /service/mysqld
download this file: http://netkeeper.huge.co.za/smeserver-zarafa-0.9-4a.noarch.rpm
and install:
rpm -Uvh smeserver-zarafa-0.9-4a.noarch.rpm
Then do:
/etc/e-smith/events/actions/zarafa-install
signal-event post-upgrade; signal-event reboot
and zarafa is installed!
to create a new user do:
/etc/e-smith/events/actions/zarafa-create-user
use the zarafa-admin command to list and manage users.
Let me know if this worked for you, im sure it will.
-
Then do:
/etc/e-smith/events/actions/zarafa-install
signal-event post-upgrade; signal-event reboot
and zarafa is installed!
to create a new user do:
/etc/e-smith/events/actions/zarafa-create-user
you forgot to say that user will be prompted to choose the plugin (unix, db..) and that the last command is valid only if you choose db plugin ;-)
my 2c
-
Nope, smeserver-zarafa-0.9-4a.noarch.rpm will not prompt you. it chooses db by default. ;-)
-
ok
is it in smetest repo?
-
smeserver-zarafa-0.9-4a.noarch.rpm is the older version so I don't think it is anymore, but it is working perfectly.
-
YES!
That did it and no errors. Made a test-user and it runs ok.
Thanks!
Is there a way to import the existing SME-users?
"db accounts setprop $USERNAME zarafa enabled" doesn't seem to work
-
I think your problem is with the webmail alias. I personally don't think Zarafa should try to use it. You may try to make a custom template without the webmail alias to see if it works for you.
Thats how I'm running my production server to support both Horde and Zarafa. Surely, YMMV
-
It is the webmail alias that causes a problem. It could have been resolved by disabling webmail in Server Manager (Real stupid). I agree that Zarafa should not use it.
To migrate a user to Zarafa install http://wiki.contribs.org/Imapsync
I have created http://netkeeper.huge.co.za/migrate.sh by using the example at the bottom of the Imapsync page
Create the zarafa user with the same password as the sme user then do
./sh migrate $USERNAME $PASSWORD
-
To migrate a user to Zarafa install http://wiki.contribs.org/Imapsync
I have created http://netkeeper.huge.co.za/migrate.sh by using the example at the bottom of the Imapsync page
Create the zarafa user with the same password as the sme user then do
./sh migrate $USERNAME $PASSWORD
Perhaps you could add this to the wiki as it would be a great help to most people.
-
You are welcome to add it to the wiki. I have moved the file to a permanent location on my webserver.
http://dl.huge.co.za/migrate.sh
-
This should be added to the wiki..great script
-
The script should be altered for the new (current) version of zarafa. the scripts assumes zarafa's imap server to run on port 144 as in the past but zarafa's default imap port is now 8143. Just edit the dile and change 144 to 8143 and it will word with the current version of zarafa.
-
I cant download the scripts, as the huge.co.za website requires a password??
-
Are you using the correct link to download?
it should be http://dl.huge.co.za/migrate.sh
-
Great thanks, go the Script, cant get the rpm though??
-
Which one are you looking for?