Newest linux Questions

Q&A for system and network administrators

GRUB “USB lock” for Linux Full Disk Encryption

Hy everyone. I'm investigating the possibility of using something like USB hardware locking dongles (like these ones used for software locking and licensing) to provide the key that Grub asks for ...

Which kv nosql would you suggest to use? [on hold]

I will store this very simple k/v pairs into cache k | v k is a unique string(varchar 32), v is also a string(varchar 50), about 10 billion records, I need persistence, and read performance? ...

Rancher or Ubuntu or BackTrack linux [on hold]

Can any one describe the difference in each of these Unix/Linux flavors. Especially as web hosting server software. I headed that Rancher supports container and docker support. Any more details or ...

ERR max number of clients reached on a redis machine, how can it be fixed?

I'm in a customer's site, fixing some monitoring related issues. The servers in the site are configured to collect application metrics with Statsd and system metrics with Sensu. Then Sensu is used ...

megaraid storage manager doesn't see localhost raid

we have linux red hat 6 on ibm server and we had raid 10 on it which we monitored with megaraid storagemanager and everything was fine. but on 3 days ago we restarted server (poweroff, pressed button ...

Linux Capabilities not working

I'm trying to use Linux Capabilities to allow a program (httpd) to bind to a privileged port (443) as a non-privileged user. I set the capabilities for the program using this command: setcap ...

system.journal files “Entry timestamp out of synchronization” after each reboot

I am facing a very odd issue with one of my vps centos 7 machines. My logfiles (messages, secure, cron etc) are totally messed up like this: cron log Feb 15 19:06:10 host run-parts(/etc/cron.hourly)[...

Messed up the .bashrc file [migrated]

So i messed up the .bashrc file and now only the "cd" command works, how can i reset it to default. be advice that "mv", "cp", "vi", etc does not works so i can't use them. I searched for solutions ...

Monitor DNS queries of all hosts in LAN?

We have a simple setup: Some workstations (Mac and Linux) and a gateway router. For statistics and security purposes I want to watch all DNS queries done in our intranet. Unfortunately the gateway ...

How can I use select() to register a service using zeroconf? [on hold]

I have this sample code with me: void HandleEvents(DNSServiceRef serviceRef) { int dns_sd_fd = DNSServiceRefSockFD(serviceRef); int nfds = dns_sd_fd + 1; fd_set readfds; struct timeval tv; // . . . ...

i install dns in centos machine but it not resolve ip to name and name to ip

i have some problem regarding DNS. i install DNS in centos 7 machine and my centos machine ip is 192.168.0.155 .if i run nslookup FQDN (centos7.unixmen.local) name then it resolve into ip means my ...

Debian Jessie - A start job is running for LSB: Raise network interfaces

This keeps happening anytime I reboot the server from my providers CP panel, has anyone got any idea what the solution to it is, it seems to be a known debian issue and has appeared on stack overflow ...

With a Windows folder share, how do I use Linux's mount command to gain access to the files when there is a return code of “-115”?

I am running Linux CentOS 7.3. I have a Windows laptop with a windows file share named "foldera." The Windows laptop has an IP address of x.x.x.x. I have accessed it interactively from the CentOS 7....

Give server accounts to webmasters

I create a system for multiple web masters for storing and serve their websites. They have their linux accounts and home directories. Their public_html folders are linked via ln -s command to ...

Limit linux file cache memory usage (to avoid hypervisor memory exhaustion)

I have a server with 16GB RAM running several linux virtual machines (around 10), which perform several different tasks. These machines, with the default configuration, will fill up the memory I give ...

Public key authentication fails on port 22 but succeeds on alternate port

I am able to log into my server with a password, but not with my public key. I'm running CentOS release 6.3 (Final) on a Rackspace.com server I added my local ~/.ssh/id_rsa.pub to the remote server's ...

Splitting an IOMMU group for PCIe Passthrough

I am trying to passthrough my graphics card to a virtual machine using kvm and libvirt. I get an error message when I try to passthrough the card without binding an ethernet card which seems to be in ...

MegaCli reports an inconsistent number of physical disks

First, here's the abridged version of my question. I have a blinking red light on a drive in a RAID array and although MegaCli doesn't report any disk failures or warnings, some MegaCli commands show ...

Distributing server appliction under Linux

We have a server-side app running Linux Debian. We plan to distribute the app as VM images (e.g. ovf images that can be later imported to VMware ESX servers) Our major concern is how to organize ...

isc-dhcp issuing wrong ip for subnet

i've configured a range of IP pools to a new server i've configured. the client contacts the correct router IP for the assigned subnet, but receives an IP completely out of scope for the subnet. the ...

How is to define the exact time when the file was created and/or modified? [migrated]

I have tried to configure Nautilus, Dolphin, Krusader, mc. None of them shows the seconds. Didn’t find such option in properties.

What embedded linux distro with high customisation(Like boot animation and gui customisation) on raspberry pi [on hold]

I would like to build an room control system with a raspberry pi and Linux. I want to make a GUI where the user only has access to the things I want them to access(example: The user can only see the ...

Why does iotop not show the same as iostat? Why is there a difference? [migrated]

On my Raspbian 8 (Jessie) system iostat -dzp 5 |grep -v "k0 " shows me : Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn mmcblk0p2 0.80 0.00 3.20 ...

Why does Linux answer to ARP on incorrect interfaces?

I have the following Linux networking setup: there is an eth10 network interface with the assigned address 10.11.0.1/24. Then there is a tap0 network interface with assigned dummy address 0.0.0.1/32 (...

Windows 7 is blocking telnet 25 [migrated]

When I use command telnet <myhost.com> 25 from my home PC running Windows 7 it does not connect with message "Could not open connection to the host, on port 25: Connect failed." On the 587 port ...

Round robin & load balance to local port range using iptables on RedHat Linux

I wanted to implement load balancer (round robin) using 4 instances of ssh reverse tunnels running localhost:11669, localhost:11670, localhost:11671 & localhost:11672 connecting to remote host ...

LVM or alternative that have the features of Windows Storage Spaces?

I currently run a small home media server on a Windows machine. I'd like to swap it to a small compute stick of some sort running a thin linux distro. However, the reason I chose Windows to begin ...

Apache (2.4 Debian Linux) VirtualHosts just stopped working

Hope someone can help. All my virtualhosts just suddenly stopped working and all hostnames go to the default virtual server. I'm using Webmin mostly to administer and it shows all virtual hosts okay. ...

zip an oldest directory at regular intervals using cron

I want to zip an oldest directory at regular intervals, say everyday at 9 AM. for example, I have 3 directories which contains logs of 22, 23, 24 Feb. So I want to zip 22nd log folder. Thanks

Sending mail (via java) is working in eclipse but not in linux server

I am using java code to send a mail using smtp.gmail.com as smtp host. This code was working fine. But after a firewall upgrade in linux, its started to throw this error everytime I try to send mail. ...

df -h show system full even after clearing bloated log folder

I had my php_errors.log file fill up the system, I deleted the error logs, but when I type df -h www/folder_name Filesystem Size Used Avail Use% Mounted on bindfs 7.8G 7.4G 379M 96% ...

How Uninstall pip and python

I wanted to install version 3 of python and pip but instead issued sudo apt-get install python-pip python-dev how do I uninstall python and pip, I tried sudo apt-get uninstall but did not work, what ...

Restore data from lost partition after raid synchronization

I have Centos Linux server hosted online, with 2 hard drives. By mistake I integrated raid array over the hard drive I have data on it, and I stopped synchronize on 20% of synchronization. Is it ...

Nginx proxy overloaded when caching new media

I have an issue where Nginx (on an edge cache server), acting as a reverse proxy to another Nginx (a storage server) is getting overloaded whenever a few media files (of around 2GB size each) are ...

sweep command running in postfix mail server

I have installed postfix with amavis on Redhat. Also, I have configured AV scanner as well in amavis to counter mail viruses. Whenever I see top command result, I find a lot of instances of sweep ...

Grouping multiple VMs and their connectivity via Resource manager templates

I have a product, which is comprised of 2 VMs, (one linux and other freebsd), and they need to inter-connected via a private bridge on some network/subnet. Additionally, each may need more subnets ...

How do I create a Linux N6 (with GPU) VM on Azure for Deep Learning applications?

When I try to do new Ubuntu Compute VM in East US or South Central US (the two with advertised GPU support), there is no option to select N6. The only way to get N6 VM is to use the "Deep Learning ...

hard disk - what these log entries mean [migrated]

I am running a brand new WD Black 3TB. It is formatted as ext4 filesystem and used with Banana Pi card. Actually I am having two such setups, but only one gives me any problems. The second Pi makes a ...

no space on ext4 partition left with files not summing up to used space and with sufficient inodes [duplicate]

On a newly created machine, its root ext4 partition has allegedly run out of space. When summing up all files on the partition, the total used space is not close to the used space as noted by df. ...

Isolate network interface from system except from one docker bridge

I have two separate networks, one which is trusted and one which is untrusted. The trusted network contains a server. Blue is the existing, trusted network and the big box is the server, which is ...

Hot increase boot partition size ubuntu command line

I'm not expert with filesystem and partitioning. I've tried to follow lots of tutorials in this site (and other sites) but I don't know how to adapt the solution to my case. I want to enlarge root (...

Opening winscp in the same folder as opened putty session

Say I am in /home/user/folder1/folder2/ in putty i want to open winscp in that folder.I can do the other way around; Open putty in current folder from winscp.Or atleast is there any other software ...

How to create a 'dumb' l2 VPN server on Linux for Windows 10 clients? [migrated]

everyone. I have a home network, managed by a Slackware server: The server is connected to the ISP via eth0, and to the Internet by pppoe via eth0, through which the ISP gives a 'white', public IP ...

Samhain Yule Beltane : Bad version number in the file signature database

I had a working client/server setup and made a few changes to the client samhainrc file. running: samhain -p info -t check -D I get the following error: <log sev="ERRO" tstamp="2017-02-22T16:34:...

auditd keeps writing to my disk

auditd -n keeps writing and using resources for the stuff below. What is it, and is it necessary for this script to be constantly writing stuff? I am running Cenots 7 and Plex Onyx...if it is not ...

SSH connection to OpenWRT and RSYNC to connected device

I have possibility to use 2,5 GB Internet link in geographically distant location for backup needs. So I want to use TP-Link Gigabit router WR-1043WD with OpenWRT installed on it. There is Seagate ...

Ausearch cron script [on hold]

I did create a central auditd server where i'am sending all audit logs form local servers. I created a simple report sript where one line is something like : ausearch -n XXXXX | aureport -i When I ...

Iptables config for ping interface

I have two servers A & B Server A with local IP : AA.AA.AA.AA Server B with local IP : BB.BB.BB.BB Interfaces : Server A (Redhat) with VPN PPTP server : eth0 & ppp0 Server B (Ubuntu Desktop)...

How to cp files from sources to destination without using alias or non-alias and without getting confirmation/prompts?

$ cp /source/* /destination/ cp: overwrite `/destination/file1.conf` Aim is to copy files from source to destination without getting prompt or using non-alias(/) method.

Trillium Director is not getting up in MDM.Can anyone suggest [on hold]

I am from MDM Tibco team. We are just finished with Unix security patching and now we have restarted MDM Server and we are getting Trillium issue. Trillium Director is not getting up in MDM.Can anyone ...
Translating... 0%