[SOLVED] How to tell if lampp was ever running a particular site
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to tell if lampp was ever running a particular site
Having a debate over here and not sure how to prove or disprove it. They have an old version of lampp setup on a server, and supposedly it used to run a mirrored copy of a website from another server, and they used it as their dev site before making changes on the real one.
The folder containing all the data on the lampp server is not in /opt/lampp/htdocs, and htdocs isn't a link to the folder on there. So I really think that this folder was just a copy of the live server's files and never actually running to where they could see the site in action.
My question is, what would be the proper way to figure out who is correct? Beyond doing what I already did, I'm not sure how, and not real confident that's a concrete investigation.
Thanks!
The folder containing all the data on the lampp server is not in /opt/lampp/htdocs, and htdocs isn't a link to the folder on there.
I think the search order should be: any startup scripts and configuration files, any log file contents. If you want to investigate further: shell scripts, cron spools, shell history and any backups.
I can't find anything that would auto start lampp or anything cron'd either. Nothing in history for any accounts still on there. Nothing in the logs either.
You left out configuration files - do they exist and are they configured for that machine?
Also a big clue - is a database in use by the site, and if so, does it exist on that machine, and if so, are there any host and timestamp fields that would indicate access on that machine?
Nothing runs now. I don't even see a process with lampp in the name running on the server. If I hit the IP of the server in a browser from another computer I don't get anything. Only web stuff running on there is webmin which does work at port 10000.
A key aspect of this question, and one you alone can know, is the importance of determining whether it ever worked vs the importance of making it work. If you are doing forensics of some sort, then that requires one mindset, whereas if you are trying to work with the site it requires another.
My sense is that maybe you have been handed the task of working with this site mirror with the assumption that it was already working, so should be easy to "just use it"! The question of whether it has ever worked would have emerged from the attempt to do so.
If that perspective is in the ballpark (and of course, it may not be!), then it is probably less important to prove whether it ever worked than to have everyone recognize the current state of the lamp server/site and proceed from that basis.
Based on what we know here, I would conclude that there is no clear evidence that it ever worked on that machine, and unless someone can demonstrate that it did and does now work, there is little point in debating it further with your co-workers. So whoever says it did or does work should put up or shut up, in the nicest way of course, by demonstrating that fact. If not...
Then the question/task becomes one of setting up the/a lamp server as a development mirror for that site. That will shift the burden of work from "use it" to "set this up so that you can use it", which is a separate task that throws off any real or imaginary historical baggage and allows you to progress...
Yeah, you are in the ballpark there, pretty close to the situation here. My guess is even if it did work at some point almost a decade ago, and they've lived without it this long, I'm sure they can continue to live without it. Just wish there was a way that I could say, "oh yes there was a site with a name like this one configured long ago but it's broke" or "there's nothing I can find that proves it was ever set up" (which I feel is the case).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.