LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 01-23-2014, 04:15 PM   #1
dragsbae
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Rep: Reputation: Disabled
HELP! Need to turn off Apache2 server in embedded Linux


Here are the facts of case:
(1) We are a reseller for a Japanese company whose electro-mechanical machine is controlled by a small built in PC that runs off of a CF card and runs an embedded version of Linux.
(2) This PC resides on the network of our customers, and it also has an Apache2 webserver running (not needed for our functionality) that has been deemed unsecure by security auditors because it uses an old version of Apache and old version of PHP.
(3) I need to disable this web server but the manufacturer is taking way too long to move on this. I have already passed my deadline for the security audit and we are getting close the to the point where our equipment will become paper weights.
(4) I cannot get to a command line, though there are some USB ports so if someone could offer a keyboard shortcut perhaps I can. I can't tell if the keyboard is responsive when I plug it in (lights do come on though).
(5) I am able to put the CF in a card reader and browse its contents on my Ubuntu PC.

SO per number (5) my question is this: Is there a file I can edit or delete on the CF card that will totally prevent Apache from starting up the webserver?

Thank you.

Last edited by dragsbae; 01-23-2014 at 04:16 PM.
 
Old 01-23-2014, 04:20 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,794

Rep: Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206
Quote:
Originally Posted by dragsbae View Post
Here are the facts of case:
(1) We are a reseller for a Japanese company whose electro-mechanical machine is controlled by a small built in PC that runs off of a CF card and runs an embedded version of Linux.
(2) This PC resides on the network of our customers, and it also has an Apache2 webserver running (not needed for our functionality) that has been deemed unsecure by security auditors because it uses an old version of Apache and old version of PHP.
(3) I need to disable this web server but the manufacturer is taking way too long to move on this. I have already passed my deadline for the security audit and we are getting close the to the point where our equipment will become paper weights.
(4) I cannot get to a command line, though there are some USB ports so if someone could offer a keyboard shortcut perhaps I can. I can't tell if the keyboard is responsive when I plug it in (lights do come on though).
(5) I am able to put the CF in a card reader and browse its contents on my Ubuntu PC.

SO per number (5) my question is this: Is there a file I can edit or delete on the CF card that will totally prevent Apache from starting up the webserver?

Thank you.
No idea at all, since you don't give us any details to work with. We don't know what version/distro of Linux this device is running, what KIND of device, what you see on the CF card, etc.

If you're the reseller, the simplest thing would be for you to contact the people SELLING these devices to you, and ask them for this information. Since they MAKE the device, they can tell you how/if you can get a terminal window up, etc.
 
Old 01-23-2014, 04:25 PM   #3
dragsbae
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
No idea at all, since you don't give us any details to work with. We don't know what version/distro of Linux this device is running, what KIND of device, what you see on the CF card, etc.

If you're the reseller, the simplest thing would be for you to contact the people SELLING these devices to you, and ask them for this information. Since they MAKE the device, they can tell you how/if you can get a terminal window up, etc.
Let's turn that into nice questions:

"what version/distro of Linux are you running?"
I don't know and I don't know how to find out. Do you have any suggestions to determine which distro I have as I have access to the file system as I mentioned in my original post?


"have you contacted the people SELLING these devices to you and asked them this information?"
Yes I have, but they will not allow me to make any changes to it and demand to do it themselves through their gigantic QC process. I have taken it upon myself to simply turn off the webserver until they can get the new version through their overwrought process.
Even though they MAKE the device they will not TELL me anything because they defer to the QC process, for which I do not blame them.
 
Old 01-23-2014, 04:47 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,794

Rep: Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206Reputation: 8206
Quote:
Originally Posted by dragsbae View Post
Let's turn that into nice questions:
They were 'nice' questions.
Quote:
"what version/distro of Linux are you running?"
I don't know and I don't know how to find out. Do you have any suggestions to determine which distro I have as I have access to the file system as I mentioned in my original post?
No, because as I said in my first reply, we have no idea what the device is, or what you can see on the CF card. Your device could be anything from a low-end box to something capable of 64 bit. What versions you can run (and where to look), depend on such specs. You don't provide them. There *MIGHT* be a file called "<something>release<something>" in /etc, but there's no way of knowing. The manufacturer could remove it.
Quote:
"have you contacted the people SELLING these devices to you and asked them this information?"
Yes I have, but they will not allow me to make any changes to it and demand to do it themselves through their gigantic QC process.
This post has been reported to the moderators, per the above.
Quote:
I have taken it upon myself to simply turn off the webserver until they can get the new version through their overwrought process. Even though they MAKE the device they will not TELL me anything because they defer to the QC process, for which I do not blame them.
Your original question is a bit unclear. If you just SELL these devices, security auditing is up to the CUSTOMER. If you're USING these devices, and your own auditors have a problem, that's different.

Again, there aren't enough details for anyone to help you. We have NO IDEA on if the 'device' can support a keyboard/mouse, what the USB ports do, etc., so we can't tell you how to modify things.
 
1 members found this post helpful.
Old 01-23-2014, 04:56 PM   #5
dragsbae
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
They were 'nice' questions.

No, because as I said in my first reply, we have no idea what the device is, or what you can see on the CF card. Your device could be anything from a low-end box to something capable of 64 bit. What versions you can run (and where to look), depend on such specs. You don't provide them. There *MIGHT* be a file called "<something>release<something>" in /etc, but there's no way of knowing. The manufacturer could remove it.

This post has been reported to the moderators, per the above.

Your original question is a bit unclear. If you just SELL these devices, security auditing is up to the CUSTOMER. If you're USING these devices, and your own auditors have a problem, that's different.

Again, there aren't enough details for anyone to help you. We have NO IDEA on if the 'device' can support a keyboard/mouse, what the USB ports do, etc., so we can't tell you how to modify things.
Are there any files (or commands within said files) common to all Apache2 installations across all Linux distros that when deleted will prevent said Apache2 server from starting?
 
Old 01-23-2014, 06:49 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
As you said yourslef the manufacturer of the device doesn't permit you to do what you're trying to
achieve; given this extra bit of information this thread is closed as being in violation of our rules.
 
1 members found this post helpful.
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
need to turn off master browsers for Linux server? ckua Mandriva 3 03-27-2009 10:17 AM
How to avoid fsck if I turn off my embedded system suddenly??? webquinty Linux - Newbie 1 02-03-2009 10:00 AM
unable to turn off auto mount in suse on embedded board sharkus Linux - Kernel 3 11-27-2007 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration