0
votes
0answers
29 views

How to commandline control Ubuntu hosts?

func seams to be very useful on Redhat derivatives, but what to use for Ubuntu hosts, where I would like to do the following tasks?: apt-get update apt-get upgrade dpkg --configure -a passwd root ...
0
votes
1answer
45 views

How to exclude path based on regex in check_disk?

If I do /usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -r '/drop-zone/*' when it only checks paths which matches the regex. I would like the opposite. The manpage seams to suggest -I, but I ...
1
vote
3answers
63 views

Completely reset PostgreSQL to default?

Question Is there a way to completely reset a PostgreSQL installation on Linux, so it is in the same state as when I installed it? Idea I have considered rm -rf /var/lib/pgsql/* rm -rf ...
1
vote
1answer
39 views

How to test that DNS from NIS is working?

In my /etc/nsswitch.conf have I set hosts: files nis dns With ypwhich ypcat hosts ypcat passwd can I verify that passwd and group are retrieved over NIS. Question How do I verify that DNS is ...
0
votes
1answer
122 views

“Long service output” in Nagios gets chomped for some reason

According to this page the limit of $LONGSERVICEOUTPUT$ is 4kB, but in my case, it stops showing the rest of the output after 970 bytes of output (26 lines), where there multiple newlines no long ...
0
votes
2answers
77 views

Can Nagios monitor a service only by hostname?

I have two hosts server1 and server2 where I do manual fail over. The C record master-server then points to the one which is the master. Only the master host should have a certain service checked. It ...
4
votes
2answers
280 views

How to handle IP's with manual failover?

I have two identical storage hosts where the master is the only one the users can access. If the master fails, then I want to manually change the DHCP address, so instead of master points to ...
2
votes
1answer
75 views

Recommended version of vmtools for Ubuntu?

When I browse VMware's VMtools repository I see that they are up to date on CentOS, but not on (any version?) of Ubuntu. ...
1
vote
1answer
208 views

Why Permission Denied with NFS after reboot?

I have Ubuntu and CentOS clients nfsv3 mounting to a FreeBSD box, which got rebooted while the nfs clients were connected. Now the clients get a permission denied when they try to access the mount ...
1
vote
2answers
203 views

CentOS 6 or Ubuntu 12.04? [closed]

I need MySQL (with a lot of querys) and an HTTPs service. Should I use CentOS 6 or Ubuntu 12.04 on a virtual server? Are there differences in the performance (with default config) or differences in ...
-1
votes
2answers
111 views

When should an EFI partition be used?

If I only deal with Linux servers and Linux laptops, when should I create an EFI partition? From my understanding an EFI partition on a Linux server ensures a standard for the disk layout, where EFI ...
-3
votes
2answers
55 views

How to set up httpd to accept “curl -T” uploads? [closed]

In the curl manpage they explain that it is possible to upload files to a website by curl -T "{file1,file2}" http://www.uploadtothissite.com curl -T "img[1-1000].png" ...
1
vote
1answer
108 views

What is boot.servequake.com? Queries from my Server to DNS for it, caused DoS

I have encountered an issue that has been puzzling me for several time. Hopefully someone will help me understand what is happening or point in right direction. One of my servers (CentOS 6.x) started ...
-2
votes
1answer
292 views

What does tcpdump “BOOTP/DHCP, Request from …” mean?

I am seeing extreme amount of network traffic on a host despite it should be idle. When I do tcpdump -nni eth0 not net 10.10.10.10/32 I get lots of these 14:36:07.851048 IP 0.0.0.0.68 > ...
2
votes
3answers
168 views

Allow NTP to update by large amounts automatically?

Here is my scenario: I run multiple VMs on my workstation to simulate the production environment. At the end of the day I sleep my workstation (with my VMs running in the background) at 6PM. When I ...
0
votes
2answers
540 views

Can Docker help me install Oracle 11g database on Ubuntu?

We are struggling with a common problem of trying to provide an Oracle 11g instance for our developers to test with. Our standard build agents are based on Ubuntu 12.04 but Oracle supports only RedHat ...
1
vote
0answers
210 views

Synology cifs mount wont allow execution

I have a synology NAS. I am able to mount a cifs directory fine on linux (tried both centos 6 and Ubuntu 12). I can do everything fine except I can't execute anything on it. If I try tab to complete, ...
6
votes
2answers
286 views

How to host a deb/apt repo on CentOS?

I would like to make a mirror of just the puppet client and its dependencies for Ubuntu Precise, but hosted on my CentOS 6 host. If I do cd /var/ftp wget -A deb -r -np -nH --cut-dirs=1 ...
0
votes
0answers
125 views

Authentication issue in SIP server

I am able to communicate with intranet SIP server and able to perform text chat / video & audio chat without issues. but it did not work at all when i moved the same setup to public domain on ...
1
vote
1answer
165 views

Yum repo lists incorrect size for packages larger than 2GB

I'm using createrepo to create my yum repository. However, it seems to have a bug - one of my packages, which is 11GB in size, is incorrectly shown as just 956 MB when I try to do a yum install ...
-1
votes
1answer
72 views

How to send notification based on host and not service in Nagios? [duplicate]

Who that gets notifications are defined in the service and host definitions, but what I would like is that it is only defined on a pr host level. So whoever that is in the contact_groups for the host ...
2
votes
2answers
313 views

Possible to override contacts for just one Nagios host group?

The contact for all my linux hosts is the admins Nagios contact_group. But for this one Linux host would I like that the contact_group called sandradebug also gets notified. The problem is, that when ...
1
vote
3answers
178 views

What is the RedHat/CentOS equivalent of Ubuntu's “unstable -> testing -> stable” repo nomenclature?

I used to work in a Ubuntu environment. Machines would be pointed at one of three repos: unstable, testing, or stable. To quote the Ubuntu FAQ: The “stable” distribution contains the latest ...
0
votes
2answers
127 views

Difference of postgreSQL's “trust” and “ident”?

In postgreSQL's /var/lib/pgsql/data/pg_hba.conf trust and ident can be set as method e.g. like so. # TYPE DATABASE USER CIDR-ADDRESS METHOD local all postgres ...
0
votes
1answer
158 views

Understanding postgreSQL's indent, md5, password in pg_hba.conf

If I have the following in my pg_hba.conf # TYPE DATABASE USER CIDR-ADDRESS METHOD local all all trust local all all ...
1
vote
0answers
72 views

Kerberos Single Sign On

I am trying to implement Single Sign On using kerberos with ssh. I changed the below files and restarted the ssh daemon. /etc/ssh_config GSSAPIAuthentication yes GSSAPIDelegateCredentials yes ...
3
votes
1answer
1k views

CHECK_NRPE: Error - Could not complete SSL handshake

I've just moved to a new nagios server and have got all the old hosts/services working. There is just one host that will not allow nrpe checks, producing an error on the nagios server as in the title. ...
0
votes
3answers
230 views

tail-pipe-awk script, fine on Centos but weird on Ubuntu

I wrote a script on CentOS and now I'm trying to run it on Ubuntu and it is behaving unexpectedly. Here's something like the script, which I run under bash: sudo tail -F ...
0
votes
1answer
109 views

Possible to deny all NIS users from logging in over SSH?

Is it possible to deny all NIS users from logging in? There is no physical access to the host, so if NIS can not be configured to deny all, is the solution then to configure SSH to only allow root to ...
1
vote
0answers
135 views

Ubuntu 12.10 cups 1.6 won't connect to my CentOS6 1.4.2 cups [closed]

Right now I have a CentOS 5 cups server, which runs cups 1.3.7 and the Ubuntu 12.10 users can't print to it because tehy use cups 1.6. According to this bug, it is a regression in cups 1.6. Trying ...
2
votes
1answer
227 views

Security concerns in Ubuntu and CentOS

In my company we are dealing with an interesting decision: which Operating System should we choose as the default one? This does not mean that every installation will be based on the chosen Operating ...
6
votes
1answer
189 views

How to start netcat in listening mode from another host?

I have a script where I would like to start nc in listening mode on 10.10.10.11, but I would like to do it from 10.10.10.10, where I have this script ssh -n 10.10.10.11 nc -l 8023 | mbuffer -s 128k ...
1
vote
3answers
242 views

Possible to kill command after a timeout if not success?

I would like to use mbuffer to do ZFS replication with, but in order to do that, I have to start it in listening mode on the target host. That I would do from the master host by ssh 10.10.10.11 ...
0
votes
2answers
610 views

Good pratice to create script to start/stop/restart service?

I was wondering what is a good pratice to create a good script to start/stop/restart some service. I will try to make myself more clear, ok ? Nowadays, I do something like this: let's say I would like ...
-1
votes
2answers
765 views

Why does Centos 6 have an older kernel than Ubuntu 12.04 [closed]

Hi can some one help me in understanding this. On Centos 6.2 its showing kernel as 2.6.32-220.el6.x86_64 whereas on Ubuntu 12.04 its showing as 3.2.0-23-generic. 3.0 kernel is one of the latest ...
3
votes
2answers
616 views

Can I safely increase the number of processors on a VM?

I have several Windows 7, CentOS, and Ubuntu virtual machines running within a VMWare ESXi server. To get better performance while building on them via Jenkins, I would like to increase their number ...
2
votes
1answer
187 views

Possible to set encryption block size in LUKS?

When I do a benchmark test modprobe tcrypt sec=2 mode=200 I see that different encryption block sizes are used test 0 (128 bit key, 16 byte blocks): 4460604 operations in 2 seconds (71369664 ...
3
votes
1answer
314 views

Assign public and private IP addresses for a KVM guest

I would like to create a KVM guest with two different IPs, like one public IP and another private IP for the same KVM guest. My host is 210.x.x.x. Series and Guest are also configured with the ...
1
vote
1answer
207 views

Does cryptsetup “Plain mode” store the hashed passphrase in each sector?

When I read the manpage for cryptsetup on Linux about "Plain mode" it says: Plain dm-crypt encrypts the device sector-by-sector with a single, non-salted hash of the passphrase. and the -c ...
0
votes
2answers
353 views

How to make Ubuntu useradd behave like Centos useradd?

I don't remember modifying CentOS useradd to get this behavior. useradd in CentOS creates the user's home directory with all the normal files (like .bashrc). I modified /etc/default/useradd to make ...
0
votes
1answer
155 views

How to migrate user, groups,etc a new samba PDC

Currently I have a machine running CentOS 5.8 and Samba configured as PDC. I'm changing the CentOS operating system to Ubuntu, a group of servers, PDC is only to change, but I have some doubts. I do ...
1
vote
2answers
99 views

How to run script from root as another user (with user PATH)

I would like to have these commands run as the ss user from root mkdir bin cp -r /opt/gitolite . gitolite/install -ln gitolite setup -pk ss.pub mkdir -p .gitolite/hooks/common ln -s /opt/pre-receive ...
4
votes
3answers
767 views

Possible to ignore the users shell in “su” command?

If I do su - -c 'mkdir bin' user1 then I get su: /usr/bin/ksh: No such file or directory because the users shell is set to ksh in /etc/passwd and ksh is not installed. Question How do I carry ...
0
votes
2answers
110 views

Fast (non-blocking) way to transfer many files to another server [duplicate]

Possible Duplicate: what is the fastest and most reliable way of transferring a lot of files? I am currently attempting to transfer over 1 million files from one server to another. Using ...
3
votes
1answer
482 views

How to switch between Linux's virtual consoles?

I am using vSphere and would like to change to a virtual console in the guest OS. The problem is that when I press CTRL-ALT-F1 my desktop (Ubuntu) changes virtual console and not the guest OS in ...
0
votes
1answer
71 views

How to record LAN computer screen on centos/ubuntu server?

we have a office with 40 computers and some computers have ubuntu and some computers have windows 8/7 installed and i want to configure a ubuntu/centos server here for networking and i want to record ...
2
votes
2answers
156 views

Have username and passphrase in OpenVPN client.conf? [duplicate]

With the auth-user-pass filename option is it possible to create a plain text file with username and passphrase. Is it possible to have the username and passphrase directly in the client.conf?
0
votes
1answer
65 views

4million+ images on a single LAMP stack server

Currently I am trying to come up with a naming convention for files and folders, essentially a method of spreading out 4 million+ images on a server into various directories or whatever. What I am ...
3
votes
3answers
2k views

Chef bootstrap giving 401 unauthorized

I'm trying to bootstrap a new chef node by running: knife bootstrap <server ip> -x lewis -N gitlab --sudo But I get the following output: [Mon, 03 Sep 2012 14:45:17 +0000] INFO: *** Chef 10.12.0 ...
2
votes
2answers
491 views

Apache write permission in public_html?

I have an account on a hosted webserver, where I have SSH access. Files put in /home/sandra/public_html are online. DokuWiki recommends that the data and conf directory is not in Document Root, so I ...