Webalizer issue when inside script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Webalizer issue when inside script
# 1  
Old 01-09-2009
Java Webalizer issue when inside script

hello gurus,

When i run the command on shell

webalizer -p -n mydomain.com -c /path/to/my/log/webalizer.conf

it works fine and it creates stats for the given mydomain.com in the target output directory

but when i put it in a script same command and parameters but it goes weird and it creates stats for whole machine (NOT of given specific mydomain.com) to output directory

Please advise i am using #!/bin/bash as interrupter i also used /bin/sh

Looking forward to your kind replies...
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issue with copying files into dir inside for loop

Hi , I'm trying to move/copy the files inside the loop into a directory . I tried the below code and the issue is the data is not copying into the created directory but the files are copying into another file file_path="/home/etc" Last_Day=20130930 mkdir $file_path/ARC_${Last_Day} ... (3 Replies)
Discussion started by: smile689
3 Replies

2. Shell Programming and Scripting

Issue with ls command inside script

Hi , DIR1 has only one file with .txt extension , trying to get the size of that file using the following script #!/bin/ksh foldr_1="/etc/DIR1" #echo "$foldr_1" sze_fdr1=$(ls -ltr foldr_1/*.txt |awk '{ print $5 }') echo "$sze_fdr1" After executing the above script getting... (1 Reply)
Discussion started by: smile689
1 Replies

3. Shell Programming and Scripting

Issue with accessing value inside while loop, outside it

Hi, GetName() { if then echo " Please enter the name: " read Name tempvar=0 while read line do if then tempvar=`expr $tempvar + 1` echo $tempvar ... (10 Replies)
Discussion started by: rituparna_gupta
10 Replies

4. Solaris

webalizer configuration

hi all please tell me where i can find the webalizer configuration file for solaris sparc & x86. thanks (1 Reply)
Discussion started by: nikhil kasar
1 Replies

5. UNIX for Dummies Questions & Answers

Issue with use of Configuration file instead of hardcoded values inside the script

Hi, My code works perfectly fine. But, $my $min_to_add = 1 * 1 * 60; and my $hr_to_sub = 1 * 1 * 86400; i may need to change the values in future. so am keeping them in a separate configuration file like MIN = 1 * 1 * 60 HR = 24 * 60 * 60 in the script, i use a package use et_config... (3 Replies)
Discussion started by: irudayaraj
3 Replies

6. Shell Programming and Scripting

Issue with using Expression inside SHELL

Hi, i tried to execute the following script. I am having a issue with the expr operator i used. $ vi wordcount_check.sh set feedback off; set heading off; set verify off; select count(*) from marc_bulk_status where status = 'READY_TO_PROCESS'; exit;... (2 Replies)
Discussion started by: boopathyvasagam
2 Replies

7. UNIX for Dummies Questions & Answers

Installing Webalizer and GD Library

I tried to install webalizer on my Solaris Unix server so I can look at some webserver logs. I did not have libgd installed so I installed it and I think it went ok (not sure how to tell). But when I try and install webalizer I still get the message: Any ideas? Thanks. (0 Replies)
Discussion started by: Sepia
0 Replies
Login or Register to Ask a Question
LDAP2TINYDNS-CONF(1)					      General Commands Manual					      LDAP2TINYDNS-CONF(1)

NAME
ldap2tinydns-conf - part of the ldap2dns DNS management system SYNOPSIS
ldap2tinydns-conf DESCRIPTION
This manual page documents briefly the ldap2tinydns-conf command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page yet. ldap2tinydns-conf is a shell script to help configure ldap2dns for use with tinydns. This script wil add the directory structure and files required to run ldap2dns under daemontools. Run this script within your tinydns directory. For example: root@host[/var/tinydns]# ldap2tinydns-conf This creates the ldap2tinydns directory under your tinydns directory and adds the default configuration under ldap2tinydns/env. OPTIONS
This shell script does not take any commanline options. SEE ALSO
tinydns, ldap2dns(1). Please visit the project homepage for more detail: [http://ldap2dns.tiscover.com/] AUTHOR
This manual page was written by Johann Botha <joe@blio.net>, for the Debian GNU/Linux system and is distributed under the GPL version 2 or later. Jacob Rief <jacob.rief@tiscover.com> is the original author of this program.. June 7, 2001 LDAP2TINYDNS-CONF(1)