Erro localhost e localhost/phpmyadmin [RESOLVIDO]

1. Erro localhost e localhost/phpmyadmin [RESOLVIDO]

william Dias
xdwilliam

(usa Ubuntu)

Enviado em 25/08/2016 - 13:06h

Olá boa tarde galerinha primeiramente deixarei claro que sou iniciante no site e no linux entao por gentiliza respondam bem explicado para eu poder entender.

bom vamos lá estou com o seguinte problema. quando digito localhost ou localhost/phpmyadmin ou 127.0.0.1 em meu navegador web(firefox) aparece a seguinte mensagem:
Unable to connect
Firefox can't establish a connection to the server at 127.0.0.1.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Eu apenas instalei o apache2 e o phpmyadmin através do terminal. Ficarei muito agradecido se conseguirem me ajudar estou utilizando linux ubuntu 15.10.


  


2. MELHOR RESPOSTA

marcio mendes mendes
conectadohost

(usa XUbuntu)

Enviado em 25/08/2016 - 14:49h

Olá,
Duas formas que eu usaria para resolver
primeiro tentar resolver
segundo remover o apache,php, mysql, phpmyadmin e reinstalar novamente pelo lampserver



primeiro modo:
logue como root pra facilitar
veja se dentro da /etc
tem a pasta phpmyadmin
se tiver faça um atalho assim

sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin


e reinicie o apache

sudo systemctl restart apache2
ou sudo service apache2 restart


Segundo modo:
se não resolver remova o apache,php, mysql, phpmyadmin e reinstale novamente

sudo apt-get purge libapache2-mod-auth-mysql phpmyadmin
sudo apt-get purge mysql-server mysql-server-5.1 mysql-server-core-5.1
sudo apt-get purge apache2 apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common libapache2-mod-php5
dpkg -l mysql-server
sudo apt-get remove --purge mysql-server
sudo apt-get remove --purge phpmyadmin
sudo /etc/init.d/mysql stop
sudo apt-get remove --purge mysql-common
sudo rm -rf /var/lib/mysql
sudo apt-get autoremove --purge
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
rm -rf /etc/phpmyadmin


reinicie o computador e instale apache, mysql, php, phpmyadmin pelo lampserver

sudo apt-get install lamp-server^
sudo apt-get install phpmyadmin


---> As vezes Para Não Me Estressar Prefiro Não Comentar
---> Márcio M M <---

3. Re: Erro localhost e localhost/phpmyadmin [RESOLVIDO]

marcio mendes mendes
conectadohost

(usa XUbuntu)

Enviado em 25/08/2016 - 13:14h

Olá,
seria muito azar se o você tivesse algum firewall que estivesse bloqueando o apache

veja se o apache reinicia normalmente


service apache2 restart

---> As vezes Para Não Me Estressar Prefiro Não Comentar
---> Márcio M M <---


4. re Erro localhost e localhost/phpmyadmin

william Dias
xdwilliam

(usa Ubuntu)

Enviado em 25/08/2016 - 13:24h

olá marcio executei esse comando que voce passou ai me pediu a senha eu digitei e apareceu a seguinte mensagem.

Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.



5. Re: Erro localhost e localhost/phpmyadmin [RESOLVIDO]

marcio mendes mendes
conectadohost

(usa XUbuntu)

Enviado em 25/08/2016 - 13:33h

Olá,
me parece tem algo dentro do config do apache impedindo ele de rodar
tenta esse pra ver o resultado do status

sudo /etc/init.d/apache2 status


e esse pra reiniciar

sudo systemctl restart apache2


---> As vezes Para Não Me Estressar Prefiro Não Comentar
---> Márcio M M <---


6. RE: Erro localhost e localhost/phpmyadmin

william Dias
xdwilliam

(usa Ubuntu)

Enviado em 25/08/2016 - 13:42h

olá executando o comando sudo/etc/init.d/apache2 status aparece a seguinte mensagem.

&#9679; apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: failed (Result: exit-code) since Qui 2016-08-25 13:31:03 BRT; 9min ago
Docs: man:systemd-sysv-generator(8)
Process: 5103 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE)

Ago 25 13:31:03 william-System-Product-Name apache2[5103]: [Thu Aug 25 13:31:...
Ago 25 13:31:03 william-System-Product-Name apache2[5103]: [Thu Aug 25 13:31:...
Ago 25 13:31:03 william-System-Product-Name apache2[5103]: AH00526: Syntax er...
Ago 25 13:31:03 william-System-Product-Name apache2[5103]: Invalid command 's...
Ago 25 13:31:03 william-System-Product-Name apache2[5103]: Action 'configtest...
Ago 25 13:31:03 william-System-Product-Name apache2[5103]: The Apache error l...
Ago 25 13:31:03 william-System-Product-Name systemd[1]: apache2.service: Cont...
Ago 25 13:31:03 william-System-Product-Name systemd[1]: Failed to start LSB: ...
Ago 25 13:31:03 william-System-Product-Name systemd[1]: apache2.service: Unit...
Ago 25 13:31:03 william-System-Product-Name systemd[1]: apache2.service: Fail...
Hint: Some lines were ellipsized, use -l to show in full.

e com o comando sudo systemctl restart apache2 aparece a seguinte mensagem.

Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.



7. Re: Erro localhost e localhost/phpmyadmin [RESOLVIDO]

marcio mendes mendes
conectadohost

(usa XUbuntu)

Enviado em 25/08/2016 - 13:48h

Olá,
ele já apontou que tem erro no apache
Ago 25 13:31:03 william-System-Product-Name apache2[5103]: The Apache error l...
mas ao postar aqui no VOL acho que cortou
sabe na hora de postar coloque dentro da variavel code
desse modo http://i.prntscr.com/d3282bfaaf614bfe8c76af8befcc2b07.png
e poste o resultado dos logs acho que agora vai dar pra identificar o erro
execute esse comando

cat /var/log/syslog



---> As vezes Para Não Me Estressar Prefiro Não Comentar
---> Márcio M M <---



8. RE: Erro localhost e localhost/phpmyadmin

william Dias
xdwilliam

(usa Ubuntu)

Enviado em 25/08/2016 - 13:53h

Sim acabou cortando a mensagem de erro nmo proprio terminal do ubuntu.
executando o comando cat /var/log/syslog aparece a seguinte mensagem

Aug 25 12:11:05 william-System-Product-Name rsyslogd: [origin software="rsyslogd" swVersion="8.12.0" x-pid="623" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
Aug 25 12:11:10 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:11:10 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:11:22 william-System-Product-Name anacron[620]: Job `cron.daily' terminated
Aug 25 12:11:22 william-System-Product-Name anacron[620]: Normal exit (1 job run)
Aug 25 12:11:25 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:12:57 william-System-Product-Name gnome-session[1911]: message repeated 4 times: [ Found closest target]
Aug 25 12:13:03 william-System-Product-Name com.ubuntu.OneConf[1822]: WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/william/.cache/oneconf/3cf5af5259544c6ead0b7b1191448f4f/other_hosts'
Aug 25 12:13:18 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:13:37 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:13:52 william-System-Product-Name systemd[1]: Starting Cleanup of Temporary Directories...
Aug 25 12:13:52 william-System-Product-Name systemd-tmpfiles[4090]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Aug 25 12:13:52 william-System-Product-Name systemd[1]: Started Cleanup of Temporary Directories.
Aug 25 12:13:55 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:16:54 william-System-Product-Name gnome-session[1911]: message repeated 11 times: [ Found closest target]
Aug 25 12:17:01 william-System-Product-Name CRON[4095]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 25 12:17:13 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:38:47 william-System-Product-Name gnome-session[1911]: message repeated 100 times: [ Found closest target]
Aug 25 12:39:01 william-System-Product-Name CRON[4199]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Aug 25 12:39:04 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:46:10 william-System-Product-Name gnome-session[1911]: message repeated 33 times: [ Found closest target]
Aug 25 12:46:28 william-System-Product-Name dhclient: DHCPREQUEST of 192.168.0.104 on enp4s0 to 192.168.0.1 port 67 (xid=0x4affd625)
Aug 25 12:46:28 william-System-Product-Name dhclient: DHCPACK of 192.168.0.104 from 192.168.0.1
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> address 192.168.0.104
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> plen 24 (255.255.255.0)
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> gateway 192.168.0.1
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> server identifier 192.168.0.1
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> lease time 7200
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> nameserver '63.143.35.78'
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> nameserver '198.12.93.210'
Aug 25 12:46:28 william-System-Product-Name NetworkManager[612]: <info> (enp4s0): DHCPv4 state changed bound -> bound
Aug 25 12:46:28 william-System-Product-Name vmnet-natd: RTM_NEWADDR: index:2, addr:192.168.0.104
Aug 25 12:46:28 william-System-Product-Name dbus[633]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Aug 25 12:46:28 william-System-Product-Name systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 25 12:46:28 william-System-Product-Name dbus[633]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 25 12:46:28 william-System-Product-Name systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 25 12:46:28 william-System-Product-Name nm-dispatcher: Dispatching action 'dhcp4-change' for enp4s0
Aug 25 12:46:28 william-System-Product-Name dhclient: bound to 192.168.0.104 -- renewal in 3412 seconds.
Aug 25 12:46:29 william-System-Product-Name kernel: [ 2858.525233] userif-3: sent link down event.
Aug 25 12:46:29 william-System-Product-Name kernel: [ 2858.525236] userif-3: sent link up event.
Aug 25 12:46:31 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 12:59:56 william-System-Product-Name gnome-session[1911]: message repeated 52 times: [ Found closest target]
Aug 25 13:00:01 william-System-Product-Name org.gnome.evolution.dataserver.Sources4[1822]: ** (evolution-source-registry:2074): WARNING **: secret_service_search_sync: must specify at least one attribute to match
Aug 25 13:00:16 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:02:29 william-System-Product-Name gnome-session[1911]: message repeated 8 times: [ Found closest target]
Aug 25 13:02:45 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:08:47 william-System-Product-Name gnome-session[1911]: message repeated 26 times: [ Found closest target]
Aug 25 13:09:01 william-System-Product-Name CRON[4651]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Aug 25 13:09:03 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:16:56 william-System-Product-Name gnome-session[1911]: message repeated 31 times: [ Found closest target]
Aug 25 13:17:01 william-System-Product-Name CRON[4817]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 25 13:17:15 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:22:57 william-System-Product-Name kernel: [ 5045.828635] perf interrupt took too long (2504 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
Aug 25 13:24:16 william-System-Product-Name gnome-session[1911]: message repeated 23 times: [ Found closest target]
Aug 25 13:24:19 william-System-Product-Name com.canonical.Unity.Scope.Home[1822]: (unity-scope-home:4910): unity-scope-home-WARNING **: platform-info.vala:112: Unable to read SIM properties: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files
Aug 25 13:24:19 william-System-Product-Name com.canonical.Unity.Scope.LocalFiles[1822]: (process:4926): unity-files-daemon-WARNING **: folder.vala:65: Failed to read favorites: Failed to open file '/home/william/.gtk-bookmarks': No such file or directory
Aug 25 13:24:21 william-System-Product-Name com.canonical.Unity.Scope.Music[1822]: (unity-music-daemon:4962): unity-music-daemon-WARNING **: rhythmbox-collection.vala:510: Unable to open album-art DB!
Aug 25 13:24:21 william-System-Product-Name com.canonical.Unity.Scope.Music[1822]: (unity-music-daemon:4962): unity-music-daemon-WARNING **: rhythmbox-collection.vala:574: Error while parsing rhythmbox DB: Error opening file: No such file or directory
Aug 25 13:24:29 william-System-Product-Name gnome-session[1911]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Aug 25 13:24:32 william-System-Product-Name systemd[1]: Stopped LSB: Apache2 web server.
Aug 25 13:24:32 william-System-Product-Name systemd[1]: Starting LSB: Apache2 web server...
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: * Starting web server apache2
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: *
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: * The apache2 configtest failed.
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: Output of config test was:
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: [Thu Aug 25 13:24:32.394731 2016] [alias:warn] [pid 5023] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: [Thu Aug 25 13:24:32.394828 2016] [alias:warn] [pid 5023] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: AH00526: Syntax error on line 226 of /etc/apache2/apache2.conf:
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: Invalid command 'sudo', perhaps misspelled or defined by a module not included in the server configuration
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: Action 'configtest' failed.
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: The Apache error log may have more information.
Aug 25 13:24:32 william-System-Product-Name systemd[1]: apache2.service: Control process exited, code=exited status=1
Aug 25 13:24:32 william-System-Product-Name systemd[1]: Failed to start LSB: Apache2 web server.
Aug 25 13:24:32 william-System-Product-Name systemd[1]: apache2.service: Unit entered failed state.
Aug 25 13:24:32 william-System-Product-Name systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 25 13:24:32 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:26:20 william-System-Product-Name gnome-session[1911]: message repeated 6 times: [ Found closest target]
Aug 25 13:26:20 william-System-Product-Name com.canonical.Unity.Scope.File.Gdrive[1822]: Search changed to: ''
Aug 25 13:26:20 william-System-Product-Name com.canonical.Unity.Scope.File.Gdrive[1822]: Search changed to: 't'
Aug 25 13:26:41 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:30:43 william-System-Product-Name gnome-session[1911]: message repeated 18 times: [ Found closest target]
Aug 25 13:31:00 william-System-Product-Name gnome-session[1911]: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Aug 25 13:31:00 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:31:03 william-System-Product-Name systemd[1]: Starting LSB: Apache2 web server...
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: * Starting web server apache2
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: *
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: * The apache2 configtest failed.
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: Output of config test was:
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: [Thu Aug 25 13:31:03.355422 2016] [alias:warn] [pid 5111] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: [Thu Aug 25 13:31:03.355516 2016] [alias:warn] [pid 5111] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: AH00526: Syntax error on line 226 of /etc/apache2/apache2.conf:
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: Invalid command 'sudo', perhaps misspelled or defined by a module not included in the server configuration
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: Action 'configtest' failed.
Aug 25 13:31:03 william-System-Product-Name apache2[5103]: The Apache error log may have more information.
Aug 25 13:31:03 william-System-Product-Name systemd[1]: apache2.service: Control process exited, code=exited status=1
Aug 25 13:31:03 william-System-Product-Name systemd[1]: Failed to start LSB: Apache2 web server.
Aug 25 13:31:03 william-System-Product-Name systemd[1]: apache2.service: Unit entered failed state.
Aug 25 13:31:03 william-System-Product-Name systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 25 13:31:17 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:31:33 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:33:06 william-System-Product-Name gnome-session[1911]: message repeated 6 times: [ Found closest target]
Aug 25 13:33:13 william-System-Product-Name gnome-session[1911]: Could not send statistics: Host not found (non-authoritative), try again later
Aug 25 13:33:21 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:38:43 william-System-Product-Name gnome-session[1911]: message repeated 21 times: [ Found closest target]
Aug 25 13:38:59 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:39:01 william-System-Product-Name CRON[5169]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Aug 25 13:39:16 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:40:09 william-System-Product-Name gnome-session[1911]: message repeated 3 times: [ Found closest target]
Aug 25 13:40:13 william-System-Product-Name systemd[1]: Started Daemon for generating UUIDs.
Aug 25 13:40:32 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:42:59 william-System-Product-Name gnome-session[1911]: message repeated 12 times: [ Found closest target]
Aug 25 13:43:03 william-System-Product-Name systemd[1]: Stopped LSB: Apache2 web server.
Aug 25 13:43:03 william-System-Product-Name systemd[1]: Starting LSB: Apache2 web server...
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: * Starting web server apache2
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: *
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: * The apache2 configtest failed.
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: Output of config test was:
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: [Thu Aug 25 13:43:03.709620 2016] [alias:warn] [pid 5319] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: [Thu Aug 25 13:43:03.709687 2016] [alias:warn] [pid 5319] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: AH00526: Syntax error on line 226 of /etc/apache2/apache2.conf:
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: Invalid command 'sudo', perhaps misspelled or defined by a module not included in the server configuration
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: Action 'configtest' failed.
Aug 25 13:43:03 william-System-Product-Name apache2[5311]: The Apache error log may have more information.
Aug 25 13:43:03 william-System-Product-Name systemd[1]: apache2.service: Control process exited, code=exited status=1
Aug 25 13:43:03 william-System-Product-Name systemd[1]: Failed to start LSB: Apache2 web server.
Aug 25 13:43:03 william-System-Product-Name systemd[1]: apache2.service: Unit entered failed state.
Aug 25 13:43:03 william-System-Product-Name systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 25 13:43:14 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:43:20 william-System-Product-Name dhclient: DHCPREQUEST of 192.168.0.104 on enp4s0 to 192.168.0.1 port 67 (xid=0x4affd625)
Aug 25 13:43:20 william-System-Product-Name dhclient: DHCPACK of 192.168.0.104 from 192.168.0.1
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> address 192.168.0.104
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> plen 24 (255.255.255.0)
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> gateway 192.168.0.1
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> server identifier 192.168.0.1
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> lease time 7200
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> nameserver '63.143.35.78'
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> nameserver '198.12.93.210'
Aug 25 13:43:20 william-System-Product-Name NetworkManager[612]: <info> (enp4s0): DHCPv4 state changed bound -> bound
Aug 25 13:43:20 william-System-Product-Name vmnet-natd: RTM_NEWADDR: index:2, addr:192.168.0.104
Aug 25 13:43:20 william-System-Product-Name dbus[633]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Aug 25 13:43:20 william-System-Product-Name systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 25 13:43:20 william-System-Product-Name dbus[633]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 25 13:43:20 william-System-Product-Name systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 25 13:43:20 william-System-Product-Name nm-dispatcher: Dispatching action 'dhcp4-change' for enp4s0
Aug 25 13:43:21 william-System-Product-Name dhclient: bound to 192.168.0.104 -- renewal in 2962 seconds.
Aug 25 13:43:21 william-System-Product-Name kernel: [ 6269.051847] userif-3: sent link down event.
Aug 25 13:43:21 william-System-Product-Name kernel: [ 6269.051852] userif-3: sent link up event.
Aug 25 13:43:32 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:51:43 william-System-Product-Name gnome-session[1911]: message repeated 33 times: [ Found closest target]
Aug 25 13:52:02 william-System-Product-Name gnome-session[1911]: Found closest target
Aug 25 13:52:56 william-System-Product-Name gnome-session[1911]: message repeated 3 times: [ Found closest target]
Aug 25 13:53:04 william-System-Product-Name com.canonical.Unity.Scope.File.Gdrive[1822]: Search changed to: 't'
Aug 25 13:53:15 william-System-Product-Name gnome-session[1911]: Found closest target




9. Re: Erro localhost e localhost/phpmyadmin

marcio mendes mendes
conectadohost

(usa XUbuntu)

Enviado em 25/08/2016 - 14:01h

Olá,
o erro está nessa parte
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: [Thu Aug 25 13:24:32.394731 2016] [alias:warn] [pid 5023] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Aug 25 13:24:32 william-System-Product-Name apache2[5015]: [Thu Aug 25 13:24:32.394828 2016] [alias:warn] [pid 5023] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.

ele se repete varias vezes provavelmente isso que está impedindo o apache de rodar
poste a linha 3 do arquivo /etc/phpmyadmin/apache.conf
se ele não for muito grande poste o conteúdo todo dele
mas use a variável code do VOL

---> As vezes Para Não Me Estressar Prefiro Não Comentar
---> Márcio M M <---


10. RE: Erro localhost e localhost/phpmyadmin

william Dias
xdwilliam

(usa Ubuntu)

Enviado em 25/08/2016 - 14:04h

olá executando esse comando no terminal /etc/phpmyadmin/apache.conf

aparece a seguinte mensagem bash: /etc/phpmyadmin/apache.conf: Permission denied



11. Re: Erro localhost e localhost/phpmyadmin [RESOLVIDO]

marcio mendes mendes
conectadohost

(usa XUbuntu)

Enviado em 25/08/2016 - 14:26h

Olá,

sudo cat /etc/phpmyadmin/apache.conf
ou cat /etc/phpmyadmin/apache.conf


se quiser pode salvar o resultado em arquivo .txt

cat /etc/phpmyadmin/apache.conf >/home/usuario/logapaches.txt


as vezes pode ser necessário usar o sudo antes dos comandos


---> As vezes Para Não Me Estressar Prefiro Não Comentar
---> Márcio M M <---


12. RE: Erro localhost e localhost/phpmyadmin

william Dias
xdwilliam

(usa Ubuntu)

Enviado em 25/08/2016 - 14:29h

olá executando o comando sudo cat /etc/phpmyadmin/apache.conf aparece a seguinte mensagem.

# phpMyAdmin default Apache configuration

Alias /phpmyadmin /usr/share/phpmyadmin

<Directory /usr/share/phpmyadmin>
Options FollowSymLinks
DirectoryIndex index.php

<IfModule mod_php5.c>
<IfModule mod_mime.c>
AddType application/x-httpd-php .php
</IfModule>
<FilesMatch ".+\.php$">
SetHandler application/x-httpd-php
</FilesMatch>

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_flag allow_url_fopen On
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/
</IfModule>

</Directory>

# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
<IfModule mod_authz_core.c>
<IfModule mod_authn_file.c>
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/phpmyadmin/htpasswd.setup
</IfModule>
Require valid-user
</IfModule>
</Directory>

# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Require all denied
</Directory>




01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts