Fedora Servers :: Webalizer Not Analyzing Correctly?
Feb 8, 2009
I have a dedicated server with fc-9. I have several domains. They are located in /home/domainname/html Under each /home/domainname I have added a webalizer.conf file. Recently I moved video files into a subdomain so I could track usage and generate reports on the use of these video files. Hence the main domain html files call the sub-domain to present flash files for viewing and .avi, .ogm, mp4, etc files for downloading.
So I have for directories:
/home/domain/html
/home/domain_files/html
I set up the domain_files as I have the main domain with access_log and error_log. I set up webalizer to analyze every day at midnight. What I get for webalizer results is links back to Sept, even though the logfile's first enter is in January. I also see many files in the report that are from a totally different domain. I have checked carefully and in webalizer.conf I have: LogFile /home/domain_files/access_log I'm lost. I haven't a clue what's wrong. If webalizer can't do this is there another simple logfile analyzer that can give me video usage?
View 1 Replies
ADVERTISEMENT
Jan 14, 2010
[root@xxx webalizer]# pwd
/var/www/html/webalizer
[root@xxx webalizer]#
[root@xxx webalizer]# ls -all
total 4924
drwxr-xr-x 2 tomcat tomcat 12288 Jan 1 04:03 .
drwxr-xr-x 16 tomcat tomcat 4096 Jan 14 10:01 ..
-rwxrwxrwx 1 tomcat tomcat 2606 Dec 1 2006 ctry_usage_200611.png
[Code]...
When I go to http://myserver/webalizer I only see the 2007 reports and I want to see all the years and months. How do I do that ?
View 13 Replies
View Related
Jun 16, 2010
how to install webalizer and configure it to push stats for multiple domains?
View 6 Replies
View Related
Jan 3, 2011
what are the parameters to be considered for analyzing the performance of the filesystem.
View 10 Replies
View Related
Jul 15, 2010
My phpMyAdmin is showing up only a blank screen with its favicon.What kind of error is this?
View 1 Replies
View Related
Sep 14, 2010
I have been trying to configure webalizer on a centOS 5.5 system.I did the yum install and I found this helpful link...[URL]..However when I try to change the dir it puts the info into, it keeps giving me an error cannot cd to the directory. I changed the /etc/webalizer.conf file as described in the above article and try to run it manually same results.
/etc/cron.daily/00webalizer Error: Can't change directory to /home/webalizer/ When I put the original dir back in the path it writes to /var/www not /var/www/output like it should. I even tried a local /var/wwww/output dir. Then I tried a link to /home/webalizer/output (a dir I created) and same results.(with orginal .cfg in place) I go to my www page remote or on the local network I get page not found errors. http://mysite.com/webalize or 192.168.1.80/webalizer page not found.
In summary.
1. Why wont the /etc/webalizer.cf file allow me to change the location of the files?
2. How do I display the www page to view the data?
3. How can I secure the www page so only I can view the data.
just saw this in my email too :
header info deleted...
/etc/cron.daily/00webalizer:
Error: Can't change directory to /home/webalizer
/etc/cron.daily/logrotate:
Current logging target is:
`- SYSLOG
edit: i should also mention SeLinux is in permissive mode not enforcing while i am testing this.
View 2 Replies
View Related
Aug 25, 2010
Are there any tools out there to scan, say our fileserver(20TB), to check for things that shouldn't be there like mp3s, videos, software crackers, etc?
View 2 Replies
View Related
Jul 1, 2011
i was wondering how to get a api for analyzing the stock market or certain stocks from google finance and writing a database with a search alogorithm in c
View 2 Replies
View Related
Sep 4, 2010
do you know any free (or commercial) software for analysing the MIT Kerberos logs, mainly authentication - who has logged in and when, who has logged out and when. It would be good to have some statistical data about logins (average number of logins per day and similar).
View 1 Replies
View Related
Nov 29, 2010
For one of my class projects, we have to analyze a usb keyboard driver source code and be able to understand it and present it to the class. Me and a few other people are working together by breaking up the code into sections so each person can analyze a section of code.Now I've ran into a section of this code that I am a little confused about. It seems fairly simple but I just wanted to double check since I wasn't able to find a solid answer.
Code:
static const unsigned char usb_kbd_keycode[256] = {
0, 0, 0, 0, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38,
[code]....
View 10 Replies
View Related
Feb 18, 2010
I have a question for you guys. How do I monitor a URL (link) in my server ? I want to see how many times a page has been accessed. In webalizer, there is such thing but there's a TOP 30 URL access, and I want to monitor (count) a specific URL. Is that possible ? If yes, how and what do I need to do.
They say:
Securing and Optimizing Linux: RedHat Edition -A Hands on Guide
PrevChapter 30. Optional component to install with ApacheNext
30.3. Configure the /etc/webalizer.conf file
The /etc/webalizer.conf is the default configuration file for Webalizer. With it, you can specify which directories or pages in your web site to analyze, which URLs to hide, and so on. By default, the Webalizer program will install a sample configuration file named webalizer.conf.sample under the /etc/ directory of Linux. You can use this file to configure your choices and then rename it webalizer.conf, and the Webalizer program will be able to find and use it. A lot of options exist and it's important to read the documentation that comes with Webalizer for more information on all of the different setting and parameters. Also, it's important to note that we comment in this Webalizer configuration file only the most common and used parameters.
[Code]...
But I don't get it, what should I type in order for the webalizer to monitor a specific URL.
View 5 Replies
View Related
Aug 2, 2010
I'm trying to get webalizer to analyse some log files. The server uses virtual hosts and has log rotations on and also uses turbopanel (now known as simple control panel). Because of this, the documentation is limited and webalizer works in a weird way. I found this perl script under turbopanel called webalizerrun.pl the code is as follows:
Code:
#!/usr/bin/perl
$WEBALIZER = "/usr/bin/webalizer";
chomp($var = shift);
$wdir = "$var/conf/webalizer";
opendir(DIR, $wdir) or die "Unable to read $wdir: $!";
[Code]...
Here's what I want to do, and I believe I can do this using this code with slight modifications. As of now, the log files for each site is in the folder specified above with the file named as "domain-name_access_log" and then the log rotation just adds a number to the end of that. I want use this perl script to run webalizer for a particular site and have its output be placed in directory.
1.) Line 4: chomp($var = shift): I know chomp is used to remove trailing characters, but what character in this case? How may I find that out? Also what does $var = shift do inside chomp?
2.) Line 8: What exactly does the readdir function do? What does it return to $domain?
The rest seems similar to csh, checks if it's dir or file and then changes to the directory and runs webalizer on that directory.
View 14 Replies
View Related
Sep 14, 2011
I'm hoping to find an existing Linux tool for measuring latency:
I'm trying to diagnose how much latency my OS and NIC card are adding to TCP latency in Linux. I looked at the following tools but all (at least at the surface level) measured bandwidth (Mbps/sec) rather than latency (nanoseconds for transmition of 1 packet of size x).
If I were to write a custom test, it would likely do the following:
Client:
Create a fake message of the specified length with some padding for an incrementing identifier. Open a TCP connection (with the right parameters like TCP_NODELAY, etc) Loop and send messages containing an incrementing identifier. Store the current system time (in nanos) associated with the identifier. Listen for responses, record the current time and record the latency of that identifier asynchronously Server Listen for a connection Echo back any message received
Assuming both boxes had the same setup (configs, cards, OS, CPU, etc), are relatively close to eachother in the network, and one knows roughly the network's latency contribution, one could get a rough estimate of the OS + NIC contribution and begin testing various configurations.
One could also get a more accurate picture of the latency by using a network sniffer and snooping on the lines between the two hosts, calculating the latency between the two sides for an ID, and then subtracting that from the internally measured latency.
View 3 Replies
View Related
Sep 14, 2010
I have been trying to configure webalizer on a centOS 5.5 system. I did the yum install and I found this helpful link...However when I try to change the dir it puts the info into, it keeps giveing me an error cannot cd to the directory. I changed the /etc/webalizer.conf file as described in the above article and try to run it manually same results. /etc/cron.daily/00webalizer Error: Can't change directory to /home/webalizer/When I put the original dir back in the path it writes to /var/www not /var/www/output like it should. I even tried a local /var/wwww/output dir. Then I tried a link to /home/webalizer/output (a dir I created) and same results.(with orginal .cfg in place)I go to my www page remote or on the local network I get page not found errors.In summary.1. Why wont the /etc/webalizer.cf file allow me to change the location of the files?2. How do I display the www page to view the data?3. How can I secure the www page so only I can view the data.
View 4 Replies
View Related
Mar 3, 2010
Recently i am install webalizer in my application server .i am using centos4.1 .i installed successfully.but when i run the command i am getting like this.
root@tuxserver# /usr/bin/webalizer
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field
[code]....
View 2 Replies
View Related
Oct 21, 2010
I'm using Webmin, and Webalizer plugin. Days ago, webalizer works fine. But starting from yesterday, Webalizer no longer generate reports. And when I try to generate report manually using webmin, I get this message: Code: Running Webalizer to generate report from [URL]..
.. Webalizer failed! See the output above for details. Because I didn't get any details on that message, I run webalizer manually using command:
Code: # webalizer -n mydomain.com And as result, I got this message:
Code: # webalizer -n mydomain.com Error: Unable to restore run data (10) I have few domains in this machine, and for all domains I got the same result. Anyone has any idea(s) about what happened and how to cure it? Few days ago I think I tried to install Perl-Small-XML using CPAN and failed. And I installed awstats too. Don't know whether it's related or not.
View 1 Replies
View Related
Sep 10, 2010
Using Ubuntu Server 10.04, I was adding a new file system to mount today. I made a mistake editing the fstab folder for mounting a new partition, and now I can no longer boot. I attempted to use a live disc to edit correctly, and did so, however I still get errors on boot. I have included a screenshot of what I get on screen while trying to boot.
View 1 Replies
View Related
Jun 6, 2011
I have an ubuntu 10.04 machine that I use primarily as a file server. I have a RAID5 array built with mdadm from 3 component disks that worked properly until a recent upgrade (I'm not sure exactly what broke it though). The array is /dev/md0 and is set to mount at /var/media on bootup. *Now*, when the system cold boots it hangs partway through the bootup sequence and throws the following error:
The disk drive for /var/media is not ready yet Press S to skip ... Once I "S"kip this manually, I can see that LOWER in the boot sequence mdadm gets called and assembles the drive, and once fully booted into the system I can then simply do a "mount -a" and the array mounts properly. SO... my gut feeling is that some portion of one of the upgrades changed the order in which things are called, and now the "mdadm assemble" is not triggered until AFTER the system tries to mount the drives. My problem is that I don't know the stuff that controls the boot sequence well enough to dig in the right place.
As a workaround I can remove that entry from /etc/fstab, but then (of course) the system won't auto-mount the array. It's better than the boot process completely hanging because as least THIS I can fix remotely, but I'd really like to know
1) why this broke in an upgrade and is it a known problem?
2) how to get it back to where it auto-assembles and then auto-mounts the array on bootup.
View 9 Replies
View Related
Jun 10, 2011
I was being stupid, and didn't read the manual properly... shame i can't delete the thread!
View 1 Replies
View Related
Jun 7, 2010
I have successfully installed Openldap and am able to authenticate to it, but I can not get the replication server operating correctly. I have followed all of the steps in doing so from this guide, [URL], but there are a few things i don't understand. when creating the consumer_sync.ldif file on the consumer server it says to replace ldap01.example.com to your server's hostname.
would this be the provider or consumer? My porvider is ldap@tech.local and my consumer is ldap-backup@tech.local.... so what one are they refurring to with the ldap01? And is there a way to push, or sync the two server manually? How do I know if they are backing up properly? How do I test?
View 1 Replies
View Related
Jul 1, 2010
I made a Bash script that is fired by a Cron job every morning. It dumps an SVN backup on some Samba shared drive. I would like to know how I can make sure the job worked correctly without having to verify the shared drive every morning. Right now, I take the job's output, save it to a log file and send this file by email. But the ouput isn't so great.
[Code]....
View 2 Replies
View Related
Sep 8, 2010
Im using bind9 as DNS server on my LAN, but it does not seem to translate its own hostname correctly for some reason. Other hosts is translated correctly, the problem only seems to apply to the DNS host itself. if i "ping <server_hostname>" from the server, it translates correctly. But if i "ping <server_hostname>" from the client it only says "unknown host" The client has the correct DNS-server assigned. How can i start troubleshooting this?
[Code]...
View 3 Replies
View Related
Oct 29, 2010
Alright guys, I've looked over every thread regarding this issue on this forum, and many others; yet I cannot find out why my mail is being bounced without error from my external gmail account.From what I've seen, you guys need to start off by seeing my postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
[code]...
View 9 Replies
View Related
May 31, 2010
Im having trouble setting my SAMBA server correctly. I have two Win machines, one with WIN7 and one with XP. I have one Ubuntu machine and Ubuntu Server 10.04. My problem is that I can only acess files from the Win 7 Machine. When I try to map out the shared dirs on my serverI get asked for user and password, when I enter my creditensials it dosent help.. What to do? I used the sample smb.conf file and open for no restrictions..
[Code]....
View 9 Replies
View Related
Sep 17, 2010
I have gotten my project ubuntu server 10.04 up and running and logged in remotely with a terminal emulator program called AccuTerm that I use from work. It has multiple control files and want to know which file works best with ubuntu server. My reason for asking is some of the manual pages do not display correctly and keyboard functions seem to function incorrectly via VT100 and I have eighteen to choose from?
View 2 Replies
View Related
Apr 5, 2010
I have a ubuntu server 9.10 installed with exim4 as MTA. I configured a mail address on it (let's say me@example.com). Before i had it working i had a other email configured (let's say me_2@example.com). At the time i had this one it didn't work i removed exim4.
Now i can successfully send mails with it by the configured me@example.com. I also configured the password for this, but when i receive the mail the old configured mail is presented as "from" (so from: me_2@example.com).
Anyone knows how this can be changed so it says the mail is from me@example.com? The mail is not an alias, and in a mail client they work separately.
View 4 Replies
View Related
Jan 21, 2011
Ah, this time you've really screwed it up without covering you traces: F14 does not interpret correctly my (possibly botched up) ACPI tables and HANGS!!! With acpi=off I have to press the power button to switch my desktop off and that is really ANNOYING. Surely the Fedora engineers could have done a better job with this one.
View 14 Replies
View Related
Mar 3, 2010
About two days ago, Yum started complaining about having a corrupt RPM db, so I hit google and looked up the procedures for rebuilding the DB, and I think I broke it more than fixed it. Now, when I issue a
Code:
root@BLACKHEARTED ~# yum -y update
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
[code]....
View 20 Replies
View Related
Jun 14, 2010
When I boot my computer, I can see dvd-rw drive detected correctly, though 9 times out of 10 it does not get detected by OS - drive's icon is not present in nautilus hence I cannot access any cd or dvd. Although when I restart a computer and try to boot from cd or dvd - it works perfectly, then after coming back to the os the cd/dvd won't be accessible. I a have Fedora 13 installed from the DVD ISO.
View 4 Replies
View Related
Jul 24, 2009
I have a very curious problem with 'restorecon'.Problem:'restorecon' should relabel the context of the path /maco/glass to system_u:object_r:glass_rw_t:s0, however, it relabels the context tosystem_u:object_r:user_home_dir_t:s0.
The commad that triggers the error:restorecon -F -R -v /maco/glass/Expected result:drwxr-xr-x. 2 system_u:object_r:glass_rw_t:s0 glass glass 4096 2009-07-24 11:32 glassActual result:drwxr-xr-x. 2 system_u:object_r:user_home_dir_t:s0 glass glass 4096 2009-07-24 11:32 glassBackground:I have created a
[code]....
View 3 Replies
View Related