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
vote
0answers
13 views

Allow ssh when g+w on user's home directory

Is it possible to allow one user to connect via SSH when that user's home directory is g+w? As I understand it, I can allow this if I set StrictModes yes in /etc/ssh/sshd_config, but that would mean ...
0
votes
0answers
6 views

NAS JBOD2 2 Drive Raid 0 Enclosure Failure Data Recovery

I have a Caldigit Enclosure that had 2 2TB Sata Hard Drives in the unit. The Enclosure seems to have failed during a data recovery operation where the partition was lost during a power failure. I am ...
0
votes
0answers
14 views

How to write access command with credentials?

We had a third party company setup servers and built services for us years ago. But the relationship is strained now and basically they won't reply any email to us. We could find some legal help but ...
0
votes
1answer
18 views

How do I tell Nginx to pass requests to different apps based on the incoming url?

How do I tell Nginx to pass requests to different apps based on the incoming url? For example, mybudgetapp.com and myshoppingapp.com both point to my server where both apps (8001, 8002) and Nginx ...
0
votes
1answer
11 views

How do I view the contents of transport.db file in Postfix without the original transport file?

A Postfix server was given to me with a transport.db file, but no original transport file from which it was derived? How do I determine what the original contents of the transport file were?
1
vote
1answer
10 views

How to change the linux startup services order in SUSE 11

In RedHat and Centos changing the startup scripts as stated here worked perfectly fine. But Suse seems to follow different rules, if so what are the changes need to be taken into consideration? Do ...
2
votes
2answers
43 views

Linux: Allow user to execute specific command on behalf of any other user

I am trying to find a way to allow user john to execute a command (say echo) on behalf of another user peter without being prompted for password. I found a thread that I thought would be the answer ...
0
votes
2answers
28 views

Route traffic in a public network

I have 3 stand alone CentOS servers on same hosting provider. The hosting company can't offer me a firewall for this devices, only iptables. So I want to buy another server and make this server a ...
1
vote
2answers
39 views

Hardware RAID configuration on Linux

I have a linux server with a RAID controller and 6 HD (4TB each). I want to mount a calculus server and I am thinking in two possible configurations: Hardware RAID 10 using 6 HD (only 12TB available ...
0
votes
1answer
13 views

Converting Linux machine from XenServer to Hyper-V

I'm in the process of converting the last few on my XenServer VMs over to Hyper-V. The majority of them have been Windows machines and I've done a backup and restore using Windows Backup. For some of ...
0
votes
0answers
35 views

Why does my machine not boot? [migrated]

I think this is a HW issue so maybe I'm in the wrong place, please redirect me in that case. History I have a Lenovo 9142 that has been installed with Ubuntu and running as a developer machine for ...
0
votes
2answers
19 views

why bind9 gives connection refused for permission denied error when it is 777

These questions didn't help: http://askubuntu.com/questions/172030/how-to-allow-bind-in-app-armor Cannot start BIND9 I wanted to start bind9 and saw that it gives permission denied in syslog as ...
3
votes
3answers
42 views

how to change the startup order of linux init scripts in Redhat, Centos

From this changing How to change Linux services startup/boot order? changing the values of the symbolic links it is evident that startup order is changed. In debian derivatives we use ...
1
vote
1answer
122 views

Linux command history for multiple sessions by root user

We have multiple guys logged in as root at the same time. How can I view their command history during login or after terminating their session. Regards,
0
votes
0answers
19 views

iptables to do source nat for response packets

I am trying to do source NAT for all outgoing packets (packet initiating connection from my machine as well as responses to other connection). I put in following rule: iptables -t nat -A POSTROUTING ...
-2
votes
0answers
38 views

raspbian linux box hung - how to obtain more information remotely [on hold]

I've got a raspbian linux box that I know is up, because it responds to an attempted ssh connection, but it responds very slowly and gets hung on password prompt. I have a suspicion that it is ...
-1
votes
0answers
16 views

openssh-server wont install on linux server, any ideas? [duplicate]

So, my server recently got broken into, and to stop any possible sshd backdoors, I attempted to reinstall openssh-server... this broke ssh. I'm still connected, but cannot reconnect from another ...
0
votes
1answer
15 views

Apache2 Disallow access to the whole server

On my VPS, I want to block access of certain IP addresses to the whole server. I have for example these websites (document roots) /var/www #the VPS website itself /home/eve/www/evesite.com ...
-1
votes
0answers
17 views

IPtables: block fragment type “DF” don't fragment [on hold]

I'm getting some DDoS attacks and I need to block the packets with UDP flags "DF" using iptables, or another packet filtering method. I think u32 can do it, but I don't know how to check the "Don't ...
1
vote
0answers
26 views

SYN flood on mysql server

Consider this structure: DB <-TCP3306- WEB{1,2,3,4} All servers are CentOS 6/7 Web servers are running PHP (using php-fpm) that connects to the MySQL server. Occasionally, I get this error ...
-1
votes
0answers
32 views

Multiple Linux updates and virus monitoring [on hold]

Hello serverFault community, As my network of server becomes by the day, I was starting to wonder if there is already some kind of software that exists to help with the "Security" side of it. There ...
0
votes
1answer
15 views

How to configure a New Relic agent to notify about out of date software on a Linux server?

All of my servers have a New Relic agent installed and I'd like to use this infrastructure for guarding against out of date software, and in particular against security patches that exist but are ...
0
votes
1answer
21 views

How do I host a registered domain with bind9?

I'm already hosting my own web server, FTP, etc. and I want to be able to link my domain name myself directly instead of configuring all subdomains and redirections on the registrar's DNS. Is it ...
-1
votes
0answers
24 views

Why server shows time out for 5 second then connecting in redhat linux

I have a DHCP server configured in Red Hat linux , there are two NIC Cards there , one connected to LAN and other connected to WAN , But i am losing internet for 5 second in one minute and this cycle ...
-3
votes
0answers
16 views

making copy of one server to another [on hold]

I have three identical hardware machine. I want to install and configure centos server on all machine. I need to have exactly same configuration. After some research,I know there is a way of making ...
0
votes
0answers
8 views

Do I need acpid daemon in virtualization guest?

I get VPS with KVM virtualisation (server for hosting services). I remove most of desktop services (like dbus, consolekit, xorg) because of security and stability concern. Guest run on virtualised ...
-3
votes
0answers
9 views

How to make paravirtualized xen template

I want to know how to make my own linux OS (CentOS, Fedora, Debian, Ubuntu, Gentoo, Slackware) template compatible with paravirtualized xen with pygrub kernel, ext4 filesystem and xvida device I ...
-1
votes
0answers
11 views

Connect windows server with Linux LDAP

i have Servers with windows server 2012 i need to connect these servers to my Linux LDAP in order to take all my windows server authentication from Linux LDAP. please can any one help me .
-3
votes
0answers
22 views

How to start PV Xen Guest

I am new in Xen virtualization system and i am trying to learn everything about it so i can use it instead of Openvz In Openvz i can start and stop vps by running vzctl start <VID> vzctl ...
0
votes
0answers
15 views

When s3cmd checks a bucket with thousands of files to sync it, does this count as one list request or thousands?

Trying to figure out pricing here so I don't get overcharged. I daily run a backup script where s3cmd checks a folder with over one hundred thousand files to see if any have changed (which by the way, ...
-2
votes
0answers
32 views

Using Screens with a PHP Script [migrated]

I found an external developer to make me a PHP script to 'snipe' Mineraft usernames. In order for it to operate, I have to start the script from the command line using this: php -f sniper.php > ...
1
vote
0answers
4 views

Linux stuck on boot up, windows bootloader overwritten [migrated]

Ahoi. I recently installed debian on my windows 10 machine, and have essentially bumloved my entire machine, it seems. I installed Debian using the 8.3.0 DVD Image from the official site, and the ...
1
vote
2answers
49 views

What are front merges in I/O scheduling and how can I tune this parameter?

My Linux uses the Deadline algorithm for I/O scheduling. One of the parameters is the front_merges parameter under /sys/block/sda/queue/iosched/front_merges. By default it is set to 1, which means ...
0
votes
0answers
6 views

eCommerce combined Webserver and database server or Docker instances [duplicate]

I get a server with 2x QC and 16-32GB RAM now I would like to host a eCommerce Platform and I ask me which solution would better if I have a combined Webserver and DB Server or If I have two docker ...
0
votes
0answers
12 views

How to connect to mail server in C [migrated]

I tried to make a connection to my mail server which is in local area network. The ip of mail server is 192.168.1.1. So, I tried the following program to test that. Program: #include<stdio.h> ...
0
votes
0answers
12 views

Is there any way to restore an entire previous version of a folder in an s3 bucket?

I know folders are not folders within S3, but it would be extremely useful if you could restore a previous version of one when you have versioning enabled. I've been looking at it and I can only see ...
1
vote
0answers
14 views

Monit “check program” and restart based on exit code

When I use check process, monit will start the program I define under start program then monit will restart it if it stops. But when I use check program monit will not automatically start it. If the ...
1
vote
1answer
46 views

Running a powershell script on a Linux server

We wrote a powershell script (.ps1) that basically runs a snmpget and a nnmsnmpget commands. It works great on all Windows 2008 servers but can't get it to work for any Linux servers. Yes, it's run ...
0
votes
1answer
23 views

How to set icinga2 downtime across midnight

Our backup is running between 22:00 and about 05:00 the next day. I could not figure out how to set this in a scheduled downtime with "apply ScheduledDowntime" in icinga2 (r2.4.1-1 on opensuse 42.1). ...
-1
votes
0answers
18 views

how to redirect domains to localhost iptables [on hold]

i wanted redirected all the traffic on my network to localhost. currently i am trying to use iptables to do so from below command.. iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j DNAT ...
0
votes
0answers
24 views

Automatically Deploy Windows Print Server Printers to Clients

Using CUPS with linux clients, configuring clients like this: $ cat /etc/cups/client.conf ServerName <printserver-hostname> $ cat /etc/init/cups.override manual means any changes I make on ...
1
vote
0answers
13 views

nfs-kernel-server keeps failing in Ubuntu

I'm trying to create NFS share in Ubuntu 14.04 strictly following this tutorial: https://help.ubuntu.com/community/SettingUpNFSHowTo. root@srv:~# service nfs-kernel-server start * Exporting ...
0
votes
0answers
10 views

How to get rid of unexpected nslcd related messages caused by resolvconf?

I'm on a Ubuntu 12.04 based system. Our system is setup to use nslcd to allow LDAP authentication. In syslog we see lines like this: /var/log/syslog.1:Dec 20 06:25:11 T53-1014-014 nslcd[1496]: ...
1
vote
0answers
34 views

Nagios check_jstat

I'm trying to monitor java memory usage using nagios nrpe features. So I download and install check_jstat and install the plugin on the remote server. And when I ran it below is the result: OK: jstat ...
0
votes
1answer
29 views

Keepalived - Keep VIP after stop in both nodes

There's any way to keep the last VIP configuration in the case of a daemon stop in all the nodes of Keepalived? Thanks in advance.
0
votes
0answers
14 views

Can we write an custom check for monitoring a process with Data Dog

I want to write an DataDog Check to monitor some process like Puma, delayed_job etc, I can see there are ready plugins available for these for nagios and Sensu but not for DataDog, But can I write my ...
-2
votes
0answers
18 views

http conf setting to redirect pages

I have an old url ext.examplecom/xyz-abc/ which i want to redirect it to permanent address ext.examplecom/xyz-abc/newlink/ when i type url ext.examplecom/xyz-abc/ it gives me error The requested page ...
3
votes
1answer
45 views

Find network percentage of NIC [on hold]

So I have created a Linux resource monitoring tool that pulls various resource information. One of the fields I am trying to pull is the percent of network throughput on my NIC. So if I have a 1 ...
2
votes
0answers
29 views

network access issue and triage

We have two hosts in same vlan with same route rules. One of them is able to connect to an outside IP while on another I get failed: Connection timed out when testing the connectivity through netcat. ...
1
vote
0answers
14 views

How to change $PATH for crontab in Opensuse [duplicate]

I have a script written which works perfect on terminal however gives error when called through crontab. It took me a while that the problem is with the cron environment not my script. so I tried ...