hello,
i have exchange server 2007 ,and i want to create two emails for each employee in ex.
[email protected][email protected]
can anyone help me
thanks,
I have SSD and HDD. Some directories like /var, /srv and /tmp should be on HDD, while /boot, /usr and /lib on SSD. But do I have to create separate partition for every single directory? I want to have 2 or so partitions. One for each disk and distribute directories as needed. Is it possible and how?
I've heard about symlinks, mount --bind, mhddfs but:
symlinks are treated differently by tools like cp, so I'm not sure if it's safe to have main system directories symlinked
I have no idea how can I use mount --bind or mhddfs in fstab
Hi all,
I have an application of mine on AppStore. But one user is complaining that he can not install the application on his device(Curve 8900) and it's giving error
"Error starting AppName
$28NonTouch$29:
Module 'AppName
$28NonTouch$29-2' has
verification errors."
Now how come it is possible that other's users are able to download properly while one user is getting this error. I downloaded the application from the appstore and its working perfectly.
And when this user tries to install the application through Desktop Manager he is getting error
"No additional applications can
be found. Your file may contain applications that already exist in the
application list, are not compatible for your device, or have errors."
When i tried to stimulate the issue here by installing the application through desktop manager i am able to install it properly without any error messages.
Can anyone suggest me ,what might be causing this issue.?? Is there any kind of version mismatch??
My application is compiled usiong jdk 4.5.
Any help in this regard will be greatly appreciated.
Kindly help,Its urgent..
Thanx in advance."
Hi,
I have problem in adding autocomplete plugin to multiple text inputs in loop (no errors are returned).
// get text inputs to attach autocomplete
var locinputs = $('#localizations').find('input:text');
// iterate over elements and add autocomplete plugin
for (var i = 0; i < locinputs.length; i++) {
// asp.mvc array with special characters replacing
var locNameField = locinputs[i].name.replace('[', '\\\\[');
locNameField = locNameField.replace(']', '\\\\]');
locNameField = locNameField.replace('.', '\\\\.');
$('input#' + locNameField).autocomplete('<%=Url.Action("GetCity", "Localization") %>', {
extraParams: {
provinceId: function () { return 21; }
},
dataType: 'json',
parse: function (data) {
var rows = new Array();
for (var i = 0; i < data.length; i++) {
rows[i] = { data: data[i], value: data[i].PlaceId, result: data[i].Name };
}
return rows;
},
formatItem: function (row, i, n) {
return row.Name;
},
width: 300,
mustMatch: true,
multiple: true
});
}
There is no error on loading, I tried to debug using Firebug, elements are accessible by jquery selector
Intermittently we get a problem where a remote desktop session will get disconnected with the error message “Because of a protocol error, this session will be disconnected. Please try connecting to the remote computer again.”
We are getting this with one server only which is running Windows Server 2008, connecting with Windows 7 clients. The session itself stays running, you just get disconnected, and you can try and reconnect. Sometimes you get in for a while then it will kick you out.
We are connecting from Windows 7 clients. We have tried connecting using Cord on a Mac and this works fine, so it's not like the session itself is corrupted.
One problem is that there are some critical applications running under the session (I know, let's not discuss the idiocy of that), so we cannot reset the session in any way during the working day – so any diagnostics must have minimum impact.
Thanks,
Jon
I have SQL Server 2008 Express running on Hyper-V based virtual machine with two vCPU-s. I've just been reading up on SQL Server 2012 Express and noticed that it's CPU is "Limited to lesser of 1 Socket or 4 cores" (http://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx)
My question is how do the SQL Server 2012 limits on CPUs/Cores translate into vCPU-s? Are they "processors" or are they "cores"?
Hello everyone,
I'm running Apache on Linux and I'm using OpenSSH to provide SFTP access to some customers so they can upload their pages and also look at their respective site logs (access & error). I'm using the new feature in OpenSSH to chroot their SFTP access and so far so good.
My problem is that on the error_log, every reference for "File not found..." is given using the OS filesystem path as opposed to the "Web" path. I'd rather have the web path on the error log in order not to reveal the OS path. Since I'm already chrooting the users, I don't want to reveal WHERE on the OS their files are actually located...
Is it possible to change this behaviour via any directive? I tried looking for it but couldn't find anything :(
Thanks,
Craconia
Hello guys, I'm stuck with some sort of error which i don't really understand in prolog. I get this error when calling a rule(which seems to work sometimes?) :
error(instantiation_error,Var0)
Can anyone explain to me what this means?
Thanks
We have several web servers. On each of these servers there can be ~250 web sites. I need to add a HTTP check for each site on each server. Each site has a reserved host header that we know can always be resolved in the format of:
w10000.hostchecks.mycompany.com
w10020.hostchecks.mycompany.com
w11992.hostchecks.mycompany.com
..and so on..
What I want is for there to be a master ping check on the web server's main IP address and then separate HTTP checks for each of the sites on the server. If the master ping test fails then I want the HTTP tests to cease until the master ping check goes OK.
I had a stab at this and tried do the following:
Create a parent host that does a ping check on the server's main ip address (e.g. server is named WEB0001).
For each of the sites that reside on WEB0001:
Create a separate Host with a Primary Hostname of wXXXXX.hostchecks.mycompany.com
Make WEB0001 the parent host
Add a monitor (HTTP check to a special url that is mapped into each site using a virtual directory:
H- $HOSTADDRESS$ -u /__hostcheck/IsAlive.aspx -w 5 -c 10 -p 80
However I find that if I down the parent server (WEB0001) the http checks seem to continue.
Am I going about this completely the wrong way?
I am trying to write an IF formula for an order form where a discount is applied depending on the amount of units ordered.....
The discounts are:
0 to 24 units - 0 discount
24 to 59 units – 5% discount
60 to 95 units – 10% discount
96 to 131 units – 15% discount
132 to 263 units – 20% discount
264+ units - 30% discount
the cell that i am taking the total from is J1028. I have no idea how to do IF formula's so desperately need some help.
Thanks
As we have some PC's still running Windows 2000 and this is beyond our control we use IE 6 so we can keep the IE platform standard. Recently on some XP and Win2000 PCs IE has been crashing with the Encountered a Problem and Needs to close do you want to send a message to Microsoft error when entering some sites. This happens even after a format reinstall with minimal software load (Office 2000, some avaya software, kaspersky, tapiex.dll). The module pointed to in the error report is ntl.dll. There are lots of reports over the net of the problem but has anyone resolved this issue? (Latest IE6 updates are installed). Also please note there were no 3rd party IE addons, spyware, viruses or adware
Hope someone can help.
Hello all the general idea is to create a galaxy-like map. I run into problems when I try to display a generated image. I used Python Image library to create the image and store it in the datastore.
when i try to load the image i get no error on the log console and no image on the browser.
when i copy/paste the image link (including datastore key) i get a black screen and the following message:
The image
“view-source:/localhost:8080/img?img_id=ag5kZXZ-c3BhY2VzaW0xMnINCxIHTWFpbk1hcBgeDA”
cannot be displayed because it contains errors.
the firefox error console:
Error: Image corrupt or truncated:
/localhost:8080/img?img_id=ag5kZXZ-c3BhY2VzaW0xMnINCxIHTWFpbk1hcBgeDA
import cgi
import datetime
import urllib
import webapp2
import jinja2
import os
import math
import sys
from google.appengine.ext import db
from google.appengine.api import users
from PIL import Image
#SNIP
#class to define the map entity
class MainMap(db.Model):
defaultmap = db.BlobProperty(default=None)
#SNIP
class Generator(webapp2.RequestHandler):
def post(self):
#SNIP
test = Image.new("RGBA",(100, 100))
dMap=MainMap()
dMap.defaultmap = db.Blob(str(test))
dMap.put()
#SNIP
result = db.GqlQuery("SELECT * FROM MainMap LIMIT 1").fetch(1)
if result:
print"item found<br>" #debug info
if result[0].defaultmap:
print"defaultmap found<br>" #debug info
string = "<div><img src='/img?img_id=" + str(result[0].key()) + "' width='100' height='100'></img>"
print string
else:
print"nothing found<br>"
else:
self.redirect('/?=error')
self.redirect('/')
class Image_load(webapp2.RequestHandler):
def get(self):
self.response.out.write("started Image load")
defaultmap = db.get(self.request.get("img_id"))
if defaultmap.defaultmap:
try:
self.response.headers['Content-Type'] = "image/png"
self.response.out.write(defaultmap.defaultmap)
self.response.out.write("Image found")
except:
print "Unexpected error:", sys.exc_info()[0]
else:
self.response.out.write("No image")
#SNIP
app = webapp2.WSGIApplication([('/', MainPage),
('/generator', Generator),
('/img', Image_load)],
debug=True)
the browser shows the "item found" and "defaultmap found" strings and a broken imagelink
the exception handling does not catch any errors
Thanks for your help
Regards
Bert
I have seen a few questions on SO about a similar error when deploying a website, but I seem to randomly get this error when building an ASP.NET MVC website in Visual Studio. Performing a clean usually fixes it, but is there any way to avoid this completely?
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. d:...\obj\debug\package\packagetmp\web.config
Note that it is complaining about the root web.config, not the one from the Views subdirectory.
I've been struggling with this for some time. I have a few test machines that boot from the network, they receive the boot data from the DHCP server, this tells them who is the boot server where is the file they'll boot etc. However, I need to add a second PXE server in the same subnet (create another Vlan is not an option right now).
I read somewhere that I may be able to send certain parameters to certain machines based on their MAC address (this way choosing what computers boot from what server) however I cannot find how to do this, anyone knows how? this will be my solution but I cannot find the answer.
My DHCP is a windows server 2003
I have 2 servers running custom flavors of Linux server as TFTP servers. Some machines use data to boot from server 1, and the others must bu able to boot from server 2.
Thx
Using VC71 compiler and get compiler errors, that i don't understand.
Here comes the example
class A
{
public:
virtual int& myMethod() = 0;
virtual const int& myMethod()const = 0;
};
class B: public A
{
public:
// generates: error C3241: 'const int &B::myMethod(void)' : this method was not introduced by 'A' virtual const int& A::myMethod() const;
virtual int& A::myMethod();
};
when i switch order of both method definitions in B then I see a different compiler error:
class B: public A
{
public:
virtual const int& A::myMethod() const;
// error C2556: 'const int &B::myMethod(void)' : overloaded function differs only by return type from 'int &B::myMethod(void)'
// error C2373: 'B::myMethod' : redefinition; different type modifiers
virtual int& A::myMethod();
};
however, if I omit the A:: stuff then i don't get any compiler error:
class B: public A
{
public:
virtual int& myMethod();
virtual const int& myMethod() const;
};
So, what exactly does A:: in front of my method names and why do i see these diverse compiler errors? Any explanation welcome!
I have an index.html in public/ that should be loading by default but instead I get a 404 error when I try to access http://example.com/
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
This has something to do with nginx and unicorn which I am using to power Rails 3
When take unicorn out of the nginx configuration file, the problem goes away and index.html loads just fine.
Here is my nginx configuration file:
upstream unicorn {
server unix:/tmp/.sock fail_timeout=0;
}
server {
server_name example.com;
root /www/example.com/current/public;
index index.html;
keepalive_timeout 5;
location / {
try_files $uri @unicorn;
}
location @unicorn {
proxy_pass http://unicorn;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
}
My config/routes.rb is pretty much empty:
Advertise::Application.routes.draw do |map|
resources :users
end
The index.html file is located in public/index.html and it loads fine if I request it directly: http://example.com/index.html
To reiterate, when I remove all references to unicorn from the nginx conf, index.html loads without any problems, I have a hard time understanding why this occurs because nginx should be trying to load that file on its own by default.
--
Here is the error stack from production.log:
Started GET "/" for 68.107.80.21 at 2010-08-08 12:06:29 -0700
Processing by HomeController#index as HTML
Completed in 1ms
ActionView::MissingTemplate (Missing template home/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :haml], :formats=>[:html], :locale=>[:en, :en]} in view paths
"/www/example.com/releases/20100808170224/app/views",
"/www/example.com/releases/20100808170224/vendor/plugins/paperclip/app/views",
"/www/example.com/releases/20100808170224/vendor/plugins/haml/app/views"):
/usr/local/rvm/gems/ruby-1.9.2-rc2/gems/actionpack-3.0.0.beta4/lib/action_view/paths.rb:14:in `find'
/usr/local/rvm/gems/ruby-1.9.2-rc2/gems/actionpack-3.0.0.beta4/lib/action_view/lookup_context.rb:79:in `find'
/usr/local/rvm/gems/ruby-1.9.2-rc2/gems/actionpack-3.0.0.beta4/lib/action_view/base.rb:186:in `find_template'
/usr/local/rvm/gems/ruby-1.9.2-rc2/gems/actionpack-3.0.0.beta4/lib/action_view/render/rendering.rb:45:in `_determine_template'
/usr/local/rvm/gems/ruby-1.9.2-rc2/gems/actionpack-3.0.0.beta4/lib/action_view/render/rendering.rb:23:in `render'
/usr/local/rvm/gems/ruby-1.9.2-rc2/gems/haml-3.0.15/lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml'
etc...
--
nginx error log for this virtualhost comes up empty:
2010/08/08 12:40:22 [info] 3118#0: *1 client 68.107.80.21 closed keepalive connection
My guess is unicorn is intercepting the request to index.html before nginx gets to process it.
I've spent hours/days trying to figure this out and now I'm completely perplexed so I thought I'd give stackoverflow a try. I'm (a newb) working in Java/JSP using Eclipse hosting on Google App Engine trying to develop an app for a volunteer organization I'm a member of. Rather than embarrass myself by showing my current code I'd love just a nudge in the right direction.
I have a form (which doubles as a report basically) showing "people" grouped under the "task" they are currently working on. I would like to select multiple people from multiple tasks and reassign them to another task e.g. Bill and Jane are Gardening, Jeff is Painting. I want to select Jane and Jeff (all people have an associated checkbox in the form) and re-assign them to Sweeping (which is a task on the form but has no people assigned to it yet).
Ideally, the re-assignment to Sweeping would be via a Sweeping button (each task would have a dynamically-created task button) that would pass the "Sweeping" value to a servlet along with an array or list of people whose checkbox has been checked. The servlet would handle the request (creating an Assignment "object/entity" with timeStamp, personId, taskId) and then re-direct back to the form/report which would then repaint with the current tasks/people generated from the Assignments class in the datastore.
All the tasks are user-defined and retrieved from the database when building the form. Ditto the people. I've been trying to keep the jsp for presentation and the servlets for the processing but I'm no purist and would just like to get unstuck. Many thanks in advance for your assistance.
Using the voting buttons in Outlook 2007, apparently users can submit votes as many times as they like. (I have just now verified this behaviour.) Is there a way to restrict the uses to just one vote each? I've found a script online which claims to do this, but there's no way I can use a script like that across our company. I'm hoping it's just a configuration setting either in the outbound email, or in the user's Outlook client.
Dear all,
I just created a new POP3 account in my 2003 Outlook. I checked the settings and the Inbox-Outbox are working well.
However if I send from my standard Outlook POP3 account a mail to my Second one I do not receive it.
I receive the message:
550-Mailbox unknown. Either there is no mailbox associated with this
550-name or you do not have authorization to see it. 550 5.1.1 User unknown
Does anybody know how to fix this.
Many thanks.Peter
hi,
i have a type as follows:
CREATE OR REPLACE TYPE tbusiness_inter_item_bag AS OBJECT (
item_id NUMBER,
system_event_cd VARCHAR2 (20),
CONSTRUCTOR FUNCTION tbusiness_inter_item_bag RETURN SELF AS RESULT
);
CREATE OR REPLACE TYPE BODY tbusiness_inter_item_bag
AS
CONSTRUCTOR FUNCTION tbusiness_inter_item_bag RETURN SELF AS RESULT
AS
BEGIN
RETURN;
END;
END;
when i execute the following script, i got a "Reference to uninitialized composite" error, which is imho quite suitable.
DECLARE
item tbusiness_inter_item_bag;
BEGIN
item.system_event_cd := 'ABC';
END;
This also raises the same error:
item.item_id := 3;
But if i change my object type into:
CREATE OR REPLACE TYPE tbusiness_inter_item_bag AS OBJECT (
item_id NUMBER(1),
system_event_cd VARCHAR2 (20),
CONSTRUCTOR FUNCTION tbusiness_inter_item_bag RETURN SELF AS RESULT
);
then the last statement raises no more error (where my "item" is still uninitialized):
item.item_id := 3;
Shouldn't i get the same ORA-06530 error?
ps: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
I have been using a Macbook pro (newest model) for about 4 weeks with dual monitors. It has been working great using the mac adaptor to dvi. Today however, my mac will not recognize it's built in monitor while the second monitor is plugged in.
Plug in second monitor
The screen on the laptop goes dark.
The second monitor acts as the main screen.
Click "Detect displays". Nothing happens
Unplug the second monitor
Screen on the laptop comes on.
Any thoughts?
I am trying to install MS SQL Database 2005 on Windows XP Home SP3. It fails giving no reason ("Database failed to install"), then exits. I had already installed MS SQL Database Express Edition 2008 during 2005 setup. But when I removed 2008 one and tried to install 2005 afterwards it still failed with same error.
The error happens when I am trying to install Dragon Age Toolset or Visual 2008 Pro edition.
I do not known which else informations may be valuable as I never before encountered problems with installing MS database
I have set up a netflow server at our data centre, which is connected via VPN to ~40 remote offices using Cisco ASA 5505. The aim is to analyse usage data and find out exactly how the remote connections are being used.
I followed through http://techowto.files.wordpress.com/2008/09/ntop-guide.pdf to set up ntop and https://supportforums.cisco.com/docs/DOC-6114 to set up the ASAs. I can see from the Plugin Netflow Statistics page that netflow packets from my ASAs are being received - the counter is increasing. However, I am not seeing any breakdown on the Global Traffic Statistic page after switching to the Netflow interface. I'm just seeing a pie chart showing 100% traffic for eth0.
The interfaces and documentation are a little hard to follow so I am not sure I have got things configured correctly.
When setting up my NetFlow-device.2 I can specify Virtual NetFlow Interface Network Address - the web UI says
This value is in the form of a network address and mask on the network where the actual NetFlow probe is located.
is this a Network address (e.g. 192.168.0.0/24) or an actual host IP address (192.167.0.1/24)?
If that should be a network address, is this the network in which one of my ASAs is or the network in which my ntop server is?
If a host IP address, is this the IP address used by eth0 on my ntop server, the IP address of an ASA, or something else?
Do I need a separate virtual interface for each ASA I am collecting netflow data from?
Any guidance would be greatly welcome.
My situation is:
The code is not mine
I have two kinds of database: one is Dad, one is Son.
In Dad, I have a table to store JNDI name. I will look up Dad using JNDI, create entity manager, and retrieve this table.
From these retrieved JNDI names, I will create multiple entity managers using multiple Son databases.
The problem is:
Son have thousands of entities. It takes each Son database around 10 minutes to load all entities. If there is 4 Son databases, it will be 40 minutes.
My question:
Is there any way to load all entities and use them for all entity manager?
Please look at the code below
For each Son JNDI:
Map<String, String> puSonProperties = new HashMap<String, String>();
puSonProperties.put("javax.persistence.jtaDataSource", sonJndi);
EntityManagerFactory emf = Persistence.createEntityManagerFactory("PUSon", puSonProperties);
PUSon - All of them use the same persistence unit
log.info("Verify entity manager for son: {0} - {1}", sonCode,
emSon.find(Son_configuration.class, 0) != null ? "ok" : "failed!");
This is the actual code where the loading of all entities begins. 10 mins.