Interface Problem on CENTOS 7
Hi anybody can give me advise about this error what will i do to fix this this is my catalina.out
Jul 12 07:39:54 linshareserver server: at org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:56) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) Jul 12 07:39:54 linshareserver server: at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:286) Jul 12 07:39:54 linshareserver server: at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166) Jul 12 07:39:54 linshareserver server: at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:691) Jul 12 07:39:54 linshareserver server: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:528) Jul 12 07:39:54 linshareserver server: at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:400) Jul 12 07:39:54 linshareserver server: at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291) Jul 12 07:39:54 linshareserver server: at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092) Jul 12 07:39:54 linshareserver server: at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984) Jul 12 07:39:54 linshareserver server: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Jul 12 07:39:54 linshareserver server: at java.util.concurrent.FutureTask.run(FutureTask.java:266) Jul 12 07:39:54 linshareserver server: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) Jul 12 07:39:54 linshareserver server: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) Jul 12 07:39:54 linshareserver server: at java.lang.Thread.run(Thread.java:748) Jul 12 07:39:54 linshareserver server: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare" Jul 12 07:39:54 linshareserver server: at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172) Jul 12 07:39:54 linshareserver server: at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:160) Jul 12 07:39:54 linshareserver server: at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:244) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:296) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:217) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:147) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:85) Jul 12 07:39:54 linshareserver server: at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:225) Jul 12 07:39:54 linshareserver server: ... 23 more Jul 12 07:39:54 linshareserver server: Jul 12, 2019 7:39:54 AM org.apache.catalina.core.StandardContext startInternal Jul 12 07:39:54 linshareserver server: SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file Jul 12 07:39:54 linshareserver server: Jul 12, 2019 7:39:54 AM org.apache.catalina.core.StandardContext startInternal Jul 12 07:39:54 linshareserver server: SEVERE: Context [/linshare] startup failed due to previous errors Jul 12 07:39:54 linshareserver server: Jul 12, 2019 7:39:54 AM org.apache.catalina.startup.HostConfig deployWAR Jul 12 07:39:54 linshareserver server: INFO: Deployment of web application archive /var/lib/tomcat/webapps/linshare.war has finished in 17,896 ms Jul 12 07:39:54 linshareserver server: Jul 12, 2019 7:39:54 AM org.apache.coyote.AbstractProtocol start Jul 12 07:39:54 linshareserver server: INFO: Starting ProtocolHandler ["http-bio-8080"] Jul 12 07:39:54 linshareserver server: Jul 12, 2019 7:39:54 AM org.apache.coyote.AbstractProtocol start Jul 12 07:39:54 linshareserver server: INFO: Starting ProtocolHandler ["ajp-bio-8009"] Jul 12 07:39:54 linshareserver server: Jul 12, 2019 7:39:54 AM org.apache.catalina.startup.Catalina start Jul 12 07:39:54 linshareserver server: INFO: Server startup in 17986 ms Jul 12 07:40:01 linshareserver systemd: Created slice User Slice of root. Jul 12 07:40:01 linshareserver systemd: Started Session 20 of user root. Jul 12 07:40:01 linshareserver CROND[9699]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 07:40:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 07:50:02 linshareserver systemd: Created slice User Slice of root. Jul 12 07:50:02 linshareserver systemd: Started Session 21 of user root. Jul 12 07:50:02 linshareserver CROND[9816]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 07:50:02 linshareserver systemd: Removed slice User Slice of root. Jul 12 07:51:06 linshareserver dbus[3770]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' Jul 12 07:51:06 linshareserver systemd: Starting Fingerprint Authentication Daemon... Jul 12 07:51:06 linshareserver dbus[3770]: [system] Successfully activated service 'net.reactivated.Fprint' Jul 12 07:51:06 linshareserver systemd: Started Fingerprint Authentication Daemon. Jul 12 07:55:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 07:55:01 linshareserver systemd: Started Session 22 of user pcp. Jul 12 07:55:01 linshareserver CROND[9940]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_check -C) Jul 12 07:55:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 07:58:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 07:58:01 linshareserver systemd: Started Session 23 of user pcp. Jul 12 07:58:01 linshareserver CROND[10064]: (pcp) CMD ( /usr/libexec/pcp/bin/pmie_check -C) Jul 12 07:58:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 08:00:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:00:01 linshareserver systemd: Started Session 24 of user root. Jul 12 08:00:01 linshareserver CROND[10126]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 08:00:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:01:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:01:01 linshareserver systemd: Started Session 25 of user root. Jul 12 08:01:01 linshareserver CROND[10155]: (root) CMD (run-parts /etc/cron.hourly) Jul 12 08:01:01 linshareserver run-parts(/etc/cron.hourly)[10155]: starting 0anacron Jul 12 08:01:01 linshareserver run-parts(/etc/cron.hourly)[10164]: finished 0anacron Jul 12 08:01:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:04:01 linshareserver sudo: root : TTY=pts/0 ; PWD=/var/www ; USER=root ; COMMAND=/bin/vi /var/lib/pgsql/data/pg_hba.conf Jul 12 08:04:01 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 12 08:04:15 linshareserver kernel: perf: interrupt took too long (4936 > 4933), lowering kernel.perf_event_max_sample_rate to 40000 Jul 12 08:07:00 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 12 08:07:23 linshareserver polkitd[3799]: Registered Authentication Agent for unix-process:10419:718079 (system bus name :1.245 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jul 12 08:07:23 linshareserver systemd: Stopping The Apache HTTP Server... Jul 12 08:07:24 linshareserver systemd: Stopped The Apache HTTP Server. Jul 12 08:07:24 linshareserver systemd: Starting The Apache HTTP Server... Jul 12 08:07:34 linshareserver polkitd[3799]: Unregistered Authentication Agent for unix-process:10419:718079 (system bus name :1.245, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) Jul 12 08:07:35 linshareserver polkitd[3799]: Registered Authentication Agent for unix-process:10437:719258 (system bus name :1.246 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jul 12 08:09:05 linshareserver systemd: httpd.service stop-sigterm timed out. Killing. Jul 12 08:09:05 linshareserver systemd: httpd.service: main process exited, code=killed, status=9/KILL Jul 12 08:09:05 linshareserver systemd: Stopped The Apache HTTP Server. Jul 12 08:09:05 linshareserver systemd: Unit httpd.service entered failed state. Jul 12 08:09:05 linshareserver systemd: httpd.service failed. Jul 12 08:09:05 linshareserver systemd: Starting The Apache HTTP Server... Jul 12 08:09:39 linshareserver systemd: Started The Apache HTTP Server. Jul 12 08:09:39 linshareserver polkitd[3799]: Unregistered Authentication Agent for unix-process:10437:719258 (system bus name :1.246, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) Jul 12 08:10:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:10:01 linshareserver systemd: Started Session 26 of user root. Jul 12 08:10:01 linshareserver CROND[10491]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 08:10:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:15:34 linshareserver dbus[3770]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' Jul 12 08:15:34 linshareserver systemd: Starting Fingerprint Authentication Daemon... Jul 12 08:15:34 linshareserver dbus[3770]: [system] Successfully activated service 'net.reactivated.Fprint' Jul 12 08:15:34 linshareserver systemd: Started Fingerprint Authentication Daemon. Jul 12 08:20:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:20:02 linshareserver systemd: Started Session 27 of user root. Jul 12 08:20:02 linshareserver CROND[10627]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 08:20:02 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:25:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 08:25:01 linshareserver systemd: Started Session 28 of user pcp. Jul 12 08:25:01 linshareserver CROND[10686]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_check -C) Jul 12 08:25:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 08:28:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 08:28:01 linshareserver systemd: Started Session 29 of user pcp. Jul 12 08:28:01 linshareserver CROND[10797]: (pcp) CMD ( /usr/libexec/pcp/bin/pmie_check -C) Jul 12 08:28:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 08:30:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 08:30:01 linshareserver systemd: Started Session 30 of user pcp. Jul 12 08:30:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:30:01 linshareserver systemd: Started Session 31 of user root. Jul 12 08:30:01 linshareserver CROND[10862]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_daily -p) Jul 12 08:30:01 linshareserver CROND[10863]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 08:30:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:30:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 08:36:54 linshareserver dbus[3770]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' Jul 12 08:36:54 linshareserver systemd: Starting Fingerprint Authentication Daemon... Jul 12 08:36:54 linshareserver dbus[3770]: [system] Successfully activated service 'net.reactivated.Fprint' Jul 12 08:36:54 linshareserver systemd: Started Fingerprint Authentication Daemon. Jul 12 08:40:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:40:01 linshareserver systemd: Started Session 32 of user root. Jul 12 08:40:01 linshareserver CROND[11062]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 08:40:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:40:59 linshareserver polkitd[3799]: Registered Authentication Agent for unix-process:11084:919633 (system bus name :1.277 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jul 12 08:40:59 linshareserver polkitd[3799]: Unregistered Authentication Agent for unix-process:11084:919633 (system bus name :1.277, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) Jul 12 08:50:01 linshareserver systemd: Created slice User Slice of root. Jul 12 08:50:01 linshareserver systemd: Started Session 33 of user root. Jul 12 08:50:02 linshareserver CROND[11195]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 08:50:02 linshareserver systemd: Removed slice User Slice of root. Jul 12 08:55:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 08:55:01 linshareserver systemd: Started Session 34 of user pcp. Jul 12 08:55:01 linshareserver CROND[11253]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_check -C) Jul 12 08:55:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 08:58:01 linshareserver systemd: Created slice User Slice of pcp. Jul 12 08:58:01 linshareserver systemd: Started Session 35 of user pcp. Jul 12 08:58:01 linshareserver CROND[11367]: (pcp) CMD ( /usr/libexec/pcp/bin/pmie_check -C) Jul 12 08:58:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 12 09:00:01 linshareserver systemd: Created slice User Slice of root. Jul 12 09:00:01 linshareserver systemd: Started Session 36 of user root. Jul 12 09:00:01 linshareserver CROND[11429]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 09:00:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 09:00:10 linshareserver dbus[3770]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' Jul 12 09:00:10 linshareserver systemd: Starting Fingerprint Authentication Daemon... Jul 12 09:00:10 linshareserver dbus[3770]: [system] Successfully activated service 'net.reactivated.Fprint' Jul 12 09:00:10 linshareserver systemd: Started Fingerprint Authentication Daemon. Jul 12 09:00:13 linshareserver unix_chkpwd[11459]: password check failed for user (jeffreym) Jul 12 09:00:13 linshareserver mate-screensaver-dialog: pam_unix(mate-screensaver:auth): authentication failure; logname= uid=1000 euid=1000 tty=:0.0 ruser= rhost= user=jeffreym Jul 12 09:00:13 linshareserver mate-screensaver-dialog: gkr-pam: the password for the login keyring was invalid. Jul 12 09:00:50 linshareserver polkitd[3799]: Registered Authentication Agent for unix-process:11471:1038768 (system bus name :1.297 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jul 12 09:00:50 linshareserver systemd: Stopping PostgreSQL database server... Jul 12 09:00:51 linshareserver systemd: Stopped PostgreSQL database server. Jul 12 09:00:51 linshareserver systemd: Starting PostgreSQL database server... Jul 12 09:00:52 linshareserver systemd: Started PostgreSQL database server. Jul 12 09:00:52 linshareserver polkitd[3799]: Unregistered Authentication Agent for unix-process:11471:1038768 (system bus name :1.297, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) Jul 12 09:01:01 linshareserver systemd: Created slice User Slice of root. Jul 12 09:01:01 linshareserver systemd: Started Session 37 of user root. Jul 12 09:01:01 linshareserver CROND[11515]: (root) CMD (run-parts /etc/cron.hourly) Jul 12 09:01:01 linshareserver run-parts(/etc/cron.hourly)[11515]: starting 0anacron Jul 12 09:01:01 linshareserver run-parts(/etc/cron.hourly)[11524]: finished 0anacron Jul 12 09:01:01 linshareserver systemd: Removed slice User Slice of root. Jul 12 09:02:08 linshareserver sudo: root : TTY=pts/0 ; PWD=/var/www ; USER=root ; COMMAND=/bin/vi /var/lib/pgsql/data/pg_hba.conf Jul 12 09:02:08 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 12 09:03:14 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 12 09:09:48 linshareserver dbus[5320]: avc: received policyload notice (seqno=2) Jul 12 09:09:48 linshareserver dbus[5521]: avc: received policyload notice (seqno=2) Jul 12 09:09:48 linshareserver org.a11y.Bus: Reloaded configuration Jul 12 09:09:48 linshareserver dbus[3770]: [system] Reloaded configuration Jul 12 09:09:49 linshareserver kernel: SELinux: 2048 avtab hash slots, 111641 rules. Jul 12 09:09:49 linshareserver kernel: SELinux: 2048 avtab hash slots, 111641 rules. Jul 12 09:09:49 linshareserver kernel: SELinux: 8 users, 14 roles, 5026 types, 315 bools, 1 sens, 1024 cats Jul 12 09:09:49 linshareserver kernel: SELinux: 129 classes, 111641 rules Jul 12 09:09:49 linshareserver kernel: SELinux: Class bpf not defined in policy. Jul 12 09:09:49 linshareserver kernel: SELinux: the above unknown classes and permissions will be allowed Jul 12 09:09:51 linshareserver dbus[5521]: avc: received policyload notice (seqno=3) Jul 12 09:09:51 linshareserver dbus[5320]: avc: received policyload notice (seqno=3) Jul 12 09:09:51 linshareserver org.a11y.Bus: Reloaded configuration Jul 12 09:09:51 linshareserver dbus[3770]: [system] Reloaded configuration Jul 12 09:09:51 linshareserver setsebool: The tomcat_can_network_connect_db policy boolean was changed to 1 by root Jul 12 09:10:01 linshareserver systemd: Created slice User Slice of root. Jul 12 09:10:01 linshareserver systemd: Started Session 38 of user root. Jul 12 09:10:01 linshareserver CROND[11725]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 12 09:10:01 linshareserver systemd: Removed slice User Slice of root. ~ ~ ~ ~ ~ (END)
i only see the web page but doesn't have any log in interface it seems that its already login.
Hello, Can you tell me please which version of LinShare are you trying to install on which OS and your java version too?
And can you share with us the stack whole stack trace?
Regards
I'm installing the 2.3 version on centos 7
how can I find the stack trace? I'm a newbie in Linux.
On Mon, Jul 15, 2019 at 7:34 PM yazidsebahi [email protected] wrote:
Hello, Can you tell me please which version of LinShare are you trying to install on which OS and your java version too?
And can you share with us the stack whole stack trace?
Regards
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/77?email_source=notifications&email_token=AMKLGVXBJQXC356OIV2OQBDP7ROCVA5CNFSM4ICJWQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ5NMUY#issuecomment-511366739, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKLGVQ5GL3UYYCTJXF533LP7ROCVANCNFSM4ICJWQ4A .
-- Regards Jeffrey Manreal Tech Support
Hello,
You must define the LinShare configuration file used by Tomcat -Dlinshare.config.path=file:/etc/linshare/ :
https://github.com/linagora/linshare/blob/master/documentation/EN/installation/linshare-install-centos-7.md#tomcat-7-configuration
You have this kind of error (cf above) when LinShare is reading its default configuration file instead of your custom configuration file.
server: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
Hello,
I just copied the file and paste it in the tomcat config file. it was this configuration that i paste
[image: image.png]
On Tue, Jul 16, 2019 at 11:27 PM Frédéric MARTIN [email protected] wrote:
Hello, You must define the LinShare configuration file used by Tomcat -Dlinshare.config.path=file:/etc/linshare/ :
https://github.com/linagora/linshare/blob/master/documentation/EN/installation/linshare-install-centos-7.md#tomcat-7-configuration
You have this kind of error (cf above) when LinShare is reading its default configuration file instead of your custom configuration file.
server: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/77?email_source=notifications&email_token=AMKLGVTHDRBTVJ4SXKL6IOLP7XSF3A5CNFSM4ICJWQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2BHHPA#issuecomment-511865788, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKLGVVZKDIACF6VROWAYA3P7XSF3ANCNFSM4ICJWQ4A .
-- Regards Jeffrey Manreal Tech Support
hello,
and also this is my catalina out
Jul 15 21:17:28 linshareserver server: at
org.slf4j.impl.StaticLoggerBinder.
On Tue, Jul 16, 2019 at 7:19 PM ndc silent [email protected] wrote:
Hello,
I just copied the file and paste it in the tomcat config file. it was this configuration that i paste
[image: image.png]
On Tue, Jul 16, 2019 at 11:27 PM Frédéric MARTIN [email protected] wrote:
Hello, You must define the LinShare configuration file used by Tomcat -Dlinshare.config.path=file:/etc/linshare/ :
https://github.com/linagora/linshare/blob/master/documentation/EN/installation/linshare-install-centos-7.md#tomcat-7-configuration
You have this kind of error (cf above) when LinShare is reading its default configuration file instead of your custom configuration file.
server: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/77?email_source=notifications&email_token=AMKLGVTHDRBTVJ4SXKL6IOLP7XSF3A5CNFSM4ICJWQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2BHHPA#issuecomment-511865788, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKLGVVZKDIACF6VROWAYA3P7XSF3ANCNFSM4ICJWQ4A .
-- Regards Jeffrey Manreal Tech Support
-- Regards Jeffrey Manreal Tech Support
Hi, Any update?
On Wed, Jul 17, 2019 at 12:10 PM ndc silent [email protected] wrote:
hello, and also this is my catalina out Jul 15 21:17:28 linshareserver server: at org.slf4j.impl.StaticLoggerBinder.
(StaticLoggerBinder.java:45) Jul 15 21:17:28 linshareserver server: at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) Jul 15 21:17:28 linshareserver server: at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) Jul 15 21:17:28 linshareserver server: at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412) Jul 15 21:17:28 linshareserver server: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357) Jul 15 21:17:28 linshareserver server: at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155) Jul 15 21:17:28 linshareserver server: at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132) Jul 15 21:17:28 linshareserver server: at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273) Jul 15 21:17:28 linshareserver server: at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:268) Jul 15 21:17:28 linshareserver server: at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092) Jul 15 21:17:28 linshareserver server: at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984) Jul 15 21:17:28 linshareserver server: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) Jul 15 21:17:28 linshareserver server: at java.util.concurrent.FutureTask.run(FutureTask.java:266) Jul 15 21:17:28 linshareserver server: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) Jul 15 21:17:28 linshareserver server: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) Jul 15 21:17:28 linshareserver server: at java.lang.Thread.run(Thread.java:748) Jul 15 21:17:28 linshareserver server: log4j:ERROR Either File or DatePattern options are not set for appender [LINSHARE]. Jul 15 21:17:32 linshareserver systemd-logind: Removed session c1. Jul 15 21:17:32 linshareserver systemd: Removed slice User Slice of gdm. Jul 15 21:17:34 linshareserver server: Jul 15, 2019 9:17:34 PM org.apache.catalina.core.StandardContext startInternal Jul 15 21:17:34 linshareserver server: SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file Jul 15 21:17:34 linshareserver server: Jul 15, 2019 9:17:34 PM org.apache.catalina.core.StandardContext startInternal Jul 15 21:17:34 linshareserver server: SEVERE: Context [/linshare] startup failed due to previous errors Jul 15 21:17:34 linshareserver server: Jul 15, 2019 9:17:34 PM org.apache.catalina.startup.HostConfig deployWAR Jul 15 21:17:34 linshareserver server: INFO: Deployment of web application archive /var/lib/tomcat/webapps/linshare.war has finished in 39,162 ms Jul 15 21:17:34 linshareserver server: Jul 15, 2019 9:17:34 PM org.apache.coyote.AbstractProtocol start Jul 15 21:17:34 linshareserver server: INFO: Starting ProtocolHandler ["http-bio-8080"] Jul 15 21:17:34 linshareserver server: Jul 15, 2019 9:17:34 PM org.apache.coyote.AbstractProtocol start Jul 15 21:17:34 linshareserver server: INFO: Starting ProtocolHandler ["ajp-bio-8009"] Jul 15 21:17:34 linshareserver server: Jul 15, 2019 9:17:34 PM org.apache.catalina.startup.Catalina start Jul 15 21:17:34 linshareserver server: INFO: Server startup in 39425 ms Jul 15 21:17:35 linshareserver dbus[3785]: [system] Activating service name='org.freedesktop.problems' (using servicehelper) Jul 15 21:17:35 linshareserver dbus[3785]: [system] Successfully activated service 'org.freedesktop.problems' Jul 15 21:17:40 linshareserver dbus[3785]: [system] Failed to activate service 'org.bluez': timed out Jul 15 21:17:40 linshareserver pulseaudio[5566]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Jul 15 21:17:54 linshareserver realmd: quitting realmd service after timeout Jul 15 21:17:54 linshareserver realmd: stopping service Jul 15 21:18:08 linshareserver dbus[3785]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' Jul 15 21:18:08 linshareserver systemd: Starting Fingerprint Authentication Daemon... Jul 15 21:18:08 linshareserver dbus[3785]: [system] Successfully activated service 'net.reactivated.Fprint' Jul 15 21:18:08 linshareserver systemd: Started Fingerprint Authentication Daemon. Jul 15 21:18:11 linshareserver unix_chkpwd[6118]: password check failed for user (jeffreym) Jul 15 21:18:11 linshareserver sudo: pam_unix(sudo:auth): authentication failure; logname=jeffreym uid=1000 euid=0 tty=/dev/pts/0 ruser=jeffreym rhost= user=jeffreym Jul 15 21:18:17 linshareserver sudo: jeffreym : TTY=pts/0 ; PWD=/home/jeffreym ; USER=root ; COMMAND=/bin/cat /var/log/tomcat/locahost Jul 15 21:18:17 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:18:17 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:18:43 linshareserver sudo: jeffreym : TTY=pts/0 ; PWD=/home/jeffreym ; USER=root ; COMMAND=/bin/tail -f /var/log/tomcat/catalina.out Jul 15 21:18:43 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:19:06 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:19:08 linshareserver dbus[3785]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' Jul 15 21:19:08 linshareserver systemd: Starting Fingerprint Authentication Daemon... Jul 15 21:19:08 linshareserver dbus[3785]: [system] Successfully activated service 'net.reactivated.Fprint' Jul 15 21:19:08 linshareserver systemd: Started Fingerprint Authentication Daemon. Jul 15 21:19:14 linshareserver su: (to root) jeffreym on pts/0 Jul 15 21:19:14 linshareserver su: pam_unix(su:session): session opened for user root by jeffreym(uid=1000) Jul 15 21:20:01 linshareserver systemd: Created slice User Slice of root. Jul 15 21:20:01 linshareserver systemd: Started Session 2 of user root. Jul 15 21:20:01 linshareserver CROND[6332]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 15 21:20:01 linshareserver systemd: Removed slice User Slice of root. Jul 15 21:25:01 linshareserver systemd: Created slice User Slice of pcp. Jul 15 21:25:01 linshareserver systemd: Started Session 3 of user pcp. Jul 15 21:25:01 linshareserver CROND[6390]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_check -C) Jul 15 21:25:02 linshareserver systemd: Removed slice User Slice of pcp. Jul 15 21:26:53 linshareserver sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/vi /etc/tomcat/conf.d/ Jul 15 21:26:53 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:28:01 linshareserver systemd: Created slice User Slice of pcp. Jul 15 21:28:01 linshareserver systemd: Started Session 4 of user pcp. Jul 15 21:28:01 linshareserver CROND[7047]: (pcp) CMD ( /usr/libexec/pcp/bin/pmie_check -C) Jul 15 21:28:01 linshareserver systemd: Removed slice User Slice of pcp. Jul 15 21:28:04 linshareserver sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/vi /etc/tomcat/catalina.properties Jul 15 21:28:04 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:28:36 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:29:06 linshareserver sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/vi /etc/tomcat/Catalina/localhost/ Jul 15 21:29:06 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:29:10 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:30:01 linshareserver systemd: Created slice User Slice of pcp. Jul 15 21:30:01 linshareserver systemd: Started Session 6 of user pcp. Jul 15 21:30:01 linshareserver systemd: Created slice User Slice of root. Jul 15 21:30:01 linshareserver systemd: Started Session 5 of user root. Jul 15 21:30:01 linshareserver CROND[7550]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_daily -p) Jul 15 21:30:01 linshareserver CROND[7551]: (root) CMD (/usr/lib64/sa/sa1 1 1) Jul 15 21:30:01 linshareserver systemd: Removed slice User Slice of root. Jul 15 21:30:02 linshareserver systemd: Removed slice User Slice of pcp. Jul 15 21:31:03 linshareserver systemd: Starting Cleanup of Temporary Directories... Jul 15 21:31:05 linshareserver systemd: Started Cleanup of Temporary Directories. Jul 15 21:32:14 linshareserver sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/vi /etc/sysconfig/tomcat Jul 15 21:32:14 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:33:11 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:33:18 linshareserver sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/vi /etc/sysconfig/tomcat Jul 15 21:33:18 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:33:27 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:33:37 linshareserver sudo: root : TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/vi /etc/tomcat/tomcat.conf Jul 15 21:33:37 linshareserver sudo: pam_unix(sudo:session): session opened for user root by jeffreym(uid=0) Jul 15 21:34:54 linshareserver sudo: pam_unix(sudo:session): session closed for user root Jul 15 21:35:05 linshareserver systemd: [/usr/lib/systemd/system/firstboot-graphical.service:14] Support for option SysVStartPriority= has been removed and it is ignored Jul 15 21:35:07 linshareserver systemd: [/usr/lib/systemd/system/firstboot-graphical.service:14] Support for option SysVStartPriority= has been removed and it is ignored Jul 15 21:35:08 linshareserver polkitd[3832]: Registered Authentication Agent for unix-process:8155:114703 (system bus name :1.144 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jul 15 21:35:08 linshareserver systemd: Stopping Apache Tomcat Web Application Container... Jul 15 21:35:08 linshareserver server: Jul 15, 2019 9:35:08 PM org.apache.coyote.AbstractProtocol pause Jul 15 21:35:08 linshareserver server: INFO: Pausing ProtocolHandler ["http-bio-8080"] Jul 15 21:35:09 linshareserver server: Jul 15, 2019 9:35:09 PM org.apache.coyote.AbstractProtocol pause Jul 15 21:35:09 linshareserver server: INFO: Pausing ProtocolHandler ["ajp-bio-8009"] Jul 15 21:35:09 linshareserver server: Jul 15, 2019 9:35:09 PM org.apache.catalina.core.StandardService stopInternal Jul 15 21:35:09 linshareserver server: INFO: Stopping service Catalina Jul 15 21:35:09 linshareserver server: Jul 15, 2019 9:35:09 PM org.apache.coyote.AbstractProtocol stop Jul 15 21:35:09 linshareserver server: INFO: Stopping ProtocolHandler ["http-bio-8080"] Jul 15 21:35:09 linshareserver server: Jul 15, 2019 9:35:09 PM org.apache.coyote.AbstractProtocol stop Jul 15 21:35:09 linshareserver server: INFO: Stopping ProtocolHandler ["ajp-bio-8009"] Jul 15 21:35:09 linshareserver server: Jul 15, 2019 9:35:09 PM org.apache.coyote.AbstractProtocol destroy Jul 15 21:35:09 linshareserver server: INFO: Destroying ProtocolHandler ["http-bio-8080"] Jul 15 21:35:09 linshareserver server: Jul 15, 2019 9:35:09 PM org.apache.coyote.AbstractProtocol destroy Jul 15 21:35:09 linshareserver server: INFO: Destroying ProtocolHandler ["ajp-bio-8009"] Jul 15 21:35:09 linshareserver systemd: Stopped Apache Tomcat Web Application Container. Jul 15 21:35:09 linshareserver systemd: Started Apache Tomcat Web Application Container. Jul 15 21:35:09 linshareserver polkitd[3832]: Unregistered Authentication Agent for unix-process:8155:114703 (system bus name :1.144, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus) Jul 15 21:35:09 linshareserver server: Java virtual machine used: /usr/share/java-utils/java-wrapper Jul 15 21:35:09 linshareserver server: classpath used: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar Jul 15 21:35:09 linshareserver server: main class used: org.apache.catalina.startup.Bootstrap Jul 15 21:35:09 linshareserver server: flags used: -Djava.awt.headless=true -Xms512m -Xmx2048m -Dlinshare.config.path=file:/etc/linshare/ -Dlog4j.configuration=file:/etc/linshare/log4j.properties -Dspring.profiles.active=default,jcloud,mongo,batches Jul 15 21:35:09 linshareserver server: options used: -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager Jul 15 21:35:09 linshareserver server: arguments used: start Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Server version: Apache Tomcat/7.0.76 Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Server built: Mar 12 2019 10:11:36 UTC Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Server number: 7.0.76.0 Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: OS Name: Linux Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: OS Version: 3.10.0-957.el7.x86_64 Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Architecture: amd64 Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: JVM Version: 1.8.0_212-b04 Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: JVM Vendor: Oracle Corporation Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: CATALINA_BASE: /usr/share/tomcat Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: CATALINA_HOME: /usr/share/tomcat Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -agentpath:/usr/lib/abrt-java-connector/libabrt-java-connector.so=abrt=on Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Djava.awt.headless=true Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Xms512m Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Xmx2048m Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Dlinshare.config.path=file:/etc/linshare/ Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Dlog4j.configuration=file:/etc/linshare/log4j.properties Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Dspring.profiles.active=default,jcloud,mongo,batches Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Dcatalina.base=/usr/share/tomcat Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Djava.endorsed.dirs= Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Djava.io.tmpdir=/var/cache/tomcat/temp Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.VersionLoggerListener log Jul 15 21:35:10 linshareserver server: INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent Jul 15 21:35:10 linshareserver server: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.coyote.AbstractProtocol init Jul 15 21:35:10 linshareserver server: INFO: Initializing ProtocolHandler ["http-bio-8080"] Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.coyote.AbstractProtocol init Jul 15 21:35:10 linshareserver server: INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.Catalina load Jul 15 21:35:10 linshareserver server: INFO: Initialization processed in 726 ms Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.core.StandardService startInternal Jul 15 21:35:10 linshareserver server: INFO: Starting service Catalina Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.core.StandardEngine startInternal Jul 15 21:35:10 linshareserver server: INFO: Starting Servlet Engine: Apache Tomcat/7.0.76 Jul 15 21:35:10 linshareserver server: Jul 15, 2019 9:35:10 PM org.apache.catalina.startup.HostConfig deployWAR Jul 15 21:35:10 linshareserver server: INFO: Deploying web application archive /var/lib/tomcat/webapps/linshare.war Jul 15 21:35:12 linshareserver polkitd[3832]: Registered Authentication Agent for unix-process:8210:115016 (system bus name :1.145 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Jul 15 21:35:12 linshareserver systemd: Stopping Apache Tomcat Web Application Container... Jul 15 21:35:12 linshareserver systemd: Stopped Apache Tomcat Web Application Container. : On Tue, Jul 16, 2019 at 7:19 PM ndc silent [email protected] wrote:
Hello,
I just copied the file and paste it in the tomcat config file. it was this configuration that i paste
[image: image.png]
On Tue, Jul 16, 2019 at 11:27 PM Frédéric MARTIN < [email protected]> wrote:
Hello, You must define the LinShare configuration file used by Tomcat -Dlinshare.config.path=file:/etc/linshare/ :
https://github.com/linagora/linshare/blob/master/documentation/EN/installation/linshare-install-centos-7.md#tomcat-7-configuration
You have this kind of error (cf above) when LinShare is reading its default configuration file instead of your custom configuration file.
server: Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/77?email_source=notifications&email_token=AMKLGVTHDRBTVJ4SXKL6IOLP7XSF3A5CNFSM4ICJWQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2BHHPA#issuecomment-511865788, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKLGVVZKDIACF6VROWAYA3P7XSF3ANCNFSM4ICJWQ4A .
-- Regards Jeffrey Manreal Tech Support
-- Regards Jeffrey Manreal Tech Support
-- Regards Jeffrey Manreal Tech Support
Hello, I think there is an issue with your log4j.properties file :
Jul 15 21:17:28 linshareserver server: log4j:ERROR Either File or
DatePattern options are not set for appender [LINSHARE].
How can I fix that?
On Fri, Jul 19, 2019 at 6:44 PM fred49 [email protected] wrote:
Hello, I think there is an issue with your log4j.properties file :
DatePattern options are not set for appender [LINSHARE].```
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/77?email_source=notifications&email_token=AMKLGVSXCXOKIFPCXAISXNTQAGLJDA5CNFSM4ICJWQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2LJAWI#issuecomment-513183833, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKLGVTEVGGN3RFIWL43Q7LQAGLJDANCNFSM4ICJWQ4A .
-- Regards Jeffrey Manreal Tech Support
can you send us the log4j file you are using ?
hi i just install linshare on fresh install CENTOS 7 with java 1.8 using linshare 2.1 but same issue interface of admin linshare is not showing a log in prompt. it looks likes it was already log in
here is my log4j file and catalina out. how to fix the error and warning in catalina out?

You have to following error message: "Could not resolve placeholder LINSHARE_HOME". This means you did not setup properly the external configuration file, so linshare is reading the default embedded configuration file.
You must follow this guide. You have to edit the file /etc/sysconfig/tomcat to add at the end the following options:
JAVA_OPTS="-Djava.awt.headless=true -Xms512m -Xmx2048m -Dlinshare.config.path=file:/etc/linshare/ -Dlog4j.configuration=file:/etc/linshare/log4j.properties -Dspring.profiles.active=default,jcloud,mongo,batches"
I already add this but nothing happened
On Tue, Jul 23, 2019 at 4:43 PM Frédéric MARTIN [email protected] wrote:
You have to following error message: "Could not resolve placeholder LINSHARE_HOME". This means you did not setup properly the external configuration file, so linshare is reading the default embedded configuration file.
You must follow this guide https://github.com/linagora/linshare/blob/master/documentation/EN/installation/linshare-install-centos-7.md#tomcat-7-configuration. You have to edit the file /etc/sysconfig/tomcat to add at the end the following options:
JAVA_OPTS="-Djava.awt.headless=true -Xms512m -Xmx2048m -Dlinshare.config.path=file:/etc/linshare/ -Dlog4j.configuration=file:/etc/linshare/log4j.properties -Dspring.profiles.active=default,jcloud,mongo,batches"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linagora/linshare/issues/77?email_source=notifications&email_token=AMKLGVSANWGJUI6MH5NTZXDQA3ADRA5CNFSM4ICJWQ4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2SMGEA#issuecomment-514114320, or mute the thread https://github.com/notifications/unsubscribe-auth/AMKLGVUILDP4K26M2MOHNY3QA3ADRANCNFSM4ICJWQ4A .
-- Regards Jeffrey Manreal Tech Support

Hello ndsilent, The installation guide was updated Install guide. I will close this issue, don't hesitate to back to us if you have questions. Regards,