If you have a huge logs in the apache error_log like below
[Thu Dec 13 00:06:47 2007] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /DocumentRoot/
[Thu Dec 13 00:06:51 2007] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /DocumentRoot/
[Thu Dec 13 00:06:52 2007] [error] [client xxx.xxx.xxx.xxx] Attempt to serve directory: /DocumentRoot/
Due to this logs,my apache error_log got huge and ocuupied disk space.
To stop the unnecessary logs,You syould check the DirectoryIndex entry and need to have index files.
If the DirectoryIndex settings is like below
DirectoryIndex index.html
You need to have a index.html in your DocumentRoot to stop above log message.
Good Luck ;)
I Refered to this article.
https://answers.google.com/answers/threadview?id=480467
System/Network Engineer, Akira Muramatsu's tech blog from Huntington Beach, CA, USA
12/12/2007
10/23/2007
Can't access local resourses like printers,file servers.
Recently, I was in trouble that I couldn't access the local resourses with my computer like printers,file servers in my office.
I didn't know why.I couldn't ping any local resources but my network card.It's a big problem for me.
At first,I dougted that I'm using NIC and wireless both.then I disabled wireless but it didn't work.I changed the LAN cable but didn't work...
Finally I figured the problem out!
In my Windows computer,I disabled "Deterministic Network Enhancer" in the property of "Local Area Network".
I don't know when This component is installed and enabled and how it works.
But Disabling it works great!!
----------------------------------
I found out more.
I'm using NetScreen Remote for my VPN connection.and that causes my problem.
I guess when NetScreen Remote is installed in the computer,"Deterministic Network Enhancer" is created and enabled.and "Deterministic Network Enhancer" is needed by NetScreen VPN connection.
I found that the Local area subnet and my VPN subnet was OVERLAPPED!!!and that cause the problem.
The only workaround is When I use the local resources,I have to deactivate NetScreen Remote.
In other words,I CANNNOT USE local resourses and VPN connection at the SAME TIME!!
It's a problem.fortunately my company uses another VPN software,Checkpoint.It really works great as VPN client.So I will not be able to use NetScreen VPN software for now.....
I didn't know why.I couldn't ping any local resources but my network card.It's a big problem for me.
At first,I dougted that I'm using NIC and wireless both.then I disabled wireless but it didn't work.I changed the LAN cable but didn't work...
Finally I figured the problem out!
In my Windows computer,I disabled "Deterministic Network Enhancer" in the property of "Local Area Network".
I don't know when This component is installed and enabled and how it works.
But Disabling it works great!!
----------------------------------
I found out more.
I'm using NetScreen Remote for my VPN connection.and that causes my problem.
I guess when NetScreen Remote is installed in the computer,"Deterministic Network Enhancer" is created and enabled.and "Deterministic Network Enhancer" is needed by NetScreen VPN connection.
I found that the Local area subnet and my VPN subnet was OVERLAPPED!!!and that cause the problem.
The only workaround is When I use the local resources,I have to deactivate NetScreen Remote.
In other words,I CANNNOT USE local resourses and VPN connection at the SAME TIME!!
It's a problem.fortunately my company uses another VPN software,Checkpoint.It really works great as VPN client.So I will not be able to use NetScreen VPN software for now.....
10/17/2007
Big Brother:HTML Formatting
My company is using monitoring tool called Big Brother.It's right great tool.
we monitor our customer's servers.I will explain how to change html formatting rules of Big Brother.
In some custom scripts,the output contains some html tags like "BR ".
With the default settings of Big Brother,those tags are converted to another strings.As a result,the output in the html format is some kind of wired. So I took some investigation and figured it out.
To use html tags in the output,we need to edit bbdef-server.sh in $BBHOME/etc folder.
Here is the procedure.
On the Big Brother server
cd $BBHOME/etc
vi bbdef-server.sh
Search the description named 'RUNOPTS'
Default value is "CONVHTMLTAGS"
and it needs to change "EMBEDHTML" like below.
#RUNOPTS="CONVHTMLTAGS"
RUNOPTS="EMBEDHTML"
export RUNOPTS
save file and restart BigBrother server.
I refered the following article to find this out.
http://support.bb4.com/archive/200512/msg00055.html
Thank you ,Phil.
we monitor our customer's servers.I will explain how to change html formatting rules of Big Brother.
In some custom scripts,the output contains some html tags like "BR ".
With the default settings of Big Brother,those tags are converted to another strings.As a result,the output in the html format is some kind of wired. So I took some investigation and figured it out.
To use html tags in the output,we need to edit bbdef-server.sh in $BBHOME/etc folder.
Here is the procedure.
On the Big Brother server
cd $BBHOME/etc
vi bbdef-server.sh
Search the description named 'RUNOPTS'
Default value is "CONVHTMLTAGS"
and it needs to change "EMBEDHTML" like below.
#RUNOPTS="CONVHTMLTAGS"
RUNOPTS="EMBEDHTML"
export RUNOPTS
save file and restart BigBrother server.
I refered the following article to find this out.
http://support.bb4.com/archive/200512/msg00055.html
Thank you ,Phil.
DCOM was unable to communicate with the computer ADMIN using any of the configured protocols.
Recently I was mixed up with the following system event log.This event log was logged every 10 or 15 minutes.
=========================================
Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10009
Date: 10/17/2007
Time: 17:05:40
User: computer\akira
Computer: computer
Description:
DCOM was unable to communicate with the computer ADMIN using any of the configured protocols.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
=========================================
There's no ADMIN computer right here. I check the microsoft website described but it didn't help me.Finally I figured out that the incorrect printer port caused the error.
I have 3 wired printer ports below.
Auto Microsoft Office Document Image Writer on ADMIN
Auto HP DeskJet 600 on ADMIN
Auto Adobe PDF on LENOVO-ADIHELXON
The ports used by those printers are
\\ADMIN\Auto Microsoft Office Document Image Writer
\\ADMIN\Auto HP DeskJet 600
\\LENOVO-ADIHELXON\Auto Adobe PDF
I created new local printer ports and assigned them for 3 printers one by one.After that I deleted 3 wired printer ports.To delete printer ports,
To delete printer ports, Open
Start Menu -> Settings -> Printers and Faxes
and Files menu -> Server Properties
You will see the 'ports' tab and can delete/add printer ports.
Finally I was released from the DCOM error log!!!
=========================================
Event Type: Error
Event Source: DCOM
Event Category: None
Event ID: 10009
Date: 10/17/2007
Time: 17:05:40
User: computer\akira
Computer: computer
Description:
DCOM was unable to communicate with the computer ADMIN using any of the configured protocols.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
=========================================
There's no ADMIN computer right here. I check the microsoft website described but it didn't help me.Finally I figured out that the incorrect printer port caused the error.
I have 3 wired printer ports below.
Auto Microsoft Office Document Image Writer on ADMIN
Auto HP DeskJet 600 on ADMIN
Auto Adobe PDF on LENOVO-ADIHELXON
The ports used by those printers are
\\ADMIN\Auto Microsoft Office Document Image Writer
\\ADMIN\Auto HP DeskJet 600
\\LENOVO-ADIHELXON\Auto Adobe PDF
I created new local printer ports and assigned them for 3 printers one by one.After that I deleted 3 wired printer ports.To delete printer ports,
To delete printer ports, Open
Start Menu -> Settings -> Printers and Faxes
and Files menu -> Server Properties
You will see the 'ports' tab and can delete/add printer ports.
Finally I was released from the DCOM error log!!!
Subscribe to:
Posts (Atom)