Header Shadow Image


Email verification or confirmation in wordpress

We've been looking for a good email validation tool for wordpress user registrations to prevent unwanted or spam registrations such as these.  

New user registration on your site Thoughts and Scribbles:

Username: LillaLucero

E-mail: agd_hare @ n s c r e  a m . c o m

 

To that end, here's a good plugin to do just that.  You'll get a link verification in your email to force the user to confirm their account before it's registered.  The plugin is called Register Plus Redux and is available from the WordPress plugin page.

Cheers,
TK

xcb_xv vout display error: no available XVideo adaptor

So after tinkering with my HTPC I notice the 120mm fan over my video card came loose.  I mounted it on to the side of the case but the fan less video card's heat sink was not hot.  Sure enough, after booting VLC wouldn't play anything.  No sound no video just:

 xcb_xv vout display error: no available XVideo adaptor

I did update the kernel as well sometime back and don't recall playing any videos since that time.  And I also upgraded my SL Linux to 6.3 from 6.1.  Either way, here's what we had to do:

Read the rest of this entry »

Program terminated with signal 6, Aborted Linux

This is an extension of the gdb and cores file post earlier and viewable int he link below.  In this case, whenever we restart or try to shutdown the system, we see a brief message on the prompt about some crash which quickly disappears.  Then the system restarts but is not capable of shutting down unless we cut the power.  It's so quick we can barely make out any characters.  So we check the cores files folder setup earlier so we can double check on why this could be happening by corrolating this with last|more information and the core files produced.

[root@mbpc cores]# locate gvfs-gdu-volume
/cores/core.gvfs-gdu-volume.10346.mbpc.1372911605
/cores/core.gvfs-gdu-volume.12094.mbpc.1372910362
/cores/core.gvfs-gdu-volume.14548.mbpc.1369504171
/cores/core.gvfs-gdu-volume.28404.mbpc.1372697005
/cores/core.gvfs-gdu-volume.29440.mbpc.1372704190
/cores/core.gvfs-gdu-volume.32474.mbpc.1372707034
/cores/core.gvfs-gdu-volume.4191.mbpc.1369503901
/cores/core.gvfs-gdu-volume.5841.mbpc.1372910706
/cores/core.gvfs-gdu-volume.7077.mbpc.1372707292
/usr/libexec/gvfs-gdu-volume-monitor

Read the rest of this entry »

Enabling RDP on Windows 7 Home Premium Edition

Windows 7 Home Premium edition doesn't come with RDP enabled by default.  Luckily, there is a set of files available out there if you wish to enable it.  However, keep in mind, this is a workaround to lack of RDP on Windows 7 Home Premium so naturally there are risks associated (see the site disclaimer).  

To summrize, we do not recommend following these steps unless the reader is willing to take responsibility for all risks and consequences both perceived and real as a result of following these steps.  This worked for us but YMMV.  Keep this in mind!  On to the steps:

Read the rest of this entry »

change mysql password for root when lost or forgot

To change your mysql password for any user, use the following procedure, in case the password is lost or forgotten.  For this post, we'll be changing it for the root user.

 

Read the rest of this entry »

OpenStack Cloud Computing Platform: Installation and Configuration

In our quest to install OpenStack, we run into this thingy 

# keystone user-list
Expecting authentication method via 
  either a service token, –token or env[SERVICE_TOKEN], 
  or credentials, –os-username or env[OS_USERNAME].

#

 

Read the rest of this entry »

Disable autosave in WordPress

To disable autosaves in WordPress comment out the following in wp-admin/post.php:

        // wp_enqueue_script('autosave');

Cheers,
TK

Error writing bytes to client Transport endpoint is not connected

 

While transferring a large file, I've disconnected then disabled the WIRELESS port only to receive these messages in /var/log/messages on the HTPC server.  No connection was possible from the Windows 7 desktops to the server at this point even waiting a bit didn't help.  Looked like something crashed during the disabling of the wireless card while files were being sent up to my Windows 7 PC.  On the HTPC server, these are the messages that were received:
 
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.416588,  0] lib/util_sock.c:474(read_fd_with_timeout)
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.416794,  0] lib/util_sock.c:1441(get_peer_addr_internal)
Mar 25 20:25:46 mbpc smbd[555]:   getpeername failed. Error was Transport endpoint is not connected
Mar 25 20:25:46 mbpc smbd[555]:   read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419352,  0] lib/util_sock.c:680(write_data)
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419461,  0] lib/util_sock.c:1441(get_peer_addr_internal)
Mar 25 20:25:46 mbpc smbd[555]:   getpeername failed. Error was Transport endpoint is not connected
Mar 25 20:25:46 mbpc smbd[555]:   write_data: write failure in writing to client 0.0.0.0. Error Broken pipe
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419563,  0] smbd/process.c:79(srv_send_smb)
Mar 25 20:25:46 mbpc smbd[555]:   Error writing 75 bytes to client. -1. (Transport endpoint is not connected)
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419692,  0] lib/util_sock.c:680(write_data)
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419740,  0] lib/util_sock.c:1441(get_peer_addr_internal)
Mar 25 20:25:46 mbpc smbd[555]:   getpeername failed. Error was Transport endpoint is not connected
Mar 25 20:25:46 mbpc smbd[555]:   write_data: write failure in writing to client 0.0.0.0. Error Broken pipe
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419835,  0] smbd/process.c:79(srv_send_smb)
Mar 25 20:25:46 mbpc smbd[555]:   Error writing 75 bytes to client. -1. (Transport endpoint is not connected)
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.419999,  0] lib/util_sock.c:680(write_data)
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.420062,  0] lib/util_sock.c:1441(get_peer_addr_internal)
Mar 25 20:25:46 mbpc smbd[555]:   getpeername failed. Error was Transport endpoint is not connected
Mar 25 20:25:46 mbpc smbd[555]:   write_data: write failure in writing to client 0.0.0.0. Error Broken pipe
Mar 25 20:25:46 mbpc smbd[555]: [2013/03/25 20:25:46.420157,  0] smbd/process.c:79(srv_send_smb)
Mar 25 20:25:46 mbpc smbd[555]:   Error writing 75 bytes to client. -1. (Transport endpoint is not connected)
 
Restarting the service using service smb restart yielded these messages:
 
Mar 25 20:29:52 mbpc smbd[18330]: [2013/03/25 20:29:52.659126,  0] smbd/server.c:281(remove_child_pid)
Mar 25 20:29:52 mbpc smbd[18330]:   Could not find child 620 — ignoring
Mar 25 20:30:30 mbpc smbd[639]: [2013/03/25 20:30:30.786449,  0] smbd/server.c:500(smbd_open_one_socket)
Mar 25 20:30:30 mbpc smbd[639]:   smbd_open_once_socket: open_socket_in: Address already in use
 
 
On the Windows 7 side of things I get the message:
 
The mapped network drive could nto be created because the following error has occurred:
The specified network name is no longer available.
 
Which doesn't help all that much.  (We already know we can't connect to it.)  Using another computer, I could verify and map the network drives there successfully meaning the issue must have been isolated to my Windows 7 and just this particular workstation.  This eliminated the HTPC server completely.
 
Unfortunately, I took a less then scientific approach and restarted my laptop to recover my connection suggesting a service was crashed by the cancelled installed operation that was restarted on a complete system restart.  However nothing in event viewer hinted at what that service might be.  Next time this happens, we'll have to dig a little deeper.
 
Cheers,
Tom

Waiting for sound system to respond error on linux with pulseaudio

When trying to launch System -> Preferences -> Sound you get the following message in a panel:

Waiting for sound system to respond

In this case, this was the result of my tinkering with the sound system, in an attempt to try to make multiple applications use the sound drivers simultaneously instead of the sound system getting locked by one application only.  So I knew exactly what the issue was based on what I added to the following files:

/etc/pulse/daemon.conf

/etc/pulse/default.pa

The file in question causing the issue was the .pa above.  Here's the offending line:

# UPDATE: TOM K.
# load-module module-hal-detect tsched=0
 
Checking var log messages revealed more information on exactly what was happening with the audio system:
 
/var/log/messages
Mar 17 15:32:51 mbpc pulseaudio[14317]: module.c: module-hal-detect is deprecated: Please use module-udev-detect instead of module-hal-detect!
Mar 17 15:32:51 mbpc pulseaudio[14317]: module-hal-detect-compat.c: We will now load module-udev-detect. Please make sure to remove module-hal-detect from your configuration.
Mar 17 15:32:52 mbpc pulseaudio[14317]: alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read!
Mar 17 15:32:52 mbpc pulseaudio[14317]: alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_emu10k1'. Please report this issue to the ALSA developers.
Mar 17 15:32:52 mbpc pulseaudio[14317]: alsa-source.c: We were woken up with POLLIN set — however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Mar 17 15:32:52 mbpc pulseaudio[14317]: module.c: Module "module-udev-detect" should be loaded once at most. Refusing to load.
Mar 17 15:32:52 mbpc pulseaudio[14317]: main.c: Module load failed.
Mar 17 15:32:52 mbpc pulseaudio[14317]: main.c: Failed to initialize daemon.
Mar 17 15:32:52 mbpc pulseaudio[14315]: main.c: Daemon startup failed.
 

Taking a look further down for text detect in the .pa file from above revealed we're already loading some detect lines as per the default .pa file configuration so I only needed to add tsched=0 to disable the timer based scheduling for the module arleady being loaded: module-udev-detect & module-detect:

# UPDATE: TOM K added tsched=0 to line.
load-module module-udev-detect tsched=0
 
# UPDATE: TOM K added tsched=0 to line.
load-module module-detect tsched=0
 
And that resolved my Waiting for sound system to respond error.   Moving further along, the other options in the /etc/pulse/daemon.conf file:
 
; UNCOMMENTED TOM K
realtime-scheduling = yes
; realtime-priority = 5
 
and
 
; UPDATE TOM K
default-fragment-size-msec = 10
; default-fragment-size-msec = 25
 
 
seamed to do the trick to enable me to play sound off of multiple applications without having one lock it.  Hope it also works for you!  Enjoy!
 
Another Source of Error
 
Another source of the error is due to the daemon simply not running.  For this, in GNOME, on the start bar / panel click System -> Preferences -> Startup Applications click on the Startup programs tab then click on Add 

Name: Pulseaudio daemon
Command: /usr/bin/pulseaudio
Comment: Start the sound daemon
 
or
 
Name: PulseAudio Sound System
Command: start-pulseaudio-x11
Comment: Start the PulseAudio Sound System
 
Restart system or simply run init 1 then init 5 from the CLI to partially restart the OS.
 
Further Reading:
 
Cheers,
TK

Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

While uploading images to the blog, I run into this little error:

Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

The solutionw as to disable WP Super Cache temporarily while I try to figure out the real root case.

Cheers,
TK


     
  Copyright © 2003 - 2025 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.