JunOS : Can’t have mastership priority configuration with preprovisioned set

Getting this error committing the changes on a pre-provisioned EX switches virtual chassis? root@EX4200# commit synchronize [edit protocols] ‘bgp’ [edit virtual-chassis] ‘member 0’ Can’t have mastership priority configuration with preprovisioned set error: configuration check-out failed {master:0}[edit] root@EX4200# This mean you tried to set a mastership priority on a pre-provisioned configuration and this is not allowed.… Read More »

JunOS : How to upgrade from USB stick

There are several ways to update your JunOS software but one of the common and safe method is doing through the CLI and a USB memory stick. First, get your software from Juniper.net first and save it to a MSDOS formatted USB stick. Then, follow those steps (as root, through serial console is highly recommended)… Read More »

Linux : Clocksource tsc unstable

Getting this output on your RHEL/CentOS virtual machine? Clocksource tsc unstable (delta = 000000000 ns). Enable clocksource failover by adding clocksource_failover kernel parameter. First find out the available clock sources : cat /sys/devices/system/clocksource/clocksource0/available_clocksource You will likely get the following results : kvm-clock tsc acpi_pm You are currently using “tsc” as per the initial output error, try… Read More »

VMware : iSCSI LUN datastore no longer visible after outage

If after a power outage or ESX hypervisor shutdown your iSCSI datastores are missing, it might be caused by a lock on the LUN on your host machine. You may find this in your vmkernel logs :  /var/log/vmkernel.log 2014-02-19T04:19:11.927Z cpu3:33477)NMP: nmp_ThrottleLogForDevice:2321: Cmd 0x88 (0x412e80814440, 0) to dev “t10.FreeBSD_iSCSI_Disk______74867ae04094000_________________” on path  “vmhba37:C0:T1:L0” Failed: H:0x2 D:0x0 P:0x0 Possible… Read More »

JunOS : Setting up DHCP forwarding

Here is how to configure DHCP forwarding across VLans on JunOS Juniper devices. set forwarding-options helpers bootp server <DHCP_SERVER_IP> set forwarding-options helpers bootp interface vlan.<VLAN_ID> Example : Assuming your DHCP server IP is “192.168.1.1” and the VLans you want DHCP forwarding enabled are “1” and “2” : set forwarding-options helpers bootp server 192.168.1.1 set forwarding-options… Read More »

Linux : qmail-smtpd: qq soft reject (mail server temporarily rejected message (#4.3.0))

Did your Qmail server failed to receive a message including an attachment and showing this output in the SMTP logs? policy_check: remote sender@domain.tld -> local recipient@domain.tld (UNAUTHENTICATED SENDER) policy_check: policy allows transmission qmail-smtpd: qq soft reject (mail server temporarily rejected message (#4.3.0)): MAILFROM:<sender@domain.tld> RCPTTO:recipient@domain.tld tcpserver: end 0000 status 000 In this particular case, the version… Read More »