cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: Failed to find db.properties
Date Thu, 24 Aug 2017 16:58:52 GMT
Did you send the log file?
I think it is not possible to send attachments through this mailing list.

On Thu, Aug 24, 2017 at 12:39 PM, Jevgeni Zolotarjov <j.zolotarjov@gmail.com
> wrote:

> I guess, this management setup log file explains the root of evil.
> There are many errors, though setup reports everything is OK.
>
>
>
> On Thu, Aug 24, 2017 at 4:12 PM, Rafael Weingärtner <
> rafaelweingartner@gmail.com> wrote:
>
>> db.properties is there.
>> Can you post your log files somewhere?
>>
>> On Thu, Aug 24, 2017 at 8:51 AM, Jevgeni Zolotarjov <
>> j.zolotarjov@gmail.com>
>> wrote:
>>
>> > This is what I have in
>> > /etc/cloudstack/
>> > /etc/cloudstack/management/
>> >
>> > root@servername:/var/cache/tomcat7/Catalina/localhost/client# cd
>> > /etc/cloudstack/
>> > root@servername:/etc/cloudstack# ls -al
>> > total 20
>> > drwxr-xr-x   5 root root 4096 Aug 23 16:31 .
>> > drwxr-xr-x 100 root root 4096 Aug 23 19:26 ..
>> > drwxr-xr-x   2 root root 4096 Aug 23 14:27 agent
>> > drwxr-xr-x   2 root root 4096 Aug 24 09:23 management
>> > drwxr-xr-x   2 root root 4096 Aug 22 19:34 usage
>> > root@servername:/etc/cloudstack# cd management/
>> > root@servername:/etc/cloudstack/management# ls -al
>> > total 176
>> > drwxr-xr-x 2 root root   4096 Aug 24 09:23 .
>> > drwxr-xr-x 5 root root   4096 Aug 23 16:31 ..
>> > -rw-r--r-- 1 root root   8945 Jul 12 12:33 catalina.policy
>> > -rw-r--r-- 1 root root   3795 Jul 12 12:33 catalina.properties
>> > -rw-r--r-- 1 root root   1649 Jul 12 12:33 classpath.conf
>> > -rw-r--r-- 1 root root   1435 Jul 12 12:33 context.xml
>> > -rw-r----- 1 root cloud  3273 Jul 12 12:33 db.properties
>> > -rw-r--r-- 1 root root  23292 Jul 12 12:33 ehcache.xml
>> > -rw-r--r-- 1 root root    976 Jul 12 12:33 environment.properties
>> > -rw-r--r-- 1 root root    927 Jul 12 12:33 java.security.ciphers
>> > -rw-r--r-- 1 root root   7467 Jul 12 12:33 log4j-cloud.xml
>> > -rw-r--r-- 1 root root   3257 Jul 12 12:33 logging.properties
>> > -rw-r--r-- 1 root root   6722 Jul 12 12:33 server7-nonssl.xml
>> > -rw-r--r-- 1 root root   7251 Jul 12 12:33 server7-ssl.xml
>> > -rw-r--r-- 1 root root   6767 Jul 12 12:33 server-nonssl.xml
>> > -rw-r--r-- 1 root root   7300 Jul 12 12:33 server-ssl.xml
>> > lrwxrwxrwx 1 root root     45 Aug 24 09:23 server.xml ->
>> > /etc/cloudstack/management/server7-nonssl.xml
>> > lrwxrwxrwx 1 root root     46 Aug 23 16:37 tomcat6.conf ->
>> > /etc/cloudstack/management/tomcat6-nonssl.conf
>> > -rw-r--r-- 1 root root   2692 Jul 12 12:33 tomcat6-nonssl.conf
>> > -rw-r--r-- 1 root root   2821 Jul 12 12:33 tomcat6-ssl.conf
>> > -rw-r--r-- 1 root root   1383 Jul 12 12:33 tomcat-users.xml
>> > -rw-r--r-- 1 root root  50428 Jul 12 12:33 web.xml
>> >
>> >
>> > On Thu, Aug 24, 2017 at 2:13 PM, Rafael Weingärtner <
>> > rafaelweingartner@gmail.com> wrote:
>> >
>> > > Is there a db.properties in /etc/cloudstack...... folder?
>> > >
>> > > On Thu, Aug 24, 2017 at 3:27 AM, Jevgeni Zolotarjov <
>> > > j.zolotarjov@gmail.com>
>> > > wrote:
>> > >
>> > > > Did that "setup --tomcat7" now.
>> > > > Output:
>> > > > Starting to configure CloudStack Management Server:
>> > > > Configure Firewall ...        [OK]
>> > > > Configure CloudStack Management Server ...[OK]
>> > > > CloudStack Management Server setup is Done!
>> > > >
>> > > > But no difference, when I try to run client application. Absolutely
>> the
>> > > > same result in catalina.log - Failed to find db.properties
>> > > >
>> > > >
>> > > >
>> > > > On Thu, Aug 24, 2017 at 1:24 AM, ilya <ilya.mailing.lists@gmail.com
>> >
>> > > > wrote:
>> > > >
>> > > > > Rafael has a point there - please try with tomcat7
>> > > > >
>> > > > > Also - please look into catalina.out/log for further debugging
>> info.
>> > > > >
>> > > > > On 8/23/17 9:23 AM, Rafael Weingärtner wrote:
>> > > > > > did you run setup-management --tomcat7?
>> > > > > >
>> > > > > > On Wed, Aug 23, 2017 at 12:20 PM, Jevgeni Zolotarjov <
>> > > > > j.zolotarjov@gmail.com
>> > > > > >> wrote:
>> > > > > >
>> > > > > >> Yes, I did, as it is suggested in the guide:
>> > > > > >> cloudstack-setup-database then setup-management
>> > > > > >>
>> > > > > >>
>> > > > > >> On Aug 23, 2017 7:11 PM, "Rafael Weingärtner" <
>> > > > > rafaelweingartner@gmail.com
>> > > > > >>>
>> > > > > >> wrote:
>> > > > > >>
>> > > > > >> did you run cloudstack-setup-database and ...setup-management?
>> > > > > >>
>> > > > > >>
>> > > > > >> On Wed, Aug 23, 2017 at 11:16 AM, Jevgeni Zolotarjov
<
>> > > > > >> j.zolotarjov@gmail.com
>> > > > > >>> wrote:
>> > > > > >>
>> > > > > >>> Here you go
>> > > > > >>>
>> > > > > >>> management-server.log is not available, which probably
means,
>> the
>> > > > > >>> application did not reach that far and exited due
to missing
>> DB
>> > > > access
>> > > > > >>>
>> > > > > >>> On Wed, Aug 23, 2017 at 6:03 PM, Gabriel Beims Bräscher
<
>> > > > > >>> gabrascher@gmail.com> wrote:
>> > > > > >>>
>> > > > > >>>> Hi Jevgeni,
>> > > > > >>>>
>> > > > > >>>> Can you share with us some log files (catalina.log,
>> > > > > >> management-server.log
>> > > > > >>>> and others that might be useful)?
>> > > > > >>>>
>> > > > > >>>>
>> > > > > >>>> 2017-08-23 11:53 GMT-03:00 Jevgeni Zolotarjov
<
>> > > > j.zolotarjov@gmail.com
>> > > > > >:
>> > > > > >>>>
>> > > > > >>>>> Hi
>> > > > > >>>>>
>> > > > > >>>>> I am installing Cloudstack 4.10 on Debian
Jessie using
>> guides
>> > > from
>> > > > > >>>>> http://cloudstack-installation.readthedocs.io/en/latest/
>> > > > > >>>> management-server/
>> > > > > >>>>> index.html
>> > > > > >>>>>
>> > > > > >>>>> Apparently the installation process was
smooth. But I cannot
>> > get
>> > > > > >> client
>> > > > > >>>>> running on tomcat7
>> > > > > >>>>> From catalina.out log file I can read
>> > > > > >>>>>
>> > > > > >>>>> Failed to find db.properties
>> > > > > >>>>>
>> > > > > >>>>> But this file is present in
>> > > > > >>>>> ./etc/cloudstack/management/db.properties
>> > > > > >>>>> ./etc/cloudstack/usage/db.properties
>> > > > > >>>>>
>> > > > > >>>>> Please help.
>> > > > > >>>>>
>> > > > > >>>>
>> > > > > >>>
>> > > > > >>>
>> > > > > >>
>> > > > > >>
>> > > > > >> --
>> > > > > >> Rafael Weingärtner
>> > > > > >>
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > Rafael Weingärtner
>> > >
>> >
>>
>>
>>
>> --
>> Rafael Weingärtner
>>
>
>


-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message