Server :: Apache Split Log With Cronolog
Jan 7, 2011
Split Apache log with cronolog,
cronolog version 1.6.2 --install with tarbar.
apache configuration
Code:
CustomLog "|/usr/local/cronolog logs/access_log_%Y_%m_%d" combined
stop apache, del all log files.
restart apache, visit a url, no access_log_YYYY_MM_DD log file ...
Also no error msg in error_log file .....
View 3 Replies
ADVERTISEMENT
Oct 14, 2010
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
[code]....
View 7 Replies
View Related
Apr 27, 2010
I need to split one of my big partitions without data loss while the server is running,here is my df -h output:
Filesystem Size Used Avail Use% Mounted on
/dev/pve/root 95G 756M 89G 1% /
tmpfs 1003M 0 1003M 0% /lib/init/rw
udev 10M 2.7M 7.4M 27% /dev
tmpfs 1003M 4.0K 1003M 1% /dev/shm
/dev/mapper/pve-data 356G 52G 304G 15% /var/lib/vz
/dev/sda1 504M 32M 448M 7% /boot
I want to make a little partition from /dev/mapper/pve-data with size of 50 GB while the other files on that partition remain untouched,
View 8 Replies
View Related
May 20, 2011
Im in a unique situation where a box has a 400G file, on FreeBSD, without thesplit' utility available
View 11 Replies
View Related
Feb 4, 2010
Any one have an idea How to clear apache cache without restarting apache server.
View 5 Replies
View Related
Jan 24, 2010
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?
View 5 Replies
View Related
Jan 6, 2011
I'm about to start trying to write a script to backup / with just something like tar, or dd, split into 24mb files and email to myself.What could possibly go wrong? I'm amazed I couldn't find anything in my searches on this specifically.What I want is to go from a Gentoo rescue CD to a restored system as easily as possible.I tried rsync over gmailfs but that just froze. I can't really see that working too well anyway.
View 2 Replies
View Related
Aug 4, 2010
Our system uses email to send fairly time-sensitive status messages between programs running on various servers on a WAN. Each email message is sent to two addresses (different servers). The problem occurs when one of the destination mail servers is off the network. I think because it's trying to send one email to two addresses, sendmail attempts delivery to the first address, then to the second address (i.e., serially). When this happens, it hangs for two connect timeout (CONNECT_TO) periods trying to connect to the offline destination, then after the timeout, it then delivers to the other destination. I'm trying to figure out how to work around that connection delay so it doesn't delay delivery to the other destination.
I'm working with the network guys to enable the right ICMP messages that signal when a network is unavailable, but I would also like to try having sendmail split the emails into two envelopes, then use parallel, independent connections for delivery.
After days of reading through the docs (O'Rielly Sendmail book + sendmail docs) I think one way to do this is to use multiple mail queues, but I can't decipher exactly how to do that from the docs.
There might be other, more elegant ways to do the same thing, but again, trying to decipher the docs has my head swimming. (This is my first experience with sendmail.)
View 1 Replies
View Related
Jul 19, 2010
I have an OpenSuse 11.2 system that is running 2 BBS systems independently, both of which are capable of receiving smtp mail on prot 25. What I would like to do is set up Postfix on the OpenSuse OS to receive all mail for both those domains and then send the relevant mail to the correct BBS. I would therefore have Postfix listening on Port 25 External and the 2 BBS applications listening on different ports on the localhost address. At least that is the plan.
how to do this. I want to do it and still make sure Postfix is secure and not accidentally open up any nasty relay holes etc etc.
View 2 Replies
View Related
Oct 1, 2009
Does squid automatically split bandwidth between connected clients? I'm wondering if someone was downloading a lot of data and someone else connected whether it would split the access 50:50 between them? I have 1 user that is using a lot of bandwidth but the server doesn't seem to split it up between all connected clients so others are receiving slow access. I don't have this client's IP address but I do have ncsa auth connected. Will delay_pools work with an ncsa username?
View 2 Replies
View Related
May 26, 2010
I've set a two-node cluster using Pacemaker/OpenAIS. I have only one network and if I break this one, the communication between node is interrupted ... With a ClusterIP resource, when network is breaked, then each node start the ClusterIP => 2 same IP .. Is there a way to define the prefered location of a resource when connection between these nodes is broken ?
A <==> B
If one of the node lose the network, then follow a previously written rule : start resource on A (for example). B will know than it's not the prefered node and so, will stop to serve. Possible ? This is because if both node are connected, but a problem between these node occur and client can join both node ... then the split brain is problematic ... A better solution is to add a rule when the split-brain occurs : all node wich can't reach the gateway have to stop all resources ... And so, if it's A wich lose the network, service will start on B and only B without any problem ...
View 1 Replies
View Related
Jan 20, 2011
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..
View 3 Replies
View Related
Apr 21, 2011
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?
Httpd.conf
Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....
View 2 Replies
View Related
May 22, 2011
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.
View 7 Replies
View Related
Feb 2, 2011
I try to 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?
View 1 Replies
View Related
Feb 23, 2011
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?
View 1 Replies
View Related
Dec 7, 2010
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.
[code]...
View 6 Replies
View Related
Mar 21, 2011
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 .
View 1 Replies
View Related
Aug 19, 2009
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`
View 1 Replies
View Related
Jul 2, 2010
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..
View 1 Replies
View Related
Feb 10, 2010
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
View 3 Replies
View Related
Apr 17, 2010
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
View 10 Replies
View Related
Feb 26, 2011
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:
View 2 Replies
View Related
Jul 22, 2011
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.
View 2 Replies
View Related
Apr 6, 2010
I need to split a filename into its filename and extension, so I can append a datestamp to the filename. I'm using bash.
View 8 Replies
View Related
May 12, 2010
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.".
View 3 Replies
View Related
Sep 29, 2009
My current setup is:
old server:
www.mydomain.com main site
www.mydomain.com/subdirectories related sites from same server, different directories
I am adding an additional server that I would like to initially only use for the main site, something like this:
new server
www.mydomain.com main site
www.mydomain.com/subdirectories would be pointed back to the old server instead
What's the best way to redirect the traffic for the sites found in sub-directories on the old server?
View 2 Replies
View Related
Oct 8, 2010
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...
View 15 Replies
View Related
Nov 6, 2009
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?
View 6 Replies
View Related
Jan 8, 2010
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.
View 3 Replies
View Related