I am running the Linux server ( debian etch ) on a virtual machine since more than a year. About a week ago the mail server ( exim4 ) stopped working. I've started aptitude and made something i cannot remember exactly ( said o.k. to an action aptitude proposed me solving some inconsistencies, but aptitude itself crashed several time with "cannot fork" and "SIGSEGV" ) - since then apache2 does not handle the PHP pages, delivers the php source to the browser.
I've tried reinstalling PHP5, but no success so far
- php5 is installed, also the libapache2-mod-php5
- The php5 module is activeted ( the symbolic links stay in mods-enabled. If i remove / rename the /usr/lib/apache2/modules/libphp5.so file, i get an error message when i restart apache2 - it seems me, the PHP5 module is loaded into apache2.
The apache2 configuration file 000-default contains my virtual hosts, among them for example:
When i try to load a page from this virtual host into my browser, i get the php source code (opened by a texteditor), and no log line is written, neither into error.log, nor into access.log As i said, the system worked correctly for monthes, it is not a new installation, but something went wrong in the last days.
I'm having trouble with my database server run with PHP & MYSQL; i just installed this system on a SUSE Linux Enterprise Sever; the Server its self is an HP Proliant ML370G with 4GB RAM The system was fine for like 3 weeks until recently when it started slowing down. Apparently, eveything is normal when you are accessing the server, for example when you are browsing on the database web interface; but problem is when you start working in the database, when you try submitting into the database, its really slow on processing, i have to first restart the mysql; Could it be RAM? or the SQL itself?
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'm running a linux cloud server with the following config 1.2ghz Processor allocation 752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
A while back I was asking the forum for FTP server reco's, said what I needed and the response from all was only proftpd has post processing functionality.Basically we will have numerous users uploading data at a constant rate and after each successful upload, I would like to fire a script to do some work. The script is nearly done, so I am now looking to see how to do this.Not sure if it matters, but the server is running / allowing via MySQL not the local user's.
Mails are not going out of the queue. Removed all frozen mails and tried to flush queue using exim -qf command. Also checked queue after restarting exim. Still messages are not going out of the queue.
I am currently deploying Nagios as my NMS on CentOS 5 and using pn4nagios to create graphs.I have successfully configured Nagios-3.3.3 along with nagios-plugins-1.4.15. its working fine and showing my windows machine and linux machine.But here is the problem, when I try to configure pnp4nagios-0.6.11 I am unable to restart nagios service as it gives me error in commands.cfgfile on line number 240.can sum1 tell me how to get rid of this error. i had encountered similar problem while using nagiosgrapher. kindly note that i have allowed perdata to be processed by setting its value to 1.
I want to use TightVNC on Linux to display a KDE desktop to VNC clients, do I have to have a super duper graphics card in my server, or is it down to the VNC client to process the graphics?
I would like to ask whether there is a way to postpone or delay message processing on postfix mail server. E.g. to postpone message transfer/relay for 5 minutes to be able to dequeue mis-targeted emails.I couldn't find anything because these keywords mislead to performance problems.
Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.
config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.
I have install Mandriva 2009 and install apache server but its not strating on default configuration file . What I should do for starting apache . i have tried /etc/init.d/httpd start but apache is not running .
I installed Apache server with Debian 5.0.2 Lenny. I am trying to write a script which would analysis web log files. I found the log files on /var/log/apache2. There is an access log file, `access.log`. My question is what configuration file determines the location and the name of the access log file. How can I change them? I used CustomLog in /etc/apache2/apache2.conf like below.LogFormat ": %h %l %u %t "%r" %>s %b" common CustomLog /home/test/my_log_file common Apache2 generated /home/test/my_log_file. But no logs were written in the file even after I run `/etc/init.d/apache2 restart`. Ichanged the log file location. It still didn't work. However, Apache2 still wrote logs in the file `/var/log/apache2/access.log`
Can anyone tell me in performance tunning of apache-tomcat and jboss application server?when I deploy some application in apache-tomcat the performance is say 100 users per second and incase of jboss it is even worst (35-40 users per second)i want to improve my performance 1000 uesrs per second..
I have a requirement of using a wildcard certificate for 5 subdomains running under apache httpd server and 1 subdomain under tomcat.Is there any possibility of using the single wildcard certificate both in tomcat and apache
I installed apache server on my Fedora 12. Its showing the test page 127.0.0.1, but when I give the address 97.168.234.76 (0r www.chaalu-kam.com), it tells that the requested url could not be retrieved.
I have made the following additions to the /etc/httpd/conf/httpd.conf file
Code:
In addition to this, I have added this to my /etc/hosts file
Code:
I wanted to test the Apache server on my laptop only by putting an html file in /var/www/html and naming it as index.html. I want this index.html page to be displayed when I put www.chaalu-kam.com in my browser. What should I do? My firewall is off too
I'm setting up a full server configuration on Fedora, moving it from Mandriva which sadly faces a rather uncertain future. Things are going well and I will be ready (and more familiar with Fedora) in time to upgrade to Fedora 15.
What I have done so far in regard to networking setup:
I first removed Network Manager and replaced it with the network service (chkconfig --level 25 network on). That put an end to the overwriting of /etc/hosts, which now reads simply:
I am running a CentOS 5.6 Server with a website and Forum. The website has a contact form and users can email various people in the organization. I have setup sendmail to send any mails like this to my email address on a Windows machine.The problem is that there emails don't have a header which has the senders original email header. It comes from localhost on my sendmail. How can I get any mail generated from the apache site to ALSO send mail to root on the Centos Server? That way I should be able to see the header and report the spammer or block them.
I have changed my home network a bit, and everything works extremely fast, except for my apache server, which seems to serve webpages so slowly, it is abnormal. Even simple directroy pages are served in around 5 sec, and this is not a joke! It used to work pretty fast. What I have changed is that i replaced a hub with a switch, and that I linked my personal PC with my server together through a hub. I also installed Gnome desktop on the webserver machine. My network now looks like follows:
I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.
However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?
I'm moving an office intranet server to a new machine running CentOS 5 with apache 2.2.3. Everything worked fine on my old CentOS server and nothing new or fancy being tried on the new machine: default server, no name virtual hosts etc.. However, on the new server I can only see the index.html page when I browse to it. Index.html is a frameset which calls other pages to load from subfolders to /var/www/html. The frameset loads but in each frame I see "The requested URL /hot_stuf/data_colm.html (etc.) was not found on this server.".
I have CentOS 5 configured with apache web server. but it is not asking for password authentication while accessing the web page. the config detail is as below code...
it may be a simple doubt i have but i really want to know this,in the httpd.conf file under the server root of apache server.they have instructed not to add a slash at the end when mentioning or giving the path for server root.I think both will still remain the same, then y is that mentioned that way?
I need to a software can test my apache server under high traffic.for example can simulate 1000 user request to my server and give me good statistic. I have found this product, but that is not free If any one know such as this program I will happy for inform that.
I am hosting apache service on the CentOS5.4. I configure the Apache in default setting mostly. But keep getting complaints from others about the website download too slow, pdf cannot download at all, flash cannot play smoothly, etc.. But on my own machine, everything works fine. Is there any tool for analyzing this problem?
I rented a server to run CS 1.6 game servers. I had someone install Apache and configure my server to be able to use control panel for my game servers( i am running 4 gservers and have 5 ips = 1 ip is free). When i type my primary ip in the web browser it displays the Apache test page.
My question is can i add pages to the Apache without messing up anything with the control panel or my game servers. I am familiar with html. My primary ip is used for 1 of th egame servers but i can change that if necessary. And if possible to add pages how to add a site name, sth like [url] instead of entering the primary ip to display the content.