This is where I post snippets of information about Information Technology. It is mostly for my own reference but I hope that others will find it useful and comments are welcome.
Wednesday, December 18, 2013
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package
https://www.centos.org/forums/viewtopic.php?t=21742
summary :
Put this near the top of your spec file
%define _use_internal_dependency_generator 0
%define __find_requires %{nil}
%define __strip /bin/true
%define debug_package %{nil}
%global debug_package %{nil}
summary :
Put this near the top of your spec file
%define _use_internal_dependency_generator 0
%define __find_requires %{nil}
%define __strip /bin/true
%define debug_package %{nil}
%global debug_package %{nil}
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package
Put this at the top of your spec file
# To prevent these annoying errors:# Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package eir-cnr-client-cel5# Error: Missing Dependency: libcrypto.so.6 is needed by package eir-cnr-client-cel5# Error: Missing Dependency: libssl.so.6 is needed by package eir-cnr-client-cel5## do these defines%define _use_internal_dependency_generator 0%define __find_requires %{nil}%define __strip /bin/true%define debug_package %{nil}%global debug_package %{nil}
Saturday, September 07, 2013
how to type copyright symbol in gimp text
from http://www.ajopaul.com/2013/01/17/add-copyright-symbol-in-gimp-as-text/
ctrl-shift-u let up the u and type a 9 the let up ctrl and shift then a symbol will appear
ctrl-shift-u let up the u and type a 9 the let up ctrl and shift then a symbol will appear
Tuesday, August 27, 2013
Saturday, August 24, 2013
A good REST tutorial
A rest tutorial that acrually makes sense and provides useful examples: http://docs.phalconphp.com/en/latest/reference/tutorial-rest.html
Monday, August 12, 2013
bash history timestamp
to get timestamps in your bash history do this ...
export HISTTIMEFORMAT="%F %T "
see http://larsmichelsen.com/open-source/bash-timestamp-in-bash-history/
Thursday, June 27, 2013
ssh hangs on exit ... logout
Sometimes when I exit a ssh session the terminal hangs like so ...
$ exit
logout
HANG FOREVER!
The way to get out of this is hit ENTER ~ .
http://serverfault.com/questions/283129/why-do-consoles-sometimes-hang-forever-when-ssh-connection-breaks
$ exit
logout
HANG FOREVER!
The way to get out of this is hit ENTER ~ .
http://serverfault.com/questions/283129/why-do-consoles-sometimes-hang-forever-when-ssh-connection-breaks
Saturday, June 08, 2013
Friday, May 31, 2013
checking the syntax of your init.pp puppet
http://www.puppetcookbook.com/posts/simple-syntax-check-manifests.html
with caveats ...
with caveats ...
[red@mypuppet-master modules]$ puppet --parseonly eiryum/manifests/init.pp
--parseonly has been removed. Please use 'puppet parser validate <manifest>'
[red@mypuppet-master modules]$ puppet parser validate redyum/manifests/init.pp
- Debugging puppet functions:
$/opt/puppet/bin/ruby -rpuppet /etc/puppetlabs/puppet/modules/rpz/lib/puppet/parser/functions/list_allow_updates.rb
- Debugging
init.pp
: http://www.puppetcookbook.com/posts/simple-syntax-check-manifests.html
[red@mypuppet-master modules]$ puppet parser validate redyum/manifests/init.pp err: Could not parse for environment production: Syntax error at 'class' at /etc/puppetlabs/puppet/modules/redyum/manifests/init.pp:3err: Try 'puppet help parser validate' for usage
Tuesday, April 16, 2013
Wednesday, March 27, 2013
'Access denied for user 'root'@'localhost' (using password: NO)'
[root@red-1 mysql]# /etc/init.d/mysqld stop
Stopping mysqld: [ OK ]
[root@red-1 mysql]# mysqld_safe --skip-grant-tables &
[1] 22881
[root@red-1 mysql]# 130327 12:33:15 mysqld_safe Logging to '/var/log/mysqld.log'.
130327 12:33:15 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
[root@red-1 mysql]# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.61 Source distribution
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> update user set password=PASSWORD('1234') where User='root';
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit
Bye
Monday, March 25, 2013
Invalid file build.xml when building Google APK Expansion file libraries
if you get errors like this ...
build.xml:475: Invalid file: /home/embarsgo/android/android-sdk-linux/extras/google/play_licensing/library/build.xml
you need to do this ...
red@ubuntu:~/android/android-sdk-linux/extras/google/play_apk_expansion$ android update project --target 2 \
--name downloader_library \
--path /home/red/android/android-sdk-linux/extras/google/play_apk_expansion/downloader_library
build.xml:475: Invalid file: /home/embarsgo/android/android-sdk-linux/extras/google/play_licensing/library/build.xml
you need to do this ...
red@ubuntu:~/android/android-sdk-linux/extras/google/play_apk_expansion$ android update project --target 2 \
--name downloader_library \
--path /home/red/android/android-sdk-linux/extras/google/play_apk_expansion/downloader_library
The connection to the VMware USB Arbitration Service was unsuccesful
http://communities.vmware.com/thread/241662
Friday, March 22, 2013
redhat vs ubuntu /etc/init.d things
in redhat one does "sudo service puppetmaster start" in ubuntu one would do this "invoke-rc.d puppetmaster start"
Monday, March 18, 2013
Tuesday, March 12, 2013
device eth1 does not seem to be present delaying initialization vmware
http://www.ryanchapin.com/fv-b-4-655/Cloned-VMware-CentOS6-Server-and--quot-device-eth0-does-not-seem-to-be-present--delaying-initialization-quot--Error-.html
If you get this ...
device eth1 does not seem to be present delaying initialization vmware
... stupid error read Ryan Chapin's web page
If you get this ...
device eth1 does not seem to be present delaying initialization vmware
... stupid error read Ryan Chapin's web page
Friday, February 15, 2013
sqlfiddle.com WOW
Ever wanted to try out some oracle code without having to purchase and install oracle then this is for you...
http://sqlfiddle.com/
http://sqlfiddle.com/
could DNS play chess?
Well maybe not yet but it can work as an calculator: http://www.isi.edu/touch/tools/dns-calc.html
Thursday, February 14, 2013
Wednesday, February 13, 2013
"Bizarre copy of CODE in scalar assignment" at Carp.pm line 140
"Bizarre copy of CODE in scalar assignment" at Carp.pm line 140 wtf
Turns out that I was running my Perl code in a DMZ and my code was attempting to contact a RDBMS and was fired walled from the DMZ
Turns out that I was running my Perl code in a DMZ and my code was attempting to contact a RDBMS and was fired walled from the DMZ
Friday, February 01, 2013
Wednesday, January 30, 2013
sudo no password :: ALL = NOPASSWD: ALL
first become root
then execute visudo
then add this line:
then execute visudo
then add this line:
red.cricket ALL = NOPASSWD: ALL
Wednesday, January 23, 2013
rpmbuild error: Found '...BUILDROOT ...' in installed files; aborting
If you get this error you are probably doing something funky, but sometimes you are forced to do the funky deed. So to workaround the error you need to execute rpmbuild like so:
QA_SKIP_BUILD_ROOT=1 rpmbuild ...
QA_SKIP_BUILD_ROOT=1 rpmbuild ...
Thursday, January 17, 2013
android camera turn on/off
http://www.mkyong.com/android/how-to-turn-onoff-camera-ledflashlight-in-android/
Wednesday, January 16, 2013
my stack over flow post on android webview file upload camera
http://stackoverflow.com/questions/14347203/upload-pic-from-android-phone-intent-getdata-returning-null
Thursday, January 10, 2013
How to disable java in chrome
http://www.podfeet.com/wordpress/tutorials/how-to-disable-java-in-chrome/
Subscribe to:
Posts (Atom)