Skip to content
Question Defense
Technical answers for technical questions
Question Defense
  • Backtrack Linux
    • Backtrack Article Request
  • HTTP ERROR
  • Kali Linux
    • Kali Linux Article Request
  • Privacy Policy
  • Tools
    • Class Of Device – Bluetooth CoD List In Binary And Hex
    • phpMyAdmin Blowfish Secret Generator
  • Documentation
    • check_postgres.pl
    • Linux Man Pages
      • insmod
      • kill
      • Logrotate
      • ls
      • lsmod
      • mail
      • modprobe
      • more
      • mysqldump
      • ntfsprogs
      • ntfsresize
      • pg_dump
      • psql
      • rmmod
      • screen
    • Monarch
      • Monarch Commands
      • Monarch Control
      • Monarch Escalations
      • Monarch Groups
      • Monarch Management of Nagios Hosts
      • Monarch Managing Nagios Contacts
      • Monarch Managing Nagios Hosts
      • Monarch Profiles
      • Monarch Services Template
      • Monarch Time Periods
      • Monarch Tools
  • Tags
  • Contact
Linkedin page opens in new windowTwitter page opens in new window
Search:
Search
  • Backtrack Linux
    • Backtrack Article Request
  • HTTP ERROR
  • Kali Linux
    • Kali Linux Article Request
  • Privacy Policy
  • Tools
    • Class Of Device – Bluetooth CoD List In Binary And Hex
    • phpMyAdmin Blowfish Secret Generator
  • Documentation
    • check_postgres.pl
    • Linux Man Pages
      • insmod
      • kill
      • Logrotate
      • ls
      • lsmod
      • mail
      • modprobe
      • more
      • mysqldump
      • ntfsprogs
      • ntfsresize
      • pg_dump
      • psql
      • rmmod
      • screen
    • Monarch
      • Monarch Commands
      • Monarch Control
      • Monarch Escalations
      • Monarch Groups
      • Monarch Management of Nagios Hosts
      • Monarch Managing Nagios Contacts
      • Monarch Managing Nagios Hosts
      • Monarch Profiles
      • Monarch Services Template
      • Monarch Time Periods
      • Monarch Tools
  • Tags
  • Contact

Author Archives: alex

You are here:
  1. Home
  2. Article author alex

Technology Errors

json/common.rb:122:in `parse’: 574: unexpected token at ” (JSON::ParserError)

ErrorsBy alexApril 23, 2009Leave a comment

I have been writing some scripts in ruby to parse JSON generated data. To do this it requires the json ruby gem which works great to parse through JSON output. Anyhow I was loading files into ruby and parsing them without issue until i got to a larger file and I received the below error. Error:…

Technology Insights

Use vi To Find And Replace Content While Breaking a Line

InsightsBy alexApril 23, 2009Leave a comment

The power of the Unix command vi never ceases to amaze me. I have known how to search and replace easily using vi for a long time however I didn’t know how to find and replace plus insert a line break during the replace. After toying around with vi for awhile I was able to…

Code Snippets

Add Google Content Ads Between Your WordPress Search Results

Code SnippetsBy alexApril 22, 20092 Comments

I have been thinking about the best way to display ads on my WordPress blog search results for a long time because there are numerous options. You could just display content ads at the top, bottom, or both locations, you could add a WordPress plugin, or you could create a custom page with Google custom…

Technology Insights

Create a WordPress Template to List All Tags on a Single Page: wp_tag_cloud

InsightsBy alexApril 22, 20099 Comments

Previously I created an article about listing all WordPress tags on a single page however some things have changed since that time. When going back and looking at the article it looks like some of the tags have changed since that time. I do have a WordPress plugin installed called Simple Tags so take that…

Technology Errors

PostgreSQL SkyTools walmgr: CDTWARNING: archive_mode enabled, yet archive_command is not set

ErrorsBy alexApril 22, 2009Leave a comment

If you are running walmgr for log shipping with PostgreSQL and you see the below error in your postgresql.log file it is because you are missing the recovery.conf file. The recovery.conf file should be located in your data directory on the slave server which typically is /var/lib/pgsql/data. Error: CDTWARNING: archive_mode enabled, yet archive_command is not…

Technology Insights

How to Upgrade PostgreSQL SkyTools walmgr from 2.1.x to 2.1.9

InsightsBy alexApril 22, 2009Leave a comment

Upgrading walmgr.py is easy since really this is just a python script. The most complicated part of the upgrade process will be keeping your database cluster up. Follow the below steps and you should avoid any downtime. Download Latest SkyTools: Visit PgFoundry to download the latest SkyTools. Issue the below command from /usr/local/src on each…

Technology Errors

PostgreSQL SkyTools walmgr: Can’t boot Slave: DEBUG Only single loop requested, exiting

ErrorsBy alexApril 22, 2009Leave a comment

I ran into a silly error tonight during some configuration changes for PostgreSQL that took me awhile to figure out so I wanted to share so it might save others some time in the future. In an attempt to boot the slave server in a PostgreSQL SkyTools walmgr configuration I was unable to get it…

Technology Errors

PostgreSQL Walshipping Error — CDTFATAL: role “root” does not exist

ErrorsBy alexApril 22, 2009Leave a comment

You might receive the below error in your postgresql.log file after issuing the walmgr.py syncdaemon command as explained below. Error:  CDTFATAL:  role “root” does not exist Command Issued: bash walmgr.py conf/wal-master.ini syncdaemon -d

Technology Insights

Upgrade LiteSpeed Web Server to 4.0.1 from 3.3.24 on Linux

InsightsBy alexApril 21, 2009Leave a comment

Upgrading LiteSpeed web server from 3.x.x to 4.x.x is easy even though you cannot do so through the web admin console. You are probably used to being able to click the upgrade link in the web admin console and have LiteSpeed do all of the work including having already downloaded the newer release. When upgrading…

1
23456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
…106107108109110…
111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
145
Question Defense
© 2021 question-defense.com
Go to Top