←September→
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| |
|
|
1 |
2 |
3 |
4 |
| 5 |
6 |
7 |
8 |
9 |
10 |
11 |
| 12 |
13 |
14 |
15 |
16 |
17 |
18 |
| 19 |
20 |
21 |
22 |
23 |
24 |
25 |
| 26 |
27 |
28 |
29 |
30 |
|
|
|
|
Mon, Aug 23, 2010 9:26 pm
Determining the Version of CentOS or Redhat Linux
To determine what version of
CentOS
or
Red Hat Linux is running on a system
look at the contents of
cat /etc/redhat-release.
References:
-
How To Determine CentOS or Red Hat Version
Posted by Jeff
Date: March 10, 2009
rackAID - Linux Server Management
Services for Small Business
[/os/unix/linux/centos]
permanent link
Tue, Aug 10, 2010 7:31 pm
Turbo Lister Postage Warning
When she tried to upload an item she intended to sell on eBay with Tubo Lister
version 8.7.101.2, my wife received the error message below:
Warning - The postage cost will be calculated based on dimensional
weight, not the actual weight of your package. Please check the weight
and dimensions of your package.
She had specified the dimensions and weight of the item and both domestic
and international shipping options, so it wasn't apparent to either of us
why she received the message. Apparently, the warning can be ignored, though.
I found someone else,
exdwh
posting the following at
Re: error code: 21916962 on July 9, 2010.
That's only an informational warning.
The only way to 'get rid of this error' would be to substitute the
dimensional weight as calculated by the shipping carrier.
A better solution is to filter out the warnings you don't care about.
When she ignored the message and uploaded the item for sale with Turbo
Lister, the item looked fine on eBay.
[/os/windows/software/auction]
permanent link
Sun, Aug 08, 2010 8:12 pm
Determining Who Voted for Which Option in an SMF Poll
If you are using polls in a
Simple Machines Forum (SMF) forum, it is possible to determine
who voted for which option in a poll by using
phpMyAdmin or by entering
MySQL commands.
[More
Info ]
[/network/web/forums/smf]
permanent link
Sun, Aug 08, 2010 5:36 pm
Installing phpMyAdmin on a CentOS System Running Apache
To install
phpMyAdmin on a
CentOS system running an
Apache webserver, login as
root and issue the command
yum install phpmyadmin from a command
prompt.
Note: you may have to install the Remi Repository or the RPMForge Repository
to be able to locate and install phpMyAdmin. Instructions for configuring
yum to use one of those repositories can be found via the links
below.
Remi Repository
RPMForge
Repository
After installing the software you will need to restart Apache, which you
can do with apachectl restart or service httpd restart
. You can then try accessing phpMyAdmin by
http://example.com/phpmyadmin substituting your domain name or
IP address for example.com.
If you receive a "403 Forbidden" error with the message
"You don't have permission to access /phpmyadmin on this server.", it is
likely because you are attempting to access the software from outside of
the server itself. The orginal phpmyadmin.conf file contains the lines below:
#
# Web application to manage MySQL
#
<Directory "/usr/share/phpmyadmin">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
The Deny from all line states that the default behavior
is to prevent any IP address from accessing phpMyAdmin. The next line,
Allow from 127.0.0.1 provides for the exception of accessing
the software from the server itself, i.e., the "localhost" address
127.0.0.1. You could change the "deny from all" to "allow from
all" to allow access from anywhere or put a "#" at the beginning of the line
to comment it out. Or, you could add additional IP addresses or
FQDN's after the
127.0.0.1 to allow access to phpMyAdmin from other systems.
E.g. you could change the line to Allow from 127.0.0.1 192.168
to also allow access from any IP address beginning with 192.168. Restart
Apache again.
If you then try accessing phpMyAdmin, e.g., you might use
http://192.168.0.10/phpmyadmin, if 192.168.0.10 was your
webserver's IP address, but get the error message The
configuration file now needs a secret passphrase (blowfish_secret).
then you need to edit /usr/share/phpmyadmin/config.inc.php.
Look for the following lines:
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
Place a password between the two single quotes, e.g., you could have a
password of SomeGoodPassword with the following:
$cfg['blowfish_secret'] = 'SomeGoodPassword';
If you refresh the webpage, you should then see a phpMyAdmin login window
where you are prompted to enter a username and password, which should be
the mysql root account and it's password.
For further information on phpMyAdmin and MySQL, there is a book
by Marc Delisle,
Mastering phpMyAdmin for Effective MySQL Management.
References:
-
phpMyAdmin
-
RPMForge Packages and Yum Priorites
Date: May 3, 2008
MoonPoint Support
-
Remi Repository
Antoine Solutions Development A Free PHP IDE built on Open Source Software
-
Quick 'n' Easy LAMP Server For CentOS/RHEL
By: olddocks
Date: May 28, 2008
HowtoForge - Linux Howtos and Tutorials
[/network/web/tools/phpmyadmin]
permanent link
Sun, Aug 08, 2010 1:45 pm
Restricting Access to an Apache Virtual Host
To restrict access to an Apache Virtual Host
by IP address, you will need to have the
mod_authz_host module loaded in the Apache configuration file
httpd.conf, which can usually be found at
/etc/httpd/conf/httpd.conf on
a Linux system. To determine if it is loaded, look for a line similar to the
following in the configuration file:
LoadModule authz_host_module modules/mod_authz_host.so
You can restrict access to a website that is set up as a virtual host by
including information on what IP addresses should have access to documents
on the website in a directory section Directory as shown below.
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
ServerAdmin webmaster@example.com
DocumentRoot /home/www/example
ErrorLog /home/www/example/logs/error.log
CustomLog /home/www/example/logs/transfer.log common
<Directory /home/www/example>
Order Deny,Allow
Deny from all
Allow from 192.168 127.0.0.1
</Directory>
</VirtualHost>
In the case above, access to the document root of the website, i.e., all
documents on the website, is restricted to allow access only from IP addresses
beginning with 192.168 and 127.0.0.1, which is the "localhost" address, meaning
the address of the server itself. Anyone trying to access example.com
from any other IP address would see the default webpage for the server, if any,
not the example.com website.
References:
-
Access Control
The Apache HTTP Server Project
-
Apache Module mod_authz_host
The Apache HTTP Server Project
-
Learn how to configure Apache
Date: September 29, 2003
TechRepublic Articles
[/network/web/server/apache]
permanent link
Sat, Aug 07, 2010 10:23 pm
Configuring Outlook 2003 to Check a Gmail Account
Microsoft Office Outlook can be configured to download email from
a Gmail account by following
these steps.
[/os/windows/office/outlook]
permanent link
Sat, Aug 07, 2010 10:21 pm
Exporting a Gmail Contact List For Use in Microsoft Outlook
To export a Gmail contact list for use in Microsoft Outlook, take
the following steps:
- Log into your Gmail account.
- On the left side of the webpage for your Gmail account, you should
see Contacts; click on Contacts.
- Under Export, you will see "Who do you want to export",
select the contact list you wish to export by using the dropdown list
provided.
- For "Which export format", select "Outlook CSV format (for importing
into Outlook or another application)"
- Click on the Export button.
- Save the .csv file wherever you wish to place it on your system.
Now that you've saved the Comma Separated Value (CSV) file on your system,
you can import it into Microsoft Outlook. To do so in Outlook 2003, take
the following steps:
- Select Contacts.
- If you wish to create a new separate Outlook contact list for the
Gmail contact list, click on File, select New, then
Folder. In the Name field, type
a name for the Folder. Leave "Folder contains" set to "Contact Items",
then click on OK.
- Click on File.
- Select Import and Export
- For the action to perform, select "Import from another program or file.
- Click on Next.
- For "Select file type to import from", select
"Comma Separated Values (Windows)".
- Click on Next.
- For "file to import", you have 3 options:
Replace duplicates with items imported
Allow duplicates to be created
Do not import duplicate items
The selection you make among those 3 options is a matter of personal
preference. If you aren't importing into an existing contact list in
Outlook, but will, instead, be using the new one you just created, then it
doesn't matter much which option you select. If you're importing into an
existing list, e.g., you are updating an Outlook contact list again from one
you've previously imported into Outlook, you probably don't want to
have duplicate entries, so wouldn't want to select the second option
to allow duplicates to be created. If the Gmail list is the more
up-to-date one, you probably want to select "Replace duplicates with
items imported."
- Click on the Browse button and browse to the location
of the .csv file you created from the Gmail contact list. When you've
selected the file, click on Next.
- For "Select destination folder", choose the main contact list or
the one you created previously, then click on Next.
- Click on the Finish button.
[/os/windows/office/outlook]
permanent link
Wed, Aug 04, 2010 10:12 pm
CD and DVD Preferences under Mac OS X
If you put a blank disc in the disc drive in a Mac OS X system, but
you don't see an icon appear on the desktop representing that disc, you
may need to change the
System Preferences settings for CDs and
DVDs. If the configuration is set to "ignore", then you won't see an icon
representing the blank disc appear on the desktop. To change the settings, take
the following steps:
- Click on the Apple icon at the top left of your screen and select
System Preferences.
- Select CDs & DVDs.
- Check the settings for "When you insert a blank CD" and "When you
insert a blank DVD." If they are set to "ignore", then that explains why
no icon appears on the desktop when you insert a blank disc.
- You can choose from the following options:
- Ask what to do
- Open Finder
- Open iTunes
- Open Disk Utility
- Open other application...
- Run script...
- Ignore
- You can choose Open Finder to have an icon appear on the
desktop for the disc, e.g., "Untitled CD" for a blank CD. When you've changed
the setting, you can close the CDs & DVDs window.
-
References:
-
Mac OS X 10.2, 10.3: You put in a blank disc, but it doesn't appear
Last Modified: January 8, 2007
Article: TA22349
Apple - Support
[/os/os-x]
permanent link
Tue, Jul 20, 2010 10:10 pm
Installing a New SMF Theme
For
Simple Machines Forum (SMF)
1.1.11, if you have downloaded the Zip file for the theme to your PC, you can
take the following steps to place the theme on the server where your
forum resides:
- Log into the forum as the administrator for the forum.
- Click on Admin.
- Click on Themes and Layout under Configuration.
- Under Install a New Theme, click on the Browse button
beneath the "From a file" option and browse to the location of the .zip theme
file you downloaded and select it.
- Click on the Install button.
- Another small window will open where you will see "Install a new theme?"
Click on the OK button. You should then see a page stating
"Installed Successfully". If you click on the Themes and Settings
tab, you should see the new theme listed.
If you ever want to delete the theme, take the following steps:
- Log into the forum as the administrator for the forum.
- Click on Admin.
- Click on Themes and Layout under Configuration.
- Click on the Themes and Settings tab.
- Find the theme you want to delete. At the right-side of the entry
for that theme, you should see an icon that looks like a piece of
paper with a red "x" over it. Click on that icon to delete the theme.
[/network/web/forums/smf]
permanent link
Fri, Jul 16, 2010 3:36 pm
Hpbpro.exe and Hpboid.exe Processes Slowing System
A user reported that her system had been running abysmally slow for quite
awhile. I scanned the system for malware, but found none. Instead, I found
the problem to be a multitude of
hpboid.exe and
hpbpro.exe
processes running on the system. I've
seen this problem before and
many others have experienced the same problem. The processes are associated
with an HP printer - this user shares an HP printer, which is connected by USB
to her system, with others on her Local Area Network (LAN). It appears that
they are created when someone sends output to the printer associated with
the processes.
Below shows the number I found once when I checked to see how many of each
of these processes was running. I've seen even more instances of the processes
running at other times. They consume memory and, when a significant number of
them accumulate, they can slow a system significantly.
C:\Documents and Settings\Administrator>tasklist /fi "imagename eq hpboid.exe"
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
HPBOID.EXE 4044 Console 0 532 K
HPBOID.EXE 3152 Console 0 572 K
HPBOID.EXE 3748 Console 0 580 K
HPBOID.EXE 1340 Console 0 560 K
HPBOID.EXE 3712 Console 0 576 K
HPBOID.EXE 1984 Console 0 576 K
HPBOID.EXE 760 Console 0 780 K
HPBOID.EXE 3412 Console 0 772 K
HPBOID.EXE 3772 Console 0 776 K
HPBOID.EXE 2756 Console 0 776 K
HPBOID.EXE 1372 Console 0 740 K
HPBOID.EXE 5636 Console 0 796 K
HPBOID.EXE 4200 Console 0 2,308 K
HPBOID.EXE 5472 Console 0 2,324 K
HPBOID.EXE 960 Console 0 2,316 K
HPBOID.EXE 836 Console 0 2,312 K
C:\Documents and Settings\Administrator>tasklist /fi "imagename eq hpbpro.exe"
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
HPBPRO.EXE 2460 Console 0 552 K
HPBPRO.EXE 1476 Console 0 568 K
HPBPRO.EXE 4028 Console 0 584 K
HPBPRO.EXE 2708 Console 0 776 K
HPBPRO.EXE 5056 Console 0 2,384 K
I created a batch file,
kill_hp_processes.bat to deal with the problem.
@echo off
REM Name: kill_hp_processes.bat
REM Created by: Jim Cameron
REM Created on: July 9, 2010
REM Last updated: July 16, 2010
REM Version: 1.2
REM Description:
REM Check for errant HP processes: hpboid and hpbpro.exe.
REM These processes can start and never end until the system
REM is rebooted. When they accumulate they can consume
REM significant amounts of memory and potentially CPU cycles
REM reaching the point where the system's performance is
REM considerably degraded.
REM Specify log file
set log="c:\kill_hp_processes.log"
REM Put the date and time in the log file
echo %date% %time% >> %log%
REM List the hpboid.exe processes running.
tasklist /fi "imagename eq hpboid.exe" >> %log%
REM Count the number of hpboid.exe processes running.
for /f "delims=" %%a in ('tasklist /fi "imagename eq hpboid.exe" ^| find /c /i "hpboid.exe"') do set numprocesses=%%a
echo.
echo Number of hpboid.exe processes running: %numprocesses% >> %log%
if %numprocesses$ NEQ 0 taskkill /f /fi "imagename eq hpboid.exe"
REM List the hpbpro.exe processes running.
tasklist /fi "imagename eq hpbpro.exe" >> %log%
REM Count the number of hpbpro.exe processes running.
for /f "delims=" %%a in ('tasklist /fi "imagename eq hpbpro.exe" ^| find /c /i "hpbpro.exe"') do set numprocesses=%%a
echo.
echo Number of hpbpro.exe processes running: %numprocesses% >> %log%
if %numprocesses$ NEQ 0 taskkill /f /fi "imagename eq hpbpro.exe"
REM put a blank line in the file to separate the entries added at this time
REM from those that will be added at a later time.
echo.
I log the killing of the errant HP processes to see how many are
killed every time the batch job runs. Log file entries for a particular
instance of the batch file running are shown below:
Fri 07/16/2010 15:00:00.71
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
HPBOID.EXE 4044 Console 0 532 K
HPBOID.EXE 3152 Console 0 572 K
HPBOID.EXE 3748 Console 0 580 K
HPBOID.EXE 1340 Console 0 560 K
HPBOID.EXE 3712 Console 0 576 K
HPBOID.EXE 1984 Console 0 576 K
HPBOID.EXE 760 Console 0 780 K
HPBOID.EXE 3412 Console 0 772 K
HPBOID.EXE 3772 Console 0 776 K
HPBOID.EXE 2756 Console 0 776 K
HPBOID.EXE 1372 Console 0 740 K
HPBOID.EXE 5636 Console 0 796 K
HPBOID.EXE 4200 Console 0 2,308 K
HPBOID.EXE 5472 Console 0 2,324 K
HPBOID.EXE 960 Console 0 2,316 K
HPBOID.EXE 836 Console 0 2,312 K
Number of hpboid.exe processes running: 16
Image Name PID Session Name Session# Mem Usage
========================= ====== ================ ======== ============
HPBPRO.EXE 2460 Console 0 552 K
HPBPRO.EXE 1476 Console 0 568 K
HPBPRO.EXE 4028 Console 0 584 K
HPBPRO.EXE 2708 Console 0 776 K
HPBPRO.EXE 5056 Console 0 2,384 K
Number of hpbpro.exe processes running: 5
I used the Windows at command to schedule the process to
run at 11:00 AM and 3:00 PM on weekdays to kill any instances of the two
processes. I used the at command twice since when I first had
it running only at 3:00 PM, too many of the processes were accumulating
during the day before the batch job ran. I use progra~1
for the "program files" directory, when submitting the batch job to run
with the at command, because that is a "shorthand" version that
Windows understands for that directory, which allows me not to worry about
spaces in the directory name.
C:\Documents and Settings\Administrator\My Documents>at 11:00 /every:M,T,W,Th,F
c:\progra~1\utility\kill_hp_processes.bat
Added a new job with job ID = 5
C:\Documents and Settings\Administrator\My Documents>at
Status ID Day Time Command Line
-------------------------------------------------------------------------------
4 Each M T W Th F 3:00 PM c:\progra~1\utility\kill_hp_processes.bat
5 Each M T W Th F 11:00 AM c:\progra~1\utility\kill_hp_processes.bat
References:
-
Multiple Hbpoid.exe and Hpbpro.exe Processes Running
Date: October 23, 2008
MoonPoint Support
-
HPBPRO.EXE & HPBOID.EXE
Date: February 12, 2007
Hewlett-Packard Development Company, L.P.
/os/windows/printers]
permanent link