┌────(/home/umby)───(zsh)
└─(umberto)──(umby)────>> sudo pacman -Qlq mysql | grep service
/usr/lib/systemd/system/mysqld.service
Berseker ha scritto:provato a reinstallare apache e mysql?
systemctl [massimo@myhost ~]$ systemctl
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys...misc.automount loaded active waiting Arbitrary Executable File
sys-devi...ock-sdb.device loaded active plugged USB_Storage-CFC
sys-devi...ock-sdc.device loaded active plugged USB_Storage-SMC
sys-devi...ock-sdd.device loaded active plugged USB_Storage-MMC
sys-devi...ock-sde.device loaded active plugged USB_Storage-MSC
sys-devi...d-card0.device loaded active plugged CK804 AC'97 Audio Controll
sys-devi...da-sda1.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda2.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda5.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda6.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda7.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda8.device loaded active plugged Maxtor_6Y080L0
sys-devi...ock-sda.device loaded active plugged Maxtor_6Y080L0
sys-devi...ock-sr0.device loaded active plugged HL-DT-ST_DVDRAM_GSA-H10N
sys-devi...et-eth0.device loaded active plugged CK804 Ethernet Controller
sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/seri
sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/seri
sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/seri
sys-devi...y-ttyS0.device loaded active plugged /sys/devices/pnp0/00:08/tt
sys-module-fuse.device loaded active plugged /sys/module/fuse
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File S
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted /tmp
systemd-...d-console.path loaded active waiting Dispatch Password Requests
systemd-...word-wall.path loaded active waiting Forward Password Requests
bluetooth.service loaded active running Bluetooth service
console-...daemon.service loaded active running Console Manager
console-...-start.service loaded active exited Console System Startup Log
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
netcfg.service loaded active exited Netcfg multi-profile daemo
ntpd.service loaded active running Network Time Service
rc-local.service loaded active exited /etc/rc.local Compatibilit
slim.service loaded active running SLiM Simple Login Manager
syslog-ng.service loaded active running System Logger Daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-...unt-fs.service loaded active exited Remount Root and Kernel Fi
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...-setup.service loaded active exited Recreate Volatile Files an
systemd-...rigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...ssions.service loaded active exited Permit User Sessions
systemd-...-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Storage Daemon
dbus.socket loaded active running D-Bus System Message Bus S
systemd-initctl.socket loaded active listening /dev/initctl Compatibility
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...control.socket loaded active listening udev Control Socket
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys...misc.automount loaded active waiting Arbitrary Executable File
sys-devi...ock-sdb.device loaded active plugged USB_Storage-CFC
sys-devi...ock-sdc.device loaded active plugged USB_Storage-SMC
sys-devi...ock-sdd.device loaded active plugged USB_Storage-MMC
sys-devi...ock-sde.device loaded active plugged USB_Storage-MSC
sys-devi...d-card0.device loaded active plugged CK804 AC'97 Audio Controll
sys-devi...da-sda1.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda2.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda5.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda6.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda7.device loaded active plugged Maxtor_6Y080L0
sys-devi...da-sda8.device loaded active plugged Maxtor_6Y080L0
sys-devi...ock-sda.device loaded active plugged Maxtor_6Y080L0
sys-devi...ock-sr0.device loaded active plugged HL-DT-ST_DVDRAM_GSA-H10N
sys-devi...et-eth0.device loaded active plugged CK804 Ethernet Controller
sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/seri
sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/seri
sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/seri
sys-devi...y-ttyS0.device loaded active plugged /sys/devices/pnp0/00:08/tt
sys-module-fuse.device loaded active plugged /sys/module/fuse
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File S
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted /tmp
systemd-...d-console.path loaded active waiting Dispatch Password Requests
systemd-...word-wall.path loaded active waiting Forward Password Requests
bluetooth.service loaded active running Bluetooth service
console-...daemon.service loaded active running Console Manager
console-...-start.service loaded active exited Console System Startup Log
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
netcfg.service loaded active exited Netcfg multi-profile daemo
ntpd.service loaded active running Network Time Service
rc-local.service loaded active exited /etc/rc.local Compatibilit
slim.service loaded active running SLiM Simple Login Manager
syslog-ng.service loaded active running System Logger Daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-...unt-fs.service loaded active exited Remount Root and Kernel Fi
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...-setup.service loaded active exited Recreate Volatile Files an
systemd-...rigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...ssions.service loaded active exited Permit User Sessions
systemd-...-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Storage Daemon
dbus.socket loaded active running D-Bus System Message Bus S
systemd-initctl.socket loaded active listening /dev/initctl Compatibility
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...control.socket loaded active listening udev Control Socket
systemd-...-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
syslog.target loaded active active Syslog
systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.
70 units listed. Pass --all to see inactive units, too.
[massimo@myhost ~]$
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#
DAEMONS=(syslog-ng dbus net-profiles crond ntpd bluetooth)
# Storage
#
# USEDMRAID="no"
# USELVM="no"
# Network
#
# interface=
# address=
# netmask=
# gateway=
systemd-analize blame[massimo@myhost ~]$ systemd-analyze blame
11635ms netcfg.service
2914ms systemd-logind.service
2601ms bluetooth.service
1188ms rc-local.service
1156ms console-kit-log-system-start.service
464ms systemd-remount-fs.service
415ms console-kit-daemon.service
413ms systemd-user-sessions.service
412ms sys-kernel-debug.mount
412ms udisks2.service
402ms systemd-udev-trigger.service
368ms dev-mqueue.mount
343ms systemd-udevd.service
306ms dev-hugepages.mount
297ms systemd-vconsole-setup.service
279ms systemd-tmpfiles-setup.service
230ms ntpd.service
27ms systemd-sysctl.service
4ms sys-fs-fuse-connections.mount
2ms tmp.mount
systemctl disable xxxxx.service systemctl enable eth0.device
systemctl enable dhcpcd@eth0.servicepacman -Ss systemdsystemctl list-unit-files[massimo@myhost ~]$ pacman -Ss systemd
core/initscripts 2012.08.2-1 (base) [installato]
System initialization/bootup scripts
core/libsystemd 188-2 [installato]
systemd client libraries
core/systemd 188-2 [installato]
system and service manager
core/systemd-sysvcompat 188-2
sysvinit compat for systemd
core/systemd-tools 188-2 [installato]
standalone tools from systemd
community/systemd-arch-units 20120704-2 [installato]
Arch specific Systemd unit files
massimo@myhost ~]$ systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-store.service static
arch-modules-load.service static
autovt@.service disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
bluetooth.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord-sane.service static
colord.service static
console-getty.service disabled
console-kit-daemon.service disabled
console-kit-log-system-restart.service static
console-kit-log-system-start.service static
console-kit-log-system-stop.service static
console-shell.service disabled
crond.service disabled
cronie.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd@.service disabled
dhcpd4.service disabled
dhcpd6.service disabled
display-manager.service enabled
emergency.service static
gdm.service disabled
getty@.service enabled
gpm.service disabled
irqbalance.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
krb5-kpropd@.service static
lvm-on-crypt.service disabled
lvm.service disabled
mdadm.service disabled
modem-manager.service disabled
net-auto-wired.service disabled
net-auto-wireless.service disabled
net-profiles.service disabled
netcfg.service enabled
netcfg@.service disabled
netfs.service masked
nscd.service disabled
ntpd.service disabled
openvpn@.service disabled
polkitd.service disabled
postgresql.service disabled
quotaon.service static
rc-local-shutdown.service static
rc-local.service static
rescue.service static
rsyncd.service disabled
rsyncd@.service static
saned@.service static
saslauthd.service disabled
serial-getty@.service static
slim.service enabled
svnserve.service disabled
syslog-ng.service disabled
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
systemd-fsck@.service static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service disabled
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp-shutdown.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks.service disabled
udisks2.service static
user@.service static
wicd.service disabled
wpa_supplicant-nl80211@.service disabled
wpa_supplicant-wired@.service disabled
wpa_supplicant.service disabled
wpa_supplicant@.service disabled
zram.service disabled
avahi-daemon.socket disabled
dbus.socket static
krb5-kpropd.socket disabled
rsyncd.socket disabled
saned.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target disabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
http-daemon.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
mail-transfer-agent.target static
multi-user.target disabled
network.target static
nss-lookup.target static
nss-user-lookup.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
runlevel0.target disabled
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-store.service static
arch-modules-load.service static
autovt@.service disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
bluetooth.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord-sane.service static
colord.service static
[massimo@myhost ~]$ systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-store.service static
arch-modules-load.service static
autovt@.service disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
bluetooth.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord-sane.service static
colord.service static
console-getty.service disabled
console-kit-daemon.service disabled
console-kit-log-system-restart.service static
console-kit-log-system-start.service static
console-kit-log-system-stop.service static
console-shell.service disabled
crond.service disabled
cronie.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd@.service disabled
dhcpd4.service disabled
dhcpd6.service disabled
display-manager.service enabled
emergency.service static
gdm.service disabled
getty@.service enabled
gpm.service disabled
irqbalance.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
krb5-kpropd@.service static
lvm-on-crypt.service disabled
lvm.service disabled
mdadm.service disabled
modem-manager.service disabled
net-auto-wired.service disabled
net-auto-wireless.service disabled
net-profiles.service disabled
netcfg.service enabled
netcfg@.service disabled
netfs.service masked
nscd.service disabled
ntpd.service disabled
openvpn@.service disabled
polkitd.service disabled
postgresql.service disabled
quotaon.service static
rc-local-shutdown.service static
rc-local.service static
rescue.service static
rsyncd.service disabled
rsyncd@.service static
saned@.service static
saslauthd.service disabled
serial-getty@.service static
slim.service enabled
svnserve.service disabled
syslog-ng.service disabled
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
systemd-fsck@.service static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service disabled
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp-shutdown.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks.service disabled
udisks2.service static
user@.service static
wicd.service disabled
wpa_supplicant-nl80211@.service disabled
wpa_supplicant-wired@.service disabled
wpa_supplicant.service disabled
wpa_supplicant@.service disabled
zram.service disabled
avahi-daemon.socket disabled
dbus.socket static
krb5-kpropd.socket disabled
rsyncd.socket disabled
saned.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target disabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
http-daemon.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
mail-transfer-agent.target static
multi-user.target disabled
network.target static
nss-lookup.target static
nss-user-lookup.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
runlevel0.target disabled
runlevel1.target disabled
runlevel2.target disabled
runlevel3.target disabled
runlevel4.target disabled
runlevel5.target disabled
runlevel6.target disabled
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
syslog.target static
system-update.target static
time-sync.target static
umount.target static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
183 unit files listed.
Maximo ha scritto:ho disinstallato systemd-sysvcompat....ora non funziona piu il mouse!
Installare systemd puro
Installare systemd da [core].
Il pacchetto systemd-arch-units contiene delle unità di systemd addizionali (servizi) che possono tornare utili.
Aggiungere init=/bin/systemd ai parametri del kernel nel bootloader, oppure installare systemd-sysvcompat per avere il collegamento ad esso.
Creare i files di configurazione di systemd.
Attivare i servizi con systemctl enable .... I servizi rimpiazzano i demoni di rc.conf.
Maximo ha scritto:PS trovato perche il mouse non funziona: Se avviao il pc con la chiavetta usb-wireless inserita il mouse non funziona, se avvio il pc senza la chiavetta inserita funziona tutto bene!
ambro ha scritto:
Può essere un problema di interrupt assegnati alle porte usb nel bios del pc?
systemctl --all | grep error
auditd.service error inactive dead auditd.service
plymouth...t-wait.service error inactive dead plymouth-quit-wait.service
plymouth-start.service error inactive dead plymouth-start.service
rc-local.service error inactive dead rc-local.service
umby213 ha scritto:@gabberluca, ti servono sul serio quei quattro servizi?
Visitano il forum: Nessuno e 1 ospite