i developed a socket application to recive data from port.this application recvng data from a unit through port no 4444(Vehicle Tracking unit). this application recvng data and evrything is ok....but some times no anydata is coming in to this application.for eg:if application recves data 2 days after that 2 days it will recve one or two data only....again after 2 days it will recve all data correcly....that means lot of missing data we have....my question is whether this missing data is bse of my socket application or unit?
The manufacturing company telling us unit is sending the data continuiously..but some times this socket application is not recvng data in 2 days interval....i dont know how to solve this issue....is any other setting is required in server to recve data continuously....
i think socket application 100% is ok...unit maufactures telling unit also sending data continuously...then where the problem is???can anybdy share ur idea about this?
I am currently developing a PHP socket server for a flash application that needs constant client -> server communication. I understand that this is not typical for hosting solutions so does anyone know of a host that would allow me to run a custom application running on a non-standard port?
i hosted one server socket application in my dedicated server which is recving the data from different units(vehicle tracking system) through port no 4444.in dedicated machine i am keeping one active session always...that means my socket application exe is opened always in an active session ie sectionA.This session is not logged off insted i used to close the rdp for keeping this session active.Based on settings if userA accessing SessionA then userB cannot able to reach the active sessionA at the same time instead new sessionB will open for userB.
now my question is
if userB also opened socket application in SessionB with same portno ,then which soket application will recive data from the units...whther the applictaion from sessionA or from SessionB?
Migrating accounts to a fresh Plesk 12 installation task fails with the following error: Perhaps /usr/local/psa/admin/bin/deployer application missing, has incorrect permissions or unexpectedly terminated
Fresh install of Plesk 12.0.18 MU42 on CentOS 7.1. Tried to reinstall, same problem.
Windows Application 2003 crashed on RAID 5 server, we tried to take the NTFS files from the hardrive and mount them on a knobix which was booted from a cdrom drive. Knopix could read the files but it was unable to mount them I guess for compatiblity reasons.
Is there anyway we can get a backup of that ntfs file and restore our data?
The server has just had an OS reload and was meant to be being restored from backups on the secondary hard drive.
Unfortunately there seems to be a problem with the file system on that drive, and the data center (the planet) have been unable to recover it, posting these two messages back to us:
I am sorry, but the drive is not mountable as the superblock data is either missing or corrupted. This data is what is used to determine the filesystem type and other information. unfortunately this is an uncover able error. Due to the importance of this data, Linux does store backups on the drive, but I am unable to recover those backups of the superblock data with the programs designed to extract it.
and
I have search the partition using TestDisk for a valid ext2/ext3 superblock and did not find any. Thus, there does not appear to be a valid file system located on that drive.
I was just wondering if there were any experts out there that would be willing to take a look? Of course we're willing to pay for a fix if one can be found. I realise this is a long shot as theplanets techs couldn't fix the problem so far.
whenever one of my customers tries to install an application from the application installer, they get an error that looks like this.
Error: Installation of WordPress at http://*******.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.
Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.Click to expand...
If you have a socket F m/b, does a socket 940 heatsink works nicely on a socket F m/b? I can fit the original socket 940 heatsink on a socket F m/b but I am not sure whether there are any cooling related problems?
According to the thermal design guide, it says:
Quote:
The heat sink, fan, mounting spring clip, and thermal interface material used for the AMD PIB thermal solution for socket F (1207) processors are the same as the heat sink, fan, mounting spring clip, and thermal interface material used for systems based on the socket 940 processor.
The plastic retention frame, made of 20% glass-filled Lexan, is a two-piece implementation rather than the single-piece frame used for socket 940. This change accommodates the larger foot-print of socket F (1207) processors.
[url]
So are they interchangeable?
I do have socket F heatsinks just to save the hassle of testing and breaking things.
The reason I am asking is that it is tough to find socket F heatsinks here, and there are some socket 940 HSF floating around so I might as well use socket 940 HSF when somehow the ones that I have are not working or I run out of socket F coolers.
I have a somewhat unusual question for a hosting forum, but it seems to fit here reasonably well. I figure that anyone who does colo would know about buying and selling servers.
Right now, I have a very high-end system, basically a Sun V40z: [url]
It is fully configured with processors, memory, but only has a single hard drive currently. The system comes with a built in management processor and OS; from the console you can boot/restart the server, check which DIMMs or processors are working (or failed), etc. It has been barely used, and is in mint condition.
I'm thinking about selling it, because I'd prefer a smaller, more compact server.
Where do you guys go to sell servers? Based on listings here, the server seems to sell in the range of 20K, with a warranty of sorts (30 days): [url]
Obviously, I can provide no warranty, but I have pretty much the same configuration.
It's meant to be a pretty high-end database server, and I just don't need this many horsepower.
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /home/thesymbi/public_html/includes/class_core.php on line 274
I'm running Apache 2.2 on Windows 7. I'm a casual user of the Apache server, and the server I'm running is only used to develop a Silverlight application on the local machine, nothing more. The following problem is apparently a non-systematic error (sometimes the server can startup, sometimes it cannot. If it cannot, it sometimes can after a reboot (a service startup race condition?))
I get error when starting the server: "The requested operation has failed!"
When I run "http.exe" from a command prompt I get:
Quote:
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 10.0.0.100 for ServerName (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 No listening sockets available, shutting down Unable to open logs
It does not write anything in the "error.log". It cannot? why? rights? but it could yesterday! anything changed from yesterday, no nothing!
I have tried to start the server many times today, and it has not written anything in error.log. Looking in the log there are many entries from yesterday, when the server probably worked!?
Okay there most be something using port 80 then!
Output from "netstat -o -n -a | findstr :80" is nothing! netstat says there is nothing listening on port 80.
I'm running SQL Server 2008 Express, and "Reporting Service" would be a prime candidate for listening on port 80, but netstat says it is not!
I'm using the ZoneAlarm firewall (the Apache server has been given full trust and permissions), and it has worked previously, I belive it cannot be the problem.
I'm using Avast anti-virus, but everything is disabled in it, and I'm only using it to run a virus check from time to time.
(I don't think it has anything to do with the "fully qualified domain name", because the setting it is complaining about has always been the same, also when the server is actually working, from time to time)
I'm currently running some .NET 2.0 apps on a W2003 standard server but am in the process of ordering another server and not sure if I can get by with just a Windows web or Small Business server edition for the OS (because W2003 standard is so ridiculously expensive).
I need to run:
IIS & ASP.NET PHP MySQL
And
VB.NET applications Some 3rd party applications (Mailbee etc.). Email (POP3)
I don't have any clients accessing the server (all users hit the web app) although I do have about 10 or so POP3 accounts. Other than that I just use remote access or LogMeIn for administration.
This is my first post here and this sub-forum seems to be adequate for my question. If it is not, I apologize in advance.
I want to create a web application for an upcoming project of mine that has the potential to attract a large number of people. So the web application needs to be fast and secure at the same time.
I used PHP for minor projects for some time now, and although it is really efficient for quick web development, it _appears_ to me like a house of cards waiting to collapse. If you know how to use it properly, it can be acceptable, but there are still numerous security exploits in PHP itself that have surfaced over the last decade. Additionally, it tends to be quite slow and has a lot of bugs that aren't really security related, but can make your life hard. I've run test scripts (that I optimized for web deployment) on my own computer, and even on my own computer which is way faster (in terms of CPU speed, number of cores, RAM, and so on) than most servers, it runs slow--without any database access! And I honestly don't buy the "your server will spend most time in your database anyway, so don't worry about that" statements. I've tested it with databases that have millions of rows in them, and coded a test script that accesses the table and then calculates stuff from that and outputs it. If I comment out the database access the time needed to execute the script is only marginally reduced. I observed the same in my other projects. I also used Python and the problem seems to be the same.
Now, before the PHP/Python fanboy crowd yells at me: "Google uses Python and Wikipedia uses PHP, too". Yes, I know. But they have a lot of money to throw at the problem and can easily add new hardware if needed (Wikipedia alone has collected over 6m USD in the last year from donations). And a Wikipedia staff member I talked to some while ago told me that it's a miracle that Wikipedia is still running given that it is written in PHP with all its security problems (not my words).
So I thought: why not use a compiled language?
The obvious advantages would be that it is faster, and that I can leave out all the junk that is not needed in my case, thereby decreasing the chance of badly written code running in memory.
I have coded in C and C++ for a long time, including security-critical applications. So I absolutely know how hard it can be to write really secure applications, but I think it is also fair to say that I know how to minimize the risk of buffer overflows, validate user input properly, and so on. I often force myself to review my code some time later, in order to spot coding mistakes that you just won't see the first time. Additionally, I've created a neat string library around the standard library that makes string manipulation as easy as in PHP or Python.
So I continued my thinking: why not use C/C++ for your web applications and 'somehow' interface them with your web server?
And that's the problem--the 'somehow interface'. I don't know what to use that won't be deprecated in like 5-10 years from now. CGI seems to be quite okay, but I heard there's a huge overhead due to loading the executable into memory each time a user requests a page. FastCGI seems to be a better solution, but is not as widely supported.
My question is: What interface should I use if I want my web apps to be compiled? CGI, FastCGI, what else? The interface needs to be supported into the far future, it needs to be efficient and fast. And there's also one more important factor: time. Coding the application itself is an acceptable time loss, but if I can only run the app on a dedicated server and have to manage the whole server myself, this can become quite cumbersome. I'd really like to use a solution that can be run on a managed server.
We're a startup company located outside of the US that's deploying a web application that will be used by our clients in New York City and Boston. We're interested in deploying the app on a couple of strong (2XQuadCore with 4GB RAM each) servers. We're running CentOS and our bandwidth requirements are humble (10-100GB a month). Our application is database intensive. We also need 1G Ethernet between both servers, and a VPN SSL connection to the servers.
This is our first time hosting in the US, what would be the best way for us to go?
1. Buy our own servers and have them collocated to a data center?
I created a User Account with the Administrator Role for one of my colleagues & the User Role Properties indicate that access to all of the Plesk services has been granted.
However, when my colleague logs in, he's unable to see the Server tab (see attached screen shot).
Where do I configure the permissions so that he can see the Server tab?
I have Apache 2.2 installed on Windows to host a web2py application using wsgi.
Apache crashed once stating it had run out of worker threads, so I inscreased ThreadsPerChild to 500. It has since crashed/become unresponsive without giving anything in the error log.
I set up mod_status, and am looking for understanding what I see when looking at server-status page.
It says 135 requests currently being processed, 365 idle worker. However I don't think there are 135 people connected.
Here's the request lines:
SrvPIDAccMSSReqConnChildSlotClientVHostRequest 0-1253840/0/0W138495448300.00.000.00 ... the line above is repeated identically 125 times 0-1253840/32/32W000.00.460.46127.0.0.1dalgety-svr8.havelock.intGET /server-status HTTP/1.1 0-1253840/0/0W52400.00.000.00192.168.202.109dalgety-svr8.havelock.intGET /HubForms/ProjectFolderIndexing/index HTTP/1.1
[Code] ....
Question:
1) What are those 125 requests, and why are they not exiting. Are they anything to worry about? why is there no Client/VHost/Request? Could they be from the python process? Could they be what's causing the issue?
2) The Acc entry 0/121/121 on /HubForms/capacity_requests/index - is this representative of an issue?
3) When I restart Apache, it typically says "Terminating 375 threads that failed to exit" but that number doesn't match up with anything. Are these the idle threads?
Also I'm not sure what "restart" actually means, i.e. what stops and what stays (i.e. why am I on generation 0-12?).
4) Is any of this anything to do with why Apache becomes unresponsive, or should I be looking elsewhere?
My new plesk 12 windows server was not showing the application vault (even after login as admin user). Hence I have changed the entry enabled = on in the file
C:Program Files (x86)ParallelsPleskadminconfpanel panel.ini as per [URL] ..... Now the application vault is showing well.
My question is, whether this is a new procedure change for Plesk 11/12? I believe, I used to see application vault enabled as default in all my other old servers.