hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : domlogs 2 copies?
Reply

Forum Jump

domlogs 2 copies?

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-01-2008, 10:37 AM
kamurj kamurj is offline
Newbie
 
Join Date: Apr 2004
Posts: 20

domlogs 2 copies?


This I noticed after updating the cpanel/webhost manager to v 11.x

There are not 2 copies of the access log, both updating live, the first one which was always there is at

/usr/local/apache/domlogs/account.com

and the second one at:

/usr/local/apache/domlogs/account/account.com

Does anyone know why there is a need to keep and update 2 log files and how I can go back 1 access log? Thank you.



Sponsored Links
  #2  
Old 04-01-2008, 11:57 AM
040Hosting 040Hosting is offline
Community Liaison
 
Join Date: May 2006
Location: EU & USA
Posts: 3,678
guess its april fools.. but ever did hear of inodes ?

  #3  
Old 04-01-2008, 12:15 PM
kamurj kamurj is offline
Newbie
 
Join Date: Apr 2004
Posts: 20
No, I don't know what are inodes. But /usr/local/apache/domlogs/account/account.com don't appear to be a symbolic link or anything. Looks like a regular folder with access log in it being updated live.

so is it normal? and what is the use of it? Thanks.

Sponsored Links
  #4  
Old 04-01-2008, 02:19 PM
040Hosting 040Hosting is offline
Community Liaison
 
Join Date: May 2006
Location: EU & USA
Posts: 3,678
Try a ls -i on both files and you will see the same number appear, meaning they have the same inode, so they are the same file. An update on this inode will thus change the two files at the same time (if you can really speak of two files)

user@server [/usr/local/apache/domlogs]# ls -i yourdomain.com
316698 yourdomain.com

user@server [/usr/local/apache/domlogs/account]# ls -i yourdomain.com
316698 yourdomain.com

  #5  
Old 04-01-2008, 02:47 PM
040Hosting 040Hosting is offline
Community Liaison
 
Join Date: May 2006
Location: EU & USA
Posts: 3,678
For your understanding; you might want to read this:

http://wiki.linuxquestions.org/wiki/Ln#Finding

  #6  
Old 04-02-2008, 09:37 AM
kamurj kamurj is offline
Newbie
 
Join Date: Apr 2004
Posts: 20
Tired ls -i and yes it returns the same number. Thank you 040Hosting.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Court Case Over Cloud-Based Over-the-Air TV Provider Aereo May Affect Other Remote Cloud Services Web Hosting News 2014-04-30 18:21:52
New Zealand Court Rules Warrants Used in 2012 Dotcom Mansion Raid Legal Web Hosting News 2014-02-19 12:06:55
The Most Frequently Asked Questions About Cloud/Online Backup: Part 2 Blog 2014-04-24 13:27:31
Can the law ever catch up with the Internet? Blog 2013-04-11 11:26:39
Kim Dotcom Claims Megaupload Search Warrants Unlawfully Obtained by US Government Web Hosting News 2013-01-04 11:24:29


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?