Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

learn more… | top users | synonyms (1)

0
votes
0answers
51 views

“Index Patterns: Please specify a default index pattern” in Kibana

I'm trying to create a simple hello world for ELK and be able to see kibana reports via the internet. I've installed kibana, logstash, nginx and elastic search. Here's my /etc/logstash/conf.d/10-...
1
vote
0answers
19 views

Can't ping my LXC container

I have set up a linux container on my server. The problem I have right now is that I cannot ping my linux container from my laptop, but I can ping the hypervisor. I created the LXC by using: lxc-...
-1
votes
2answers
167 views

Cannot start Apache, config test fail: “env: apache2ctl: No such file or directory”

$ apache2 -v Server version: Apache/2.4.7 (Ubuntu) Server built: Jan 14 2016 17:45:23 My Ubuntu version is 14.04. I was fixing a few things on /etc/apache2/sites-available/000-default.conf and ...
0
votes
0answers
12 views

not able to reinstall grub boot loader in rescue mode

In my centos machine /boot/grub/grub.conf file got deleted. So i entered into rescue mode and tried to reinstall grub from there. using below steps: linux rescue chroot /mnt/sysimage /sbin/grub-...
-2
votes
1answer
41 views

How come I can't see apache's environment variables in my shell?

I'm running apache on my Debian 8 laptop. I haven't made any config changes so everything is at the default. apache2.conf uses environment variable defined in /etc/apache2/envvars, but when I open a ...
0
votes
0answers
43 views

Missing /var/log/messages file in CentOS 6.8

I'm not sure what I'm doing wrong, but my Linux box doesn't seem to be logging any info to the messages file. Will someone please help? Here's the content of the /etc/rsyslog.conf file (rsyslog-5.8....
0
votes
2answers
207 views

ERROR: could not open directory /lib/modules/4.2.0-25-generic: No such file or directory

I upgraded Ubuntu 15.10 to 16.04 and somewhere there must happened my trouble. I firstly realised my trouble when I wanted to do sudo iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j ...
0
votes
0answers
46 views

How to join two files one line at a time

I have two files like this: $ cat file1 firstname1 firstname2 $ cat file2 lastname1 lastname2 How can I get output like this: firstname1 lastname1 firstname2 lastname2 I have tried the below ...
0
votes
1answer
26 views

vcenter isn't seeing open vm tools

Centos 7 DVD is packaged with open vm tools. But this is what I see in vCenter: VMware actually recommends running Open VM tools. When I tried to install vmware tools I got this message: open-vm-...
0
votes
2answers
45 views

RSYNC from an External Hard drive

I want to use RSYNC for the incremental copy of a folder which has a considerable size. The source (a directory) resides on an External hard disk (as we cannot have a network link between the source ...
1
vote
0answers
35 views

I'm struggling to install darkstat on an Amazon EC2 server running Amazon Linux. Any tips?

Hello and thanks in advance for reading through this question. Disclaimer: I'm still quite a newbie when it comes to managing a server. I'm running an Amazon EC2 server (which is running Amazon Linux) ...
1
vote
3answers
98 views

How to find installed pure-ftpd version?

Trying to find which version of pure-ftpd my server is using, in order to help troubleshoot a probably FTP client issue. I'm on CentOS 6.7, but would prefer a more generic/universal method, if ...
0
votes
0answers
15 views

Using biometric authentication with rdesktop to Windows machine?

I'm using rdesktop to access windows servers/clients from a linux machine. I can setup biometric access with AD for these windows clients, but is it possible to rdesktop to a windows box and use a ...
1
vote
1answer
21 views

How to kill a disowned while loop?

So I've done something like this: $ while true; do ssh sysremote -CN; done & disown % In the ps -ef only ssh sysremote -CN is listed. How do I kill the while loop?
0
votes
0answers
44 views

Samba on NFS with Bind Mounts

I have a machine, which we can call HOST, that exports /home via NFSv4. It also runs several VMs, including one we can call SAMBA, which mounts and then re-exports (yes, I know this is not recommended)...
0
votes
0answers
16 views

DSPAM Daemon Fails to Start

I'm running Ubuntu on an AWS instance and the DSPAM daemon fails to start at boot or if I try to start it using: $ /etc/init.d/dspam start It starts successfully if I use: $ dspam --daemon & ...
2
votes
1answer
34 views

Combine groups in ansible template

Has anyone combined groups for a loop in ansible templates. What we want to do is get the common members of two groups and loop them through to create our config. We're trying the same format that ...
1
vote
1answer
38 views

Systemd restart service if it's not listening to a port

I've been using Systemd for a while in Debian 8. I use the Restart=on-failure option to waken-up a service in case of failure. I will like to know if there is a way to force the restart of the ...
1
vote
1answer
44 views

Where can I find the otrs-scheduler file?

Im trying to install otrs on a Debian system. I followed these instructions. It works well til the last step. But I can simply not find the file scripts/otrs-scheduler-linux which is referenced in the ...
0
votes
0answers
10 views

Auto test framework for server deployment

I deploy Linux servers all the time and would like to test each installation. Like a system test. For applications there a numerous of test frameworks, but I can't find anything for testing the a ...
1
vote
1answer
47 views

systemd-logind spams in log

In /var/log/auth.log appears too many messages "Removed session" Jun 2 17:42:39 srv-1 systemd-logind[13785]: Removed session c36006. Jun 2 17:42:39 srv-1 systemd-logind[13785]: Removed session ...
-2
votes
3answers
42 views

Low disk space warning messages in RHEL

Can someone please tell me in which log file linux logs the low disk space warnings. I checked all files in /var/log but couldn't find, also google is giving me scripts for sending email alerts on ...
0
votes
1answer
25 views

Forwarding packets on a 3-node setup

This is more or less a revival of: Forwarding traffic from one ethernet interface to another Suppose the following setup. . 15.15.1.11 15.15.1.12 . A:eth0 --- eth0:B:xxx0 --- xxx0:...
0
votes
1answer
60 views

Replacing mysql with MariaDB

phpMyAdmin shows this version ! I am new to Linux and servers. I was using mysql 5.5 (was installed using third party repositories) as my DBMS and then I decided to replace it with the latest version ...
0
votes
1answer
36 views

dmidecode weird total/data width

I am getting strange outputs from my workstation, which has ECC RAM. Supposedly, from what I read, the data width should be at 64 bits and the total width at 72. But... data width shows as 64 and ...
0
votes
0answers
35 views

migrating Linux Vm from AWS to Azure

i need to migrate my Linux VM from AWS to Azure. while checking i found ways to do a migration of windows instance using Azure Site Recovery. Do we have some thing similar to that to do a migration ...
0
votes
2answers
31 views

OpenVPN TAP network

I have a question about the OpenVPN in TAP configuration. I want to access local resources through VPN connection from outside network. I think I need TAP configuration, because I want to send ...
-1
votes
0answers
13 views

don't work in linux ubuntu 14 (crontab) [duplicate]

I'm trying to run this command in crontab started with php, but does not work. @reboot /usr/bin/php -q /var/www/server/teste.php @reboot php -q /var/www/server/teste.php what could it be?
1
vote
1answer
68 views

Inconsistent winbind info on Samba 4 AD domain controller

I've setup a Samba 4 AD domain controller on Debian Jessie (samba 4.2.10). Everything's working fine, except that winbind gives wrong user/group information. I have a sample user "testuser" and a ...
0
votes
0answers
4 views

tar specific files in several different subdirectories [migrated]

I have the following folder structure A |-B | |-C | |-1.log | |-2.log |-10.log |-D |-E |-F |-php.log |-H |-php.log I want to collect all the log files and the php file present ...
0
votes
2answers
50 views

Is there a way in Linux where one non root user can check if another non root user is using OpenSSL or not without sudo permission?

Consider this scenario where User-A and User-B are both non-root user are running inside a server. User-A is running different Program P1 (pid-2814),P2(pid-2815) whereas User-B is running different ...
-2
votes
1answer
41 views

sudo yum install apache2 on amazon linux fails [closed]

I've tried running the command:sudo yum install apache2 and got the following error: Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest | 2.1 kB 00:00 ...
-1
votes
1answer
66 views

How to get the OS information of all systems connected to a network? [closed]

Suppose there are some Windows systems and some Linux based systems and may be some Android netbooks are connected to a LAN through Ethernet. Using arp -a(from DHCP server) I was able to find out IP ...
0
votes
0answers
12 views

How to force rsyslog ommysql use utf8?

I'm using ommysql in rsyslog for transfering data into mysql $ModLoad ommysql local6.* :ommysql:localhost,Syslog,rsyslog,1 but cyrilic data goes like "·Ð¾Ð²Ð°Ð½Ð¸Ðµ иÑ�точнÐ" in ...
4
votes
4answers
353 views

Load average 3.00 on mostly idle server

I have a VPS hosting a small web app (apache, php-fpm, mysql) that's mostly idle for now as the traffic is quite low. Surprisingly, the load average is always >= 3.00: # uptime 02:20:00 up 69 days, ...
-2
votes
1answer
99 views

Server suddenly became too slow with timeout error

My server suddenly became slow, all the websites in it at the http level i have checked all the logs but there is nothing that indicate why it's happening if anyone have any suggestion please my ...
1
vote
2answers
102 views

Receiving broadcast UDP packets under Linux

I'm having a similar problem to Linux Kernel not passing through multicast UDP packets only broadcast rather than multicast, and nothing I've tried has helped. I've got a device at 192.168.0.1 ...
0
votes
0answers
20 views

MaxMind GeoIP CSV to .dat

I need to put local IP addresses into MaxMind GeoIP DB. I've downloaded the CSV and adding new IP addresses and locations is easy. I've found two tools that do csv to dat for MaxMind GeoIP but I can't ...
0
votes
1answer
26 views

How to allow reverse ssh-tunnel connection to my host on demand?

I've set up a reverse ssh-tunnel (no autossh is used right now, but I might be using it)from remote laptop to my pc, but I don't trust much the remote host, as there might be different people using it ...
0
votes
0answers
38 views

Understanding CPU load vs CPU Time/Percentage

Been reading similar threads, seem to have grasp the idea but can't really put it into practical usage. Can I confirm on the following understanding q1) CPU time - CPU time spent in execution for a ...
0
votes
0answers
15 views

yum upgrade/downgrade - dump all logs

I am doing a yum upgrade/downgrade on a linux box and seeing some issues. I want to dump all logs - literally every bit of info that yum can dump and may be useful for me to debug. what is the best ...
1
vote
1answer
52 views

Dropped packets in all Linux and Unix

I have a problem. I have motherboard by Supermicro – X11SBA-LN4F. There are 4 ethernet ports. In first port i have internet. In second port i have my local network. When, i write "ifconfig" or "...
0
votes
0answers
27 views

Linux machine gets different IP through and after installation

we have some automatic building of our building machines using packer (jessie, trusty, xenial, macos, ...) on separate network (VLAN on L3 switch which is used as default GW for the network). Till now,...
-1
votes
0answers
24 views

Sendmail: Unrecognized service

I have a rhel 7.0 server that when restarts takes about 20 min to comeback up I have found that it seems to get stuck on Starting Sendmail and reports this error Sendmail: unrecognized service I ...
2
votes
1answer
49 views

Need help for configuring a dns server

I want to run a dns server to have my own nameservers : ns1.radicalteam.ir and ns2.radicalteam.ir I have a VPS and installed Centos 6.5 on it, and radicalteam.ir and soulati.ir domains I've set ...
1
vote
0answers
15 views

Using tmpwatch in conjunction with ClamAV

I would like to use tmpwatch to regularly clear out old unused files that build up in our /tmp directory. I'd prefer to use the default tmpwatch settings where files in /tmp are deleted only if they ...
-1
votes
2answers
37 views

OpenVPN Variables Passed via Script

Can someone explain and/or direct me to a summary of the variables that are available to be passed to OpenVPN upon a client connection? For example, what do the following $1, $2, $3, $4 values ...
-1
votes
0answers
8 views

How to size BIND9 DNS server requirements [duplicate]

Ive been asked to size a number of DNS servers to be able to handle a certain number of requests per second. Is there any handy guide to how to calculate hardware requirements for this?
0
votes
0answers
78 views

PHP 5.6 - mbstring extension is missing

I'm trying to install mbstring extension for the new version of php - 5.6.21. I ran the following command: sudo yum install php56w-mbstring to install package from webtatic yum repository. The ...
3
votes
0answers
49 views

Q: RHEL, SSSD, Active Directory

Good afternoon folks. I've been perusing various posts already about getting linux systems to authenticate using AD, but haven't seen anything approaching what I'm beating my head against. There's a ...