CentOS 5 :: Apache Not Browsing - No Logs
Jan 19, 2010
Just installed CentOS 5.4 selecting Server configuration where web server was installed.
After install, I browsed to the ip of the box and no apache test page shows up. /var/log/httpd/error_log doesn't show any browse attempts.
service httpd start
OK
try again and no browsing.
Did a :
yum install httpd
it installed httpd.i386 along some other dependencies.
Did a:
service httpd restart
OK
and still not browsing.
basics of getting apache running and configured on a fresh server?
View 6 Replies
ADVERTISEMENT
Apr 22, 2009
I don't mind that apache logs "rotate". By that, I mean that periodically the most recent log is renamed "*.1" and the older logs are bumped up a number In my particular situation, I do mind that the log that was "*.4" is deleted rather than being renamed to "*.5" when that periodic renaming happens.
I know most of the other /var/log files have the same behavior. What does this? Can I change it so my apache logs are "rotated" up but aren't deleted? I know this will take some hard drive space, but I have a lot of it.
EDIT: CentOS 5.3, kernel 2.6.18-128.1.6.el5, Apache 2.2.3
View 1 Replies
View Related
Feb 27, 2010
Doing my final year project in linux- a Mozilla Firefox extension which providing chat option for two or more peoples,who happen to be browsing the same website simultaneously. It shows you other people who visit the same websites as you are. These people have to be registered with our software. I don't know how to go about this. After a lot of googling and enquiring i have divided the project into three modules: an extension at browser side, chat implementation (probably in ajax) and a server- apache-php-mysql.
The extension keeps track of the URLs visited by the browser. It sends this information to the server. When it receives information from the server, the extension displays the number of users visiting the URL as the user. The extension informs the server whenever the user clicks the EnableChat(which will be embedded in a toolbar in the browser) button to start a chat session. After receiving the information, the extension displays the users in that site. The user clicks on a particular username for chat.
I have installed php mysql and apache. but i do not know exactly what the server must do. I know i have to write the server code in php and put it in the /var/www folder. but what should that code do? how exactly does the extension or browser communicate with the server for the exchange of above info?
View 4 Replies
View Related
Jul 19, 2010
I had directory browsing enabled in Apache on a previous computer, but I can't get it working again:heres my apache2.conf
Code:
#
#Based upon the NCSA server configuration files originally by Rob McCool.
[code].....
View 6 Replies
View Related
Sep 21, 2010
So I have apache running on my local computer. When I open up local development sites in tabs in my browser, apache threads are started. That's as it should be. However, when I close the tabs, close the browsers, and then run system monitor/system task manager, I get a long list of apache threads that are sleeping, waiting around for god knows what. How do I get these apache threads to stop hanging around?
View 1 Replies
View Related
Jan 29, 2010
On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:
Quote:
qa@dwdb [~]$ ls /var/log
ls: /var/log: Permission denied
qa@dwdb [~]$
View 18 Replies
View Related
Mar 10, 2011
In a squeeze box, I installed awstats and it's working like a charm. Its cron job update the awstats database every 10 minutes (as it runs as root). But I would like to be able to update the statistics from the browser as well. So I setup everything as required and I gave "read" access to "others" to every apache log file. Now, a couple of questions came to my mind:
1. Am I compromising server's security giving "read" access to "others" to apache log files?
2. Instead of giving "read" access to "others", I could add www-data user to adm group (as apache log files are owned by root:adm and permissions are rw-r----). Is this more secure than giving "read" access to "others"? 3. If the option would be giving "read" access to "others" at the end, a log file would be owned by root:adm and its permissions be rw-r--r--. As apache rotates its log files, when Apache create a new log file, does it preserve the permissions (rw-r--r--) or create it with the default permissions (rw-r-----)?
View 1 Replies
View Related
Jul 10, 2010
Does anyone know of any software that can monitor the Apache logs for certain phrases or keywords then send an alert when found? For example I know an attempt to hack has been made when I see log entries like this....
/admin/
/admin/phpadmin/
/phpadmin/
But by the time I see it, the attempt has long since failed or succeeded. What I need is a way for my server to alert me WHILE someone is entering these phrases. I realize there may be a "hit" to performance but my server is not that busy anyway (except for hackers).
View 3 Replies
View Related
Mar 30, 2010
I noticed i have quite a few logs that end with .[number] for example "syslog.1" "mail.info.1" etc, why is this and why are they there since almost nothing is logged in them ??
Question 2: on my server im running a script like imagebam and imageshack with hosts images so i have quite a few apache requests to my server. I am wonder why apache takes up so much CPU for some of the requests? in Htop some requests take up 1.2% CPU while other take up 3-5% etc, so the total load is about 1.50 0.58 0.84 to 2.61 1.08 1.14 with about 128-150 apache requests all the time while sometimes the CPU load can be almost 0 with the same ammount of requests. is this normal? what could cause this in apache ?? the server is just running apache2. MYSQL is running on another server.
View 1 Replies
View Related
Feb 2, 2009
For remote syslog logging of the general log files, I set:
Quote:
How do I setup the remote syslog logging of apache logs? Do I just add a line in the httpd.conf file to for example ?:
Quote:
View 2 Replies
View Related
Jun 13, 2011
I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.
I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).
When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:
Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.
Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)
View 4 Replies
View Related
Jul 6, 2011
I am new to web server support. I have a request from my management to modify the logging slightly. Effectively I need to redirect a custom string from our http response into the apache access logs. When a user navigates to our site they receive a "dye" number that is associated with them. This number follows them to whatever cluster they are directed too. The string is formatted as such, com-company-dye: d0a2#6dfce. I need that that header dye to appear in the access logs so we can use that dye number as a key for troubleshooting issues though out our various monitoring systems.
View 3 Replies
View Related
May 27, 2011
For internal security reasons I need to prevent ourmcat logs from writing to the webserver local disk. We set up a separate logging server with rsyslog and need to pipe the log data to it.I am trying to work out how to configure tomcat to send all log data to the logging server via the rsyslog client (running locally) via a named pipe. We are on CentOS 5.6, Tomcat 6 and rsyslog 5.8.1. I need to know: 1) do we use the default logging library or log4j2) where is this configured in the tomcat config3) is there any code that would need to be written to achieve this
View 1 Replies
View Related
Jul 19, 2009
I'm not sure why, but over the last couple of days when I browse the web with my Centos 5.3 machine running firefox 3.0.5, it takes a very long time to load web pages. Loading the app itself is pretty quick, and I have not issues with system resources (it's an HP Proliant ML115 server, with dual opteron processors & 3Gb RAM). Looking at CPU & disk useage there's nothing out of the ordinary:
top - 18:59:19 up 1 day, 22:54, 2 users, load average: 0.28, 0.90, 1.20
Tasks: 162 total, 1 running, 161 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.2%us, 0.3%sy, 0.0%ni, 96.0%id, 1.5%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3090912k total, 2278624k used, 812288k free, 194520k buffers
Swap: 2031608k total, 0k used, 2031608k free, 1241912k cached
[Code]...
View 6 Replies
View Related
May 31, 2011
I want to install tomcat so i followed the steps mentioned in below link: [URL] After going through the steps i checked for
Code:
./startup.sh
but it showed me the error
Code:
touch: cannot touch `/usr/share/apache-tomcat-6.0.32-src/logs/catalina.out': No such file or directory
/usr/share/apache-tomcat-6.0.32-src/bin/catalina.sh: line 372: /usr/share/apache-tomcat-6.0.32-src/logs/catalina.out: No such file or directory
when i went through my "/usr/share/apache-tomcat-6.0.32-src/" there was no "logs" folder so i tried
Code:
find / -name catalina.out
but it returned nothing.BTW i have installed "apache-tomcat-6.0.32-src", "java-1.6.0". Please if any one could look into the problem and provide me the solution to error mentioned above and why there is no "logs" directory in "/usr/share/apache-tomcat-6.0.32-src/".
View 5 Replies
View Related
Aug 4, 2010
i've configured my laptop so i can use my domain account (active directory win 2003 DC) to logon to my machine. Now i'd like to browse and mount shares etc using my logon information. Now when i connect to a share with nautilus it tells me 'guest' can't log in and i need to re-enter my user info. This is a real pain since our passwords change often. Is there some way i can use PAM to authenticate? I've searched everywhere, but you only find info about the other way round (win->linux).
View 1 Replies
View Related
Mar 12, 2009
Is it possible for vsftpd to have logs so I can see IP addresses user has used to connect to FTP ?
View 3 Replies
View Related
Dec 8, 2009
I set up freenx server and set up a client on same machine and now when I go to my logs it crashs and bugzilla save before it can crash. I go to send info and the page says bugzilla wont work and gives a 999 code need newer gnome??
**this is when I go to the logs page
Distribution: CentOS release 5.4 (Final)
Gnome Release: 2.16.0 2007-02-18 (CentOS)
BugBuddy Version: 2.16.0
[Code]....
View 1 Replies
View Related
Mar 8, 2010
I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)
View 1 Replies
View Related
Aug 28, 2009
Is there any way of getting the build logs of the CentOS packages? I'm dealing with a possible build problem in CentOS's Samba similar to [URL], so it would be very useful to have the build logs available to check for such dependency problems, etc.
View 6 Replies
View Related
Feb 4, 2011
My server is rebooting frequently(4 to 5times a day) without any logs, can any one help me out to fined the cause for the unexpected reboots of the server. reboot system boot 2.6.18-194.3.1.e Fri Feb 4 15:16 (00:-24)
[root@elastix log]# cat /etc/redhat-release
CentOS release 5.5 (Final)
[root@elastix log]# uname -a
Linux elastix 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
[code]...
View 2 Replies
View Related
Feb 22, 2009
I have this server that runs Tomcat . this server sends mail with localhost as MTAthe local MTA is sendmail (with the default settings) . from time to time i have this strange thing and the emails it sends never reach the destination. the log shows it left the server , but looking at the logi see that the time on the log is wrong . sometime its correct and ometines its +2 hours. i guess this email are bounced at the destinationfor sending at future time . all this email that didnt reach the destination have this in common
Feb 22 15:47:44 BE00 sendmail[12969]: n1MDlikZ012969: from=<support@example.com>, size=5912, class=0, nrcpts=1,
msgid=<5269969.391235310464949.JavaMail.tomcat@BE00.example.com>, proto=ESMTP, daemon=MTA,
[code]....
View 3 Replies
View Related
May 13, 2010
I installed syslog-ng so I can receive remote logs. this is working however since I disabled syslog on my syslog-ng server I am not logging in /var/log/messages cron and some others.locally)I know this is because my syslog-ng.conf only references remote and not local.How can I edit the syslog-ng.conf file so that I can receive remote and local? I tried this however when adding in portions of the default config, I only receive local and not remote logs anymore. I am forwarding my config.
# syslog-ng configuration file.
#
# This should behave pretty much like the original syslog on RedHat. But
[code]....
View 2 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
Mar 1, 2010
OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none/var/log/messages
Here is the logging section of my named.conf
# pwd
# /var/named/chroot/etc
logging
{
[code]....
View 5 Replies
View Related
Nov 8, 2010
I'm wondering why I keep getting the following in /var/log/messages on a system running the latest CentOS 5 64 bit kernel:
Nov 8 09:50:24 hostname kernel: myri10ge: eth2: link down
Nov 8 09:50:24 hostname kernel: myri10ge: eth2: link up
Nov 8 09:50:34 hostname kernel: myri10ge: eth2: link down
[Code]....
View 5 Replies
View Related
Oct 17, 2010
I've just installed Slackware 13.1 in two different laptops for first time. I have some strange internet browsing behaviour in one of the laptops. I've installed 2 internet browsers(firefox,opera) using the directions from Slackbuilds.org and there is also konqueror pre-installed. Moreover I installed Wicd network manager.
I can browse some pages e.g. ..... with firefox very slowly but NEVER facebook. I can browse almost any page, even facebook, with OPERA but very very slowly. The same goes with konqueror... Wicd shows that i am always connected with my WPA wireless network
Laptop details:
Quote:
Toshiba sattellite a100-209
//-----------------------------------------------
Processor Intel Celeron M 370 / 1.5 GHz
Databus-Speed 400 MHz
//-----------------------------------------------
Installed RAM 512 MB
Technology DDR2 SDRAM - 533 MHz
[code]....
View 7 Replies
View Related
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
Jul 2, 2010
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?
View 10 Replies
View Related
Apr 19, 2010
When I try to login as me - it gets pretty far but then something happens and automatically logs out. This happens in Gnome, Kde too. Now - I have no problem logging in a Root. Is there a way I can try to stop the login process before it kicks me out, or is there a way to look at some files to tell me what's going on?
View 3 Replies
View Related