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

learn more… | top users | synonyms (1)

-1
votes
1answer
13 views

Is there any way to backup all mysqldatabses in single file

Usually i have cron job to dump separate databases in separate sql file and then i can restore it. Is there any way , any command so that i run as cron job everynight and i have single file which i ...
0
votes
1answer
62 views

why won't mysql accept connections from local programs?

I am getting a "Host 'mydomain.com' is not allowed to connect to this MariaDB server" error whenever a program on my CentOS 7 server tries to access the MySQL/MariaDB database located on the same ...
-1
votes
1answer
37 views

Postfix- Host or domain name not found - looking up wrong domain name

I want to know where i can configure the following. I want postfix to lookup the host: myexample.com, but instead it is looking up Host-Wordpress-01. Which is my digitalocean droplets name. ...
0
votes
2answers
38 views

Cron job ignores part of trigger url

I created a cron job to trigger a url at set times, which in turn starts a product import script. But for some reason part of the trigger url with parameters is stripped away. I set the cron job in ...
0
votes
1answer
30 views

Linux/windows mount on boot issue

We have a Linux system and several Windows system on our network. The Linux system has mounts on two different systems currently defined in fstab like this: //mandi/aaronbackup /media/backup smbfs ...
-1
votes
0answers
22 views

rsyslog no log for kern.log

Good morning, Information does not get logged in kern.log Runned test logger -p kern.info "kern.info: test" /var/log/kern.log /var/log/kern.log ← stay empty /var/log/syslog ← "test message" ...
0
votes
2answers
17 views

kadmin cannot list principals “requires list privileges”

I can authenticate fine via kadmin however cannot list principals? [root@server ~]# kadmin -p admin Authenticating as principal admin with password. Password for admin@org.domain.com: kadmin: ...
0
votes
0answers
32 views

Installing PHP OCI8 extension on SLES 11 with PHP 5.6.3 Oracle Instantclient 12.1 and APACHE2

I attempting to install the OCI8 extension. The OCI8 extension version is oci-2.0.8. The configure script to install is "./configure --with-oci8=instantclient,/usr/lib/oracle/12.1/client64/lib". ...
2
votes
1answer
38 views

grep ouput filepath with file modified date?

Is it possible to make the grep command to output file paths with file modified date like so: 12-02-2015 /file/path/to/the/file 16-02-2015 /file/path/to/the/file 25-02-2015 /file/path/to/the/file ...
1
vote
4answers
170 views

Communicating via separate network cards

Assume you have a web server with two network cards (and their associated ports), let's call them A and B. The idea is to connect one port (A) to the internet and the other (B) to some isolated ...
-1
votes
0answers
39 views

How to fix “Couldn't resolve host nginx.org” in RedHat v6.3?

As per the instruction on http://nginx.org/en/linux_packages.html , I am trying to install nginx on Red Hat v6.3 server. I have created a file as per the instruction:- Create the file named ...
2
votes
1answer
25 views

UFW rules in place and enabled yet traffic still allowed

I have UFW configured to try and block some unwanted IPs and associated requests. #ufw status |less Status: active To Action From -- ------ ...
2
votes
3answers
86 views

KVM guest is unable to access the internet

I have a Debian host that has several allocated IPs and KVM with a Debian guest using a bridged network. The guest is completely unable to reach the network, including the LAN or even the host. ...
0
votes
0answers
26 views

How do I configure KVM guest to have Internet access?

I am trying to get KVM working on my Debian server and I am having a slight problem with networking with my guest OS (also Debian). The virtual machine is using the "default" network (without a ...
2
votes
1answer
83 views

Why is sshd engaging PAM still?

Background/Behavior is: if you ssh to box via and GSSAPI/Kerberos succeeds and you have a local user in /etc/passwd, you login fine per below PAM config. All Good there. But if you don't have a ...
0
votes
1answer
64 views

Linux: Bridge two NICs and route traffic through VPN tunnel except specific destinations and ports

I have a Linux PC (Debian Wheezy) with two Ethernet adapters. Adapter eth0 is connected to the Internet (modem/router/DHCP/firewall thingy) and eth1 is connected to an WiFi access point. All other ...
0
votes
3answers
51 views

how to use tcpdump to log only certain data in real time

I'd like to monitor network interfaces but only log things likes errors, collisions and dropped packets. The send that to stdout. – Can tcpdump be configured to do this?
1
vote
1answer
29 views

How do I replace a disk with LUKS on LVM2 - no raid, no span

I have LUKS on LVM (LVM Partitions created first, then each partition is encrypted separately, following this guide on Arch Wiki). I am using two volume groups, and each is isolated to a drive. This ...
7
votes
1answer
219 views

linux 802.1x on a windows wired network

I'm looking to use my linux workstation on our company network, but i've been running into a few issues, specifically 802.1x i believe. I'm root on my machine and a windows domain admin so i should ...
0
votes
1answer
36 views

Linux route cache seems to load outdated settings

On SLES 11 SP3 (Kernel 3.0.101-0.46) I see the following route behavior: When I set a route specific MTU once via ip route change ... mtu lock 1500, everything works as expected (setting an MTU of ...
-1
votes
1answer
21 views

ejabberd 14.12 xml rpc enable

I've got problem with my new ejabberd installation. I need to enable mod xml_rpc, so what I do: I'm uncomment this in my ejabberd.yml file: ## To handle XML-RPC requests that provide admin ...
0
votes
1answer
12 views

SNMP error setting up Cacti with CentOS

I'm trying to get Cacti, which runs on one VM, to graph the data from another VM. However I'm facing an SNMP error despite my efforts. The two VMs are running as NAT connection on VMWorkstation. The ...
0
votes
2answers
33 views

How to find reason for hanging process (probably I/O related)

on Ubuntu 14.04 when I open a file browser or an "Open File" Dialog, the application hangs for about 5 to 10 seconds. I suspect this is due to some NFS requests. But how can I find out for sure? Is ...
0
votes
1answer
34 views

iptables - openvpn can't access port 80

I have a server set up with OpenVPN. While connected to the VPN, all external websites work great, but when I try access a site that is hosted on the same server, it fails to connect. I can ssh into ...
0
votes
1answer
34 views

How to override a user's UID coming from an LDAP directory?

I am trying to setup Linux logins for users in an LDAP directory. The directory contains users which have a UID under 1000 and I believe this is causing problems with logins to those accounts as UID ...
4
votes
1answer
74 views

serviceable ext3 partition ruined by fsck

I've got several systems with an ext3 lv / that work just fine until fsck'd — then they are unrecoverably corrupted. What hope do I have of repairing these systems, and, separately, what went wrong? ...
0
votes
0answers
43 views

Piping device file over UDP with netcat

Hopefully this is the best Stack Exchange site for this - I think it's primarily a netcat question. I'm developing a custom data acquisition device. It can probably be best thought of as a fancy ...
-3
votes
0answers
21 views

Centos VESTACP Eat up all of my RAM and SWAP [duplicate]

total used free shared buffers cached Mem: 490 481 9 0 6 78 -/+ buffers/cache: 395 95 Swap: ...
10
votes
7answers
1k views

High CPU utilization but low load average

We are running into a strange behavior where we see high CPU utilization but quite low load average. The behavior is best illustrated by the following graphs from our monitoring system. At about ...
1
vote
5answers
108 views

How to get an early warning to someone logging into a server

I like to be notified when someone is logged into one of my Linux servers, and also be able to find out what the location of the login attempt. How can I do this?
0
votes
0answers
26 views

Domain routing to incorrect domain on Digital Ocean server

I have 2 sites hosted on my LAMP droplet. The subdomain.domainX.com site is routing to domainY.io I have 4 configuration files in my /etc/apache2/sites-available: default, default-ssl.conf, ...
3
votes
3answers
149 views

Advanced dynamic routing with external program

I need to build a system in which i am able to route packets based on a number of parameters, such as port/protocol etc, which are somehow "normal", but also on other aspects, such as queue length, ...
0
votes
0answers
16 views

How to have a file repository shared between a few app servers on Linux?

How to implement a file repository shared among different app servers using Linux? We have multiple app servers which may need to process the same files uploaded by users. One user may upload to ...
1
vote
0answers
13 views

ubuntu xl2tp ppp0 not properly handling the DF flag (Packet Corrupt) while sending packages > defined MTU

While trying to setup an Ubuntu Linux server as a client to an l2tp/IPSEC server, I notice inconsistencies while trying to send data. The tunnel/VPN establish the connection / handshake properly and ...
2
votes
2answers
35 views

What would cause ifconfig NIC frame drop counts to increase SLOWLY (90-100 frames per day)?

I have a web appliance running CentOS 5.11. It sees a fair amount of traffic (apologies, I don't have specific numbers but I know it's in use). For some reason, I'm seeing ifconfig error counts ...
-1
votes
2answers
26 views

Nginx rewrite with Server_name as underscore

We have nginx config with server_name as underscore. How do I rewrite from http to https. server { server_name _; rewrite ^/(.*) https://$server_name/$1 permanent; } This returns error as http://_/ ...
-4
votes
1answer
41 views

Transfer websites to another server without downtime [closed]

As we know when we change nameserver to any website it take 24hr to active and happen downtime to the website, So how I can transfer Websites to another server without downtime
0
votes
1answer
31 views

Using tc to delay packets to all IP address except for a single IP address

I'm familiar with this post here: Using tc to delay packets to only a single IP address Which will delay outbound packets to a single IP address. I want to do the opposite, which is to delay all ...
0
votes
0answers
15 views

Trying to decrypt S/MIME file using Openssl [migrated]

I am openssl Newibe. I am trying to write a python script (calling openssl) to decrypt multiple p12 encrypted eml files but failing. I can open them up in Thunderbird fine. here is what i tried: ...
0
votes
1answer
44 views

New linux with old kernel in chroot [closed]

I have access to enterprise level server, but it have kernel version Description: Red Hat Enterprise Linux Server release 6.4 (Santiago) Release: 6.4 Codename: Santiago ...
0
votes
0answers
63 views

Removing files takes too long

Short version: rm -rf mydir, with mydir (recursively) containing 2.5 million files, takes about 12 hours on a mostly idle machine. More information: Most of the files being deleted are hard links to ...
0
votes
0answers
7 views

rdesktop to a ec2 instance: why does not -s work?

I'm trying to connect to a windows ec2 instance and execute a script from linux shell. I'm able to start an rdp session with rdesktop (windows desktop opens on my pc), but no matter what command I try ...
0
votes
0answers
25 views

Snort even though working properly does not report majority of rules

I have installed Snort 2.9.7.0 and it does not detect majority of attacks, such as nmap port scans, downloading exe files, opening documents containing keyword "root". I use Snort together with ...
1
vote
1answer
72 views

Configuring IPtables to mirror traffic in CentOS

I'm trying to set up iptables to mirror traffic coming into eth2 and send to 10.1.4.4. I have been reading a lot of documentation on this but am having some issues. Here is the command I am trying ...
1
vote
1answer
135 views

Nginx return 301 redirects all domains

I have multiple domains on my server that is running nginx setup as follow: server { listen 80; server_name domain1.com www.domain1.com; root /var/www/domain1/public_html; index ...
0
votes
0answers
23 views

Enable Netflow plugin in Ntopng

How can I enable the Netflow plugin in the latest Ntopng (1.2.2). There is no 'Plugins' option in the menus or I can't see it. I have logged in the web interface at port 3000 but there is no Plugins ...
0
votes
0answers
16 views

Port not opening even after adding security group rules on Amazon EC2 instance

I have an Amazon EC2 Linux instance. I recently installed SmartFoxServer in my instance. For that I needed to open 9933 port. So I just created inbound rules on Amazon EC2 Manager console website. My ...
-1
votes
1answer
30 views

UDP reverse proxy on Linux [duplicate]

I have a dedicated server which hosts game servers, and is vulnerable to DDoS attacks. I want to get a DDoS-protected VPS to act as a reverse proxy for UDP. The dedicated server's IP address is ...
0
votes
2answers
39 views

Server Snapshot Capture For Cloning [closed]

I have a situation and would love to hear your suggestions. Situation: I have a server that is hosting several important workflow applications on cloud. Changes are made to few add-ons apps on the ...
1
vote
1answer
27 views

Rsyslog refuses to log over OpenVPN

I'm trying to forward rsyslog from a client to a server over a VPN. I have it working across an internet link already (through eth0 to an edge router) but would like it to go through the OpenVPN ...