logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 Débuter avec la ligne de commande » Instance Scaleway, contenu des volumes » 14-05-2019 20:05:03

kameleon1er
Réponses : 3
Bonjour à tous,

Je ne démarre pas tout à fait en ligne de commande, mais ma question doit bien être d'un bon gros niveau newbie. Je pense que je suis au bon endroit.

Voilà, on m'avait configuré un VPS Scleway et je vais peut-être changer. Du coup je regarde un peu la facturation et je me rend compte que j'ai 2 Volumes attachés à mon instance.

Je voudrais savoir ce qu'il y a dessus sur la seconde.

lsblk
NAME MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda  254:0    0 46.6G  0 disk /
vdb  254:16   0 46.6G  0 disk

Merci à vous.

#2 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 22:31:55

kameleon1er
Oui, effectivement, il y avait comme un problème. j'ai résolu : Retiré tous les vost (a2dissite) > revu le fichier host qui me semblait bizarre ; aucune ip dedans… > Purgé Phpmyadmin > réinstallé > relancé Apache > Ok > réactivation d'un premier Vhost > Ok > relancé ./certbot-auto --apache > recréé la version https *443 du vhost > ok et ainsi de suite.

Du coup, mon phpmyadmin est de nouveau accessible via domaine/phpmyadmin.

me reste des bricoles, comme https://www.ssllabs.com qui me renvoie sur certains domaines un beau Gros A bien vert,  mais le navigateur m'indique que le site n'est pas sécurisé.

Mais c'est une autre histoire :-)

Merci pour votre aide à tous ;-)

#3 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 17:35:26

kameleon1er

apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2019-05-12 17:54:38 CEST; 40min ago
  Process: 13976 ExecStop=/usr/sbin/apachectl stop (code=exited, status=1/FAILURE)
  Process: 8519 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=1/FAILURE)
  Process: 14801 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
 Main PID: 3420 (code=exited, status=0/SUCCESS)
 


bloc à supprimer si la commande n’affiche rien

#4 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 17:16:51

kameleon1er
@ jce76350, merci, ok. Je fouille encore un peu et je tenterai cette alternative ensuite.

Mais comme j'ai des erreurs Apache, me dis que tout ne tourne pas encore nickel.

Je dois avoir quelque chose de mal configuré entre mon host, mon domaine…

#5 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 16:40:23

kameleon1er
Ouep, y a un crouton dans le potage, et j'ai apache qui me renvoie toujours des erreurs, vais continuer à creuser :

sudo apachectl status

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/server-status
'
www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars

kameleon1er@srv-a:/etc/apache2/sites-available$ sudo apt install lynx
Reading package lists... Done
Building dependency tree      
Reading state information... Done
lynx is already the newest version (2.8.9dev11-1).
The following packages were automatically installed and are no longer required:
  libestr0 libfastjson4 liblogging-stdlog0 liblognorm5
Use '
sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
kameleon1er@srv-a:/etc/apache2/sites-available$ sudo apachectl status

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can'
t access startfile http://localhost/server-status
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
 


bloc à supprimer si la commande n’affiche rien

#6 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 16:25:57

kameleon1er
ca me renvoie toujours sur un autre de mes sites…

pour ip a :

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether de:19:58:0d:50:08 brd ff:ff:ff:ff:ff:ff
    inet 10.3.61.145/31 brd 10.255.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::dc19:58ff:fe0d:5008/64 scope link
       valid_lft forever preferred_lft forever
3: ip6_vti0@NONE: <NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1
    link/tunnel6 :: brd ::
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1
    link/tunnel6 :: brd ::
6: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN group default qlen 1
    link/gre6 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 brd 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00


bloc à supprimer si la commande n’affiche rien

#9 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 16:07:37

kameleon1er
ln: failed to create symbolic link '/var/www/phpmyadmin/phpmyadmin': File exists

j'avais déjà fait…
et ce n'est pas une machine locale, donc je vois pas comment je pourrais faire "http://localhost/phpmyadmin.

en revanche, dans mon fichier /etc/host :


127.0.1.1       srv-a.kameleon.fr srva
127.0.0.1       localhost


bloc à supprimer si la commande n’affiche rien



sauf que si je fait http://srv-a.kameleon.fr/phpmyadmin ça me renvoie vers un autre de mes sites.

#10 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 15:48:37

kameleon1er
escuse, j'avais pas vu que ça avait créé une nouvelle page de posts…

dans /var/www/

#11 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 15:11:51

kameleon1er
Mmm… tu me poses une colle ; dans mes vhosts mes documents root sont genre : DocumentRoot /var/www/site1

Mais en même temps j'ai un /var/www/html dans lequel j'ai :


drwxr-xr-x 3 www-data www-data  4096 Nov 12  2015 DB
-rw-r--r-- 1 www-data www-data     2 Oct 21  2016 index.html
-rwxr--r-- 1 root     root       100 May  5 21:39 phpinfo.php


bloc à supprimer si la commande n’affiche rien



appremment, bizarre tous ces droits différents aussi…

#13 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 14:42:22

kameleon1er
Boah… t'inkiète, c'était pô grand chose, quoi… une bonne nuit blanche ; 4 Terms ouverts dans une main, google de l'autre, les yeux brûlés par le café :-) Apprentissage quoi .

Pour les lien symbolique, j'ai fait :

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin.conf
sudo systemctl restart apache2


bloc à supprimer si la commande n’affiche rien



mais ça ne résoud pas le blème. Ce que je sais, mysql fonctionne, apache aussi, mes vhosts sont ok avec ssl, php est ok…

après j'ai trouvé ça aussi, je me demande si c'est une piste plausible :


groupadd -g 89 lirc &>/dev/null
useradd -u 89 -g 89 -d /var/lib/lirc -s /bin/false lirc &>/dev/null


bloc à supprimer si la commande n’affiche rien

#14 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 12-05-2019 12:42:31

kameleon1er
Bonjour à tous,

Finalement, après pas mal de lutte, j'ai réussi à faire fonctionner mon serveur après l'upgrade Jessie vers Stretch, des paquets s'étaient soit mal installés, soit j'avais coché "Yes" en choix durant les étapes d'installation. Mes sites sont de nouveau accessibles.

Mais il me reste quelques problèmes, par exemple je n'arrive pas à accéder à /phpmyadmin ; "notfound".

J'ai tenté de voir ce qu'il se passe en faisant un

sudo systemclt --failded :

  UNIT                               LOAD   ACTIVE SUB    DESCRIPTION                          
● systemd-journald.service           loaded failed failed Journal Service                      
● systemd-tmpfiles-clean.service     loaded failed failed Cleanup of Temporary Directories    
● systemd-tmpfiles-setup-dev.service loaded failed failed Create Static Device Nodes in /dev  
● systemd-tmpfiles-setup.service     loaded failed failed Create Volatile Files and Directories
● systemd-journald-audit.socket      loaded failed failed Journal Audit Socket                
● systemd-journald-dev-log.socket    loaded failed failed Journal Socket (/dev/log)            
● systemd-journald.socket            loaded failed failed Journal Socket      


bloc à supprimer si la commande n’affiche rien



mais je ne sais pas par où me diriger pour tenter de réparer les problèmes.

Merci pour le coup de main si jamais…

#15 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 23:03:34

kameleon1er
All packages are up to date.

sinon je vois du rouge pour ces points : il y en a plusieurs…

[   18.967783] systemd-journald[2375]: Failed to open runtime journal: Invalid argument
[    1.564505] Failed to find cpu0 device node
[   13.745272] EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities
[   13.747696] EXT4-fs (vda): couldn't mount as ext2 due to feature incompatibilities
[   19.031447] systemd[1]: Failed to start Journal Service.
[   19.047452] systemd[1]: Failed to start Journal Service.

#16 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 22:54:22

kameleon1er
J'ai reinstall apache2, il redémarre [OK] mais pas plus loin… les sites ne répondent toujours pas…

J'ai ensuite suivi tes commandes :

journalctl -k
-- No entries --


bloc à supprimer si la commande n’affiche rien



ensuite :

dmesg
[    0.634752] ... bit width:              40
[    0.635861] ... generic registers:      2
[    0.636946] ... value mask:             000000ffffffffff
[    0.638339] ... max period:             000000007fffffff
[    0.639705] ... fixed-purpose events:   3
[    0.640773] ... event mask:             0000000700000003
[    0.643217] x86: Booting SMP configuration:
[    0.644313] .... node  #0, CPUs:      #1
[    0.645574] kvm-clock: cpu 1, msr 1:3fffb041, secondary cpu clock
[    0.667535] KVM setup async PF for cpu 1
[    0.668065]  #2
[    0.668066] kvm-clock: cpu 2, msr 1:3fffb081, secondary cpu clock
[    0.670622] kvm-stealtime: cpu 1, msr 13fc8c7c0
[    0.688484] KVM setup async PF for cpu 2
[    0.689107]  #3
[    0.689107] kvm-clock: cpu 3, msr 1:3fffb0c1, secondary cpu clock
[    0.695278] kvm-stealtime: cpu 2, msr 13fd0c7c0
[    0.712925] x86: Booted up 1 node, 4 CPUs
[    0.712930] KVM setup async PF for cpu 3
[    0.712938] kvm-stealtime: cpu 3, msr 13fd8c7c0
[    0.715785] smpboot: Total of 4 processors activated (19151.21 BogoMIPS)
[    0.719074] devtmpfs: initialized
[    0.720721] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.723653] NET: Registered protocol family 16
[    0.753074] cpuidle: using governor ladder
[    0.754210] ACPI: bus type PCI registered
[    0.755465] PCI: Using configuration type 1 for base access
[    0.783692] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.786346] ACPI: Added _OSI(Module Device)
[    0.787331] ACPI: Added _OSI(Processor Device)
[    0.788415] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.789534] ACPI: Added _OSI(Processor Aggregator Device)
[    0.793323] ACPI: Interpreter enabled
[    0.794250] ACPI: (supports S0 S3 S5)
[    0.795090] ACPI: Using IOAPIC for interrupt routing
[    0.796282] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.806719] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.808162] acpi PNP0A03:00: _OSC: OS supports [Segments MSI]
[    0.809487] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.811199] PCI host bridge to bus 0000:00
[    0.812137] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.813724] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.815242] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.816927] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    0.818637] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.819959] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.820862] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    0.821982] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    0.829992] pci 0000:00:01.1: reg 0x20: [io  0xc0a0-0xc0af]
[    0.834709] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.836350] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.837980] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.839580] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.841551] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    0.842342] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    0.844237] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    0.846491] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000
[    0.849504] pci 0000:00:02.0: reg 0x10: [io  0xc080-0xc09f]
[    0.852371] pci 0000:00:02.0: reg 0x14: [mem 0xfebc0000-0xfebc0fff]
[    0.869995] pci 0000:00:02.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    0.870815] pci 0000:00:03.0: [1af4:1001] type 00 class 0x010000
[    0.873801] pci 0000:00:03.0: reg 0x10: [io  0xc000-0xc03f]
[    0.876781] pci 0000:00:03.0: reg 0x14: [mem 0xfebc1000-0xfebc1fff]
[    0.895531] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000
[    0.898742] pci 0000:00:04.0: reg 0x10: [io  0xc040-0xc07f]
[    0.901821] pci 0000:00:04.0: reg 0x14: [mem 0xfebc2000-0xfebc2fff]
[    0.920630] pci_bus 0000:00: on NUMA node 0
[    0.921571] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.923209] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.925032] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.927148] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.928660] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    0.931012] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.932578] vgaarb: loaded
[    0.933485] SCSI subsystem initialized
[    0.934629] libata version 3.00 loaded.
[    0.934728] ACPI: bus type USB registered
[    0.935706] usbcore: registered new interface driver usbfs
[    0.937005] usbcore: registered new interface driver hub
[    0.938306] usbcore: registered new device driver usb
[    0.939578] pps_core: LinuxPPS API ver. 1 registered
[    0.940693] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.942763] PTP clock support registered
[    0.943732] PCI: Using ACPI for IRQ routing
[    0.944677] PCI: pci_cache_line_size set to 64 bytes
[    0.944938] e820: reserve RAM buffer [mem 0x0009f800-0x0009ffff]
[    0.944944] e820: reserve RAM buffer [mem 0xbffdf000-0xbfffffff]
[    0.968873] clocksource: Switched to clocksource kvm-clock
[    0.974687] VFS: Disk quotas dquot_6.6.0
[    0.975671] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.977417] pnp: PnP ACPI init
[    0.978258] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.978357] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[    0.978455] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[    0.978514] pnp 00:03: [dma 2]
[    0.978573] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[    0.978758] pnp 00:04: Plug and Play ACPI device, IDs PNP0501 (active)
[    0.979253] pnp: PnP ACPI: found 5 devices
[    0.993237] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.995297] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.995301] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.995305] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.995308] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window]
[    0.995672] NET: Registered protocol family 2
[    0.997133] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    0.999189] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    1.002217] TCP: Hash tables configured (established 32768 bind 32768)
[    1.003843] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    1.005338] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    1.007122] NET: Registered protocol family 1
[    1.008141] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.009541] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.010865] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    1.012382] PCI: CLS 0 bytes, default 64
[    1.012505] Unpacking initramfs...
[    1.156557] ------------[ cut here ]------------
[    1.157712] WARNING: CPU: 3 PID: 1 at arch/x86/mm/init.c:656 free_init_pages+0x8f/0xa0()
[    1.159533] Modules linked in:
[    1.160262] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.5.7-std-3 #1
[    1.161739] Hardware name: Scaleway Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[    1.163938]  0000000000000000 ffff88013b0abdf0 ffffffff8125c9de 0000000000000000
[    1.165759]  ffffffff819346c1 ffff88013b0abe28 ffffffff8104ec88 ffff880000000000
[    1.167567]  ffff880080000000 ffff88007fab1000 ffff880080000000 ffffffff819346e2
[    1.169385] Call Trace:
[    1.169958]  [<ffffffff8125c9de>] dump_stack+0x63/0x85
[    1.171152]  [<ffffffff8104ec88>] warn_slowpath_common+0x78/0xb0
[    1.172534]  [<ffffffff8104ed75>] warn_slowpath_null+0x15/0x20
[    1.173860]  [<ffffffff81040c6f>] free_init_pages+0x8f/0xa0
[    1.175137]  [<ffffffff81aa6155>] ? maybe_link.part.2+0x109/0x109
[    1.176569]  [<ffffffff81ab7722>] free_initrd_mem+0x21/0x23
[    1.177851]  [<ffffffff81aa623d>] populate_rootfs+0xe8/0x108
[    1.179137]  [<ffffffff810003b1>] do_one_initcall+0x81/0x1b0
[    1.180424]  [<ffffffff81aa4fff>] kernel_init_freeable+0x158/0x1de
[    1.181817]  [<ffffffff8164a050>] ? rest_init+0x80/0x80
[    1.183007]  [<ffffffff8164a059>] kernel_init+0x9/0xe0
[    1.184162]  [<ffffffff8164f0cf>] ret_from_fork+0x3f/0x70
[    1.185409]  [<ffffffff8164a050>] ? rest_init+0x80/0x80
[    1.186628] ---[ end trace e282c464b70df9cd ]---
[    1.189565] Freeing initrd memory: 5436K (ffff88007fab1000 - ffff880080000000)
[    1.191348] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.192839] software IO TLB [mem 0xbbfdf000-0xbffdf000] (64MB) mapped at [ffff8800bbfdf000-ffff8800bffdefff]
[    1.259354] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    1.261102] audit: initializing netlink subsys (disabled)
[    1.262553] audit: type=2000 audit(1557178370.895:1): initialized
[    1.264189] Initialise system trusted keyring
[    1.270366] Key type asymmetric registered
[    1.271391] Asymmetric key parser 'x509' registered
[    1.272637] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.274578] io scheduler noop registered
[    1.275468] io scheduler deadline registered (default)
[    1.276700] io scheduler cfq registered
[    1.277891] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.279587] ACPI: Power Button [PWRF]
[    1.338211] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
[    1.339592] virtio-pci 0000:00:02.0: virtio_pci: leaving for legacy driver
[    1.398687] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
[    1.400103] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
[    1.458881] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[    1.460312] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
[    1.530995] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.561522] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.564505] Failed to find cpu0 device node
[    1.565486] Unable to detect cache hierarchy from DT for CPU 0
[    1.569460] nbd: registered device at major 43
[    1.581406] zram: Added device: zram0
[    1.583150] libphy: Fixed MDIO Bus: probed
[    1.584116] tun: Universal TUN/TAP device driver, 1.6
[    1.585442] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.589253] CAN device driver interface
[    1.590154] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.591801] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.593231] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.594545] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.595994] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
[    1.597776] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.599134] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.0.2-k
[    1.600935] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.602399] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 4.2.1-k
[    1.604178] ixgbe: Copyright (c) 1999-2015 Intel Corporation.
[    1.605856] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver - version 2.12.1-k
[    1.607944] ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
[    1.609563] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 1.4.8-k
[    1.611337] i40e: Copyright (c) 2013 - 2014 Intel Corporation.
[    1.612714] ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
[    1.614383] ixgb: Copyright (c) 1999-2008 Intel Corporation.
[    1.615744] i40evf: Intel(R) XL710/X710 Virtual Function Network Driver - version 1.4.4-k
[    1.617615] Copyright (c) 2013 - 2015 Intel Corporation.
[    1.618895] Intel(R) Ethernet Switch Host Interface Driver - version 0.19.3-k
[    1.620568] Copyright (c) 2013 Intel Corporation.
[    1.622000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.623466] ehci-pci: EHCI PCI platform driver
[    1.624585] usbcore: registered new interface driver usb-storage
[    1.626064] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    1.629318] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.630437] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.632064] mousedev: PS/2 mouse device common for all mice
[    1.633949] usbcore: registered new interface driver usbhid
[    1.635209] usbhid: USB HID core driver
[    1.636173] Netfilter messages via NETLINK v0.30.
[    1.637251] nfnl_acct: registering with nfnetlink.
[    1.638355] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.639936] ip_set: protocol 6
[    1.640641] IPVS: Registered protocols (TCP)
[    1.641763] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[    1.643564] IPVS: Creating netns size=1680 id=0
[    1.644602] IPVS: ipvs loaded.
[    1.645449] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.647113] NET: Registered protocol family 10
[    1.648754] mip6: Mobile IPv6
[    1.649510] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.651101] sit: IPv6 over IPv4 tunneling driver
[    1.652747] ip6_gre: GRE over IPv6 tunneling driver
[    1.654321] NET: Registered protocol family 17
[    1.655350] NET: Registered protocol family 15
[    1.656364] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.659188] Ebtables v2.0 registered
[    1.659997] can: controller area network core (rev 20120528 abi 9)
[    1.661508] NET: Registered protocol family 29
[    1.662531] can: raw protocol (rev 20120528)
[    1.663514] can: broadcast manager protocol (rev 20120528 t)
[    1.664810] can: netlink gateway (rev 20130117) max_hops=1
[    1.666113] 8021q: 802.1Q VLAN Support v1.8
[    1.668348] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    1.670737] registered taskstats version 1
[    1.671728] Loading compiled-in X.509 certificates
[    1.673875] hctosys: unable to open rtc device (rtc0)
[    1.675357] 8021q: adding VLAN 0 to HW filter on device eth0
[    1.691258] Sending DHCP and RARP requests .,
[    2.271244] tsc: Refined TSC clocksource calibration: 2393.953 MHz
[    2.272752] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2281e716c37, max_idle_ns: 440795207219 ns
[    2.284185] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[    2.591274]  OK
[    2.651182] IP-Config: Got DHCP answer from 10.3.61.144, my address is 10.3.61.145
[    2.653221] IP-Config: Complete:
[    2.653980]      device=eth0, hwaddr=de:19:58:0d:50:08, ipaddr=10.3.61.145, mask=255.255.255.254, gw=10.3.61.144
[    2.656259]      host=vm-10-3-61-145, domain=cloud.online.net, nis-domain=(none)
[    2.657911]      bootserver=10.1.94.4, rootserver=10.1.94.4, rootpath=, mtu=1500     nameserver0=10.1.94.8, nameserver1=10.1.94.9
[    2.662958] Freeing unused kernel memory: 876K (ffffffff81a8e000 - ffffffff81b69000)
[    2.664772] Write protecting the kernel read-only data: 10240k
[    2.667259] Freeing unused kernel memory: 1708K (ffff880001655000 - ffff880001800000)
[    2.669613] Freeing unused kernel memory: 48K (ffff8800019f4000 - ffff880001a00000)
[   13.745272] EXT4-fs (vda): couldn't mount as ext3 due to feature incompatibilities
[   13.747696] EXT4-fs (vda): couldn'
t mount as ext2 due to feature incompatibilities
[   13.755429] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[   16.523744] random: mktemp urandom read with 42 bits of entropy available
[   18.347562] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[   18.351775] systemd[1]: Detected virtualization kvm.
[   18.352901] systemd[1]: Detected architecture x86-64.
[   18.356342] systemd[1]: Set hostname to <srv-a.kameleon.fr>.
[   18.358858] systemd[1]: Initializing machine ID from D-Bus machine ID.
[   18.530323] systemd[1]: Reached target Remote File Systems.
[   18.533847] systemd[1]: Listening on Journal Audit Socket.
[   18.537177] systemd[1]: Created slice System Slice.
[   18.571433] systemd[1]: Mounting POSIX Message Queue File System...
[   18.577988] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   18.582541] systemd[1]: Reached target Swap.
[   18.586186] systemd[1]: Created slice system-postfix.slice.
[   18.589991] systemd[1]: Listening on Journal Socket.
[   18.594749] systemd[1]: Starting SCW kernel requirements checker...
[   18.601945] systemd[1]: Starting Load Kernel Modules...
[   18.605540] systemd[1]: Listening on Syslog Socket.
[   18.609298] systemd[1]: Listening on udev Control Socket.
[   18.613742] systemd[1]: Created slice system-getty.slice.
[   18.622242] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   18.626444] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   18.632705] systemd[1]: Starting Remount Root and Kernel File Systems...
[   18.638263] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[   18.643072] systemd[1]: Created slice User and Session Slice.
[   18.650142] systemd[1]: Reached target Slices.
[   18.654289] systemd[1]: Mounting Debug File System...
[   18.657440] systemd[1]: Listening on udev Kernel Socket.
[   18.661796] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   18.666928] systemd[1]: Listening on Journal Socket (/dev/log).
[   18.671579] systemd[1]: Starting Journal Service...
[   18.675945] systemd[1]: Mounting Huge Pages File System...
[   18.679859] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   18.683767] systemd-journald[2167]: Failed to open runtime journal: Invalid argument
[   18.684029] systemd[1]: Reached target Encrypted Volumes.
[   18.688788] systemd[1]: Reached target Paths.
[   18.694483] systemd[1]: Mounted POSIX Message Queue File System.
[   18.697807] systemd[1]: Mounted Huge Pages File System.
[   18.700588] systemd[1]: Mounted Debug File System.
[   18.704475] systemd[1]: Started SCW kernel requirements checker.
[   18.708377] systemd[1]: Started Load Kernel Modules.
[   18.711711] systemd[1]: Started Remount Root and Kernel File Systems.
[   18.715576] systemd[1]: Started Create list of required static device nodes for the current kernel.
[   18.720127] systemd[1]: systemd-journald.service: Main process exited, code=exited, status=1/FAILURE
[   18.723147] systemd[1]: Failed to start Journal Service.
[   18.727710] systemd[1]: Dependency failed for Flush Journal to Persistent Storage.
[   18.731544] systemd[1]: systemd-journal-flush.service: Job systemd-journal-flush.service/start failed with result 'dependency'.
[   18.734274] systemd[1]: systemd-journald.service: Unit entered failed state.
[   18.736002] systemd[1]: systemd-journald.service: Failed with result 'exit-code'.
[   18.743284] systemd[1]: systemd-journald.service: Service has no hold-off time, scheduling restart.
[   18.745519] systemd[1]: Stopped Journal Service.
[   18.801625] systemd[1]: Starting Journal Service...
[   18.806614] systemd[1]: Starting Create Static Device Nodes in /dev...
[   18.811586] systemd-journald[2179]: Failed to open runtime journal: Invalid argument
[   18.812561] systemd[1]: Starting Load/Save Random Seed...
[   18.819271] systemd[1]: Starting udev Coldplug all Devices...
[   18.824318] systemd[1]: Starting Apply Kernel Variables...
[   18.830725] systemd[1]: systemd-journald.service: Main process exited, code=exited, status=1/FAILURE
[   18.833722] systemd[1]: Failed to start Journal Service.
[   18.843272] systemd[1]: systemd-journald.service: Unit entered failed state.
[   18.844971] systemd[1]: systemd-journald.service: Failed with result 'exit-code'.
[   18.847097] systemd[1]: systemd-tmpfiles-setup-dev.service: Main process exited, code=exited, status=1/FAILURE
[   18.849920] systemd[1]: Failed to start Create Static Device Nodes in /dev.
[   18.855441] systemd[1]: systemd-tmpfiles-setup-dev.service: Unit entered failed state.
[   18.857388] systemd[1]: systemd-tmpfiles-setup-dev.service: Failed with result 'exit-code'.
[   18.859739] systemd[1]: Started Load/Save Random Seed.
[   18.864357] systemd[1]: Started Apply Kernel Variables.
[   18.872616] systemd[1]: systemd-journald.service: Service has no hold-off time, scheduling restart.
[   18.875220] systemd[1]: Stopped Journal Service.
[   18.879547] systemd[1]: Starting Journal Service...
[   18.882855] systemd[1]: Reached target Local File Systems (Pre).
[   18.886090] systemd[1]: Reached target Local File Systems.
[   18.890327] systemd-journald[2357]: Failed to open runtime journal: Invalid argument
[   18.890940] systemd[1]: Starting Create Volatile Files and Directories...
[   18.899339] systemd[1]: Starting Raise network interfaces...
[   18.906326] systemd[1]: Starting udev Kernel Device Manager...
[   18.912359] systemd[1]: systemd-journald.service: Main process exited, code=exited, status=1/FAILURE
[   18.916546] systemd[1]: Failed to start Journal Service.
[   18.927276] systemd[1]: systemd-journald.service: Unit entered failed state.
[   18.929079] systemd[1]: systemd-journald.service: Failed with result 'exit-code'.
[   18.931048] systemd[1]: systemd-tmpfiles-setup.service: Main process exited, code=exited, status=1/FAILURE
[   18.934152] systemd[1]: Failed to start Create Volatile Files and Directories.
[   18.940367] systemd[1]: systemd-tmpfiles-setup.service: Unit entered failed state.
[   18.942547] systemd[1]: systemd-tmpfiles-setup.service: Failed with result 'exit-code'.
[   18.946728] systemd[1]: systemd-journald.service: Service has no hold-off time, scheduling restart.
[   18.949267] systemd[1]: Stopped Journal Service.
[   18.954025] systemd[1]: Starting Journal Service...
[   18.957186] systemd[1]: Reached target System Time Synchronized.
[   18.962257] systemd[1]: Starting Update UTMP about System Boot/Shutdown...
[   18.966576] systemd[1]: Started udev Kernel Device Manager.
[   18.967783] systemd-journald[2375]: Failed to open runtime journal: Invalid argument
[   18.974469] systemd[1]: systemd-journald.service: Main process exited, code=exited, status=1/FAILURE
[   18.978022] systemd[1]: Failed to start Journal Service.
[   18.984616] systemd[1]: systemd-journald.service: Unit entered failed state.
[   18.986732] systemd[1]: systemd-journald.service: Failed with result 'exit-code'.
[   18.991495] systemd[1]: systemd-journald.service: Service has no hold-off time, scheduling restart.
[   18.996655] systemd[1]: Stopped Journal Service.
[   19.002367] systemd[1]: Starting Journal Service...
[   19.013532] systemd[1]: Started Update UTMP about System Boot/Shutdown.
[   19.025383] systemd-journald[2396]: Failed to open runtime journal: Invalid argument
[   19.028359] systemd[1]: systemd-journald.service: Main process exited, code=exited, status=1/FAILURE
[   19.031447] systemd[1]: Failed to start Journal Service.
[   19.036227] systemd[1]: systemd-journald.service: Unit entered failed state.
[   19.037949] systemd[1]: systemd-journald.service: Failed with result 'exit-code'.
[   19.040355] systemd[1]: systemd-journald.service: Service has no hold-off time, scheduling restart.
[   19.042805] systemd[1]: Stopped Journal Service.
[   19.045619] systemd[1]: systemd-journald.service: Start request repeated too quickly.
[   19.047452] systemd[1]: Failed to start Journal Service.
[   19.053655] systemd[1]: systemd-journald-audit.socket: Unit entered failed state.
[   19.056083] systemd[1]: systemd-journald.socket: Unit entered failed state.
[   19.057827] systemd[1]: systemd-journald-dev-log.socket: Unit entered failed state.
[   19.059723] systemd[1]: systemd-journald.service: Unit entered failed state.
[   19.061681] systemd[1]: systemd-journald.service: Failed with result 'exit-code'.
[   19.065469] systemd[1]: Started udev Coldplug all Devices.
[   19.071838] systemd[1]: Reached target System Initialization.
[   19.077466] systemd[1]: apt-daily.timer: Adding 8h 1min 26.880688s random time.
[   19.079292] systemd[1]: Started Daily apt download activities.
[   19.082722] systemd[1]: apt-daily-upgrade.timer: Adding 25min 7.133318s random time.
[   19.085552] systemd[1]: Started Daily apt upgrade and clean activities.
[   19.089626] systemd[1]: Started Daily Cleanup of Temporary Directories.
[   19.094663] systemd[1]: Listening on UUID daemon activation socket.
[   19.099062] systemd[1]: Listening on D-Bus System Message Bus Socket.
[   19.102751] systemd[1]: Reached target Sockets.
[   19.106888] systemd[1]: Reached target Basic System.
[   19.133801] SSE version of gcm_enc/dec engaged.
[   19.151867] systemd[1]: Starting System Logging Service...
[   19.175364] systemd[1]: Started Regular background program processing daemon.
[   19.201481] systemd[1]: Starting SCW fetch kernel modules from Scaleway mirror...
[   19.220345] systemd[1]: Starting SCW generate ssh keys on first boot...
[   19.226405] systemd[1]: Starting Login Service...
[   19.242219] systemd[1]: Starting SCW fetch ssh keys from metadata...
[   19.256672] systemd[1]: Started D-Bus System Message Bus.
[   19.351417] systemd[1]: Starting LSB: Start/stop sysstat's sadc...
[   19.358266] systemd[1]: Started Clean PHP session files every 30 mins.
[   19.362073] systemd[1]: Reached target Timers.
[   19.366634] systemd[1]: Started System Logging Service.
[   19.391480] systemd[1]: Found device /dev/ttyS0.
[   19.431779] systemd[1]: Started SCW fetch ssh keys from metadata.
[   19.437928] systemd[1]: Started LSB: Start/stop sysstat'
s sadc.
[   19.582660] systemd[1]: Started SCW fetch kernel modules from Scaleway mirror.
[   19.739784] systemd-logind[3232]: Watching system buttons on /dev/input/event0 (Power Button)
[   19.743051] systemd-logind[3232]: New seat seat0.
[   19.801796] systemd[1]: Starting SCW generate machine id...
[   19.808022] systemd[1]: Started SCW generate machine id.
[   19.812591] systemd[1]: Started Login Service.
[   19.886248] systemd[1]: Started SCW generate ssh keys on first boot.
[   20.888274] systemd[1]: Started Raise network interfaces.
[   20.892869] systemd[1]: Reached target Network.
[   20.931444] systemd[1]: Starting MariaDB 10.1.38 database server...
[   20.935071] systemd[1]: Reached target Network is Online.
[   20.940192] systemd[1]: Starting LSB: Starts ProFTPD daemon...
[   20.945597] systemd[1]: Starting /etc/rc.local Compatibility...
[   20.955229] systemd[1]: Starting LSB: Start NTP daemon...
[   20.967438] systemd[1]: Starting Postfix Mail Transport Agent (instance -)...
[   20.973014] systemd[1]: Starting Permit User Sessions...
[   20.979646] systemd[1]: Starting The Apache HTTP Server...
[   20.983040] systemd[1]: Started Unattended Upgrades Shutdown.
[   20.990121] systemd[1]: Starting OpenBSD Secure Shell server...
[   20.996007] systemd[1]: Starting Fail2Ban Service...
[   21.012442] systemd[1]: Started /etc/rc.local Compatibility.
[   21.017808] systemd[1]: Started Permit User Sessions.
[   21.049125] systemd[1]: Started Serial Getty on ttyS0.
[   21.055193] systemd[1]: Started Getty on tty1.
[   21.059724] systemd[1]: Reached target Login Prompts.
[   21.066417] systemd[1]: Started OpenBSD Secure Shell server.
[   21.156503] systemd[1]: Started The Apache HTTP Server.
[   21.255711] systemd[1]: Started LSB: Starts ProFTPD daemon.
[   21.919334] random: nonblocking pool is initialized
[   22.311355] systemd[1]: Started Postfix Mail Transport Agent (instance -).
[   22.372046] systemd[1]: Starting Postfix Mail Transport Agent...
[   22.377033] systemd[1]: Started Postfix Mail Transport Agent.
[   22.431978] systemd[1]: Started Fail2Ban Service.
[   23.851758] systemd[1]: Started MariaDB 10.1.38 database server.
[   29.109403] systemd[1]: Started LSB: Start NTP daemon.
[   29.111398] systemd[1]: Reached target Multi-User System.
[   29.161528] systemd[1]: Starting Update UTMP about System Runlevel Changes...
[   29.172081] systemd[1]: Started Update UTMP about System Runlevel Changes.
[   29.173951] systemd[1]: Startup finished in 17.705s (kernel) + 10.837s (userspace) = 28.542s.
[   85.389764] systemd[1]: Created slice User Slice of kameleon1er.
[   85.463427] systemd[1]: Starting User Manager for UID 1001...
[   85.469016] systemd[1]: Started Session 1 of user kameleon1er.
[   85.469354] systemd-logind[3232]: New session 1 of user kameleon1er.
[   85.577180] systemd[1]: Started User Manager for UID 1001.
[  244.520754] systemd[1]: Created slice User Slice of root.
[  244.576956] systemd[1]: Starting User Manager for UID 0...
[  244.585412] systemd-logind[3232]: New session 4 of user root.
[  244.585755] systemd[1]: Started Session 4 of user root.
[  244.681575] systemd[4084]: Listening on GnuPG cryptographic agent and passphrase cache.
[  244.683713] systemd[4084]: Listening on GnuPG network certificate management daemon.
[  244.685639] systemd[4084]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
[  244.687958] systemd[4084]: Reached target Timers.
[  244.689156] systemd[4084]: Listening on GnuPG cryptographic agent (access for web browsers).
[  244.691259] systemd[4084]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
[  244.693255] systemd[4084]: Reached target Sockets.
[  244.694433] systemd[4084]: Reached target Paths.
[  244.695540] systemd[4084]: Reached target Basic System.
[  244.696864] systemd[4084]: Reached target Default.
[  244.698019] systemd[4084]: Startup finished in 99ms.
[  244.699558] systemd[1]: Started User Manager for UID 0.
[  373.099696] systemd[1]: Starting Clean php session files...
[  373.490555] systemd[1]: Started Clean php session files.
[  419.537879] systemd[1]: Stopping MariaDB 10.1.38 database server...
[  421.581320] systemd[1]: Stopped MariaDB 10.1.38 database server.
[  439.871096] systemd[1]: Starting MariaDB 10.1.38 database server...
[  442.271380] systemd[1]: Started MariaDB 10.1.38 database server.

 


bloc à supprimer si la commande n’affiche rien



- puis :

systemctl status systemd-journald*
● systemd-journald-audit.socket - Journal Audit Socket
   Loaded: loaded (/lib/systemd/system/systemd-journald-audit.socket; static; vendor preset: enabled)
   Active: failed (Result: service-start-limit-hit) since Mon 2019-05-06 23:33:09 CEST; 19min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
   Listen: audit 1 (Netlink)

● systemd-journald-dev-log.socket - Journal Socket (/dev/log)
   Loaded: loaded (/lib/systemd/system/systemd-journald-dev-log.socket; static; vendor preset: enabled)
   Active: failed (Result: service-start-limit-hit) since Mon 2019-05-06 23:33:09 CEST; 19min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
   Listen: /run/systemd/journal/dev-log (Datagram)

● systemd-journald.service - Journal Service
   Loaded: loaded (/lib/systemd/system/systemd-journald.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-05-06 23:33:09 CEST; 19min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
  Process: 2396 ExecStart=/lib/systemd/systemd-journald (code=exited, status=1/FAILURE)
 Main PID: 2396 (code=exited, status=1/FAILURE)

● systemd-journald.socket - Journal Socket
   Loaded: loaded (/lib/systemd/system/systemd-journald.socket; static; vendor preset: enabled)
   Active: failed (Result: service-start-limit-hit) since Mon 2019-05-06 23:33:09 CEST; 19min ago
     Docs: man:systemd-journald.service(8)
           man:journald.conf(5)
   Listen: /run/systemd/journal/stdout (Stream)
           /run/systemd/journal/socket (Datagram)


bloc à supprimer si la commande n’affiche rien



- et enfin :

du -sh /var/log/
du: cannot read directory '/var/log/letsencrypt': Permission denied
du: cannot read directory '/var/log/mysql': Permission denied
du: cannot read directory '/var/log/unattended-upgrades': Permission denied
du: cannot read directory '/var/log/apache2': Permission denied
115M  /var/log/
 


bloc à supprimer si la commande n’affiche rien

#17 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 22:05:25

kameleon1er
le seul qui renvoie quelque chose :

ls -lah /var/log/
total 115M
drwxr-xr-x 12 root  root 4.0K May  6 19:55 .
drwxr-xr-x 13 root  root 4.0K Apr  8 00:37 ..
-rw-r--r--  1 root  root 5.5K May  6 15:49 alternatives.log
-rw-r--r--  1 root  root 7.7K May  6 02:07 alternatives.log.1
-rw-r--r--  1 root  root  173 Jan 20  2017 alternatives.log.10.gz
-rw-r--r--  1 root  root  169 Dec 17  2016 alternatives.log.11.gz
-rw-r--r--  1 root  root  374 Nov 23  2016 alternatives.log.12.gz
-rw-r--r--  1 root  root  364 Apr 19 16:26 alternatives.log.2.gz
-rw-r--r--  1 root  root  174 Jul 19  2018 alternatives.log.3.gz
-rw-r--r--  1 root  root 1.1K Jul  1  2018 alternatives.log.4.gz
-rw-r--r--  1 root  root  208 Jun 28  2018 alternatives.log.5.gz
-rw-r--r--  1 root  root  439 Feb  5  2018 alternatives.log.6.gz
-rw-r--r--  1 root  root  131 Jun  6  2017 alternatives.log.7.gz
-rw-r--r--  1 root  root  286 Mar 31  2017 alternatives.log.8.gz
-rw-r--r--  1 root  root  387 Feb 14  2017 alternatives.log.9.gz
drwxr-x---  2 root  adm   20K May  6 21:27 apache2
drwxr-xr-x  2 root  root 4.0K May  6 06:37 apt
-rw-r-----  1 root  adm  2.2M May  6 16:25 auth.log
-rw-r-----  1 root  adm   32M May  6 06:37 auth.log.1
-rw-r-----  1 root  adm  1.5M Apr 28 06:30 auth.log.2.gz
-rw-r-----  1 root  adm  1.6M Apr 22 06:38 auth.log.3.gz
-rw-r-----  1 root  adm  730K Apr 14 06:44 auth.log.4.gz
-rw-r-----  1 root  adm    31 Apr  6  2016 boot
-rw-------  1 root  utmp  14M May  6 23:03 btmp
-rw-------  1 root  utmp  59M May  1 06:32 btmp.1
-rw-r-----  1 root  adm   45K May  6 16:25 daemon.log
-rw-r-----  1 root  adm  180K May  6 06:37 daemon.log.1
-rw-r-----  1 root  adm  5.4K Apr 28 06:30 daemon.log.2.gz
-rw-r-----  1 root  adm   19K Apr 22 06:38 daemon.log.3.gz
-rw-r-----  1 root  adm  6.3K Apr 14 06:44 daemon.log.4.gz
drwxr-xr-x  2 root  root 4.0K Oct 18  2016 dbconfig-common
-rw-r-----  1 root  adm  4.4K May  6 16:25 debug
-rw-r-----  1 root  adm  6.1K May  6 03:13 debug.1
-rw-r-----  1 root  adm  1.4K Apr 19 16:26 debug.2.gz
-rw-r-----  1 root  adm  3.1K Apr  2 13:00 debug.3.gz
-rw-r-----  1 root  adm  1.3K Oct 15  2018 debug.4.gz
-rw-r-----  1 root  adm    31 Dec  3  2015 dmesg
-rw-r--r--  1 root  root 245K May  6 15:52 dpkg.log
-rw-r--r--  1 root  root 305K May  6 02:08 dpkg.log.1
-rw-r--r--  1 root  root 1.5K May 31  2017 dpkg.log.10.gz
-rw-r--r--  1 root  root  946 Apr 29  2017 dpkg.log.11.gz
-rw-r--r--  1 root  root 3.2K Mar 31  2017 dpkg.log.12.gz
-rw-r--r--  1 root  root  11K Apr 19 16:27 dpkg.log.2.gz
-rw-r--r--  1 root  root  214 Feb 17 16:13 dpkg.log.3.gz
-rw-r--r--  1 root  root 3.2K Jul 19  2018 dpkg.log.4.gz
-rw-r--r--  1 root  root  16K Jul  1  2018 dpkg.log.5.gz
-rw-r--r--  1 root  root 4.6K Jun 28  2018 dpkg.log.6.gz
-rw-r--r--  1 root  root  942 Feb 18  2018 dpkg.log.7.gz
-rw-r--r--  1 root  root 8.8K Feb  5  2018 dpkg.log.8.gz
-rw-r--r--  1 root  root  772 Jun 17  2017 dpkg.log.9.gz
-rw-r-----  1 root  adm   66K May  6 16:35 fail2ban.log
-rw-r-----  1 root  adm     0 Apr 28 06:30 fail2ban.log.1
-rw-r-----  1 root  adm    20 Apr 22 06:38 fail2ban.log.2.gz
-rw-r-----  1 root  adm    20 Apr 14 06:44 fail2ban.log.3.gz
-rw-r-----  1 root  adm    20 Apr  7 06:27 fail2ban.log.4.gz
-rw-r-----  1 root  adm   47K Apr  2 12:26 fail2ban.log.5.gz
-rw-r--r--  1 root  root  32K May  6 15:37 faillog
drwxr-xr-x  2 root  root 4.0K Apr  6  2016 fsck
-rw-r-----  1 root  adm   60K May  6 16:25 kern.log
-rw-r-----  1 root  adm   72K May  6 03:13 kern.log.1
-rw-r-----  1 root  adm   45K Apr  2 13:00 kern.log.2.gz
-rw-r-----  1 root  adm   100 Mar 23 18:20 kern.log.3.gz
-rw-r-----  1 root  adm  9.2K Oct 15  2018 kern.log.4.gz
-rw-rw-r--  1 root  utmp 286K May  6 22:52 lastlog
drwx------  2 root  root 4.0K May  6 19:55 letsencrypt
-rw-r-----  1 root  adm     0 Oct  7  2018 mail.err
-rw-r-----  1 root  adm  870K Oct  2  2018 mail.err.1
-rw-r-----  1 root  adm   546 Oct  1  2018 mail.err.2.gz
-rw-r-----  1 root  adm   221 Nov 23  2016 mail.err.3.gz
-rw-r-----  1 root  adm   31K May  6 22:56 mail.info
-rw-r-----  1 root  adm  533K May  6 06:33 mail.info.1
-rw-r-----  1 root  adm   51K Apr 28 06:29 mail.info.2.gz
-rw-r-----  1 root  adm  130K Apr 22 06:38 mail.info.3.gz
-rw-r-----  1 root  adm  105K Apr 14 06:43 mail.info.4.gz
-rw-r-----  1 root  adm   61K May  6 22:56 mail.log
-rw-r-----  1 root  adm  1.1M May  6 06:33 mail.log.1
-rw-r-----  1 root  adm   60K Apr 28 06:29 mail.log.2.gz
-rw-r-----  1 root  adm  154K Apr 22 06:38 mail.log.3.gz
-rw-r-----  1 root  adm  123K Apr 14 06:43 mail.log.4.gz
-rw-r-----  1 root  adm  2.0K May  6 22:52 mail.warn
-rw-r-----  1 root  adm   13K May  6 05:12 mail.warn.1
-rw-r-----  1 root  adm  5.7K Apr 28 06:29 mail.warn.2.gz
-rw-r-----  1 root  adm  1.7K Apr 22 06:38 mail.warn.3.gz
-rw-r-----  1 root  adm   586 Apr 14 03:29 mail.warn.4.gz
-rw-r-----  1 root  adm   27K May  6 16:25 messages
-rw-r-----  1 root  adm   38K May  6 06:37 messages.1
-rw-r-----  1 root  adm   585 Apr 28 06:30 messages.2.gz
-rw-r-----  1 root  adm   701 Apr 22 06:38 messages.3.gz
-rw-r-----  1 root  adm   650 Apr 14 06:44 messages.4.gz
drwxr-s---  2 mysql adm  4.0K May  6 06:37 mysql
-rw-r-----  1 mysql adm     0 Apr 19 16:19 mysql.err
-rw-r-----  1 mysql adm     0 Apr 19 16:19 mysql.log
drwxr-xr-x  2 ntp   ntp  4.0K Oct 28  2015 ntpstats
-rw-------  1 root  root  565 Jul  1  2018 php7.0-fpm.log
-rw-------  1 root  root  848 Jul  1  2018 php7.1-fpm.log
drwxr-xr-x  2 root  root 4.0K May  6 06:37 proftpd
-rw-r-----  1 root  adm  236K May  6 22:56 syslog
-rw-r-----  1 root  adm  289K May  6 06:37 syslog.1
-rw-r-----  1 root  adm  9.8K May  5 06:27 syslog.2.gz
-rw-r-----  1 root  adm   13K May  4 06:52 syslog.3.gz
-rw-r-----  1 root  adm   13K May  3 06:29 syslog.4.gz
-rw-r-----  1 root  adm   17K May  2 06:49 syslog.5.gz
-rw-r-----  1 root  adm   17K May  1 06:32 syslog.6.gz
-rw-r-----  1 root  adm   15K Apr 30 06:51 syslog.7.gz
drwxr-xr-x  2 root  root 4.0K Sep 27  2014 sysstat
drwxr-x---  2 root  adm  4.0K May  1 06:32 unattended-upgrades
-rw-r-----  1 root  adm     0 Feb 12 06:32 user.log
-rw-r-----  1 root  adm   409 Feb 11 21:52 user.log.1
-rw-r-----  1 root  adm   208 Oct  2  2018 user.log.2.gz
-rw-r-----  1 root  adm   268 Sep 30  2018 user.log.3.gz
-rw-r-----  1 root  adm   568 Sep 23  2018 user.log.4.gz
-rw-rw-r--  1 root  utmp  21K May  6 22:52 wtmp
-rw-rw-r--  1 root  utmp  47K Apr 23 12:33 wtmp.1


bloc à supprimer si la commande n’affiche rien

#18 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 21:26:31

kameleon1er
Salut Alain, aucune indelicatesse, tu m'as bien bien aidé et c'est kand même moi ki voulais passer à Stretxh ;-) . Malheureusement je suis en root mais :


journalctl
-- No entries --


bloc à supprimer si la commande n’affiche rien

#19 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 21:19:44

kameleon1er
oui, j'utilise letsencrypt avec certbot mais au début, ce n'était pas forcément le cas, la bête ayant évolué. Doc depuis l'upgrade > Stretch j'ai probablement choisi "installer la version "d'apache2 nouvelle" et non pas "conserver ma conf actuelle" et ça a peut-être foutu le dawa. Sûrement même à priori…

#20 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 21:12:01

kameleon1er

ls -lh /etc/letsencrypt/options-ssl-apache.conf
ls: cannot access '/etc/letsencrypt/options-ssl-apache.conf': No such file or directory

#21 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 21:10:38

kameleon1er
inquiétant un peu non ? :


journalctl
-- No entries --


bloc à supprimer si la commande n’affiche rien

#22 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 20:03:55

kameleon1er
Fichier apache2.conf actuel, après upgrade > stretch :

# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
# default Apache2 installation attempts to make adding and removing modules,
# virtual hosts, and extra configuration directives as flexible as possible, in
# order to make automating the changes and administering the server as easy as
# possible.

# It is split into several files forming the configuration hierarchy outlined
# below, all located in the /etc/apache2/ directory:
#
# /etc/apache2/
# |-- apache2.conf
# | `--  ports.conf
# |-- mods-enabled
# | |-- *.load
# | `-- *.conf
# |-- conf-enabled
# | `-- *.conf
#   `-- sites-enabled
#   `-- *.conf
#
#
# * apache2.conf is the main configuration file (this file). It puts the pieces
#   together by including all remaining configuration files when starting up the
#   web server.
#
# * ports.conf is always included from the main configuration file. It is
#   supposed to determine listening ports for incoming connections which can be
#   customized anytime.
#
# * Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/
#   directories contain particular configuration snippets which manage modules,
#   global configuration fragments, or virtual host configurations,
#   respectively.
#
#   They are activated by symlinking available configuration files from their
#   respective *-available/ counterparts. These should be managed by using our
#   helpers a2enmod/a2dismod, a2ensite/a2dissite and a2enconf/a2disconf. See
#   their respective man pages for detailed information.
#
# * The binary is called apache2. Due to the use of environment variables, in
#   the default configuration, apache2 needs to be started/stopped with
#   /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not
#   work with the default configuration.


# Global configuration
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the Mutex documentation (available
# at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
#ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#Mutex file:${APACHE_LOCK_DIR} default

#
# The directory where shm and other runtime files will be stored.
#

DefaultRuntimeDir ${APACHE_RUN_DIR}

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 5


# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog ${APACHE_LOG_DIR}/error.log

#
# LogLevel: Control the severity of messages logged to the error_log.
# Available values: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the log level for particular modules, e.g.
# "LogLevel info ssl:warn"
#
LogLevel warn

# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf

# Include list of ports to listen on
Include ports.conf


# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
  Options FollowSymLinks
  AllowOverride None
  Require all denied
</Directory>

<Directory /usr/share>
  AllowOverride None
  Require all granted
</Directory>

<Directory /var/www/>
  Options Indexes FollowSymLinks
  AllowOverride None
  Require all granted
</Directory>

#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride None
# Require all granted
#</Directory>




# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#
AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
  Require all denied
</FilesMatch>


#
# The following directives define some format nicknames for use with
# a CustomLog directive.
#
# These deviate from the Common Log Format definitions in that they use %O
# (the actual bytes sent including headers) instead of %b (the size of the
# requested file), because the latter makes it impossible to detect partial
# requests.
#
# Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
# Use mod_remoteip instead.
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf

# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

#23 Re : Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 19:11:14

kameleon1er
Merci Beta, déjà il me dit qu'il y a une erreur de syntax : apache2: Syntax error on line 225 of /etc/apache2/apache2.conf à la ligne 255, mais y a pas de ligne 255, ça s'arrête à la ligne 227.

Par contre du fait de l'upgrade ça a recréé un apache2.conf et gardé l'ancien en : apache2.conf.dpkg-old

Si je compare les 2 fichiers je trouve cette différence :

-#Mutex file:${APACHE_LOCK_DIR} default
-
-#
-# The directory where shm and other runtime files will be stored.
-#
-
-DefaultRuntimeDir ${APACHE_RUN_DIR}
+Mutex file:${APACHE_LOCK_DIR} default
 

#24 Installation et migration » Apache planté !! Passage Jessie > Stretch, LAMP server » 06-05-2019 18:08:01

kameleon1er
Réponses : 42

[b]Résolu[/b]



Bonjour à tous j'ai donc pas mal avancé avec l'aide D'Alain pour mon upgrade vers Stretch mais j'ai dû modif un conf dans mes choix, j'ai apache qu'est en carafe.

apache2ctl -t
apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 34 of /etc/apache2/sites-enabled/democrasite-le-ssl.conf: Could not open configuration file /etc/letsencrypt/options-ssl-apache.conf: No such file or directory
Action '-t' failed.
 



Une piste ?

Merci à tous

#25 Re : Gestion des paquets Debian » Help ! Modif sources.list pour ne pas tout casser » 06-05-2019 14:42:02

kameleon1er
Bon, là c'est au tour open-ssh, là je me tâte à garder la conf actuelle, genre port 2222 et ma clé d'identification… : qu'est-ce qui est le plus prudent ?

--- /etc/ssh/sshd_config root.root 0664 2017-08-08 23:00:43                      
                     │ +++ /tmp/fileXSdNuS root.root 0644 2019-05-06 15:38:41                            
                     │ @@ -1,79 +1,76 @@                                                                
                     │ -# Package generated configuration file                                          
                     │ -# See the sshd_config(5) manpage for details                                    
                     │ +# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $                  
                     │                                                                                  
                     │ -# What ports, IPs and protocols we listen for                                    
                     │ -Port 2222      

Pied de page des forums

Propulsé par FluxBB