Deprecated: Hook custom_css_loaded is deprecated since version jetpack-13.5! Use WordPress Custom CSS instead. Jetpack no longer supports Custom CSS. Read the WordPress.org documentation to learn how to apply custom styles to your site: https://wordpress.org/documentation/article/styles-overview/#applying-custom-css in /srv/www/srvfail.com/public_html/wp-includes/functions.php on line 6078 SysAdminStuff ⋆ Page 4 of 15 ⋆ My Online Notebook
When doing a fresh install of Ubuntu 16.04, or any other version of Ubuntu or Linux, after the install you might get your laptop or desktop machine not booting the installed OS, but instead returning “No Bootable Device” message, if laptop is set to UEFI mode.
You might be presented with this image after rebooting your laptop, after a successful OS install.
To resolve this issue reboot your laptop and enter BIOS.
There go to “Select and UEFI file as trusted for executing:” and press Enter key.
Once there choose HDD1.
Then choose <EFI>.
Then you should be able to see <ubuntu> or possibly some other name of your Linux installation.
Then choose shimx64.efi
And then choose Yes when asked if you want to add this file to allowable database.
Reboot your laptop and you should now be able to boot your OS normally.
When trying to run VirtualBox on Ubuntu 16.04, or some other version of Linux, you might get a following type an error message, when trying to start a virtual machine, you just created on a fresh installation of VirtualBox.
VirtualBox might return error saying that it failed to open a session for the virtual machine.
Details of error message will say that virtual machine has terminated unexpectedly during startup with exit code 1 (0x1).
You will also get a “Kernel driver not installed (rc=-1908” message.
Error will say “The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv.”
Error message will ask you to try to reinstall the kernel module by executing /sbin/vboxconfig as root, to reinstall the module, which could fail to complete successfully when you try to run the command in terminal.
One of the possible causes of this type of behavior is that you have Secure Boot enabled in your BIOS on the host machine, which is preventing the install of third-party drivers, and causing issues with VirtualBox installation, which fails to install all kernel modules.
To resolve this error, disable Secure Boot in your BIOS, and then try to run /sbin/vboxconfig command as root, or reinstall VirtualBox, with Secure Boot disabled, to install all the necessary modules.
Here are the steps to reset root password on FreeBSD 11.
Boot the system, and wait till you get to the Welcome to FreeBSD boot menu.
Once you are there, press 2 to boot the system to single user mode.
Wait till the server shows a following message: “When prompted Enter full path name of shell or RETURN for /bin/sh:”, and then press Enter key to complete the boot process to single user mode.
You will now be presented with console input.
In the console type following commands:
mount -u /
mount -a
Now you can use passwd command to change root user password, by typing in the new password when asked, and they retyping it on second prompt.
Once you have set a new password, reboot the server, and log in with the new password.
CentOS 7 virtual machines on VMware will by default use predictable network device naming for network interfaces on the machine, causing their names to be in enoXXXXXXXX format.
This will cause issues when adding 10 or more additional IPs in WHM, as network interface name will be longer than the 15 characters.
Maximum length supported for network interface name on cPanel servers is 15 characters.
When starting ipaliases service, only first 9 additional IPs will be added, and for rest of the IPs error “RTNETLINK answers: Numerical result out of range” will be shown, and IPs will not be shown in ip addr, or ifconfig output.
[root@server ~]# /scripts/restartsrv_ipaliases
Waiting for "ipaliases" to stop ...finished.
Waiting for "ipaliases" to start ...finished.
Service Status
Startup Log
Oct 03 20:29:20 server.example.com ipaliases[233833]: [FAILED]
Oct 03 20:29:20 server.example.com ipaliases[233833]: Bringing up eno33559296:cp14 RTNETLINK answers: Numerical
result out of range
Oct 03 20:29:20 server.example.com ipaliases[233833]: [FAILED]
Oct 03 20:29:20 server.example.com ipaliases[233833]: Routing 204.93.248.69 RTNETLINK answers: Invalid argument
Oct 03 20:29:20 server.example.com ipaliases[233833]: [FAILED]
Oct 03 20:29:20 server.example.com ipaliases[233833]: Bringing up eno33559296:cp15 RTNETLINK answers: Numerical
result out of range
Oct 03 20:29:20 server.example.com ipaliases[233833]: [FAILED]
Oct 03 20:29:20 server.example.com ipaliases[233833]: Routing 204.93.248.70 RTNETLINK answers: Invalid argument
Oct 03 20:29:20 server.example.com ipaliases[233833]: [FAILED]
Oct 03 20:29:20 server.example.com systemd[1]: Started cPanel IP aliases service.
Log Messages
Oct 3 20:29:20 server ipaliases: [FAILED]
Oct 3 20:29:20 server ipaliases: Routing x.x.x.x RTNETLINK answers: Invalid argument
Oct 3 20:29:20 server ipaliases: [FAILED]
Oct 3 20:29:20 server ipaliases: Bringing up eno33559296:cp15 RTNETLINK answers: Numerical result out of range
To resolve the issues, network devices can be renamed back to old ethX type of naming.
To rename network devices to old names following steps are needed.
This will rename file ifcfg-eno16777984, to ifcfg-eth0, renaming interface eno16777984 to eth0, and will rename file ifcfg-eno33557248, to ifcfg-eth1, renaming interface eno33557248, to eth1.
Edit new ethX network files.
Replace value of both NAME and DEVICE field with new ethX names.
If you have forgotten root user password on your CentOS 6 machine, you can reset the password to new value, without knowing the old one, by booting the machine to single user mode, and resetting the password with passwd command.
Boot to single user mode
During the CentOS boot process, you will be presented with a countdown before CentOS boot process actually begins to load the OS.
Press any key to enter the GNU GRUB menu.
On the GNU GRUB menu highlight the kernel you want to boot, and press ‘e’ key to edit the kernel commands before booting.
Once you have entered the kernel edit mode, find the line beginning with kernel, and highlight it, and press ‘e’ key to edit it.
On the end of the line add the word ‘single’, with white space before ‘single’, and press ENTER to accept the change.
Boot the machine with the edited kernel argument, and you will be logged in as root in single user mode.
Now just issue passwd command, and enter the new password two times, when asked.
Once you have changed the password, reboot the machine, and log to it with your new root password.