Node cannot be added to the GPFS cluster

 

There is an indication leading you to the conclusion that a node cannot be added to a cluster and steps to follow to correct the problem.

That indication is:

  • You issue the mmcrcluster or mmaddnode command and receive the message:
    6027-1598
    Node nodeName was not added to the cluster. The node appears to already belong to a GPFS™ cluster.
Steps to follow if a node cannot be added to a cluster:

  1. Run the mmlscluster command to verify that the node is not in the cluster.
  2. If the node is not in the cluster, issue this command on the node that could not be added:
    mmdelnode -f
  3. Reissue the mmaddnode command.

Command line view webcam from ubuntu to browser

This took hours to figure out. I was trying to install MJPG-streamer and running VLC command lines and all this crap but nothing worked.

First install motion:

~> sudo apt-get install motion

Then create a config file:

~> mkdir ~/.motion
~> nano ~/.motion/motion.conf

In it, the bare minimum to run a web server and view it on other computers:

webcam_port 8081
webcam_localhost off

Then run motion:

~> motion

Now you can view the webcam at http://hostname:8081 If it doesn’t work, try rebooting between steps or something.

Bonnie++ cannot open file

bonnie++ Can’t open file

 

While running bonnie++ , you may face this error :

 

 

# ./bonnie++ -d /mnt -s 8056M -n 0 -m TEST_IO -f -b -u username

Using uid:1000, gid:1000.

Can’t open file ./Bonnie.3497.000

 

You need to add -u root:root , to the command line like :

 

./bonnie++ -d /mnt -s 8056M -n 0 -m TEST_IO -f -b -u root:root

write-to-ntfs-formated-drives-on-yosemite

Quickly mount a NTFS disk read/write on all recent OS X (including Yosemite, El Capitan):

  1. Open Application -> Utilities -> Terminal
  2. Type mount and look for the line with your disk. It will show something like: /dev/disk3s1 on /Volumes/MyDisk (ntfs, local, noowners, nobrowse)
  3. Type the following in the Terminal, replacing /dev/diskXsX with your disk as shown in the mount command:

To make this change permanent run the following (correct for El Capitan):

  1. Run the following command, changing /dev/diskXsX to your disk:
  2. Run sudo vifs and paste in the output from the previous 2 lines. To do this press down to go to the bottom of the file, A to start adding text, paste in the 2 lines then press escapeand :wq to write the file. (vifs is the only safe way to edit the fstab in OS X).
  3. Run the following to mount the disk

Note: The device will no longer automatically open a window when you attach it. To access it open a Finder window and select the Go -> Go to Folder to /Volumes

Fix : Authorization Failed: The resource could not be found. (HTTP 404) Openstack

If you get this

Add

export OS_AUTH_URL=http://controller:35357/v2.0 

Sudden blank magento page

do this in magento installation directory on server