Running replication server in VM
Are SQL Server replication server supported to run in a virtualization environment?
There is a performance hit with running any SQL Server on a VM. With merge replication this is especially noticeable. You may be lucky and have not problems, but it is wise to test before you virtualize.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
Similar Messages
-
Enqueue replication server does not terminate after failover
Hi,
We are trying to setup high availability of enqueue server where in we have running enqueue server on node-A and ERS on node-B all the time.
Whenever enqueue is stopped on node-A, it automatically failovers on node-B but after replication of lock table, enqueue does not terminate the ERS running on node-B and as a result our enqueue and ERS both keeps running on the same host (Failover node-B) which should not be the case.
We havenu2019t configured polling in that scenario SAP note-1018968 depicts the same however this is applicable only for version-640 and 700.
Ideally when enqueue server switches to node-B, it should terminate the ERS on the same node after replication and then HA software would take care of its restart on node -A.
We have ERS running of version 701; could anyone please let me know if the same behaviour is common for 701 version as well?
Or there is any additional configuration to be done to make it working.
Thanks in advance.
Cheers !!!
AshishHi Naveed,
Stopping ERS is suppose to be taken care by SAP only and not the HA software.
Once ERS stops on node -B there would be a fault reported and as a result HA software will restart the ERS on node A.
Please refer to a section of SAP Note 1018968 - 'Enqueue replication server does not terminate after failover'
"Therefore, the cluster software must only organise the restart of the replication server and does not need to do anything for the shutdown."
Another blog about the same:
http://www.symantec.com/connect/blogs/veritas-cluster-server-sap
- After the successful lock table takeover, the Enqueue Replication Server will fault on this node (initiated by SAP). Veritas Cluster Server recognizes this failure and initiates a failover to a remaining node to create SAP Enqueue redundancy again. The Enqueue Replication Server will receive the complete Enqueue table from the Enqueue Server (SCS) and later Enqueue lock updates in a synchronous fashion.
So it is nothing about HA software, it is the SAP which should control ERS on node-B.
Cheers !!!
Ashish -
Sybase replication server training
Hi,
We are looking for classroom based Sybase replication server training courses (English) in Germany or other European countries.
It seems like SAP is no longer running classroom based course and none of it's listed training partners are running Sybase replication server courses.
Does anyone know of a training facility that still runs the replication server course in English ?
Thanks in advance,
Regards,
KennyHi Kenny,
please see here:
https://training.sap.com/de/de/search?query=Sybase+replication+server
You can change the country in the drop-down menu at the top.
Regards,
Arnold -
Running Lion Server on a FCP Machine?
Is it a sin to run Mac OS X Lion Server on a machine I purchased to do video editing with? If you don't want to address the normative question, can you tell me how much RAM it takes to run Lion Server? I have 16 GBs, purchased for motion graphics. I don't do a lot of motion graphics, but it's good to have the RAM and the processing power all together when you need it.
Thanks for your input!>I assumed that Prem Pro and After Effects will run both 32 and 64 bit OS.
No, 64bit only... see below
Adobe's MINimums http://www.adobe.com/products/premiere/tech-specs.html
-Programs won't display if they will not install on your computer
-http://helpx.adobe.com/creative-cloud/kb/all-apps-displayed-aam.html -
Flex application not working when deployed run from Server
Hi,
I have Flex application which takes a parameter from user, makes a web-service call and returns the message.
This application is running perfectly when I launch from IDE.
But when I copy the files from bin-release to server and launch it, it gives me no result.
In the crossdomain file on the server which hosts web-service, I have added the my host IP in the
allow-access-from domain tag.
In the initialization method of the application I load crossdomain using following code:
Security.allowDomain("remoteservername");
Security.loadPolicyFile("http://remoteservername/crossdomain.xml");
var request:URLRequest = new URLRequest("http://remoteservername/crossdomain.xml");
var loader:URLLoader = new URLLoader();
loader.load(request);
Is there a way I can debug application when running from server?
Please give me some pointer to solve this problem.
Thank you.
ChintanAlex thanks for reply
The URL for the app is http://<some_IP>/flex_app
<some_IP> is added in crossdomain.
Also we have outbound IP's and of these are also added in the crossdomain file.
This is the current content of crossdomain file:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="<some_IP>"/>
<allow-access-from domain="<outbound_IP1>"/>
<allow-access-from domain="<outbound_IP2>"/>
<allow-access-from domain="<outbound_IP3>"/>
<allow-http-request-headers-from domain="<outbound_IP1>" headers="SOAPAction"/>
<allow-http-request-headers-from domain="<outbound_IP2>" headers="SOAPAction"/>
<allow-http-request-headers-from domain="<outbound_IP3>" headers="SOAPAction"/>
</cross-domain-policy>
App runs perfectly fine when launched from Flex Builder. -
Minecraft server script (run minecraft server as a daemon in Arch)
Hey all, I just finished editing and setting up a nice script to run a Minecraft server at boot in Arch. This is based on the original script on the minecraft wiki here. I've edited it to be suitable to place in your /etc/rc.d/ folder with the name "minecraft" (/etc/rc.d/minecraft).
This requires a user "minecraft" with the home directory /home/minecraft to work by default.
I decided I wanted to run the server entirely in RAM so I store all my files in /home/minecraft/backup while the server is offline. When it starts up it makes a tmpfs mount at /home/minecraft/minecraft and copies all the files there and runs from there. It makes an hourly backup using /etc/rc.d/backup stored in /home/minecraft/onlinebackup, first erasing the current backup and creating a new one. This is simply to save space. In the event of a crash without proper stopping of the daemon you will have a backup from your previous reboot (or restart of your minecraft server) in /home/minecraft/backup and one from within the previous hour in /home/minecraft/onlinebackup which I figure ought to be enough. You can manually backup at any time by restarting the daemon.
All paths can be altered. You can run this game under your normal user if you wish, just change the Settings section at the top of the file. RAM amounts may need to be increased for both the server and for the tmpfs, depending on how large your files are (mine are tiny and I have not heard of over 48MB for a game world, but you never know). Just check up on df -h every now and again to make sure your tmpfs has plenty of space, or just increase the allocated maximum size from the start. If you have low RAM you can always change the script to simply not use tmpfs.
If anyone wants, just ask and I can put up a version without tmpfs (should be easy enough to remove yourself but if you're not sure I'll do it for you)
All you need to start off with (if starting your server for the first time, using the scrip as is) is the user minecraft created, with the folders backup, onlinebackup and minecraft in the folder /home/minecraft, your minecraft_server.jar file in /home/minecraft/backup and your oninebackup file in /home/minecraft/backup.
NOTE: onlinebackup file runs from /home/minecraft/minecraft so that if your system crashes, the cron job to run the backups will fail because the link will point to a non-existant file until server is started again.
You can use these commands to with the server: /etc/rc.d/minecraft {start|stop|restart|update|backup}
The backup system is designed to wipe all previous sessions' backups upon starting the server, so do not set it to start the server at boot.
/etc/rc.d/minecraft
#!/bin/bash
# /etc/rc.d/minecraft
. /etc/rc.conf
. /etc/rc.d/functions
#Uncomment line below if using Sun JRE
#. /etc/profile
#Settings
SERVICE='minecraft_server.jar'
USERNAME="minecraft"
MCPATH='/home/minecraft/minecraft'
MCOFFLINEPATH='/home/minecraft/backup'
INVOCATION='java -Xmx768M -Xms768M -jar minecraft_server.jar nogui'
BACKUPPATH='/home/minecraft/onlinebackup'
ME=`whoami`
as_user() {
if [ "$ME" == "$USERNAME" ] ; then
bash -c "$1"
else
su -c - $USERNAME "$1"
fi
mc_start() {
stat_busy "Starting Minecraft Server"
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "Tried to start but $SERVICE was already running!"
else
echo "$SERVICE was not running... starting."
#Move minecraft from backup folder to ram
mount -t tmpfs tmpfs -o size=50m $MCPATH
cp -a $MCOFFLINEPATH/* $MCPATH
echo "Files moved to RAM."
cd $MCPATH
as_user "cd $MCPATH && screen -dmS minecraft $INVOCATION"
sleep 7
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is now running."
#Create hourly backups while running
ln -s $MCPATH/onlinebackup /etc/cron.hourly/minecraftonlinebackup
echo "Hourly backups initiated."
else
echo "Could not start $SERVICE."
umount $MCPATH
fi
fi
add_daemon minecraft
stat_done
mc_saveoff() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... suspending saves."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER BACKUP STARTING. Server going readonly...\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-off\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-all\"\015'"
sync
sleep 10
else
echo "$SERVICE was not running. Not suspending saves."
fi
mc_saveon() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... re-enabling saves."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-on\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER BACKUP ENDED. Server going read-write...\"\015'"
else
echo "$SERVICE was not running. Not resuming saves."
fi
mc_stop() {
stat_busy "Stopping Minecraft Server"
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... stopping."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER SHUTTING DOWN IN 10 SECONDS. Saving map...\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-all\"\015'"
sleep 10
as_user "screen -p 0 -S minecraft -X eval 'stuff \"stop\"\015'"
sleep 7
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE could not be shut down... still running."
else
echo "$SERVICE is shut down."
#Stop hourly backups
rm /etc/cron.hourly/minecraftonlinebackup
echo "Hourly backup halted."
#Unmount tmpfs
cp -a $MCPATH/* $MCOFFLINEPATH
umount $MCPATH
echo "Files copied to HDD."
fi
else
echo "$SERVICE was not running."
fi
rm_daemon minecraft
stat_done
mc_update() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running! Will not start update."
else
MC_SERVER_URL=http://minecraft.net/`wget -q -O - http://www.minecraft.net/download.jsp | grep minecraft_server.jar\</a\> | cut -d \" -f 2`
as_user "cd $MCPATH && wget -q -O $MCPATH/minecraft_server.jar.update $MC_SERVER_URL"
if [ -f $MCPATH/minecraft_server.jar.update ]
then
if `diff $MCPATH/minecraft_server.jar $MCPATH/minecraft_server.jar.update >/dev/null`
then
echo "You are already running the latest version of $SERVICE."
else
as_user "mv $MCPATH/minecraft_server.jar.update $MCPATH/minecraft_server.jar"
echo "Minecraft successfully updated."
fi
else
echo "Minecraft update could not be downloaded."
fi
fi
mc_backup() {
echo "Backing up minecraft world"
if [ -d $BACKUPPATH/world_`date "+%m.%d.%Y"` ]
then
for i in 1 2 3 4 5 6
do
if [ -d $BACKUPPATH/world_`date "+%m.%d.%Y"`-$i ]
then
continue
else
as_user "cd $MCPATH && cp -r world $BACKUPPATH/world_`date "+%m.%d.%Y"`-$i"
break
fi
done
else
as_user "cd $MCPATH && cp -r world $BACKUPPATH/world_`date "+%m.%d.%Y"`"
echo "Backed up world"
fi
echo "Backing up the minecraft server executable"
if [ -f "$BACKUPPATH/minecraft_server_`date "+%m.%d.%Y"`.jar" ]
then
for i in 1 2 3 4 5 6
do
if [ -f "$BACKUPPATH/minecraft_server_`date "+%m.%d.%Y"`-$i.jar" ]
then
continue
else
as_user "cd $MCPATH && cp minecraft_server.jar \"$BACKUPPATH/minecraft_server_`date "+%m.%d.%Y"`-$i.jar\""
break
fi
done
else
as_user "cd $MCPATH && cp minecraft_server.jar \"$BACKUPPATH/minecraft_server_`date "+%m.%d.%Y"`.jar\""
fi
echo "Backup complete"
#Start-Stop here
case "$1" in
start)
mc_start
stop)
mc_stop
restart)
mc_stop
mc_start
update)
mc_stop
mc_backup
mc_update
mc_start
backup)
mc_saveoff
mc_backup
mc_saveon
status)
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running."
else
echo "$SERVICE is not running."
fi
echo "Usage: /etc/rc.d/minecraft {start|stop|update|backup|status|restart}"
exit 1
esac
exit 0
/home/minecraft/backup/onlinebackup
#!/bin/bash
# /home/minecraft/backup/onlinebackup
rm -rf /home/minecraft/onlinebackup/*
/etc/rc.d/minecraft backup
UPDATE:
rationalOgre has created an alternate script with a different backup system, which will keep compressed copies of your world indefinitely, along with a working update function. https://bbs.archlinux.org/viewtopic.php … 97#p944797
Last edited by PIMPinator (2011-06-08 14:00:54)@PIMPinator - Weird. On mine, if I don't source /etc/profile it won't work. No clue what the difference is. I tested it after I got it up and running, removing different elements to see if one or the other was the problem. Without it all in place it just didn't work.
I made some modifications to your script today. Fixed "update" so it works properly. (You had it running mc_backup after mc_stop, which never worked on my system.) I basically reworked it so it runs the backup, then stops the server and performs the update in the ~/backup directory, then restarts the server. I also completely overhauled the "backup" system. (for this to work you have to comment out the rm -rf ~/onlinebackup/* directive in the onlinebackup script.) Now, it creates 4 rolling backups of the server, in tar.gz format. What this means is that over time, you will accumulate the last 4 backups for each day in your ~/onlinebackup folder. I thought about creating a cleanup function to cull anything over 2 days old but to be honest, even if your world was > 50MB, zipped up it's going to be about ~20mb which means you can have 50 of them and only be taking up a gig of server space. Anyway, here's the code if you are interested.
#!/bin/bash
# /etc/init.d/minecraft
. /etc/rc.conf
. /etc/rc.d/functions
#Comment out the following if using OpenJDK
. /etc/profile
#Settings
SERVICE='minecraft_server.jar'
USERNAME="minecraft"
MCPATH='/home/minecraft/minecraft'
MCOFFLINEPATH='/home/minecraft/backup'
INVOCATION='java -Xmx768M -Xms768M -jar minecraft_server.jar nogui'
BACKUPPATH='/home/minecraft/onlinebackup'
ME=`whoami`
as_user() {
if [ "$ME" == "$USERNAME" ] ; then
bash -c "$1"
else
su -c - $USERNAME "$1"
fi
mc_start() {
stat_busy "Starting Minecraft Server"
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "Tried to start but $SERVICE was already running!"
else
echo "$SERVICE was not running... starting."
#Move minecraft from backup folder to ram
mount -t tmpfs tmpfs -o size=50m $MCPATH
cp -a $MCOFFLINEPATH/* $MCPATH
echo "Files moved to RAM."
cd $MCPATH
as_user "cd $MCPATH && screen -dmS minecraft $INVOCATION"
sleep 7
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is now running."
#Create hourly backups while running
ln -s $MCPATH/onlinebackup /etc/cron.hourly/minecraftonlinebackup
echo "Hourly backups initiated."
else
echo "Could not start $SERVICE."
umount $MCPATH
fi
fi
add_daemon minecraft
stat_done
mc_saveoff() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... suspending saves."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER BACKUP STARTING. Server going readonly...\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-off\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-all\"\015'"
sync
sleep 10
else
echo "$SERVICE was not running. Not suspending saves."
fi
mc_saveon() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... re-enabling saves."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-on\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER BACKUP ENDED. Server going read-write...\"\015'"
else
echo "$SERVICE was not running. Not resuming saves."
fi
mc_stop() {
stat_busy "Stopping Minecraft Server"
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running... stopping."
as_user "screen -p 0 -S minecraft -X eval 'stuff \"say SERVER SHUTTING DOWN IN 10 SECONDS. Saving map...\"\015'"
as_user "screen -p 0 -S minecraft -X eval 'stuff \"save-all\"\015'"
sleep 10
as_user "screen -p 0 -S minecraft -X eval 'stuff \"stop\"\015'"
sleep 7
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE could not be shut down... still running."
else
echo "$SERVICE is shut down."
#Stop hourly backups
rm /etc/cron.hourly/minecraftonlinebackup
echo "Hourly backup halted."
#Unmount tmpfs
cp -a $MCPATH/* $MCOFFLINEPATH
umount $MCPATH
echo "Files copied to HDD."
fi
else
echo "$SERVICE was not running."
fi
rm_daemon minecraft
stat_done
mc_update() {
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running! Will not start update."
else
MC_SERVER_URL=http://minecraft.net/`wget -q -O - http://www.minecraft.net/download.jsp | grep minecraft_server.jar\</a\> | cut -d \" -f 2`
as_user "cd $MCOFFLINEPATH && wget -q -O $MCOFFLINEPATH/minecraft_server.jar.update $MC_SERVER_URL"
if [ -f $MCOFFLINEPATH/minecraft_server.jar.update ]
then
if `diff $MCOFFLINEPATH/minecraft_server.jar $MCOFFLINEPATH/minecraft_server.jar.update >/dev/null`
then
echo "You are already running the latest version of $SERVICE."
rm $MCOFFLINEPATH/minecraft_server.jar.update
else
as_user "mv $MCOFFLINEPATH/minecraft_server.jar.update $MCOFFLINEPATH/minecraft_server.jar"
echo "Minecraft successfully updated."
fi
else
echo "Minecraft update could not be downloaded."
fi
fi
mc_backup() {
echo "Backing up minecraft world"
local COUNTER=
if [ -f $BACKUPPATH/co ]
then
COUNTER=`cat $BACKUPPATH/co`
if [ $COUNTER -gt 4 ]
then
#Loop back to 1 if greater than the max number of desired saves (4 hardcoded)
as_user "echo 1 > $BACKUPPATH/co"
COUNTER=1
fi
else
COUNTER=1
as_user "echo 1 > $BACKUPPATH/co"
fi
if [ -f $BACKUPPATH/world_`date "+%m.%d.%Y"`-$COUNTER.tar.gz ]
then
as_user "rm $BACKUPPATH/world_`date "+%m.%d.%Y"`-$COUNTER.tar.gz"
fi
as_user "cd $MCPATH && tar -czf $BACKUPPATH/world_`date "+%m.%d.%Y"`-$COUNTER.tar.gz world"
#now to update the counter
as_user "echo $(($COUNTER + 1)) > $BACKUPPATH/co"
echo "Backup complete..."
#Start-Stop here
case "$1" in
start)
mc_start
stop)
mc_stop
restart)
mc_stop
mc_start
update)
mc_saveoff
mc_backup
mc_saveon
mc_stop
mc_update
mc_start
backup)
mc_saveoff
mc_backup
mc_saveon
status)
if ps ax | grep -v grep | grep -v -i SCREEN | grep $SERVICE > /dev/null
then
echo "$SERVICE is running."
else
echo "$SERVICE is not running."
fi
echo "Usage: /etc/rc.d/minecraft {start|stop|update|backup|status|restart}"
exit 1
esac
exit 0
I hope you don't mind.
EDIT: Made a small change later that I came back and put in. If you are currently at the latest release it removes the .update file it created.
Last edited by rationalOgre (2011-06-07 23:05:58) -
"The Selection is not within a valid module" - unable to run on server
Hi,
I have WLP 10.2 portal web and ear projects, but for some reason I am unable to run on server the .portal files or any other resources within the project.
When I try to run I get the error - The selection is not within a valid module. Does anyone have any idea in what scenarios this might happen?
Thanks,
Sidnever faced this before but came across this eclipse bug
http://dev.eclipse.org/newslists/news.eclipse.webtools/msg13972.html
'The current handling of project modules is such that the project name must match the deploy-name in the .settings/org.eclipse.wst.common.component for "everything" to work correctly. If they don't match, I believe the symptom you are experiencing is one of the "things" that goes wrong.' -
How to run a server program in the background on Linux or Windows?
I just finished writing a Java network application with multiple clients and one server.
However, I am not sure how I can run the server (SomeServer.class) in the background on Windows. Also when I am running it on Linux, I don't want it to terminate when I logout of the Linux shell.
To run the server on Linux, should I use a command like this?
nohup java -cp . SomeServer.class > output.txt &
Or is there another command, or perhaps some code that I can add to the program so that it would run in the background automatically and/or continues even when I logout of the Linux shell??
Sometimes, I also like to run the program on a Windows XP machine for testing purpose. How can I do it so that it runs in the background without openning a Console/Command Prompt window??
(redirecting the standard output to a file)
And is there an easy way to create a EXE file that runs the program with the default JRE in windows?On many UNIX systems there's a utility called detach which will launch the following command in such a manner that killing the shell will not kill the process. On systems that lack this command, I'd find an open source implementation and install it.
-
Exchange Server 2013 and Remote Access VPN on a single server running Windows Server 2012?
Just by way of background, I have been installing and administering network servers, e-mail systems, VPN servers, and the like for many years. However, my involvement with Exchange and Windows Server has been mostly on the forensics and data recovery
level, or as a (sophisticated) user. I have never tried to deploy either from scratch before. My deployment experiences have been mostly with Linux in recent years, and with small private or personal "servers" running such cutting edge
software as Windows XP back when it was new. And even NetWare once.
When a client asked me if I could set up a server for his business, running Exchange Server (since they really want Outlook with all of its bells and whistles to work, particularly calendars) and providing VPN access for a shared file store, I figured it
could not be too difficult given that its a small business, with only a few users, and nothing sophisticated in the way of requirements. For reasons that don't bear explaining here, he was not willing to use a vendor hosting Exchange services or cloud
storage. There is no internal network behind the server; it is intended to be a stand-alone server, hanging off a static IP address on the Internet, providing the entirely mobile work-force of about 10 people with Exchange-hosted e-mail for their computers
and phones, a secure file store, and not much else. If Exchange didn't need it, I would not need to install Active Directory, for example. We have no direct need for its services.
So I did the research and it appears, more by implication than outright assertion, that I should be able to run Windows Server 2012 with Exchange Server 2013 on a server that also hosts Remote Access (VPN only) and does nothing else. And it appears
I ought to be able to do it without virtualizing any of it. However, I have spent the last three or four days fighting one mysterious issue after another. I had Remote Access VPN working and fairly stable very quickly (although it takes a very
long time to become available after the server boots), and it has mostly remained reliable throughout although at times while installing Exchange it seems to have dropped out on me. But I've always been able to get it back after scrounging through the
logs to find out what is bothering it. I have occasionally, for a few minutes at a time, had Exchange Server willing to do everything it should do (although not always everything at the same time). At one point I even received a number of e-mails
on my BlackBerry that had been sent to my test account on the Exchange Server, and was able to send an e-mail from my BlackBerry to an outside account.
But then Exchange Server just stopped. There are messages stuck in the queues, among other issues, but the Exchange Administration Center refuses now to display anything (after I enter my Administrator password, I just get a blank screen, whether on
the server or remotely).
So, I am trying to avoid bothering all of you any more than I have to, but let me just begin with the basic question posed in the title: Can I run Exchange Server (and therefore Active Directory and all of its components) and Remote Access (VPN only) on
a single Windows Server 2012 server? And if so, do I have to run virtual machines (which will require adding more memory to the server, since I did not plan for it when I purchased it)? If it can be done, can anyone provide any pointers on what
the pitfalls are that may be causing my problems? I am happy to provide whatever additional information anyone might like to help figure it out.
Thanks!An old thread but I ran into this issue and thought I share my solution since I ran into the same issue. Configuring VPN removes the HTTPS 443 binding on the Default Site in IIS for some strange reason; just go and editing the bindings, add HTTPS and things
should be back to normal. -
Using Mac Mini running OSX Server (10.8) to host web sites on LAN
I would like to know how to use a Mac Mini running OSX Server (10.8 ML) to host web sites on my home network (LAN).
I am developing web sites and previously (before ML) I used my Mac Pro to 'host' the sites I was developing to test them out before publishing them to my hosting package. That was when I was using 10.7 Lion and theer was an option in the System Preferences to turn web sharing on.
I have since upgraded my Mac client to 10.8 ML and have configured it to do the same - even though there is no System Preferences option for web sharing any more.
I also have a Mac Mini running on my LAN and its been upgraded to OSX Server 10.8.
Im now trying to configure it to host the web sites I am developing but with no success.
I thought it was just a matter of adding them as sites in the Server's Websites panel (see screen shot)
but so far Ive had no success.
On my Mac client I can simply add a folder in the Sites directory and then open the web site by putting http://myhost/~myuser/name-of-folder and it will load the default file in the folder e.g. index.html
How do I achieve the 'same thing' on OSX Server?Hi Johnfromglenver,
There are no Mac drivers for the HP Officejet K60 printer. Therefore it is not compatible with the Mac operating systems. Please call our technical support at 800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region. http://www.hp.com/cgi-bin/hpsupport/index.pl. There may be other solutions that could work for you.
I hope this information helps.
Advance 23
I work on behalf of HP -
I am wondering if it is possible to install and run Windows Server 2008 on a Mac Mini Server as a VM as my main application uses Windows VisualBasic and Fox Pro and requires a Static IP to connect to it, My other offices connects to Windows Server via RDP.
Basically I am researching a Server for the same purpose and since Mac Mini and OsX both are robust in nature it can fit the bill if every thing work fine.
ThanksFrom the Parallels website:
32-bit Operating Systems
Windows 8 with: Windows 8, 8.1 (when available)
Windows 7 SP1
Windows Vista SP0, SP1, SP2
Windows Server 2008 R2, SP2, SP1, SP0
64-bit Operating Systems
Windows 8
Windows 7 SP1
Windows Vista SP0, SP1, SP2
Windows Server 2012
Windows Server 2008 R2, SP2, SP1, SP0
I do suggest that you upgrade RAM to at least 8gig
if you haven't already.
FWIW, I currently use Win8/64 bit with Parallels on a 2011 Mini Server
using the windows environment for engineering applications and have
had no issues. I am running Mountain Lion but do not have the
Server app installed. -
Struts application using wsad 5.0 - unable to Run on server
Hi,
I m developing a small struts application using WSAD 5.0.
Here is the code
index.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet" type="text/css">
<TITLE>ABC, Inc. Human Resources Portal</TITLE>
</HEAD>
<BODY background="F1_100.gif">
<font size="+1">ABC, Inc. Human Resources Portal </font>
</br>
<hr width="100%" noshade="true">
•Add an Employee
<br>
•
<html:link forward="search">Search for Employees</html:link>
<br>
</BODY>
</HTML>
search.jsp
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<title> ABC, Inc. Human Resources Portal - Employee Search</title>
</head>
<body>
<font size="+1">
ABC, Inc. Human Resources Portal - Employee Search
</font><br>
<hr width="100%" noshade="true">
<html:errors/>
<html:form action="/search">
<table>
<tr>
<td align="right"><bean:message key="label.search.name"/></td>
<td><html:text property="name"/></td>
</tr>
<tr>
<td></td>
<td>-- or --</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssnum"/></td>
<td><html:text property="ssnum"/>(xxx-xx-xxxx)</td>
</tr>
<tr>
<td></td>
<td><html:submit/></td>
</tr>
</table>
</html:form>
<logic:present name="searchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name="searchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<table border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name="searchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>
</table>
</logic:greaterThan>
</logic:present>
</body>
</html>
searchForm.java
package minihr.forms;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
* Form bean for a Struts application.
* Users may access 3 fields on this form:
* <ul>
* <li>name - [your comment here]
* <li>ssNum - [your comment here]
* </ul>
* @version 1.0
* @author
public class SearchForm extends ActionForm {
private String name = null;
private String ssNum = null;
private List results = null;
* Get Name
* @return String
public String getName() {
return name;
* Set Name
* @param <code>String</code>
public void setName(String name) {
this.name = name;
* Get SsNum
* @return String
public String getSsNum() {
return ssNum;
* Set SsNum
* @param <code>String</code>
public void setSsNum(String ssNum) {
this.ssNum = ssNum;
* Set Results
public void setResults(List results){
this.results=results;
* get Results
public List getResults(){
return results;
* Constructor
public SearchForm() {}
public void reset(ActionMapping mapping, HttpServletRequest request) {
// Reset values are provided as samples only. Change as appropriate.
name = null;
ssNum = null;
results = null;
//validate form data.
public ActionErrors validate(
ActionMapping mapping,
HttpServletRequest request) {
ActionErrors errors = new ActionErrors();
// Validate the fields in your form, adding
// adding each error to this.errors as found, e.g.
// if ((field == null) || (field.length() == 0)) {
// errors.add("field", new ActionError("error.field.required"));
boolean nameEntered = false;
boolean ssNumEntered = false;
//Determine if name has been entered.
if(name != null && name.length() > 0){
nameEntered = true;
//Determine if social security number has been entered
if(ssNum != null && ssNum.length() > 0){
ssNumEntered = true;
/* validate that either name or ssnum has
* been entered */
if(!nameEntered && !ssNumEntered){
errors.add(null,new ActionError("error.search.criteria.missing"));
/* validate format of ssnum if it has been entered */
if(ssNumEntered && !isValidSsNum(ssNum.trim())){
errors.add("ssNum",
new ActionError("error.search.ssNum.invalid"));
return errors;
//validate format of social security number
private static boolean isValidSsNum(String ssNum){
if(ssNum.length() < 11){
return false;
for(int i=0;i<11;i++){
if(i==3 || i==6){
if(ssNum.charAt(i) != '-'){
return false;
}else if("0123456789".indexOf(ssNum.charAt(i)) == -1){
return false;
return true;
searchAction.java
package minihr.actions;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import minihr.forms.SearchForm;
import common.EmployeeSearchService;
* @version 1.0
* @author
public class SearchAction extends Action {
* Constructor
public SearchAction() {}
public ActionForward perform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
EmployeeSearchService service = new EmployeeSearchService();
ArrayList results;
SearchForm searchForm = (SearchForm) form;
//perform employee search based on what criteria was entered
String name = searchForm.getName();
if(name != null && name.trim().length() > 0)
results = service.searchByName(name);
else
results = service.searchBySsNum(searchForm.getSsNum().trim());
//place search results in searchform for access by JSP.
searchForm.setResults(results);
//forward control to this actions input page
return mapping.getInputForward();
EmployeeSearchService.java
package common;
import java.util.ArrayList;
import common.Employee;
* @author Niharika
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
public class EmployeeSearchService {
private static Employee[] employees =
new Employee("samuel","123-45-6789"),
new Employee("Robert","234-56-7890"),
new Employee("smith","345-67-8901"),
new Employee("Frank","456-78-9012")
// search for employees by name
public ArrayList searchByName(String name){
ArrayList resultList = new ArrayList();
for(int i=0; i<employees.length; i++)
if(employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1)
resultList.add(employees[i]);
return resultList;
// search for employee by social security number
public ArrayList searchBySsNum(String ssNum){
ArrayList resultList = new ArrayList();
for(int i=0; i<employees.length; i++)
if(int i=0; i<employees.length; i++)
if(employee[i].getSsNum().equals(ssNum))
resultList.add(employees[i]);
return resultList;
Employee.java
package common;
* @author Niharika
* To change this generated comment edit the template variable "typecomment":
* Window>Preferences>Java>Templates.
* To enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
public class Employee {
private String name;
private String ssNum;
public Employee(String name,String ssNum)
this.name=name;
this.ssNum=ssNum;
public void setName(String name)
this.name=name;
public String getName()
return name;
ApplicationResources.properties
# Label Resources
label.search.name=Name
label.search.ssNum=Social Security Number
# Error Resources
error.search.criteria.missing=<li>Search Criteria Missing</li>
error.search.ssNum.invalid=<li>Invalid Social Security Number</li>
errors.header=<font color="red"><b>Validation Errors </b></font><ul>
errors.footer=</ul><hr width="100%" size="1" noshade="true">
In searchAction.java
it is showing 2 errors
public ActionForward perform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
error is: Exception Exception is not compatible with throws clause in
org.apache.struts.action.Action.Perform()
Another error is shown at :
return mapping.getInputForward();
error is:
method is undefined for typt org.apache.struts.action.ActionMapping
please give me a solution for this watching the code
i have opened the server perspective and started the server.
next i am clicking run on server. There i am getting an error like this:
Error Received while starting the server
Reason:
Launching the server failed:
server port 9080 is in use.
ORB bootstrap port 2809 is in use.
SOAP connector port 8880 is in use.
change each used port number to another unused port on the ports page of the server configuration editor. In case u have another websphere server running , you can try to increase each used port number by one and try again.please solve this problemNothing at all to do with struts.
Some of the ports that WSAD wants to use are already in use.
Maybe you have a copy of websphere running already?
If so stop that one, and try running again. -
Symptom: When you install Reporting Service Point role on a Site System Server running SQL Server
2012 SP1, you may encounter an issue that the Reporting Service Point role cannot be installed. The error log “srsrpMSI.log” and “srsrpsetup.log” may throw the error as shown in Figure 1 and Figure 2.
03:32:03:764]:
MainEngineThread is returning 1618
Figure 1: Error -1
<03/03/14 03:32:03>
srsrp.msi exited with return code: 1618
Figure 2: Error -2
Reason: All the two logs indicate an error return code 1618. From the KB below you may know what
the return code means.
ERROR_INSTALL_ALREADY RUNNING
1618
Another installation is already in progress. Complete that installation before proceeding with this install.
KB link:
http://support.microsoft.com/kb/290158 “it is related to an Office Suite KB, anyway, the MSI return code is the same meaning”
You can look into Resource Manager and Event Viewer to find the other currently running MSI installation. You may get a warning in Event Log that means the MSI wants to install a SQL Server
related Component (Figure 3). The Resource Manager confirms this (Figure 4).
Event Log:
Event ID: 1004
Source: Msinstaller
Level: Warning
Detection of product '{A7037EB2-F953-4B12-B843-195F4D988DA1}',
feature 'SQL_Tools_ANS', component '{0CECE655-2A0F-4593-AF4B-EFC31D622982}' failed. The resource '' does not exist.
Figure 3: Event Log
Figure 4: Resource Manager
Resolution: the error is exactly what the following KB describes.
KB Link:
http://support.microsoft.com/kb/2793634
After we resolve the SQL Server 2012 issue, the Reporting Service Role is installed successfully.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.This implies that ODP.NET does NOT need to be installed on a client. However, I cannot find OraOPs9.dll on a machine with Client Release 9.2 installed. Should OraOps?.dll automatically come with a Client installation of 9.2 or higher?
ODP.NET needs to be installed on the client. OraOps9.dll is part of ODP.NET, not the Oracle Client.
Also, if an application is built with the 10g ODP.NET, can it be run from a machine with OraOps9.dll?
If an application is built with 10g ODP.NET, it can be run with 9.2 ODP.NET as long as you do not use any 10g APIs. The new features in 10g ODP.NET are included in the doc and the ODP.NET FAQ for your reference. -
Running VMware Server 2 services as a non-root user
Hello,
I have switched from VirtualBox to VMware Server 2 on my Arch64 server and the transition has been relatively painless. I am at the point now where I want to run VMware's services as a non-root user account (I have a service account called "svc-vmadmin" that I'd like to use). I'm generally not comfortable running services as root, but at the same time I'm conscious of the time and effort required vs. overall benefits.
I've done the usual Google searches and even checked the VMware Server 2 user guide and the VMware community, but I can't find specific details on how to achieve this.
Is this even plausible in a Linux environment? I used to run VMware Server 1 under the SYSTEM account on Windows Server, so I'm hopinga similar thing can be done on Arch.
I would greatly appreciate any information or personal experience that fellow Archers can share.
Thanks,
ThomSystem services are handled by launchd.
If you look in /System/Library/LaunchDaemons/ you'll see a plist file for each service including org.isc.named.plist, the plist for named.
If you edit this file you'll see it's an XML document that describes the service and how the OS should handle it, including the part:
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/named</string>
<string>-f</string>
</array>
Just append another entry in the array that says <string>-u nobody</string> (or whatever username you want to run as. -
Running Commerce Server 3.5 in Windows2000 as a services!!!
Please could some help me. We are running Commerce Server 3.5 for Weblogic 6 SP2.
We need to run the Commerce server in Windows 2000 as a service. Any help would
be greatly appreciated.Hi.
Sorry, don't know much about commerce server. Try posting your question to the
commerce newsgroup weblogic.developer.interest.commerce. Maybe someone there
knows.
Regards,
Michael
Mariet wrote:
Hi Michael
I tried to run installNTService.cmd as specified, but it only seem to install
the weblogic server as a Windows service but the commerce server still had to
be started manually. Any ideas?
Michael Young <[email protected]> wrote:
well, actually the link should be
http://e-docs.bea.com/wls/docs60/adminguide/startstop.html#1026476 for
wls 6.0 but the
info is essentially the same.
Regards,
Michael
Michael Young wrote:
Hi.
http://e-docs.bea.com/wls/docs61/adminguide/startstop.html#1026476
Regards,
Michael
mariet wrote:
Please could some help me. We are running Commerce Server 3.5 for
Weblogic 6 SP2.
We need to run the Commerce server in Windows 2000 as a service.Any help would
be greatly appreciated.--
Michael Young
Developer Relations Engineer
BEA Support--
Michael Young
Developer Relations Engineer
BEA Support
Michael Young
Developer Relations Engineer
BEA Support
Maybe you are looking for
-
Photo stream not updating in aperture
I import all my photos through the import tool in Aperture. I'm noticing that the photos are not uploading via wifi to my photo stream. Even if i select the photos once in Aperture and click the 'photo stream' button on the top toolbar, most of the p
-
I really liked the iOS iPhoto app with the Journal feature that can be published in iCloud. However it seems un-finished. There seems to be no access controls for security if one knows the url, they are in. Also, there isn't any way to manage or see
-
Allocation of Budget profile to order type
Dear Gurus; I can create budget for order / order group by tcode: KO22, supplement the budget by KO24. But how do I assign a plan/ budget profile to an order type? Thanks & Regards Hemant Roplekar
-
Missing Itunes Help Files?
When I search for subjects within Itunes Help nothing shows up (just a blank dialog box with Help headers at the top). When I select Itunes & Itunes Store Help from the Help menu I used to get a Help guide as the first dialog window telling me partic
-
HT1473 how do I add tones to my tones file to used as ringtones on my phone
How do I add tones to my Tones on Itunes to use as my ringtones