The Network Administrator

The weblog of an IT pro specializing in virtualization, storage, servers and networking
  • rss
  • Home
  • About
  • Downloads
  • Contact

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

MWahl | 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.

Comments
4 Comments »
Categories
Uncategorized
Comments rss Comments rss
Trackback Trackback

Tomcat6 as a non-root user

MWahl | 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.

Comments
Comments Off
Categories
Linux Server, Web Servers
Comments rss Comments rss
Trackback Trackback

Useful iPhone Apps

MWahl | 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

Comments
Comments Off
Categories
iPhone
Comments rss Comments rss
Trackback Trackback

Simple way to monitor anything with an IP address

MWahl | 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/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
>

Comments
1 Comment »
Categories
Windows Server, Windows tools
Comments rss Comments rss
Trackback Trackback

some text

RSS Netcast

  • Increasing your AWS EC2 root partition (Windows) December 14, 2011
  • IIS SSL Certificate into Amazon Elastic Load Balancer December 7, 2011
  • Upgrade an Opsview Appliance August 13, 2011

Categories

  • Activesync (1)
  • Amazon EC2 (5)
  • Amazon S3 (2)
  • Antivirus (1)
  • Blackberry (9)
  • Blackberry Enterprise Server (1)
  • blogs (3)
  • Cisco (6)
  • Citrix Xenapp (2)
  • Databases (2)
  • HTC (1)
  • Internet Explorer (1)
  • iPhone (4)
  • Linux Server (18)
  • Linux tools (11)
  • Microsoft Apps (2)
  • Microsoft Exchange (12)
  • Microsoft Office (1)
  • Microsoft Sharepoint Services (1)
  • Microsoft SQL Server (3)
  • Monitoring (2)
  • MS IIS 6 (1)
  • MYSQL (1)
  • NetCast (3)
  • Networking (19)
  • OpsView/Nagios (1)
  • Photos (1)
  • RAID (1)
  • Scripts (4)
  • Secure FTP (1)
  • Security (10)
  • Smart Phones (1)
  • Tech Preview (8)
  • Uncategorized (40)
  • Virtual Servers (4)
  • Web Browsers (2)
  • Web Server load balancing (1)
  • Web Servers (9)
  • Windows Desktops (17)
  • Windows Server (24)
  • Windows tools (23)
  • WordPress (1)

Recent Posts

  • Increasing your AWS EC2 root partition (Windows)
  • IIS SSL Certificate into Amazon Elastic Load Balancer
  • Upgrade an Opsview Appliance
  • AppAssure Replay First Impressions
  • Linux Boot Process

Archives

Blogroll

  • IT Pro Security Community
  • Jeff Stevenson
  • kevin devin
  • lopsa lopsa
  • MWahl social.microsoft.com
  • Network Security
  • Petri
  • SVROPS
  • Technology blog from bbc
  • technology review
  • THE WAN LAN LORD
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox