Ir para o conteúdo

 Voltar a Gnuteca - Su...
Tela cheia

Instalação no ubuntu tela branca

2 de Setembro de 2012, 15:20 , por Desconhecido - | 1 Pessoa seguindo este artigo.
Visualizado 204 vezes

olá, instalei conforme o manual, porem quando abro a pagina aparece uma pagina em branco sem erro nem nada, tenho o interesse de instalar o gnuteca para uma biblioteca individual aki está os logs:

postgresql:

 2012-09-02 02:41:32 BRT LOG:  database system was shut down at 2012-09-02 02:41:29 BRT
2012-09-02 02:41:32 BRT LOG:  database system is ready to accept connections
2012-09-02 02:41:32 BRT LOG:  autovacuum launcher started
2012-09-02 02:41:33 BRT LOG:  incomplete startup packet
2012-09-02 02:45:22 BRT LOG:  provided user name (postgres) and authenticated user name (david) do not match
2012-09-02 02:45:22 BRT FATAL:  Peer authentication failed for user "postgres"
2012-09-02 02:45:35 BRT LOG:  provided user name (postgres) and authenticated user name (root) do not match
2012-09-02 02:45:35 BRT FATAL:  Peer authentication failed for user "postgres"
2012-09-02 02:51:24 BRT LOG:  received fast shutdown request
2012-09-02 02:51:24 BRT LOG:  aborting any active transactions
2012-09-02 02:51:24 BRT LOG:  autovacuum launcher shutting down
2012-09-02 02:51:24 BRT LOG:  shutting down
2012-09-02 02:51:24 BRT LOG:  database system is shut down
2012-09-02 02:51:27 BRT LOG:  database system was shut down at 2012-09-02 02:51:24 BRT
2012-09-02 02:51:27 BRT LOG:  autovacuum launcher started
2012-09-02 02:51:27 BRT LOG:  database system is ready to accept connections
2012-09-02 02:51:27 BRT LOG:  incomplete startup packet
2012-09-02 02:52:56 BRT ERROR:  language "plpgsql" already exists
2012-09-02 02:52:56 BRT STATEMENT:  CREATE PROCEDURAL LANGUAGE plpgsql;
2012-09-02 02:58:22 BRT ERROR:  database "gnuteca3" already exists
2012-09-02 02:58:22 BRT STATEMENT:  CREATE DATABASE gnuteca3 WITH TEMPLATE = template1 ENCODING = 'UTF8';
2012-09-02 02:59:21 BRT ERROR:  database "gnuteca3" already exists
2012-09-02 02:59:21 BRT STATEMENT:  CREATE DATABASE gnuteca3 WITH TEMPLATE = template1 ENCODING = 'UTF8';
2012-09-02 04:15:28 BRT LOG:  received fast shutdown request
2012-09-02 04:15:28 BRT LOG:  aborting any active transactions
2012-09-02 04:15:28 BRT LOG:  autovacuum launcher shutting down
2012-09-02 04:15:28 BRT LOG:  shutting down
2012-09-02 04:15:28 BRT LOG:  database system is shut down
2012-09-02 04:15:30 BRT LOG:  database system was shut down at 2012-09-02 04:15:28 BRT
2012-09-02 04:15:30 BRT LOG:  autovacuum launcher started
2012-09-02 04:15:30 BRT LOG:  database system is ready to accept connections
2012-09-02 04:15:30 BRT LOG:  incomplete startup packet
2012-09-02 04:37:13 BRT LOG:  received fast shutdown request
2012-09-02 04:37:13 BRT LOG:  aborting any active transactions
2012-09-02 04:37:13 BRT LOG:  autovacuum launcher shutting down
2012-09-02 04:37:13 BRT LOG:  shutting down
2012-09-02 04:37:14 BRT LOG:  database system is shut down
2012-09-02 14:07:25 BRT LOG:  database system was shut down at 2012-09-02 04:37:14 BRT
2012-09-02 14:07:25 BRT LOG:  incomplete startup packet
2012-09-02 14:07:25 BRT LOG:  database system is ready to accept connections
2012-09-02 14:07:25 BRT LOG:  autovacuum launcher started

do apache2:

 

[Sun Sep 02 02:41:01 2012] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sun Sep 02 02:41:04 2012] [notice] caught SIGTERM, shutting down
[Sun Sep 02 02:41:05 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 02:42:42 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 02:42:43 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 03:39:32 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 03:39:32 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 03:43:11 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Sep 02 03:43:11 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun Sep 02 03:54:52 2012] [notice] Graceful restart requested, doing restart
Warning: DocumentRoot [/var/www/miolo25-gnuteca/html/gnuteca.php] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 03:54:52 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 03:56:13 2012] [notice] Graceful restart requested, doing restart
Warning: DocumentRoot [/var/www/miolo25-gnuteca/html/index.php] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 03:56:13 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 03:57:46 2012] [notice] Graceful restart requested, doing restart
Warning: DocumentRoot [/var/www/miolo25-gnuteca/index.php] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 03:57:47 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 03:58:24 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 03:58:24 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:12:26 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 04:12:26 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:20:04 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 04:20:04 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:21:20 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 04:21:20 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:21:39 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 04:21:39 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:22:02 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 04:22:02 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:36:43 2012] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Sun Sep 02 04:36:43 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations
[Sun Sep 02 04:37:12 2012] [notice] caught SIGTERM, shutting down
[Sun Sep 02 14:07:32 2012] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.2 with Suhosin-Patch configured -- resuming normal operations

 

obrigado

Autor: david araujo souza


1010 comentários

  • 54114a256816e2ce3077c240a96d879f?only path=false&size=50&d=404Fabiano Fernandes(usuário não autenticado)
    2 de Setembro de 2012, 17:44

     

    Olá amigo!

    Verifica se você consegue acesso com alguma ferramenta de gerenciamento de banco de dados com o usuário e senha 'postgres' ...

    Pelo que os erros informam, parece que você não está conseguindo acesso.

    Quanto ao erro do apache. você precisa informar no arquivo httpd.conf do apache o nome do seu servidor. Exemplo:

    ServerName   srvapps.localhost

    Att

    Fabiano Fernandes

    • 800ce5ac5c9aeead9357d2c4a7250779?only path=false&size=50&d=404david araujo souza(usuário não autenticado)
      2 de Setembro de 2012, 20:03

       

      naum tenho muito conhecimento nesta area, no caso o servidor é gnuteca.localhost por padrão certo?

      e essa ferramenta de gerenciamento recomenda alguma ?

       obrigado

    • 800ce5ac5c9aeead9357d2c4a7250779?only path=false&size=50&d=404david araujo souza(usuário não autenticado)
      2 de Setembro de 2012, 20:08

       

      olá atualizando usei o pgadmin III e entrou normal

    • 800ce5ac5c9aeead9357d2c4a7250779?only path=false&size=50&d=404david araujo souza(usuário não autenticado)
      2 de Setembro de 2012, 20:16

       

      abri o arquivo httpd.conf q estava vazio e adicionei a linha

      ServerName   gnuteca.localhost
       ai apareceu a pagina padrão: 
      It works!

      This is the default web page for this server.

      The web server software is running but no content has been added, yet.

      • 54114a256816e2ce3077c240a96d879f?only path=false&size=50&d=404Fabiano Fernandes(usuário não autenticado)
        3 de Setembro de 2012, 9:52

         

        Então vamos por partes!

         

        O nome da máquina que vai no arquivo http.conf é o mesmo que está definido no arquivo hostname do seu servidor.

        Se apareceu It works! quando você abre o endereço gnuteca.localhost é porque pode estar havendo alguma coisa errada no seu virtualhost.

        Cole aqui se conteúdo para que eu possa dar uma olhada.

         

        Att

        Fabiano Fernandes 

        • 800ce5ac5c9aeead9357d2c4a7250779?only path=false&size=50&d=404david araujo souza(usuário não autenticado)
          3 de Setembro de 2012, 10:56

           

          onde se encontra esse http.conf 

          se for o httpd.conf estava vazio

          • 54114a256816e2ce3077c240a96d879f?only path=false&size=50&d=404Fabiano Fernandes(usuário não autenticado)
            3 de Setembro de 2012, 11:08

             

            Não amigo.

            No httpd.conf  você deve informar o no do seu ServerName, como falei em post anterior.

             

            Virtualhost foi criado em seu Apache, talvez ele não tenha sido criado/configurado corretamente.

            Att

            Fabiano Fernandes 

            • 800ce5ac5c9aeead9357d2c4a7250779?only path=false&size=50&d=404david araujo souza(usuário não autenticado)
              3 de Setembro de 2012, 12:04

               

              gostaria de agradecer a paciencia

              então onde está esse http.conf ? ou de q programa é 

              to meio perdido

            • 800ce5ac5c9aeead9357d2c4a7250779?only path=false&size=50&d=404david araujo souza(usuário não autenticado)
              14 de Setembro de 2012, 8:37

               

              já que não consegui resolver o problema gostaria de saber como excluir o aplicativo do meu computador

              • Fc2bd1936dc7f7da27c3871b88178d14?only path=false&size=50&d=404Jefferson Nogueira de Oliveira(usuário não autenticado)
                9 de Outubro de 2012, 18:05

                 

                Davi o hostname deve estar setado no arquivo

                #/etc/hosts

                 Exemplo o ip o seu servidor que roda o gnuteca é 192.168.0.1

                 então vc coloca no /etc/hosts o ip conrespondente.

                  Exemplo o virtual host no apache está com o nome

                #ServerName Gnuteca.localhost

                 então no seu /etc/hosts você coloca:

                192.168.0.1 gnuteca.localhost

                 

                Nos clientes se forem windows você pode editar o arquivo - caso nao tenha um DNS -

                 

                C:\Windows\System32\Drivers\etc\hosts

                E colocar a referencia Gnuteca.localhost 192.168.0.1 ou seu ip claro.

Essa comunidade não possui posts nesse blog