Find the answer to your Linux question:
Results 1 to 3 of 3
I have been trying to configure webalizer on a centOS 5.5 system. I did the yum install and I found this helpful link... http://articles.techrepublic.com.com...11-161368.html However when I try to change ...
  1. #1
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163

    webalizer config issues

    I have been trying to configure webalizer on a centOS 5.5 system.

    I did the yum install and I found this helpful link...


    http://articles.techrepublic.com.com...11-161368.html

    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.

  2. #2
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    I did a clean install with and without webmin to the default locations.
    Says its installed. Run the script but still cannot display the information.
    webalizer screens wont disply when I go to my ip/webalizer or usage or localhost/webalizer or usage.

    I have read and read and this default config should work.
    I dont see any errors on the system.

    I tried to move the files under /var/www/html/usage as that is my current document root. By default it puts them in /var/www/usage

    I even tried a link to the dir and the files are created and in the usage dir so I know the command is doing something.

  3. #3
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    163
    wow no comments on this at all. I guess I look for a better solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...