Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Linux

64K

Solutions

32K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

HI,

I installed/built apache 2.2.x on a Ubuntu, but I want to completely remove Apache now, but having a hard time.   There is an "apache2" folder in "/usr/local/apache2".    Is it simple as just deleting this folder?  If not, what steps can I take to do this?

I've attached an image/screenshot showing the steps I took to install it if that helps.  I haven't configured or modified anything so I do not need to backup anything at all.  I just want it completely gone if possible.
steps.JPG
0
Learn how to optimize MySQL for your business need
LVL 3
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

using email version4 app on android7
i mark hostupon hosted linux php email as spam but same senders keep sending email
0
Hello

 I am trying to delete a file on my   " Windows 7 home premium Version 6.1 Build 7601 : Service Pack 1 " laptop. This file is an Windows ISO file that was being used as 2012 R2 OS DVD for VM I had build months ago on VMware workstation.

I have removed the VMs that is using the file . After that I have used  rmdir, deltree rmdir /S etc commands. I reboot the system and stops all VMware related processes and i rebooted again. Yet, I am still getting the following error message in the attachment. I Have also tried both from cdm and powershell with elevated privilege where the command available.

I think I need to delete a registry entry or better how can I forced to delete the file from system regardless the process that using it or anything in general related to the file preventing it from deletion  !

any ideas  ?

Please look at the attachment !
Capture.JPG
Capture2.JPG
Capture3.JPG
0
Hi guys

I've purchased an SSL certificate for an amazon EC2 instance. I am using SSH to connect to the instance.However, I can't copy the purchased files from my desktop onto the actual location /etc/pki/tls/private folder as it's almost certainly down to permissions. The username I am using is 'ec2-user'.

Any ideas how I can change the permissions so it will accept the copy? What permissions would you give it? And then have them set back again? As I know messing with these folders will probably end up with creating a host of other issues.

Any help would be much appreciated.

Thanks for helping
Yashy
0
This is a server running RHEL 6.1
Over the last few days there have been several error events about one stick of RAM.

This gets posted in the console when it occurs:
Message from syslogd@server at Sep 13 20:24:06 ...
kernel:[Hardware Error]: No human readable MCE decoding support on this CPU type.

Message from syslogd@server at Sep 13 20:24:06 ...
kernel:[Hardware Error]: Run the message through 'mcelog --ascii' to decode.

Open in new window


Checking the logs at /var/log/mcelog shows this:

Hardware event. This is not a software error.
MCE 0
CPU 0 BANK 8
MISC 569aca0100090182 ADDR 2d34c31d80
TIME 1505387336 Thu Sep 14 07:08:56 2017
MCG status:
MCi status:
Corrected error
MCi_MISC register valid
MCi_ADDR register valid
MCA: MEMORY CONTROLLER RD_CHANNELunspecified_ERR
Transaction: Memory read error
Memory read ECC error
Memory corrected error count (CORE_ERR_CNT): 1
Memory transaction Tracker ID (RTId): 82
Memory DIMM ID of error: 1
Memory channel ID of error: 2
Memory ECC syndrome: 569aca01
STATUS 8c0000400001009f MCGSTATUS 0
MCGCAP 1c09 APICID 20 SOCKETID 1
CPUID Vendor Intel Family 6 Model 44

Open in new window


It seems the error has been corrected...but it is occurring every few hours.
I also have OpenManage installed and that is showing the RAM status as Green.

Should I take this as a sign the RAM is failing or is it ok to leave as is since the errors are being corrected?
0
[link08@localhost ~]$ sudo yum localinstall cmatrix-1.2a-319.1.i686.rpm 
Loaded plugins: fastestmirror
Examining cmatrix-1.2a-319.1.i686.rpm: cmatrix-1.2a-319.1.i686
Marking cmatrix-1.2a-319.1.i686.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package cmatrix.i686 0:1.2a-319.1 will be installed
--> Processing Dependency: libc.so.6 for package: cmatrix-1.2a-319.1.i686
Loading mirror speeds from cached hostfile
 * base: mirror.mirohost.net
 * extras: mirror.mirohost.net
 * updates: mirror.mirohost.net
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: cmatrix-1.2a-319.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: cmatrix-1.2a-319.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: cmatrix-1.2a-319.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: cmatrix-1.2a-319.1.i686
--> Processing Dependency: libncurses.so.6 for package: cmatrix-1.2a-319.1.i686
--> Processing Dependency: libtinfo.so.6 for package: cmatrix-1.2a-319.1.i686
--> Running transaction check
---> Package cmatrix.i686 0:1.2a-319.1 will be installed
--> Processing Dependency: libncurses.so.6 for package: cmatrix-1.2a-319.1.i686
--> Processing Dependency: libtinfo.so.6 for package: cmatrix-1.2a-319.1.i686
---> Package glibc.x86_64 0:2.17-157.el7 will be updated
--> Processing Dependency: glibc = 2.17-157.el7 for package: glibc-common-2.17-157.el7.x86_64
---> Package glibc.i686 0:2.17-196.el7 will be installed

Open in new window

0
How to install xorg clean - without window manager, without Gnome or KDE or other on Cent OS 7
0
Hi guys,
I need some help.
We are writing a little system that will catch mails sent from various monitoring systems and then pass them via API to Telegram (t save money on SMS plans)

Some of the mails are coming in a very easy to read format and they are already working. However mails sent from a certain system are giving me some trouble.

The way the system works is as such:
1) mail is received by postfix
2) mail is passed on to a script as stdin
3) mail is broken down to sender, subject and body via the script
4) script sends the generated values to the API and the people to whom it's relevant gets a message on Telegram.

All of the above is working well, unless I get a mail from a certain system that stumps the process.
After reading through the stream that's passed to the script, I figured out the problem is in the body.
I'm attaching part of the passed stdin with personal info removed

From: Someone
To: Someone else
Subject: test 3
Thread-Topic: test 3
Thread-Index: AQHTLGwuurwZ5el20EqN9dDhKU6/Vg==
Date: Wed, 13 Sep 2017 08:42:06 +0000
Message-ID: <0cb743aa4535462f8158bdba321abbd8@server>
Accept-Language: en-US, he-IL
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [213.8.94.213]
Content-Type: multipart/alternative;
      boundary="_000_0cb743aa4535462f8158bdba321abbd8MBX7gohostcoil_"
MIME-Version: 1.0
X-Originating-IP: 1.2.3.4
X-SpamExperts-Domain:
0
hi,

what is the way to make Linux automatically start MySQL using the command I want whenever it restart?
0
I have an .rar file on my MAC. How do I open it?
0
Independent Software Vendors: We Want Your Opinion
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

I was wondering if anyone has seen any issues with setting Network security: LAN Manager authentication level : Send NTLMv2 Reponses Only with currently support Mac OS's, Linux.

We are a large environment.
0
hi guys

I'm trying to access an apache web server that I just took a copy of. The external IP is: 34.252.113.239. If you put that into a web browser, then you literally get a 'www' put in front of that IP address.

It's a linux server running apache. I'm not a developer, but could you guide me into looking at where the actual redirect might be occurring and take it out so that putting in the external IP will redirect it to the correct place? I.e. if I put in http://34.252.113.239 then that's exactly where it needs to forward to without a www. coming in front of it.

Thanks for helping
Yashy
0
Have the text file below:

File output.txt

4-character_string_without_space:

1. A few lines of text without character ":"

4-character_string_without_space:

4-character_string_without_space:

4-character_string_without_space:

2. A few lines of text without character ":"
.....

Is there any way to remove the lines with "4-character_string_without_space: and the immediate blank line" if no text follows them? For example.

Original text file:
ABCD:

line1
line2
line3

ABDD:

DDBA:

line5
line6
 
....

Wanted output:
ABCD:

line1
line2
line3

DDBA:

line5
line6
 
....

ABDD: should be removed. Any gurus, is there any concise way to do that? Thanks a lot.
0
I'm new to Linux in general and trying to copy all the files within a directory to another directory.    I tried this command, but I get the error that the files are the same

cp -r directorywithfiles /opt/destination

So "directorywithfiles" has all the files I want to move to "/opt/destination".    The part I'm confused about is I don't want the actual directory "directorywithfiles", just what's in it.

How can this be done?
0
We noticed that when we change some data (images for example) in site that is in /var/www directory apache hesitate to apply thouse changes and for some time we see old images when accessing web site from browser. How to force Apache to apply changes immediately? May be the problem is in some Apache caching? If so - can it be disabled somehow?
0
Hello Experts,
after Power failure my private ARM cubietruck's linux installation was broken. I have the suspicion that squid3 cache_dir has broken the filesystem. All most important files are "restorable" unfortunately without some squid3-Files.

Optional I can use different store types for cache_dir cache_dir and I wonder if there's a way to use external storage (NFS, SSHFS etc.) for it (within a mount) .

thx+
reredok
0
hi,

I am trying to start the MysQL backup but I can't find it.

the locate mysqldump shows me:

mysqldump location
but it can't be run as Linux say can't find this file:

bash: mysqldump: command not found...

Open in new window


any idea?
0
HI,
I have a spring web application and its deployed on a linux box remotely. The logs are getting created there.
But everytime i have to see the logs i need to login to that machine and search for all Exceptions.
An alternative would be whenever there is any exception the exception with the stack trace could be mailed to me.
This would require changes in my java code.

Other way could be i just parse the log files everyday and mail all the exceptions with stacktrace.
For this one could make a shell script.

Please suggest any other ways i could achieve the same any better ways.
probably somewhere where anyone could see the exceptions.

Thanks
0
Hello everyone.

I was using backuppc for some months without any issue but now it will not start anymore.

I get this error:
systemctl status backuppc.service -l
● backuppc.service - LSB: Launch backuppc server
   Loaded: loaded (/etc/init.d/backuppc)
   Active: failed (Result: exit-code) since Thu 2017-09-07 15:10:05 CEST; 9s ago
  Process: 26593 ExecStart=/etc/init.d/backuppc start (code=exited, status=1/FAILURE)

Sep 07 15:10:05 jeeves backuppc[26593]: Starting backuppc...2017-09-07 15:10:05 Can't create a test hardlink between a file in /var/lib/backuppc/pc and /var/lib/backuppc/cpool.  Either these are different file systems, or this file system doesn't support hardlinks, or these directories don't exist, or there is a permissions problem, or the file system is out of inodes or full.  Use df, df -i, and ls -ld to check each of these possibilities. Quitting...
Sep 07 15:10:05 jeeves systemd[1]: backuppc.service: control process exited, code=exited status=1
Sep 07 15:10:05 jeeves systemd[1]: Failed to start LSB: Launch backuppc server.
Sep 07 15:10:05 jeeves systemd[1]: Unit backuppc.service entered failed state.

What are the troubleshooting and fixing steps I should follow?

Thanks!
0
Moving data to the cloud? Find out if you’re ready
LVL 3
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Hi experts

we have up and running two Linux servers

1- using open suse on VMware
2- using centos 7  on VMware

after I added a new disk to this VM on vsphere I want procedure step by step
how to find this new disk on OS level and create a new file system and mount it on the path which I need


any help here
tnaks
0
I'm still a bit of a pig on roller skates when it comes to the Command Line Interface, but I'm getting more comfortable with it.

Recently, I was walking through a tutorial and I was following the instructions as far as "cd" etc in order to navigate to the correct directory. I typed in "ls" to see the contents of the directory I was in and was given an error message that said it was an unrecognized command. I was able to figure out that I could get what I needed by typing in "dir" but the whole thing took me by surprise because I haven't had to do that before.

I'm trying to figure out what I've used in the past that allowed me to use the "ls" command. I've had several people come alongside me and walk me through some basic commands. Problem is, I was more preoccupied with typing the right syntax than I was in recognizing what software I was using and I'm realizing now that makes a difference.

It SEEMS like I might've been referred to a CLI that interacted with a Windows environment, but used Linux commands. I think Ubuntu maybe? Maybe Bash?

My question is why? Why would you use a Linux based CLI to interact with a Windows environment? Is it easier? Is it more efficient? Are Ubuntu and Bash popular programs?

I'm just trying to retrace my steps and figure out why I would've been encouraged to use a Linux based shell rather than the Windows CLI.

Thoughts?
0
I am attempting to install vmware-tools into a DSL virtual machine and I am having a great problem.

How can I install vmware tools into this version of Linux.
What are the steps and commands. ?
0
I have looked through several guides and instructions but can't seem to find an easy to use guide or explanation of how to use and configure mining with CGMiner. The dependencies listed on the CGMiner page are not able to be found. I need assistance getting this to work properly with our Miner.

OS: Kali Linux
Bitcoin MIner: Standalone Butterfly Labs SC
CGMiner (as recommended by our pool): https://github.com/ckolivas/cgminer 

We already have the pool and wallet information set up.
Side Note: The pool also allows use of BFGMiner (http://bfgminer.org/)
0
Hi friends!
I am newbie about to vlan. I have a CentOS with an IP 192.168.1.10 on eth0. Our Network Administrator has added switches and devices with VLAN 10.

I need to keep my IP on eth0 (untagged) and allow these devices on VLAN 10 to talk to my server. If I create eth0.10 with the IP configuration... Can I use the same IP of eth0? WIll Linux allow the same IP on two interfaces?

Thanks
Denilson
0
Hello ,
I know this is a simple question but I have the following command that gives 2 output lines.
[root@machine ~]# yum repolist -v | grep Repo-id | grep rhel-x86_64-server-7
Repo-id      : rhel-x86_64-server-7
Repo-id      : rhn-tools-rhel-x86_64-server-7

Open in new window


The only valid is the first one Repo-id      : rhel-x86_64-server-7 how can I write the command in order to exclude Repo-id      : rhn-tools-rhel-x86_64-server-7

thank you
C
0

Linux

64K

Solutions

32K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.