Software :: Webalizer: Unable To Restore Run Data (10)
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.
I have two disks from a old computer (now it doesn't exist anymore). They were in raid 1 with this configuration:
Code: ---------------- | disk 1 | disk 2 ---------------- | OS ---------------- | | | raid 1 | raid 1 | | ----------------
There is probably an error in one of the two disks, however raid 1 should allow we to restore data. So now I can physically mount this disks on a machine with ubuntu (ubuntu is on another disk). My question is: how can I restore data from disks? I think that using mdadm is not enough.
I regularly take pgdumpall from production database and restore staging database. Production database size is 4.5 GB. After restoring the staging database size is incremented.
The following command is used to restore pgdumpall file.
psql -U postgres -f dbdumpall
My aim is to sync up production database and staging database.
I have create a LVM volume in mirror 1 method, with two hard drives, In that one disk is get failed. How can I manage the data availability and also what I need to do next?
I have just foolishly used live media to install F14. Pre-upgrade of F13 to 14 repeatedly failed. Sadly I used the use all available space option rather than the free space. As a result I have a working FC14 system but no data from my F13 installation. Is there any way to restore my f13 system and/or data?
I have three hard drives that were previously in a Debian server setup to use LVM that I now need to access data on. The first hard drive had a boot partition along with an LVM partition, the other two hard drives were also LVM.From what I remember I have to mount all three at once for LVM to function correctly but I don't have available hardware (particularly a motherboard that can mount all old IDE).Can I use a USB<->IDE converter to image the disks, and then mount them?What Linux distro should I set up to recover the data?ow do I know what version of LVM is needed?
Ive installed ubuntu for the first time today, i have a hdd of 500gb, that had 65gb occupied with music, movies and games.
What i did during installation:
it asked me where to install it, so i created a new partition of 100gb ext4 type, to install it there, and i was going to leave the rest for the data, but it wont let me do it, so i went back and selected the "exchange type swap linux 0x82 type" for the 400gb partition.
Then installed it, and now i cant find my data, and i have only 100gb of space in the hd, if i use the "disc utility" i can see the other 400gb, and change partition type, but i dont want to lose my data..
I've occasionally changed HDD filesystem type in Disk Utility from NTFS to Linux Extended . It created an extended partition containing some other partitions instead of NTFS.
This is to request assistance or information as to why the evolution application will not accept the evolution-backup-tar.gz file from a previous version.
Situation: I upgraded by way of a fresh install from openSuSE 11.2 to 11.3 (GNOME desktop). Before upgrading, I produced the above mentioned backup file so that I could import all the mail, addresses etc. into the new application.
Result: it does not work. The process starts up seemingly normal but then simply sits there forever with the message "evolution shuts down" - but it does'nt. I have to kill it to stop it.
I am looking forward to a resolution since it would be a real pity if I lost the mail history.
I was putting the cover back on my Antec p180b, and I guess it got stuck and gave it a hard bump (pretty much broke the cover). As a result, one of my hard drives, a Seagate Barracuda ST3750640AS, got messed up or something. All the other hard drives are fine. It's in an LVM with another hard drive, so now I can't boot up into my computer. So I booted into the installation CD:
Code:
# find /dev/sd[a-c][1-3] /dev/sda1 /dev/sda2
[code]....
This led me to believe the partition was messed up. So I ran cfdisk, and it said something about a missing partition table or something. Additionally, instead of showing the single partition on it, it displays, from my recollection, Pri*Log. To my knowledge, this is the only problem with the hard drive. So now I need to either somehow create or restore the partition table without overwriting the data. Or get a new hard drive, and some how recover the data (LVM, partitions, and all).
How can I restore the data inside the trash after make it empty ?I need to restore an important folder from the trash and I can't find it there.I am using openSUSE11.1 (KDE)
I had i a dual boot win. 7 and ubuntu 9.10,recently i had some problem in my windows os so i restored the c drive to factory settings since both operating systems where in c drive so when i tried to boot grub was showing problem.the information displayed was loading grub, the file does not exist rescue grub> so what should i do to restore grub so that i can boot again into windows 7 and ubuntu without loosing my data.
i'm wondering if it's possible to restore the original image file that you have hidden data in with steghide. The basic Idea is you have a photo using gpg sign it and then embed the signature. then remove the signature at a later time and check it with the signature. I hope another "inverse" algorithm doesn't need to be written to undo the first (if a "inverse algorithm is possible). This assume you already have the pass phrase or that there is no pass phrase. I already know how to retrieve the original file just want to remove the hidden data from the Image and restore it's attributes.
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.
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.
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?
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.
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.
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
I am trying to keep a VPN connection open between two Ubuntu 8.04 LTS servers, one in Holland and one in China. Unfortunately, because the connection in China is not great, about 1 time a day the connection drops. I have therefore devised a script, to be started by crontab once every 5 minutes, that checks the connection and if necessary restores it.
I have a dual boot system with Ubuntu 10.10 and Windows Vista. Today I upgraded Vista to Windows 7, and GRUB is no longer working. The usual problem, I know. Searched forums & Web and found many instructions for restoring GRUB manually or by using the Ubuntu Live CD.I tried the Live CD first. All the instructions say to boot to the CD, open a terminal, and enter: sudo grubI get an error message: command not found.Then I tried the manual method, which (after mounting the relevant partition) includes the instructions:
Reinstall the boot manager by typing "sudo grub-install --root-directory=/mnt/ /dev/sdX", replacing "X" with the Ubuntu drive's letter, and then hitting "Enter." For example, "/dev/sda" is the Ubuntu drive for most users.[This step appeared to work fine.]Then: Restart the computer into your Ubuntu system.Alas, the computer restarts to sh:grub and I don't know how to get from there to either Linux or Windows, or what to do to fix this problem. At this point I have no working system on that computer
I've got a 80 MB sql_acii backup database from our previous crashed down open solaris pc. I am trying to restore it to the postgresql of Fedora 13 but this error appears:pg_restore [custom archiver] could not uncompress data: incorrect data checkpg_restore*** aborted because of errorProcess retured exit code 1
When the power twitches, and X is displayed on the current tty. the display resolution is somehow lost. When the system is rebooted and X restarted, the resolution displayed (and the best offered) is 800x600.My resolution of choice is 1280x1024, and none of the configuration files appear to have been changed.The X resolution is unaffected if another tty was displayed at the time. (I am often working on two or three consoles as well as what X is using)In the past it has been sufficient to comb through the file system and delete all the temporary files and caches that seem to be associated with X. I have never been sure if this was actually any sort of solution to begin with, but in any case it no longer seems to work.
I'm trying to recover my rpmdb after canceling the installation of a package (dumb, I know). After clearing /var/lib/rpm/__db* and running rpm -vv --rebuilddb I still get an error error: cannot open Packages index using db3 - Invalid argument (22). What should be my next step?
I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?
I was messing with some boot loaders which accidently disabled grub and I was remained with windows 7 boot loader only.How can I restore grub?I am using Opensuse 11.3
I used deja dup to backup my home folder today so I could restore it after reinstalling 11.04. now, it starts to restore, but gives me this error every time: Code: Calculated hash: ac14ae0a7bf52c1ea0d851cec864df9e1c06b54e Manifest hash: 4173054c0b0c8ce1154af5b5caae2a7591652765