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
2answers
50 views

Permission Issues When Pushing to Git Remote

I've spent the past few days trying to set up a Git Remote on my server so I can push changes to my web-server to it. The problem is that I'm getting the following errors while doing it: $ git push ...
0
votes
0answers
80 views

Is there a way to limit bandwidth per ip using HTB + a CIDR range in Linux?

I can create rules to limit a entire subnet or to limit individual ip addresses with tc and htb. I am looking to use CIDR ranges to keep things somewhat elegant. The machines in question are all ...
-1
votes
1answer
46 views

Is it possible to recover a RAID 5 in this case?

Is it possible to recover a RAID 5? After losing the "/proc/mdstat" and run by mistake "mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1" instead of ...
0
votes
0answers
45 views

How to mount a Mac OS X 10.10 shared volume with Ubuntu Server 14.04

I'm attempting to mount a Mac OS X 10.10 shared volume via Ubuntu Server 14.04.1. I've set this up successfully between two Macs but I'm having a problem Ubuntu to Mac. I've setup the shared volume ...
1
vote
0answers
31 views

What builds /proc/net/bonding?

We're monitoring the network interfaces with Nagios/check_mk, which looks at /proc/net/bonding/bond0 to see the status of the interfaces. Unfortunately, we had an improper config and 2 NICs were in ...
0
votes
1answer
42 views

Different values in bash and Zabbix WebUI

I would like to ask you for any hint regarding following issue. I'm using external scripts for checks in Zabbix 2.2. I try to develop some script which will get timestamp of certain file on remote ...
0
votes
1answer
19 views

Windows NFS client keeps writing read-only with on NFS server with squash_all

We have a Debian 8 with an NFS server exported with "/client-share *(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)" that works just fine when transferring files from a Windows ...
0
votes
0answers
18 views

Not recognizing path to credentials on fstab

I'm trying to mount a remote filesystem with fstab, and using a credentials file to load the username and password, but for some reason I get this error message when I try to use # mount -a: mount ...
-1
votes
1answer
31 views

Transfer existing email to new postfix/dovecot server via POP3

I have to build a new email server with dovecot/postfix on CentOS because an existing supplier is becoming too erratic with their billing. I can do that but I am worried for a small problem. If I ...
0
votes
0answers
35 views

up2date login & patch APIs for RHEL7

I am trying to achieve controlled patching of the RHEL machines in my network, for which I need to get the list of all patches onto a windows machine & distribute the missing ones. I have already ...
2
votes
0answers
36 views

What does the mkfs.ext4 -G option do?

On Microsoft's Best Practices for running Linux on Hyper-V page it is recommended to use ext4 and not ext3 and "specify the number of groups to be 4096" using mkfs.ext4 –G 4096 /dev/sdX1. What is this ...
0
votes
1answer
34 views

Crontab command not executed

Coming from Why is my crontab not working, and how can I troubleshoot it? i still don`t know why my command is not executed. I got same command for root and www-data and my cron logs shows that ...
0
votes
1answer
31 views

nic configuration on a linux virtual machine (rackspace)

I am trying to check my nic speed and duplex setting on a vm I have at rackspace. It is centos 6.4. When I run: # ethtool eth0 Settings for eth0: Link detected: yes This is all I get back. ...
-7
votes
1answer
36 views

How we can install MySQL-server-community-5.0.51a-0.rhel4.i386.rpm [closed]

How we can install MySQL-server-community-5.0.51a-0.rhel4.i386.rpm and MySQL-client-community-5.0.51a-0.rhel4.i386.rpm on Centos 7?
1
vote
0answers
82 views

Why do I get an OpenSSL Error when connecting PHPMyAdmin through SSL?

I'm running PHP 5.6.11 on Apache 2.2 with OpenSSL 1.0.1 on Ubuntu 12. I've sucessfully setup SSL in Apache and MySQL. Now I want to set up a PHPMyAdmin and connect it through SSL. I don't really need ...
0
votes
1answer
79 views

Can't connect to mysql using ssl with compiled php [closed]

I have been bashing my head against a wall for a couple of days now. I just cant figure it out. I Run ubuntu 12 with plesk 12 and apache 2.2. I have tried compiled PHP 5.6.10 and PHP 5.6.11 with ...
-2
votes
0answers
15 views

What is the correct file size? [duplicate]

I got significantly different file sizes from du and ls, so who is correct? root@pve:/var/lib/vz/images/102# du -sh vm-102-disk-1.qcow2 717M vm-102-disk-1.qcow2 root@pve:/var/lib/vz/images/102# ...
2
votes
1answer
126 views

lsof doesn't show the established TCP connection

On my system, if I run the netstat for a port, it returns: $ netstat -nat | grep "60964" tcp 0 0 192.0.0.1:60964 0.0.0.0:* LISTEN tcp 59 0 ...
1
vote
0answers
32 views

Sudo Access for Active Directory Groups

I have my Linux machine connected to AD but I am unable to get sudo privileges. I can sign on using AD credentials, but sudo doesn't work. I have looked at everything I can find and everyone says to ...
0
votes
1answer
31 views

Kill process and child processes, not parent processes, not group

I need to kill a process and all of its subprocesses programatically. Killing the group is not an option because I do not want to kill the parent processes. Example: pid process 1 ...
1
vote
1answer
43 views

Kerberos master server to slave server automation?

I've set up Kerberos in my workplace running on Centos 6 boxes, and successfully propagated the master server database to the slave and also set up a cron job to update it automatically every 5 ...
0
votes
1answer
17 views

how to “reset” the whole /etc/apache2/ to factory defaults in SLES 11?

i got a SLES 11 sp3 Server where the whole /etc/apache2 seems to be messed up. If like to reset the whole thing to what i call "SuSE's factory defaults" so i can start over. Any quick tip ?
3
votes
1answer
64 views

How to find source of system running slow clock?

I've a problem on one of my Gentoo server. After some time, the clock starts running very very slow. It takes about one minute for one second to go. The major problem is that not only the clock is ...
0
votes
1answer
62 views

Ping response time suddenly rose up to average 1500ms or more

At normal situation the ping (8.8.8.8) response time is 50ms. But out of sudden it just peaked to 1500ms average or more and quite frequent recently. My server is CentOS 6.6 with eth0 (192.168.1.1) ...
-1
votes
0answers
25 views

Configuring bind9 for multiple domains

I was trying to configure two domains, first is working fine, but not the second. However, on server ping works fine for the second domain as well as named-checkzone responses OK. However I cannot ...
0
votes
1answer
53 views

Why is LDAP using servers other than those specified?

I have a linux system that is using Active Directory (2012) for LDAP lookups of users and groups. It's in a network that is connected to our main site by VPN. When the VPN goes down, all ldap ...
0
votes
1answer
91 views

Copy LVM volume group spanning two physical volumes on two disks

[update] i have copied the two primary partitions using gparted. now i am stuck trying to copy a single volume because it is made of two physical volumes each on separate disk...ideas? /sda5, /sdb1 = ...
1
vote
3answers
62 views

How to log all writes to php files with-in a specific directory?

Is there a way I can get my centos server to monitor my /home directory for any write requests to .php files and log the filename and timestamp of the write request? I have a feeling i have someone ...
0
votes
0answers
18 views

Cannot create a valid BPF program: bpf: check failed: parse error

I am trying to use xt_bpf iptables module to match for UDP DNS packets that have Recursion Desired bit set. I am slowly building my BPF program in assembly and compiling it through bpfc from ...
1
vote
2answers
42 views

How to disable ssh access for user from any IP except the specified one?

I need to limit the access of a user so that they can only login from a specific IP. Any attempts to log in from a different location should fail. How can I do this?
-1
votes
0answers
14 views

Extended the Disk size of linux cent os guest

I have linux cent os server on the hyper v and with this LInux machines, two VHD are attached, one is the bootable VHD and second is the Storage device. and i am running out of space on the ...
0
votes
1answer
30 views

Ubuntu Iptables FTP passive mode

I have a problem when trying to define iptables rules in my ubuntu server. I reject all connections and allow some like FTP. The problem is that in passive mode I can connect but I cannot list ...
1
vote
0answers
62 views

Advice Tuning my server

as many others I Learn many info from you in the past and now I manage to run server independently , now I am new to sql tuning and I been searching around the web a while now and tuning seems to be a ...
0
votes
0answers
13 views

after 487 Requst terminated there is no ACK

We have a weird problem. After a non successfull call (like a very long number and such), the phone (Yealink-any) gets "call time out" and then loses it registration. I ran wireshark and noticed that ...
1
vote
0answers
81 views

V2P - Using Clonezilla with VMware - but I have two virtual disks

Don't ask me why but I've been requested to V2P a VMware machine. I'm using Clonezilla and a couple tutorials online. But, my VM has two virtual disks (screenshot). Currently in the process, but if ...
5
votes
2answers
155 views

cpufreq-info differs from /proc/cpuinfo?

I have a server and I want to ensure it's always running at maximum speed, never in energy-saving mode. I've tried a few strategies (aside from rebooting and changing the setting in the bios, which I ...
0
votes
1answer
34 views

How do I safely clone a Linux VM in Hyper-V?

This is a home lab, so nothing critical. I have a base Linux ISO I'm installing for all my VMs, but the install takes a long time, and even once it's done, I still have to go install a ton of updates ...
0
votes
2answers
89 views

Duplicity backup to S3: BackendException

I'm trying to configure my Duplicity installation to backup to an Amazon S3 bucket. I keep getting a BackendException error with no further details. EDIT: I've removed my Duply configuration from ...
1
vote
1answer
35 views

Intermittent Permission Denied error when opening files from a SAMBA mount

As mentioned above, when I attempt to open files over a SAMBA mount, sometimes it works fine and vi opens the file up, but other times vi opens up and I get an error like this: "Windows/Custom2d.txt" ...
0
votes
1answer
38 views

Original IP lost with IPTables NAT to another server

I'm trying to forward all HTTP traffic from one EC2 linux server (external IP 11.11.11.11) to another one (external IP 22.22.22.22), these rules set: sudo iptables -t nat -A PREROUTING -p tcp --dport ...
0
votes
0answers
14 views

Write files in usb when connect by /etc/udev/rules.d/

I am trying to write some files in usb when connect it in linux.. Actually, I have a file in in /etc/udev/rules.d/ with: ACTION=="add", ENV{ID_FS_UUID}=="9FE8-99G3", RUN+="/usr/bin/sudo -u ...
-1
votes
1answer
30 views

The best way to copy OS on RAID10 and lvm partition

I need to backup/clone the entire operating system. The problem is it's 2TB of data on lvm partition and RAID10 (i do not know is it dedicated controller or fake RAID in BIOS. Probably the second ...
1
vote
2answers
83 views

how to force a http webapp so use https (ssl)?

On our Linux Server we got some sort or WebApp running its own little webserver using http ONLY. That means it does not support ssl by itself. So im looking for a way to have "something" packed in ...
1
vote
0answers
23 views

How to get the serial console logs via ethernet port? [closed]

I have a board running Busybox linux and for my debugging activities I always have to connect physically to the serial port to get the serial console prints and logs.I believe using netcat tool we ...
0
votes
0answers
22 views

ubuntu server dropping packets

I have a Ubuntu server 14.04 running nginx 1.8 with gunicorn. nginx is with 16 workers (1024 connections) system network stat using ss -s command is: Total: 15713 (kernel 0) TCP: 198006 (estab ...
0
votes
0answers
15 views

How to delete all data in a Cassandra

I'm looking for a way to delete all of data in cassandra using script shell who will be executed from rundeck job. thanks in advance
0
votes
0answers
29 views

Force local IP traffic to go through LAN WITHOUT ip address changes

I know there's some topics about forcing local IP trafic of a Linux machine to go through the LAN (over the network where a WireShark is captuting trafic) but all solutions implies IP address ...
0
votes
1answer
42 views

How to turn standart linux commands to nocache mode?

There is a way to run commands in linux without caching the result, i.e: nocache cat big_file.txt Is there is a way to make this nocache mode as auto mode? Something like a global setting. The ...
1
vote
1answer
46 views

Source script before httpd service starts

Back in the good old days I was able to patch /etc/rc.d/init.d/httpd with some additional lines of code that executed on every apache start: start() { echo "Setting variables..." source ...
0
votes
1answer
9k views

after install ssl certificate fatal bind xxx.xxx.xxx.xx port 587 already in use

I have an Ubuntu 12.04 server setup with Virtualmin/Webmin latest version using a self-signed certificate generated during installation working fine for more than a year without any problem. This week ...