Unix command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix command
# 8  
Old 11-15-2001
You best bet would be to state your problem/issue
with as much detail as possible and state your desired
results (what you are trying to accomplish) again with
as much relevant details as appropriate. My expierence
with the folks on this forum is that they are all genuinely
concerned and will try very hard to help anyone with
problems or questions regarding UNIX configs, programming,
etc.

Please go ahead and give us more details and I'm sure
you will get a flood of good information.
Smilie
# 9  
Old 11-15-2001
And again, I apologize, My browser is going crazy again
and I only get the first few lines somtimes.

I know you gave more details this time. Smilie
# 10  
Old 11-15-2001
What do you get when you do...

cd /usr/local/share/doc/apache
ls -l webalizer

From the message, it looks like webalizer is not being found.
# 11  
Old 11-15-2001
<b>Thank you rwb1959</b>
Quote:
$ cd /usr/local/share/doc/apache
ls -l webalizer $
total 67
-rw-rw-rw- 1 root wheel 2276 Sep 20 13:03 ctry_usage_200108.png
-rw-rw-rw- 1 root wheel 2540 Sep 20 13:03 daily_usage_200108.png
-rw-rw-rw- 1 root wheel 1663 Sep 20 13:03 hourly_usage_200108.png
-rw-rw-rw- 1 root wheel 3671 Sep 20 13:03 index.html
-rw-rw-rw- 1 root wheel 2082 Sep 20 13:03 usage.png
-rw-rw-rw- 1 root wheel 49934 Sep 20 13:03 usage_200108.html
-rw-rw-rw- 1 root wheel 1833 Sep 20 13:03 webalizer.current
-rw-rw-rw- 1 root wheel 29 Sep 20 13:03 webalizer.hist
$
But problem is that apache has been reinstalled in different Dir and log file now located in "/usr/local/apache/logs/access_log"

Thank you

Last edited by strok; 11-15-2001 at 04:44 PM..
strok
# 12  
Old 11-15-2001
Where exactly are you getting this from...

"our ROOT has over 200 messages a day with subject:

Cron webalizer -pQ -o /usr/local/share/doc/apache/webalizer
/var/log/httpd-access.log

Message (webalizer: not found) "


When you say "ROOT" do you mean the unix "root"
user account or is the your webroot?
I assumed it was in your "root" user's mailbox.
This implies that a "cron" job is failing
and from the "Message", it implies that the
"webalizer" is having some sort of problem
or that it is not being run because it cannot
be found.

You should be able to find your apache executable
by logging in as "root" and do...

find / -name httpd -print

...you should see somthing like...

/usr/local/apache/bin/httpd

...likewise, you can find the apache config file..

find / -name httpd.conf -print

...let me know what you find.
# 13  
Old 11-15-2001
When I said "ROOT" I meant the unix "root" user account .
Yes, it was in "root" user's mailbox.

yes the "httpd" is located here: /usr/local/apache/bin/httpd

and we got about 20 "/usr/local/apache/bin/httpd " processes running on the server


The config file is here:
/usr/local/apache/conf/httpd.conf

Thanks
strok
# 14  
Old 11-16-2001
OK then. Smilie

Now you can examine the httpd.conf file
and "see" where things are being written to.
You can...

vi /usr/local/apache/conf/httpd.conf

...and you can make changes to the log file
section as you like.

By the way, it is normal to have many httpd's
running. You can also control how many httpd's
are run.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UNIX command to copy files from Windows to UNIX box

Hi Folks, I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/ now the credentials of unix box are abc345 -->(dummyid) ftyiu88--->(dummy passwd) ... (4 Replies)
Discussion started by: punpun66
4 Replies

2. Shell Programming and Scripting

Specify an entire UNIX command as a command line argument

I'm trying to write a bash script called YN that looks like the following YN "Specify a question" "doThis" "doThat" where "doThis" will be executed if the answer is "y", otherwise "doThat". For example YN "Do you want to list the file dog?" "ls -al dog" "" Here's my attempt... (3 Replies)
Discussion started by: LeoKSimon
3 Replies

3. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

4. UNIX for Dummies Questions & Answers

New to Unix command line and have a question about the "sort" command

I am going through the Unix Made Easy second edition book by John Muster. So far it's been very informative and I can tell it may be a bit out of date. In one of the exercises it talks about the "sort" command and using it to sort column's of data etc. The "sort" command has changed a bit and... (1 Reply)
Discussion started by: budfoxcat
1 Replies

5. UNIX for Advanced & Expert Users

unix command : how to insert text at the cursor location via command line?

Hi, Well my title isn't very clear I think. So to understand my goal: I have a script "test1" #!/bin/bash xvkbd -text blabla with xbindkeys, I bind F5 key in order it runs my test1 script So when I press F5, test1 runs. I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
Discussion started by: xib.be
0 Replies

6. Shell Programming and Scripting

assign a command line argument and a unix command to awk variables

Hi , I have a piece of code ...wherein I need to assign the following ... 1) A command line argument to a variable e.g origCount=ARGV 2) A unix command to a variable e.g result=`wc -l testFile.txt` in my awk shell script When I do this : print "origCount" origCount --> I get the... (0 Replies)
Discussion started by: sweta_doshi
0 Replies

7. HP-UX

How to use more than one MPE command STREAM with Unix command in a single shell?

Hello, I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name3>' |... (1 Reply)
Discussion started by: bosskr
1 Replies

8. Shell Programming and Scripting

How to use more than one MPE command STREAM with Unix command in a single shell?

Hello, I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name3>' |... (0 Replies)
Discussion started by: bosskr
0 Replies

9. UNIX for Dummies Questions & Answers

wc command help.... and other unix command....... urgent

hi all. thanks for looking i am doing some homework. one question is that when type wc and then how to tell the program that we have finished entering data? also why do some operating systems report 22 as the number of bytes in the file above, while others only 20? thanks so much,... (1 Reply)
Discussion started by: dashi2k
1 Replies
Login or Register to Ask a Question