Software > WeeWX

Apache2 no arranca

<< < (2/3) > >>

Amon-K:
Si,es verdad que Jessie produce algunos problemas no resueltos, al menos en mi caso.

Por ejemplo, la IP estática no se define con el mismo procedimiento que se utiliza en Wheezy. Yo he tenido que definirla en el router porque no he encontrado otra manera.

En syslog me aparecen otros errores que parecen no producir consecuencias. Algunos de ellos relacionados con el swapping a pesar de estar eliminado el paquete:


--- Código: ---Feb 28 06:42:13 raspberrypi rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="462" x-info="http://www.rsyslog.com"] start
Feb 28 06:42:13 raspberrypi rsyslogd-2307: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]
Feb 28 06:42:13 raspberrypi systemd-modules-load[76]: Inserted module 'fuse'
Feb 28 06:42:13 raspberrypi kernel: [    0.000000] Booting Linux on physical CPU 0xf00
Feb 28 06:42:13 raspberrypi kernel: [    0.000000] Initializing cgroup subsys cpuset
Feb 28 06:42:13 raspberrypi kernel: [    0.000000] Initializing cgroup subsys cpu
Feb 28 06:42:13 raspberrypi kernel: [    0.000000] Initializing cgroup subsys cpuacct
Feb 28 06:42:13 raspberrypi kernel: [    0.000000] Linux version 4.1.16-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #833 SMP Wed Jan 27 14:32:22 GMT 2016
......
......
......
Feb 28 06:42:13 raspberrypi systemd[1]: Reached target Remote File Systems.
Feb 28 06:42:13 raspberrypi systemd[1]: Starting Trigger Flushing of Journal to Persistent Storage...
Feb 28 06:42:13 raspberrypi systemd[1]: Starting LSB: Switch to ondemand cpu governor (unless shift key is pressed)...
Feb 28 06:42:13 raspberrypi systemd[1]: Starting LSB: Prepare console...
Feb 28 06:42:13 raspberrypi systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
[color=red]Feb 28 06:42:13 raspberrypi raspi-config[230]: Checking if shift key is held down:Error opening '/dev/input/event*': No such file or directory[/color]
Feb 28 06:42:13 raspberrypi raspi-config[230]: No. Switching to ondemand scaling governor.
Feb 28 06:42:13 raspberrypi systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
Feb 28 06:42:13 raspberrypi systemd[1]: Started Create Volatile Files and Directories.
Feb 28 06:42:13 raspberrypi systemd[1]: Started LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Feb 28 06:42:13 raspberrypi kbd[232]: Setting console screen modes.
......
......
......
Feb 28 06:42:13 raspberrypi kernel: [    1.683508] Init: Power Port (0)
Feb 28 06:42:13 raspberrypi systemd[1]: Started D-Bus System Message Bus.
Feb 28 06:42:13 raspberrypi kernel: [    1.688516] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Feb 28 06:42:13 raspberrypi kernel: [    1.696905] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 28 06:42:13 raspberrypi kernel: [    1.705687] usb usb1: Product: DWC OTG Controller
[color=red]Feb 28 06:42:13 raspberrypi dphys-swapfile[377]: Starting dphys-swapfile swapfile setup ...[/color]
Feb 28 06:42:13 raspberrypi kernel: [    1.711944] usb usb1: Manufacturer: Linux 4.1.16-v7+ dwc_otg_hcd
Feb 28 06:42:13 raspberrypi kernel: [    1.719515] usb usb1: SerialNumber: 3f980000.usb
Feb 28 06:42:13 raspberrypi kernel: [    1.726636] hub 1-0:1.0: USB hub found
Feb 28 06:42:13 raspberrypi dhcpcd[373]: dev: loaded udev
Feb 28 06:42:13 raspberrypi kernel: [    1.731952] hub 1-0:1.0: 1 port detected
Feb 28 06:42:13 raspberrypi kernel: [    1.737852] dwc_otg: FIQ enabled
Feb 28 06:42:13 raspberrypi kernel: [    1.737865] dwc_otg: NAK holdoff enabled
[color=red]Feb 28 06:42:13 raspberrypi dphys-swapfile[377]: /etc/init.d/dphys-swapfile: 45: /etc/init.d/dphys-swapfile: /sbin/dphys-swapfile: not found[/color]
Feb 28 06:42:13 raspberrypi kernel: [    1.737875] dwc_otg: FIQ split-transaction FSM enabled
Feb 28 06:42:13 raspberrypi kernel: [    1.737916] Module dwc_common_port init
Feb 28 06:42:13 raspberrypi kernel: [    1.738285] usbcore: registered new interface driver usb-storage
[color=red]Feb 28 06:42:13 raspberrypi dphys-swapfile[377]: /etc/init.d/dphys-swapfile: 49: /etc/init.d/dphys-swapfile: /sbin/dphys-swapfile: not found[/color]
Feb 28 06:42:13 raspberrypi kernel: [    1.745989] mousedev: PS/2 mouse device common for all mice
Feb 28 06:42:13 raspberrypi kernel: [    1.753895] bcm2835-cpufreq: min=600000 max=900000
Feb 28 06:42:13 raspberrypi kernel: [    1.760516] sdhci: Secure Digital Host Controller Interface driver
Feb 28 06:42:13 raspberrypi kernel: [    1.768238] sdhci: Copyright(c) Pierre Ossman
[color=red]Feb 28 06:42:13 raspberrypi dphys-swapfile[377]: done.[/color]
Feb 28 06:42:13 raspberrypi kernel: [    1.846466] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
Feb 28 06:42:13 raspberrypi kernel: [    1.853854] sdhci-pltfm: SDHCI platform and OF driver helper
Feb 28 06:42:13 raspberrypi kernel: [    1.881829] ledtrig-cpu: registered to indicate activity on CPUs
Feb 28 06:42:13 raspberrypi cron[374]: (CRON) INFO (Running @reboot jobs)
Feb 28 06:42:13 raspberrypi kernel: [    1.889682] hidraw: raw HID events driver (C) Jiri Kosina
Feb 28 06:42:13 raspberrypi kernel: [    1.896926] usbcore: registered new interface driver usbhid
Feb 28 06:42:13 raspberrypi kernel: [    1.904068] usbhid: USB HID core driver
Feb 28 06:42:13 raspberrypi kernel: [    1.909922] Initializing XFRM netlink socket
Feb 28 06:42:13 raspberrypi noip2[407]: v2.1.9 daemon started with NAT enabled
Feb 28 06:42:13 raspberrypi kernel: [    1.913322] mmc0: host does not support reading read-only switch, assuming write-enable
Feb 28 06:42:13 raspberrypi kernel: [    1.915146] mmc0: new high speed SDHC card at address 0001
Feb 28 06:42:13 raspberrypi noip2[378]: Starting dynamic address update: noip2.
Feb 28 06:42:13 raspberrypi kernel: [    1.915804] mmcblk0: mmc0:0001 00000 29.8 GiB
Feb 28 06:42:13 raspberrypi kernel: [    1.917262]  mmcblk0: p1 p2
Feb 28 06:42:13 raspberrypi kernel: [    1.944561] NET: Registered protocol family 17
Feb 28 06:42:13 raspberrypi kernel: [    1.946581] Indeed it is in host mode hprt0 = 00021501
Feb 28 06:42:13 raspberrypi kernel: [    1.957565] Key type dns_resolver registered
[color=red]Feb 28 06:42:13 raspberrypi triggerhappy[376]: Error opening '/dev/input/event*': No such file or directory[/color]
Feb 28 06:42:13 raspberrypi kernel: [    1.963957] Registering SWP/SWPB emulation handler
Feb 28 06:42:13 raspberrypi kernel: [    1.971347] registered taskstats version 1
Feb 28 06:42:13 raspberrypi kernel: [    1.977389] vc-sm: Videocore shared memory driver
Feb 28 06:42:13 raspberrypi dhcpcd[373]: eth0: adding address fe80::aadb:4eae:21a0:93c2
Feb 28 06:42:13 raspberrypi kernel: [    1.983692] [vc_sm_connected_init]: start
.....
.....
.....
Feb 28 06:42:18 raspberrypi avahi-daemon[383]: Registering new address record for fd70:6c57:f61d::38e on eth0.*.
Feb 28 06:42:20 raspberrypi ntpd[610]: Listen normally on 6 eth0 fd70:6c57:f61d::38e UDP 123
Feb 28 06:42:20 raspberrypi ntpd[610]: peers refreshed
Feb 28 06:42:20 raspberrypi apache2[648]: Starting web server: apache2.
Feb 28 06:42:20 raspberrypi systemd[1]: Started LSB: Apache2 web server.
[color=red]Feb 28 06:42:20 raspberrypi systemd[1]: rc-local.service: control process exited, code=exited status=127
Feb 28 06:42:20 raspberrypi systemd[1]: Failed to start /etc/rc.local Compatibility.[/color]
Feb 28 06:42:20 raspberrypi systemd[1]: Unit rc-local.service entered failed state.
Feb 28 06:42:20 raspberrypi systemd[1]: Starting Wait for Plymouth Boot Screen to Quit...
Feb 28 06:42:20 raspberrypi systemd[1]: Starting Terminate Plymouth Boot Screen...
Feb 28 06:42:20 raspberrypi systemd[1]: Started Wait for Plymouth Boot Screen to Quit.
Feb 28 06:42:20 raspberrypi systemd[1]: Started Terminate Plymouth Boot Screen.
Feb 28 06:42:20 raspberrypi systemd[1]: Starting Getty on tty1...
Feb 28 06:42:20 raspberrypi systemd[1]: Started Getty on tty1.
Feb 28 06:42:20 raspberrypi systemd[1]: Starting Serial Getty on ttyAMA0...


--- Fin del código ---

Últimamente me ha aparecido otro error pero lo voy a tratar en otro hilo.

Saludos.

jantoni:
Bueno, eso ocurre en todos los sistema distribuidos. No es mayor problema.

Si quieres eliminarlo:

apt-get remove dphys-swapfile

En la Raspbian Wheezy no venía instalado.

Amon-K:
Buenos días jantoni:

El paquete dphys-swapfile lo eliminé en su momento siguiendo tu manual, y además antes de escribir el post anterior me aseguré que ya estaba eliminado introduciendo el mismo comando.

Saludos.

jantoni:
Entonces debe haber algo en Jessie que llama a dphys

Tampoco tiene mayor importancia

Al no tener Jessie no lo puedo localizar.

Empezaría a buscar en /etc/init.d con grep

grep dphys *

A ver si hay alguna aplicación que llama a dphys en el inicio.

Amon-K:
Esta es la respuesta al comando:

root@raspberrypi:/# cd /etc/init.d
root@raspberrypi:/etc/init.d# grep dphys *
dphys-swapfile:# /etc/init.d/dphys-swapfile - automatically set up an swapfile
dphys-swapfile:#   so we run it as rcS.d/S37dphys-config
dphys-swapfile:# Provides:          dphys-swapfile
dphys-swapfile:NAME=dphys-swapfile
dphys-swapfile:    /sbin/dphys-swapfile setup
dphys-swapfile:    /sbin/dphys-swapfile swapon
dphys-swapfile:    /sbin/dphys-swapfile swapoff
root@raspberrypi:/etc/init.d#

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa