« OVH2 » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 12 : | Ligne 12 : | ||
<nowiki> | <nowiki> | ||
: line 1: $: command not found | : line 1: $: command not found | ||
c: line 2: syntax error near unexpected token `do' | c: line 2: syntax error near unexpected token `do' | ||
c: line 2: `$ for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; exit;done' | c: line 2: `$ for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; exit;done' | ||
shell returned 2 | shell returned 2 | ||
Press ENTER or type command to continue | Press ENTER or type command to continue | ||
c: line 1: $: command not found | c: line 1: $: command not found | ||
c: line 2: $: command not found | c: line 2: $: command not found | ||
c: line 3: syntax error near unexpected token `do' | c: line 3: syntax error near unexpected token `do' | ||
c: line 3: `do ' | c: line 3: `do ' | ||
Version du 23 avril 2024 à 07:34
KEYWORDS: OVH2, LONDRES, OVH
Le 22/04/2024:
Je n'ai rien compris au jeu: après avoir lancé un shell script, je me suis retrouvé avec de '/usr/bin/ls not found ...'
Le système était planté.
Je l'ai ré installé à partir du tableau de bord.
PS: Pour se reloger, le login est 'debian' et le mot de passe est communiqué par mail.
Ensuite, il suffit de faire un 'sudo su' pour avoir accès à tout.
NB: Copie d'écran du problème sur ovh2:
: line 1: $: command not found c: line 2: syntax error near unexpected token `do' c: line 2: `$ for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; exit;done' shell returned 2 Press ENTER or type command to continue c: line 1: $: command not found c: line 2: $: command not found c: line 3: syntax error near unexpected token `do' c: line 3: `do ' shell returned 2 Press ENTER or type command to continue -------------- DROP USER IF EXISTS pchevalier -------------- -------------- CREATE USER 'pchevalier'@'%' IDENTIFIED BY '' -------------- -------------- GRANT ALL PRIVILEGES ON *.* TO 'pchevalier'@'%' IDENTIFIED BY '' WITH GRANT OPTION -------------- -------------- GRANT ALL PRIVILEGES ON *.* TO 'pchevalier'@'localhost' IDENTIFIED BY '' WITH GRANT OPTION -------------- ERROR 1133 (28000) at line 2: Can't find any matching row in the user table -------------- SELECT Host,user,password,grant_priv from user WHERE user="pchevalier" -------------- Host User Password Grant_priv % pchevalier Y /root/PCStreet.scripts/x: line 83: /usr/bin/mysqladmin: cannot execute: required file not found /root/PCStreet.scripts/x: line 92: /usr/bin/mysqladmin: cannot execute: required file not found /root/PCStreet.scripts/x: line 93: /usr/bin/mysql: cannot execute: required file not found /root/PCStreet.scripts/x: line 123: /usr/bin/systemctl: cannot execute: required file not found /root/PCStreet.scripts/x: line 124: /usr/bin/systemctl: cannot execute: required file not found /root/PCStreet.scripts/x: line 46: /usr/bin/mysql: cannot execute: required file not found mysql --verbose --user=pchevalier --password= mysql wordpress pchevalier
Le 22/12/2023: debian12 4c/8t 32Go 4 To @ Londres) environ 30 euros TTC / mois - ns3131759.ip-51-68-207.eu - Intel Xeon D1520 - 4c/8t - 2.2 GHz/2.6 GHz - 32 Go ECC 2133 MHz - 4×2 To HDD SATA - 51.68.207.177 Bande passante publique: 250 Mbds sortant - 250 Mbds entrant Se renouvelle le 22 décembre 2024