Network Administrator

Technology Made Simple, For IT Professionals
  • rss
  • Home
  • About
  • Downloads
  • Forums
  • PHOTOS
  • Contact

64-bit version of Windows 7, the usable memory is less than the installed memory

admin | February 23, 2010 | 8:05 pm

http://support.microsoft.com/kb/978610/

Check the system configuration settings
This problem may occur because the Maximum memory option is selected incorrectly. To fix this, follow these steps:
Click StartCollapse this imageExpand this image, type msconfig in the Search programs and files box, and then click msconfig in the Programs list.
In the System Configuration window, click Advanced options on the Boot tab.
Click to clear the Maximum memory check box, and then click OK.
Restart the computer.
Update the system BIOS
The problem may occur because the system BIOS is outdated. If you have an older computer, the system may be unable to access all the installed RAM. In this case, you have to update the system BIOS to the latest version.

To update the BIOS on the computer, visit the Web site of your computer manufacturer to download the BIOS update. Or, contact your computer manufacturer for help.
Check BIOS settings
The problem may occur because some BIOS settings are incorrect.
Enable the memory remapping feature

Check the BIOS settings to see whether the memory remapping feature is enabled. Memory remapping gives Windows access to more memory. You can enable the memory remapping feature in the BIOS by booting to the system setup. See the User’s Guide for your computer for instructions on how to boot to system setup on your computer. The name for the memory remapping feature may be different for different hardware vendors. This can be listed as memory remapping, memory extension or something similar. Be aware that your computer may not support the memory remapping feature.
Change the AGP video aperture size in the BIOS settings

Check the BIOS settings to see how much memory you have allocated to AGP video aperture. This is the memory that the system is sharing with the video card that is used for texture mapping and rendering. This memory would not be used by the system, because it is locked by the video card. You can adjust the AGP video aperture size in the BIOS. Standard settings are “32MB,”"64MB,”"128MB,”and “Auto.” After you change this setting in the BIOS, restart your computer, and then check the usable memory. You can test each setting to see which offers the best results.
Check possible issues with the physical RAM
The problem may occur because there are issues on the physical RAM installed.
Check whether you have bad memory modules

To check whether you are experiencing this issue, turn off the computer, unplug the computer, and then swap the order of the memory.
Make sure that the memory arrangement is correct

Refer to the User’s Guide of the computer to determine in what order the memory modules should be inserted into the memory slots. The system may require you to use specific slots when you are not using all the available slots. For example, the computer has four slots available, but you may have to use slot 1 and slot 3 if you want to use only two memory modules.
Check whether memory standoff cards are used

If you use a memory standoff card to hold multiple memory modules on the computer, the system may require specific configurations for this scenario. Therefore, the usable memory may be less than expected.

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Tomcat6 as a non-root user

admin | February 21, 2010 | 10:18 pm

Tomcat running as root could be a huge security hole. Linux only allows root to listen to port 80 and 443…which is why many users of tomcat under Linux run tomcat as root. However, with jscv, the process will start off as root but later on will change ownership to the user tomcat or whatever username you wish.

After doing a few google searches I quickly found bits and pieces to do with configuring Tomcat 6 as a non-root user. So I thought I would try and put together a list of what I did to get this up and running.

1. Download and Install the Linux distro of your choice. I installed Tomcat6 on Fedora 8 Core. After you have Lunix installed its good practice to make sure you have all OS updates applied.

2. Create the user to run tomcat under with useradd tomcat. Issuing this command will create a directory under
/home/tomcat.

3. Download and install Java. Visit http://java.sun.com/products/archive/j2se/6u2/index.html. Select JDK 6,

4. After the download is complete, issue this command to make the file executable chmod 755 jdk-6u2(Version number).

5. Then run the install by issuing ./jdk(version number)

6. Updatedb;locate javac |grep bin

7. Now you need to run the alternatives command to instruct Fedora to recognize Sun’s JVM.

alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_02/bin/java 100
alternatives –install /usr/bin/jar jar /usr/java/jdk1.6.0_02/bin/jar 100
alternatives –install /usr/bin/javac javac /usr/java/jdk1.6.0_02/bin/javac 100
/usr/sbin/alternatives –config java

Select option 1

Type java -version

you should see something like this:
java version “1.6.0_02″
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b02)
Java HotSpot(TM) Client VM (build 1.6.0_02-ea-b02, mixed mode, sharing)

export JAVA_HOME=/usr/java/jdk1.6.0_02/bin

8. yum Install gcc

9. Download tomcat 6 here http://tomcat.apache.org/download-60.cgi to /home/tomcat. Then Extract the tar file using tar xvzf tomcat6filename.gz to /home/tomcat

10. chown tomcat.tomcat /home/tomcat -R

11. Compile the jscv code by following the instructions here http://tomcat.apache.org/tomcat-6.0-doc/setup.html. You may have to issue
export JAVA_HOME=/usr/java/jdk1.6.0_02/bin before you run the ./configure and the make.

12. Create your start and stop script. Navigate to /etc/init.d create a new file by issuing touch tomcat, make the file executable by issuing chmod 755 tomcat.

13. Next issue vim tomcat and copy and paste the config below. You might have to change some of the setting to fit your server.

# Tomcat auto-start
#
# description: Auto-starts tomcat
# processname: tomcat
# pidfile: /var/run/tomcat.pid

#export JAVA_HOME=/usr/java/jdk1.6.0_02

#case $1 in
#start)
# sh /usr/local/tomcat/bin/startup.sh
# ;;
#stop)
# sh /usr/local/tomcat/bin/shutdown.sh
# ;;
#restart)
# sh /usr/local/tomcat/bin/shutdown.sh
# sh /usr/local/tomcat/bin/startup.sh
# ;;
#esac
#exit 0
#!/bin/sh
#
# Startup script for Tomcat, the Apache Servlet Engine
#
# chkconfig: 345 80 20
# description: Tomcat is the Apache Servlet Engine
# processname: tomcat
# pidfile: /var/run/tomcat.pid

TOMCAT_PROG=tomcat
JAVA_HOME=’/usr/java/jdk1.6.0_02′
CATALINA_HOME=’/usr/local/tomcat/’
DAEMON_HOME=$CATALINA_HOME/bin/jsvc
TMP_DIR=/var/tmp
CATALINA_OPTS=
CLASSPATH=\
$JAVA_HOME/lib/tools.jar:\
$CATALINA_HOME/bin/commons-daemon.jar:\
$CATALINA_HOME/bin/bootstrap.jar

# if TOMCAT_USER is not set, use tomcat like Apache HTTP server
if [ -z "$TOMCAT_USER" ]; then
TOMCAT_USER=”tomcat”
fi

RETVAL=0

# start and stop functions
start() {
echo -n “Starting tomcat: ”
chown -R $TOMCAT_USER:$TOMCAT_USER /usr/local/tomcat/*
$DAEMON_HOME \
-user $TOMCAT_USER \
-home $JAVA_HOME \
-Dcatalina.home=$CATALINA_HOME \
-Djava.io.tmpdir=$TMP_DIR \
-Djava.awt.headless=true \
-outfile $CATALINA_HOME/logs/catalina.out \
-errfile ‘&1′ \
$CATALINA_OPTS \
-cp $CLASSPATH \
org.apache.catalina.startup.Bootstrap
# To get a verbose JVM
#-verbose \
# To get a debug of jsvc.
#-debug \

RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/tomcat
return $RETVAL
}

stop() {
echo -n “Stopping tomcat: ”
PID=`cat /var/run/jsvc.pid`
kill $PID
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/tomcat /var/run/tomcat.pid
}

# See how we were called.
case “$1″ in
start)
start
;;
stop)
stop
;;
restart)
stop

sleep 5
start
;;
*)
echo “Usage: $0 {start|stop|restart}”
exit 1
esac

exit $RETVAL

14. Next to make tomcat start at boot issue #chkconfig –add tomcat and #chkconfig tomcat on 15. You can stop or start tomcat with service tomcat stop or start If you have any qustions just send me an email and ill do my best to get back to you.

15. You can stop or start tomcat with service tomcat stop or start

If you have any qustions just send me an email and ill do my best to get back to you.

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Useful iPhone Apps

admin | February 20, 2010 | 5:18 pm

OpenTable
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=296581815&mt=8

ShopShop
http://itunes.apple.com/us/app/shopshop-shopping-list/id288350249?mt=8

Pandora
http://www.pandora.com/on-the-iphone

Traffic!
http://www.inrixtraffic.com/

WebEx
http://www.webex.com/iphone/

Koredoko
http://itunes.apple.com/us/app/koredoko/id286765236?mt=8

Zenbe Lists
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284448147&mt=8

Bookmark and Share
Comments
No Comments »
Categories
iPhone
Comments rss Comments rss
Trackback Trackback

Simple way to monitor anything with an IP address

admin | February 20, 2010 | 10:22 am

This simple app can be scheduled as a windows Task. It will ping anything with a valid IP address at an interval in minutes you set. If a ping fails on an IP address you will receive an email to notify you that there is a problem.

You can download the program here http://apps.thenetworkadministrator.net/VB/monitor_servers.zip

There is a configuration file called PingInfo.exe.config which will allow you to set your email server, polling interval and the the email address or group for the notifications.

add key=”EmailAddress” value=”name@foo.com
add key=”PollingInMinutes” value=”15″/>
add key=”SMTPHost” value=”mailserver.foo.com
>

Bookmark and Share
Comments
No Comments »
Categories
Windows Server, Windows tools
Comments rss Comments rss
Trackback Trackback

Blackberry Enterprise Server 5.0 Add or delete a BlackBerry CAL key

admin | January 31, 2010 | 4:10 pm

1. In the BlackBerry(r) Administration Service, on the Servers and components menu, expand BlackBerry Solution topology
> BlackBerry Domain > Component view.
2. Click BlackBerry Administration Service.
Administration Guide Managing BlackBerry CAL keys
3. Click Edit component.
4. In the License key section, perform one of the following actions:
To add a BlackBerry CAL key, type the information for the BlackBerry CAL key. Click the Add icon.
To delete a BlackBerry CAL key, click the Delete icon.
5. Click Save all.

Bookmark and Share
Comments
No Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Exchange 2010 ActiveSync issue

admin | January 31, 2010 | 3:14 pm

So after we had Exchange 2010 installed, and verifying all activeSync settings were correct. I kept getting cannot connect to server when setting up ActiveSync on my iPhone…This is was solved the issue…

This issue occurs if the AD user object of the Exchange 2010 user doesn’t have “Allow inheritable permissions from the parent to propagate to this object and all child objects. Include these with entries explicitly defined here.”

Once this setting is checked, Exchange ActiveSync works again.

Bookmark and Share
Comments
No Comments »
Categories
Microsoft Exchange, iPhone
Comments rss Comments rss
Trackback Trackback

Linux change ownership of a directory and its files

admin | January 31, 2010 | 3:01 pm

chown -R ../

Bookmark and Share
Comments
No Comments »
Categories
Linux Server, Linux tools
Comments rss Comments rss
Trackback Trackback

Blackberry Enterprise Server Version 5.0

admin | January 31, 2010 | 2:57 pm

We recently updated our Microsoft Exchange Server from 2003 to 2010. As a result of that upgrade we needed to upgrade our Blackberry enterprise server from version 4.6 to version 5.0. Everything went well, I was able to perform an in place upgrade, after moving my SQL database off to a separate database server. I was also able to finally get all BES services to run as a regular Domain user instead of a domain administrator which was a pretty regular practice with previous versions.

In an effort to save someone else a lot of time troubleshooting with RIM, I will say this…
If you getting ready to upgrade to BES version 5 and you have exchange 2010, please make sure that you have done the following to ensure there are no communications issues between exchange 2010 and the BES.

In order to enable full support, three updates are required:

Roll-Up 1 (RU1) for Exchange Server 2010
MAPI v6.5.8147
BlackBerry Enterprise Server 5.0.1 Maintenance Release 1 (MR1)
All three of these updates are available to customers of Exchange Server 2010 and BlackBerry Enterprise Server v.5.0 with Service Pack 1 at no cost. BlackBerry Enterprise Server v5.0 Service Pack 1 and Maintenance Release 1 can be found here: http://www.blackberry.com/support/downloads

Also this is where to get the upgrade/install guide from RIM

http://docs.blackberry.com/en/admin/subcategories/?userType=2&category=BlackBerry+Enterprise+Server+for+Microsoft+Exchange

Bookmark and Share
Comments
No Comments »
Categories
Blackberry, Blackberry Enterprise Server
Comments rss Comments rss
Trackback Trackback

Configuring a secure FTP Linux Server

admin | December 24, 2009 | 10:58 am

I needed to configure an SFTP server on a Fedora 8 Core server. To Keep things simple I choose SFTP over VSFTP as I was already running the SSH Daemon for server management.

So if you dont already have the SSH Daemon installed, open a terminal session as root and type

Yum install ssh*

Select Yes to download and install

type cd /etc/ssh

type vi sshd_config and make sure the config is similar to the one below

#####SSHD_Config######

# $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

# Disable legacy (protocol version 1) support in the server for new
# installations. In future the default will change to require explicit
# activation of protocol 1
Protocol 2

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 1024

# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don’t trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don’t read the user’s ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

# Set this to ‘yes’ to enable support for the deprecated ‘gssapi’ authentication
# mechanism to OpenSSH 3.8p1. The newer ‘gssapi-with-mic’ mechanism is included
# in this release. The use of ‘gssapi’ is deprecated due to the presence of
# potential man-in-the-middle attacks, which ‘gssapi-with-mic’ is not susceptible to.
#GSSAPIEnableMITMAttack no

# Set this to ‘yes’ to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of “PermitRootLogin without-password”.
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to ‘no’.
UsePAM yes

#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
#ChrootDirectory none

# no default banner path
#Banner none

# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server

# This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5).
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL

# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server

type Esc :wq and enter to close out of the vi editor and save changes

Restart the SSH Daemon by typing service sshd restart

If you have any trouble connecting, you can install Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/

After installing putty, open a windows command window, browse to C:\Program Files (x86)\PuTTY>psftp -v (internal or external server IP address)

I did see a difference between Fedora and Open SuSE with this line in sshd_config, just make sure the path to sftp-server is correct. If your unsure where sftp-server is you can always run a search as find -name ‘ftp-server*’ or something like that.

Subsystem sftp /usr/libexec/openssh/sftp-server

Bookmark and Share
Comments
No Comments »
Categories
Linux Server, Linux tools, Uncategorized
Comments rss Comments rss
Trackback Trackback

New ATT iPhone application called Mark the Spot

admin | December 13, 2009 | 4:17 pm

AT&T has released a new iPhone application called Mark the Spot to help AT&T customers report any failures with their service. Having had Verizon for well over 10 years i was relucant to switch to ATT. At the time i was one of the many who were mezmorized by the possibilites of having an iPhone. Im not happy about having to pay $135 a month for two iPhones and having to do ATT network coverage outage detection. I guess if it will help and the app is simple ill do my part…

AT-mark-the-spot

Bookmark and Share
Comments
No Comments »
Categories
iPhone
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Recent Posts

  • 64-bit version of Windows 7, the usable memory is less than the installed memory
  • Tomcat6 as a non-root user
  • Useful iPhone Apps
  • Simple way to monitor anything with an IP address
  • Blackberry Enterprise Server 5.0 Add or delete a BlackBerry CAL key

Categories

  • Blackberry
  • Blackberry Enterprise Server
  • blogs
  • Databases
  • iPhone
  • Linux Server
  • Linux tools
  • Microsoft Apps
  • Microsoft Exchange
  • Networking
  • Security
  • Tech Preview
  • Uncategorized
  • Virtual Servers
  • Web Browsers
  • Web Servers
  • Windows Desktops
  • Windows Server
  • Windows tools

Blogroll

  • daily rotation
  • Engadget
  • how stuff works
  • how to do things
  • how to geek
  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • Lazy Network Admin
  • lopsa lopsa
  • make use of
  • marco ronchetti
  • mashable
  • Network Security
  • Petri
  • routerfreak
  • SVROPS
  • Technology blog from bbc
  • technology review
  • theworkplaceblog
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox