Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

lunes, 5 de febrero de 2018

reset root password on freepbx centos 7

To get started, turn on the machine that you’ve forgotten the root password on. For CentOS 7 devices, you’ll be given 5 seconds at the boot menu to select the operating system kernel to boot into.
That 5 seconds is important, because allows for  admins to select different kernels or edit existing kernel parameters before booting.
At the boot menu, press e to edit the existing kernel (Core) as shown below.
Changing root password on centos 7

Next, scroll down to the list until you see the line underlined below ( ro ) . What we need to do is change that ro to rw and start into a bash shell. It should look like this rw init=/sysroot/bin/sh.

forgotten root password on centos 7

Change the ro line to rw and add init=/sysroot/bin/sh
rw init=/sysroot/bin/sh
changing root password on centos

After changing that, press Control + X  or Ctrl + X  on your keyboard to start into single user mode using the bash shell specified above. In this mode, we’re going to change the root password.
In the single user mode, run the command as shown below
chroot /sysroot
password change on centos 7

Finally, run the commands below to change the root password.
change password on centos 7

You’ll be prompted to create and confirm a new password.  After creating the password, run the commands below to update SELinux parameters
touch /.autorelabel

Exit and reboot your system. You should be able to sign on and use the system with the new password you created. That’s how you change the root password on CentOS 7.

jueves, 1 de febrero de 2018

logs analisis

Context control:
  -B, --before-context=NUM  print NUM lines of leading context
  -A, --after-context=NUM   print NUM lines of trailing context
  -C, --context=NUM         print NUM lines of output context

PRINT  4 lines after  the line  SIP/VoxBeam_Out-0003c180

grep -A4 SIP/VoxBeam_Out-0003c180  full

[2018-02-01 18:20:26] VERBOSE[10552][C-0001d31e] app_dial.c: SIP/VoxBeam_Out-0003c180 is circuit-busy
[2018-02-01 18:20:26] VERBOSE[10552][C-0001d31e] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[2018-02-01 18:20:26] VERBOSE[10552][C-0001d31e] pbx.c: Executing [s@macro-dialout-trunk:31] NoOp("SIP/3004-0003c17f", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 38") in new stack
[2018-02-01 18:20:26] VERBOSE[10552][C-0001d31e] pbx.c: Executing [s@macro-dialout-trunk:32] GotoIf("SIP/3004-0003c17f", "0?continue,1:s-CONGESTION,1") in new stack
[2018-02-01 18:20:26] VERBOSE[10552][C-0001d31e] pbx_builtins.c: Goto (macro-dialout-trunk,s-CONGESTION,1)