LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2007, 10:00 AM   #1
zoso375
LQ Newbie
 
Registered: Oct 2007
Posts: 13

Rep: Reputation: 0
GCALDaemon Help


I'm a newbie, let me make that clear...but I'm learning. That said, I tried to install a two-way syncing app for Evolution/ Google Calendar called GCALDaemon, using these instructions:

1) Before uninstall an older GCALDaemon version, you should

archive the 'GCALDaemon/work' directory. If the new GCALDaemon

installation finishes, you can restore the previous 'work' directory.



2) Unpack the distribution ('GCALDaemon' directory)

under the '/usr/local/sbin' directory, as root.



cd /usr/local/sbin

unzip /downloads/gcaldaemon-linux-1.x.zip

chgrp -R groupname /usr/local/sbin/GCALDaemon

chmod -R g+w /usr/local/sbin/GCALDaemon

chmod 755 /usr/local/sbin/GCALDaemon/bin/*.sh



3) Read documentation and modify configuration files

in '/usr/local/sbin/GCALDaemon/conf' folder.



4) Launch '/usr/local/sbin/GCALDaemon/bin/standalone-start.sh' script



5) Optionally put GCALDaemon into 'init', 'launchd' or 'rc' script

Afterwards, this is what I got:

zoso@zosodesk:~$ cd /usr/local/sbin
zoso@zosodesk:/usr/local/sbin$ /usr/local/sbin/GCALDaemon/bin/standalone-start.sh
log4j:ERROR Unable to init logger!
java.io.FileNotFoundException: /usr/local/sbin/GCALDaemon/bin/../log/gcal-daemon.log (Permission denied)
at gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.81)
at gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.81)
at gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.81)
at java.io.RandomAccessFile.<init>(libgcj.so.81)
at org.gcaldaemon.logger.FileChannelAppender.activateOptions(FileChannelAppender.java:130)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:307)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:315)
at org.gcaldaemon.core.Configurator.<init>(Configurator.java:277)
at org.gcaldaemon.standalone.Main.main(Main.java:46)
log4j:WARN Please check the file permissions on the 'log' folder!
Hint: [sudo] chmod -R 777 /usr/local/sbin/GCALDaemon/bin/..
INFO | GCALDaemon V1.0 beta 14 starting...
INFO | Extended synchronization enabled.
INFO | RSS/ATOM feed converter enabled.
INFO | Local time zone is GMT-05:00.
INFO | HTTP server starting on port 9090...
FATAL | ADDRESS ALREADY IN USE
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
at org.gcaldaemon.core.Configurator.startService(Configurator.java:706)
at org.gcaldaemon.core.Configurator.<init>(Configurator.java:620)
at org.gcaldaemon.standalone.Main.main(Main.java:46)
Caused by: java.net.BindException: Address already in use
at gnu.java.net.PlainSocketImpl.bind(libgcj.so.81)
at java.net.ServerSocket.bind(libgcj.so.81)
at java.net.ServerSocket.<init>(libgcj.so.81)
at java.net.ServerSocket.<init>(libgcj.so.81)
at java.net.ServerSocket.<init>(libgcj.so.81)
at org.gcaldaemon.core.http.HTTPListener.<init>(HTTPListener.java:117)
at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
...3 more

FATAL | Service terminated!
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
at org.gcaldaemon.core.Configurator.startService(Configurator.java:706)
at org.gcaldaemon.core.Configurator.<init>(Configurator.java:620)
at org.gcaldaemon.standalone.Main.main(Main.java:46)
Caused by: java.net.BindException: Address already in use
at gnu.java.net.PlainSocketImpl.bind(libgcj.so.81)
at java.net.ServerSocket.bind(libgcj.so.81)
at java.net.ServerSocket.<init>(libgcj.so.81)
at java.net.ServerSocket.<init>(libgcj.so.81)
at java.net.ServerSocket.<init>(libgcj.so.81)
at org.gcaldaemon.core.http.HTTPListener.<init>(HTTPListener.java:117)
at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
...3 more


Any idea where I went wrong? Anybody? I desperately need this app to work!
 
Old 11-05-2007, 02:52 AM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
you need to change to su or sudo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Syncing magic with GCALDaemon LXer Syndicated Linux News 0 03-05-2007 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration