Core-Layer
  • Home
  • Blog
  • LINKS
  • ABOUT
  • Contact

Blog

[Linux] - Repair the Grub using boot-repair

11/2/2016

0 Comments

 
I recently installed Ubuntu 12.04.1 TLS on one of my servers running Windows Server 2008 R2, following a reboot BIOS was stuck with an error message indicated that no valid media was inserted that allowed it to boot. 


I verified and re-verified boot order, no problem, hard drive was indeed detected and first in boot order. I put back the DVD reader and started the server with Ubuntu Live CD. 


I then noticed that the recently installed Ubuntu was indeed there and well installed by mounting the partition. 


Issue was with the Grub, to repair it using Boot Repair from Ubuntu Live CD:
​

- Connect to the internet.

- Open a terminal, add the repository and install boot-repair.
sudo add-apt-repository ppa:yannubuntu/boot-repair

sudo apt-get update

sudo apt-get install boot-repair

- Then start Boot Repair and choose ”Recommended repair”.
​
- Remove the Live CD and reboot the computer, it will start correctly on the hard drive.
0 Comments

[VMware] - Fixing error "Failed to lock main memory file"

10/2/2016

4 Comments

 
Following a Pause or a Stoppage of a virtual machine it's possible that the following message pops up: ​
Failed to lock main memory file [...]

​
If that is the case you can get ride of this error by deleting the folder <vm_name>.lck that is located where the virtual machine is stored. 

Then the virtual machine should start successfully.
4 Comments

[HTTP] - Fixing error http 500.19 (0x8007007e)

10/2/2016

0 Comments

 
Receiving error: 500.19 0x8007007e 
"The requested page cannot be accessed because the related configuration data for the page is invalid." 

To fix this error do the following: 

Open a command prompt. ​

Type in:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']

If you need to enable it back: 
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
0 Comments

Prevent message %Error opening tftp://255.255.255.255/network config

8/2/2016

1 Comment

 
After modifying a Cisco (router/switch) equipment's configuration it's possible that the configuration service of the equipment activates. This services will generate TFTP (Trivial File Transfer Protocol) broadcast requests on all interfaces of the equipment looking for a configuration on the network. It generates the following log message on the equipment:

  - %Error opening tftp://255.255.255.255/network-confg
  - %Error opening tftp://255.255.255.255/cisconet.cfg
  - %Error opening tftp://255.255.255.255/3620-confg
  - %Error opening tftp://255.255.255.255/3620.cfg

This service can be annoying if you have a TFTP server running on your network as it will try to reply to those requests ; moreover, it slows down equipment's boot time as it will wait for requests to be replied or time out to finish booting up.

To disable that service use the following commands: ​
Router#config terminal
Router(config)#no service config
Router(config)#exit
Router#copy running-config startup-config

Source : Cisco official related page
1 Comment

[Cisco] - Use ROMmon to transfer an IOS in flash using TFTP

8/2/2016

0 Comments

 
If you have deleted the IOS in memory from a Cisco router and rebooted the router, it will started in ROMmon (ROM Monitor) mode. 

Once you get ROMmon prompt, you will have to set some variable's values to be able to execute on IOS transfer from a TFTP server: ​
rommon 1 >IP_ADDRESS=10.0.0.1
rommon 2 >IP_SUBNET_MASK=255.0.0.0
rommon 3 >DEFAULT_GATEWAY=10.0.0.2
rommon 4 >TFTP_SERVER=10.0.0.2
rommon 5 >TFTP_FILE=c2800nm-advipservicesk9-mz.124-15.T1.bin
rommon 6 >tftpdnld

Once completed, use "reset" command to reboot the router. You can then make sure the IOS has been correctly transfered in flash memory using the following command: ​
Router#dir flash:
0 Comments

    Archives

    July 2021
    July 2018
    March 2018
    October 2017
    May 2017
    April 2017
    March 2017
    October 2016
    February 2016
    January 2016

    Categories

    All
    API
    Chrome
    Cisco
    Code Qr
    Covid
    Dev
    Données Personnelles
    Fix
    IIS
    Issue
    Linux
    Microsoft
    Moto
    Network
    News
    Python
    Qr
    Qr Code
    Quebec
    Raspberry Pi
    Roadtrip
    Securité
    Security
    SQL
    Vulnerability
    Windows

    RSS Feed

Proudly powered by Weebly
  • Home
  • Blog
  • LINKS
  • ABOUT
  • Contact