I would like to know if anyone has run more than one version of mono concurrently. I want to host a Battlefield 2 server with bf2ccd that requires mono 1.1.12. CentOS 5.3 repos provide mono 1.2.4 which is neither new enough nor old enough to support bf2ccd. I have considered compiling a newer version or an older version to accommodate this but I think that the only fully supported version is the 1.1.12 and I want to have the newer mono for other projects. I have used Slackware exclusively up to now and am not familiar with CentOS yet so I would like to avoid compiling if I can. The server is an unmanaged dedicated server so I'm not certain of all of the details. AFAIK it is a standard CentOS 5.3 install.
So, I have compiled a C# program on Linux using MonoDevelop. When I try to execute the resulting binary, my system tries and fails to run it as a windows executable, with wine. Wine gives me the following message:
$ ~/bin/MyMonoApp wine: Install the Windows version of Mono to run .NET executables ~/bin/MyMonoApp: command not found
I can only convince it to run by explicitly calling mono:
$ mono ~/bin/MyMonoApp
So, how can I make this the default, so I don't have to explicitly call mono every time?
my App requires at least version 2.0 of mono. (Suse is up to 2.5) I have searched and searched repos, including Groups and Testing for any mono and can only locate very old version 1.x.
I don't find any errors during installation of all of the above items. Problem is that, when I try to invoke one of my ASMX file from the browser, I'm getting the following error in my $APACHE_HOME/logs/error_log. This same ASMX is working fine in one of my RedHat ES Linux 5 system, what I mean here is I don't have any compilation or runtime errors in my ASMX code.
ERROR DETAILS [Sat May 16 08:03:38 2009] [notice] Apache/2.2.4 (Unix) mod_mono/1.2.4 configured -- resuming normal operations System.PlatformNotSupportedException: This operation requires Windows NT, Windows 2000, or Windows XP. at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) [0x00000]
I am new to linux. I want to run a server-client (c#) windows/console based application on CentOS 5.4. The code in C# has made using visual 2010. Should I use wine for this purpose or go for mono?
i first noticed when i tried to get mono via sudo apt-get install mono i got the error
[Code]...
E: Package 'mono' has no installation candidate then i tried to get it through the software center and i noticed the software center wasn't opening.... so i tried searching to find if someone else had the proroblem, they did, one solution was to reinstall python but if i open syapitic software i get the error
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks 2) Verified all directory and file permissions are at 755 3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere 4) in hhtpd.conf verified <Files ~ "^.ht"> is correct 5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info: monitored server: CentOS 5.3 2.6.18-128.1.1.el5
i opened up my browser to surf the web and a page popped up i had never seen before.Apache 2 Test page powered by centos. Any address i put into my firefox browser won't come up and i'm stuck on this test page and,i can't locate it on my computer to remove it.How do i get rid of it and more importantly how did it get on my computer in the first place?
U have spent 4 days trying to configure my router thinking that it is my router that is not working but when I go to my dynamic dns or my static ip address it takes me to my admin router on the local computers.when I type httpd it says it cannot bind to port 0.0.0.0:80 i checked it is set up to listen to port 80 this is really confusing me i am beginning to think the people who built my server did not set it up properly if i go to localhost or 0.0.0.127 it goes to the apache default page fine.I have not changed anything since it wad installed except the centos 5 updates any ideas?When i login my password is root and the password is the default I have changed nothing else on the system as I still have no clue about it.Just to clarify on my router I have port 80 and port 443 set to my static ip address is this correct or should it be the eth0 Bcast ip address?Can anyone give me an idea of what i need to check? On my router I have set up port 80 and port 443 and dynamic dns and static ip address.Sorry I am totally new to linux never used it before would be nice if anyone has any ideas how i can proceed with this.
I am trying to setup a simple Linux Virtual System (LVS). The 1st layer is two Virtual Servers, the 2nd layer is two Real Servers and the 3rd layer is one PostgreSQL Server. All data is on the third layer (PostgreSQL). The Apache Server is running on the 2nd layer but it is supposed to retrieve data (Folders) from the 3rd layer servers (PostgreSQL). I like to setup NFS server on the 3rd layer and NFS client on the 2nd (Apache) layer. I can't figure out how to do it! I have searched the Internet with no luck. I am sure many people on the CentOS community have done it. Can somebody point me to a Howto.. or email me a procedure they have.
If I wanted to update Apache manually, instead of having Yum update it, how would I remove apache from Yum's database? What else would be involved if I download Apache source; and then configured, built, and installed it?
I've just installed latest verion of centos and am having trouble getting Apache to work or even knowing how to test it's working.
When I open up firefox and type 'http://localhost/' I am getting the message "failed to connect" firefox can't establish a connection to server localhost.
Or rather I can't reach it when I try to reach it in my web browser, I get a "network link timed out" error.I start it by issueing "/usr/sbin/apachectl -k start", and i know its running b/c i can see it in the process list "ps auxf".The request isn't showing up in httpd's access_log, which lead me to think this is a SELinux issue, perhaps not allowing httpd to bind to port 80, idk.I'm remotely administering this machine from the command line
I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did: - unzipped the bundle in the root's home - of course, I entered the folder - entered "./configure" - entered "make" - the compile didn't come back with errors - entered "make test" - there was a _possible_ fail... - entered "make install"
I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type: "which php" and get a path to PHP /usr/local/bin/php "php --version" and get 5.2.8 and some extra info in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.
Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?
I'm attempting the lovely task of uninstalling Apache 2.2 and installing Apache 2.0 on CentOS 5. This is because of my original task of installing RSA web agent which only works with Apache 2.0. I also am not allowed to just install CentOS 4. I uninstalled Apache 2.2. Attempted to install Apache 2.0 (with rpm) and got multiple dependency errors. I installed the dependencies (and sometimes their dependencies including a little dance around some circular dependencies). Then I installed Apache 2.0 with no errors. However Apache failed to start.
Here is the error: httpd: symbol lookup error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno. Please don't tell me it "seems like you're missing your gdbm libraries." I'm not. I'm assuming I'm having a version incompatibility issue between gdbm and libaprutil. I just don't know what version of which I need to make Apache 2.0 happy. I tried uninstalling gdbm and installing an older version but I still have the same problem. Another option is to uninstall my openldap package (2.3.13-2) which I just installed and install an older version of that but again don't know which version is right.
I have a web server with the specs below and my apache server is being a hog using all my RAM 7gigs or 8gigs of ram. When there is a rush of traffic at once my whole server crashes and I have to reboot apache. The way my site is set up I have a tube script and I use the tube script to host videos on my forum I have 1000 videos on the tube script. I brought a bigger server and more ram because of the down time I been having . I am really trying to figure out why its crashing and using so much ram. I installed eAccelerator didn't seem to help with the apache server.
Intel Quad Core Xeon X3430 (4 x 2.40 GHz, 8MB Cache) > 2-bay Supermicro Chassis and Motherboard > 8 GB REG ECC DDR3 (twice your current setup) > 250 GB Enterprise Grade SATA II > 10 TB Bandwidth 1gig Uplink Port > CentOS 64 Bit (Latest Stable)
TOP Command and free -m command screenshots are attached this is with only 160 people online at once
I saw many people were talking about how to optimize apache and mysql here and also in other forums and blogs. I am currently hosting some sites and some IRCD processes (a tiny network)in a dedicated server with spec:
We got about 30,000 to 40,000 page views per day. I would like to ask people here about the opinion of apache and mysql optimization based on this server spec and current number of page view.
I have installed CENTOS 5.3 on my machine and am running the new version of Subversion which comes bundled with Apache. I noticed in the httpd.conf file there is no module for PHP which is a problem. How do I install the PHP module for APACHE in Centos 5.3?
I have Centos 5.4 installed on my server. Everything works perfect, however sometimes apache does not work properly. When I write my domain to browser it tries to reach the site, however it can't get any result. (There is no "browser couldn't find" error). The browser just tries to get the content.
When I login to my server with ssh using my domain name, there is no problem. (Named works.) When I give the "service httpd restart" command the problem disappears.I looked at httpd log files but there wasn't any problem at that time.I use the API's of the Facebook and Twitter, so there are many Curl requests are made with PHP. Could that be the reason?
It appears the liblphp.so and liblpssl.so files that have been added to /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ and the php.ini are 32 bit libraries. This is preventing them from loading as PHP and it's other modules are all built as 64 bit libraries. To resolve this error, I would recommend re-building the libraries as 64bit. Most likely this can be done using Easyapache to re-build PHP (and Apache) to support these modules. Additionally, libcrypto and libssl are on the server in /usr/lib/ folder. However, they are 64bit libraries which may not work on the 32bit .so files you have provided.
I have a newly installed centos 5.5 x86_64 running as a guest on a xen environment. I've installed httpd, mysql, php, mod-php, cacti and some how mod-php i causing apache to exit with segmentation fault. I don't understand whats causing the problem, I have similar boxes with the same setup that works.