Hi This is My last question. Now my new requirement is to ping some set of servers and check if they are replying or not. I am trying my way of
system("ping xxx.xx.xx.xx >out.txt");
And then parsing the out.txt for a string "Request timed out.".
This is yielding me good results. But is there any better way to do from c program. Non p...
I am trying to setup a shared git repository via ssh, copying users public keys to the authorized_keys. I'd really like the "username" from the ssh-key to be part of the commit history in the repo (so that the user "joe" cannot just set his name to be "kate" - we need some kind of accountability). Is there any way to do this ?
...
I need to set up a centralized git repository for a large team of in-house developers.
I need some convincing mechanism that allows me to trace a given commit back to a user. As I understand from this question, this will probably not be the actual git-authors. I do not expect to be using this information for anything (other than satisfy...
The situation is that I'm trying to write a server script that accepts file transfers from a client. I figured out how to make and connect to and from the server using the TCP protocol. However I was wondering how do you transfer a binary file in ruby?
I mean you can open a binary file, but what steps are necessary to be able to transfe...
Hi Guys,
I am designing a server in java which would be used to trade bonds. This server will act as a mediator between the client UI and the analytical server. The analytical server is the brain, my server will simply interact with it (using tcp sockets) and forward the responses to the client.
The server is expected to handle ~500 cl...
Here are my choices:
Apache2 and Passenger
Nginx and Mongrel Cluster
Nginx and Passenger
It's a linux vps with 256 ram. So, which do you guys recommend?
...
I need to log the hits on a sub-domain in Windows IIS 6.0 without designating them as separate websites in the IIS Manager. I have been told this is not possible. How can I write my own script to do this?
I'm afraid google analytics is not an option due to the setup, I just need access (i'm guessing) to the file request event and its pr...
Is there a way to use a full server path instead of a url when submitting a form via ajax with jquery?
The exemple below doesn't work but it will give you an idea of what I'm trying to do. I know you can't do cross domain ajax requests but this is all on the same physical server.
I don't want to set up proxy or anything too fancy, if t...
i have stored my public key on the public key server .now i have to fetch/retrieve public key from that public key server using the python script/programme .how can i do this?
also want to know the way how to execute gpg commands within my programme.
...
Whilst on the surface this question looks like it should be on serverfault.com I have a reason for posting here first.
I developed an ASP.NET 2.0 web application. Just recently with heavier usage there have been errors whilst (Cannot connect to server) in the middle of an post back or AJAX call. However the errors are intermittent and...
The user, administrators and support staff need detailed runtime and monitoring information from a daemon developed in C.
In my case these information are e.g.
the current system health, like throughput (MB/s), already written data, ...
the current configuration
I would use JMX in the Java world and the procfs (or sysfs) interface ...
Are thee any tools out there that can tell you what your LDAP connection string is?
...
I'm building a little personal project; I wish to have a Windows Service that will act as a simple HTTP server accepting requests via HTTP, run queries against an Interbase 6/7 server and then return results in JSON format.
Could anyone recommend some tutorials, free components or just a quick plan of how they would develop the various ...
Hi, i want to get the IP Address of the client in a TCPServer in Ruby. And (if it is possible) the MAC Address.
For example, a Time Server in Ruby, see the comment.
tcpserver = TCPServer.new("", 80)
if tcpserver
puts "Listening"
loop do
socket = tcpserver.accept
if socket
Thread.new do
puts "Connected from" + # HERE! How c...
I wanna build a Win32 app of Client/Server (or 3-tier) type with follow features:
When the "A" client does a modification (update,insert, etc) into a database, the rest of clients viewing the same record set can get almost "instantly" a fresh view of this data
a client can be notified when a connection to database get lost
could some...
I'm curious what the impact on the server is when PHP if statements are evaluated, i.e. memory consumption and CPU usage and if this could become a major issue as traffic grows?
For example, if I use a lot of PHP IF statements in the theme for each post summary on a WordPress blog, is this going to require a great deal more server resou...
I'm trying to create a small HTTP server in C# but I'm having some trouble with IPv6 clients. I have IPv6 support on my machine but when I try to create a listening socket it fails.
Log("Creating server socket on port {0}", LogType.Info, _port);
_serversocket = new Socket(AddressFamily.InterNetworkV6, SocketType.Stream, Prot...
Is it possible to have a Socket that listens and accepts both IPv6 and IPv4 clients? I used a IPv6 socket in C# hoping that it would automatically be backwards compatible but IPv4 clients cause an invalid ip address exception.
...
Hi,
This question sort of extends my other question on robots and captcha. I did what everyone recommend (thanks everyone!), however is it at all possible to detect a robot on the server first? For Example (Once again, I will use Stackoverflow as a reference): Sometimes when I ask a question, Stackoverflow comes back asking me to verify...
Hi all,
I´m looking for a good ssh password/key setup for a system administration of multiple servers.
The ideal one will be one that can be at the same time comfortable and secure, but after thinking a lot around the problem, no solution seems acceptable.
Basically I arrive to these 2 setups:
One where every server has a strong (and...