Terminado de instalar, seguindo o tutorial, o vindula não acessa via browser

perguntou 25 Jun '13, 18:12

luciano's gravatar image

luciano
260161923
aceitar classificação: 20%


Boa Tarde Luciano.

Luciano suba o Vindula novamente com o comando:

$./bin/instance fg

E use a intranet normalmente assim que ela parar nos envie o log para analisarmos.

Att,

Guilherme

link fixo

respondida 02 Jul '13, 15:46

guigpg's gravatar image

guigpg
73914
aceitar classificação: 46%

Você subiu os serviços? Tem algum print do seu terminal e do browser?

link fixo

respondida 25 Jun '13, 18:59

fabiorizzo's gravatar image

fabiorizzo ♦♦
2.2k4712
aceitar classificação: 51%

ao rodar o comando ./bin/instance start, apresentou a tela a resposta daemon process already running; pid=5871. Ao tentar acessar via browser tanto como ip como localhost:8080\vindula, na propria maquina a pagina fica branca.Não é maquina virtual, e sim física, consigo acessar via ssh a maquina

link fixo

respondida 25 Jun '13, 20:43

luciano's gravatar image

luciano
260161923
aceitar classificação: 20%

Bom Dia Luciano!

Luciano vamos verificar se o Vindula está subindo normalmente.

Para isso substitua o Ultimo comando (./bin/instance start) por:

$ ./bin/instance fg

Esse comando vai gerar um log enquanto o Vindula está rodando. Poste o log aqui para que possamos analisar.

Guilherme Gomides

link fixo

respondida 26 Jun '13, 10:34

guigpg's gravatar image

guigpg
73914
aceitar classificação: 46%

alt text2013-06-26 16:05:07 INFO ZServer HTTP server started at Wed Jun 26 16:05:07 2013 Hostname: 0.0.0.0 Port: 8080 2013-06-26 16:05:07 INFO Zope Set effective user to "vindula" Error opening file for reading: Permission denied 2013-06-26 16:05:12 WARNING SecurityInfo Conflicting security declarations for "setText" 2013-06-26 16:05:12 WARNING SecurityInfo Class "ATTopic" had conflicting security declarations 2013-06-26 16:05:13 WARNING Init Class Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security declaration for nonexistent method 'getEncryptedPassword' 2013-06-26 16:05:13 WARNING Init Class Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security declaration for nonexistent method 'getEncryptedPassword' 2013-06-26 16:05:13 INFO PlonePAS PlonePAS: Wrapping method at LDAPPluginBase.getPropertiesForUser 2013-06-26 16:05:13 INFO PlonePAS PlonePAS: Wrapping method at LDAPMultiPlugin.getGroupsForPrincipal 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied registerConfiglet patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied setHeader patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied allow_module patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied get_request_var_or_attr patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied kssdevel patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied widget_traversal patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied gtbn patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied kupu_spellcheck patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied membership_tool patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied queryCatalog patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied uid_catalog patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied renameObjectsByPaths patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied at_download patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied safe_html patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied python_scripts patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied getNavigationRootObject patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied crypto_oracle patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied crypto_oracle_protect patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied ftp patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied atat patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Applied random_string patch 2013-06-26 16:05:15 INFO Products.PloneHotfix20121106 Hotfix installed 2013-06-26 16:05:16 WARNING relstorage.adapters.mysql Unable to connect: (1044, "Access denied for user 'vindula'@'localhost' to database 'vindula_relstorageDB'") Traceback (most recent call last): File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py", line 76, in <module> run() File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py", line 22, in run starter.prepare() File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/init.py", line 86, in prepare self.startZope() File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/init.py", line 259, in startZope Zope2.startup() File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/init.py", line 47, in startup _startup() File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/App/startup.py", line 81, in startup DB = dbtab.getDatabase('/', is_root=1) File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/datatypes.py", line 287, in getDatabase db = factory.open(name, self.databases) File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/datatypes.py", line 185, in open DB = self.createDB(database_name, databases) File "/opt/vindula2.0/vindula/eggs/Zope2-2.13.15-py2.7.egg/Zope2/Startup/datatypes.py", line 182, in createDB return ZODBDatabase.open(self, databases) File "/opt/vindula2.0/vindula/eggs/ZODB3-3.10.5-py2.7-linux-i686.egg/ZODB/config.py", line 101, in open storage = section.storage.open() File "/opt/vindula2.0/vindula/eggs/RelStorage-1.5.1-py2.7.egg/relstorage/config.py", line 33, in open return RelStorage(adapter, name=config.name, options=options) File "/opt/vindula2.0/vindula/eggs/RelStorage-1.5.1-py2.7.egg/relstorage/storage.py", line 167, in init self._adapter.schema.prepare() File "/opt/vindula2.0/vindula/eggs/RelStorage-1.5.1-py2.7.egg/relstorage/adapters/schema.py", line 856, in prepare self.connmanager.open_and_call(callback) File "/opt/vindula2.0/vindula/eggs/RelStorage-1.5.1-py2.7.egg/relstorage/adapters/connmanager.py", line 73, in open_and_call conn, cursor = self.open() File "/opt/vindula2.0/vindula/eggs/RelStorage-1.5.1-py2.7.egg/relstorage/adapters/mysql.py", line 223, in open conn = MySQLdb.connect(self._params) File "/opt/vindula2.0/vindula/eggs/MySQL_python-1.2.4-py2.7-linux-i686.egg/MySQLdb/__init__.py", line 81, in Connect return Connection(*args, kwargs) File "/opt/vindula2.0/vindula/eggs/MySQL_python-1.2.4-py2.7-linux-i686.egg/MySQLdb/connections.py", line 187, in init super(Connection, self).init(args, kwargs2) _mysql_exceptions.OperationalError: (1044, "Access denied for user 'vindula'@'localhost' to database 'vindula_relstorageDB'")*

link fixo
Esse answer foi marcado "community wiki".

respondida 26 Jun '13, 16:12

luciano's gravatar image

luciano
260161923
aceitar classificação: 20%

editada 26 Jun '13, 17:02

Boa Tarde Luciano.

Luciano analisando o LOG gerado podemos perceber que o usuario que o vindula utiliza no mysql não está com permissão para alterar dados dentro do banco.

Para resolver isso devemos dar as devidas permissões para o usuário, siga este passo a passo:

Entre no mysql via terminal

$ mysql -u root -p

O terminal irá te pedir uma senha, a senha padrao é: root

já dentro do mysql execute o seguinte comando:

GRANT ALL PRIVILEGES ON vindula_relstorageDB.* TO vindula@localhost IDENTIFIED BY 'vindula';

Esse comando dará todos os privilégios da Base de Dados vindula_relstorageDB' para o usuário Vindula do mysql.

Tente subir novamente o Vindula com o comando: $./bin/instance fg

O terminal irá lhe retornar a seguinte informação:

INFO vindula.network Instance Vindula UP

Isso significa que o Vindula ja está funcionando normalmente, agora de um CTRL + C e suba a instancia com o seguinte comando:

$ ./bin/intance start

Espero ter lhe ajudado =D

Att,

Guilherme Gomides

link fixo

respondida 26 Jun '13, 16:38

guigpg's gravatar image

guigpg
73914
aceitar classificação: 46%

Deu certo, muito obrigado, porém não sei o que acontece que do nada fica parando o serviço, ai reinicio o comando e ele funciona por um tempo.Tenho que colocar para reinicializar de tempos em tempos no cron

link fixo

respondida 02 Jul '13, 15:14

luciano's gravatar image

luciano
260161923
aceitar classificação: 20%

Deu certo, muito obrigado, porém não sei o que acontece que do nada fica parando o serviço, ai reinicio o comando e ele funciona por um tempo.Tenho que colocar para reinicializar de tempos em tempos no cron

link fixo

respondida 02 Jul '13, 15:31

luciano's gravatar image

luciano
260161923
aceitar classificação: 20%

2013-07-02 16:55:03 INFO ZServer HTTP server started at Tue Jul 2 16:55:03 2013 Hostname: 0.0.0.0 Port: 8080 2013-07-02 16:55:03 INFO Zope Set effective user to "vindula" Error opening file for reading: Permission denied 2013-07-02 16:55:08 WARNING SecurityInfo Conflicting security declarations for "setText" 2013-07-02 16:55:08 WARNING SecurityInfo Class "ATTopic" had conflicting security declarations 2013-07-02 16:55:09 WARNING Init Class Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security declaration for nonexistent method 'getEncryptedPassword' 2013-07-02 16:55:09 WARNING Init Class Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security declaration for nonexistent method 'getEncryptedPassword' 2013-07-02 16:55:09 INFO PlonePAS PlonePAS: Wrapping method at LDAPPluginBase.getPropertiesForUser 2013-07-02 16:55:09 INFO PlonePAS PlonePAS: Wrapping method at LDAPMultiPlugin.getGroupsForPrincipal 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied registerConfiglet patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied setHeader patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied allow_module patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied get_request_var_or_attr patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied kssdevel patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied widget_traversal patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied gtbn patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied kupu_spellcheck patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied membership_tool patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied queryCatalog patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied uid_catalog patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied renameObjectsByPaths patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied at_download patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied safe_html patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied python_scripts patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied getNavigationRootObject patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied crypto_oracle patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied crypto_oracle_protect patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied ftp patch 2013-07-02 16:55:11 INFO Products.PloneHotfix20121106 Applied atat patch 2013-07-02 16:55:12 INFO Products.PloneHotfix20121106 Applied random_string patch 2013-07-02 16:55:12 INFO Products.PloneHotfix20121106 Hotfix installed 2013-07-02 16:55:14 INFO vindula.themedefault Installing Product 2013-07-02 16:55:14 INFO vindula.controlpanel Installing Product applying monkeypatch /opt/vindula2.0/vindula/eggs/Products.PloneHotfix20121106-1.2-py2.7.egg/Products/PloneHotfix20121106/widget_traversal.py:7: UserWarning: The like_class option of the <require/> directive is not supported in Zope 2. Ignored for <class 'storm.references.boundindirectreferenceset'=""> return old_require(self, args, *kw) 2013-07-02 16:55:17 WARNING collective.quickupload.interfaces Importing interfaces from collective.quickupload.browser.interfaces is deprecated, please import from collective.quickupload.interfaces 2013-07-02 16:55:30 INFO plone.app.theming Patched Zope Management Interface to disable theming. 2013-07-02 16:55:39 WARNING Init Class z3c.blobfile.file.File has a security declaration for nonexistent method 'contentType' 2013-07-02 16:55:39 WARNING Init Class z3c.blobfile.image.Image has a security declaration for nonexistent method 'contentType' 2013-07-02 16:55:45 WARNING Init Class Products.Five.metaclass.Utils has a security declaration for nonexistent method 'convert' 2013-07-02 16:55:47 WARNING Init Class Products.Five.viewlet.manager.<viewletmanager providing="" iresponseadder=""> has a security declaration for nonexistent method 'getitem' 2013-07-02 16:55:48 INFO PloneFormGen Patching plone.app.portlets ColumnPortletManagerRenderer to not catch Retry exceptions 2013-07-02 16:55:49 INFO Zope Ready to handle requests 2013-07-02 16:55:49 WARNING vindula.network KeyInstance invalida, contate o suporte vindula 2013-07-02 16:55:49 INFO vindula.network Instance Vindula UP /opt/vindula2.0/vindula/eggs/Products.CMFCore-2.2.6-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView liberiunbanner_styles refers to a non-existing path 'liberiun.portal.banner:skins/liberiunbanner_styles' (self.id, reg_key), UserWarning)

link fixo

respondida 02 Jul '13, 17:11

luciano's gravatar image

luciano
260161923
aceitar classificação: 20%

Sua resposta
alternar pré visualização

Acompanhar esta pergunta

Por Email:

Uma vez que você entrar você será que capaz de assinar qualquer atualização

Por RSS:

Respostas

Respostas e Comentários

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Título")
  • image?![alt text](/path/img.jpg "Título")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags da pergunta:

×38

pergunta: 25 Jun '13, 18:12

pergunta foi visualizada: 2,193 vezes

útima atualização: 02 Jul '13, 17:11