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

learn more… | top users | synonyms (1)

18
votes
2answers
3k views

What is the largest hardware clock update the Linux kernel “11-minute mode” can make?

When certain time-related programs (like ntpd) are running on a Linux system, the kernel will switch into so-called "eleven minute mode" (see the hwclock man page) whereby it will automatically update ...
1
vote
1answer
906 views

Monitoring MySQL Rollback Segments

I recently discovered the default open transaction ceiling of 1024 in MySQL. I have since increased the limit using innodb_extra_rsegments. However, I would like to keep my eye on this moving forward. ...
0
votes
1answer
2k views

How can I register a RHEL6 server via kickstart without using up a “Management” entitlement?

It seems that the only way I could get RHEL 6 to register is adding the following to the kickstart's %post stanza: rhnreg_ks --serverUrl=https://xmlrpc.rhn.redhat.com/XMLRPC --sslCACert=/usr/share/...
2
votes
2answers
468 views

Determing the Execution Environment of Apache

I am having this error: [Mon Dec 05 10:22:23 2011] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS! [Mon Dec 05 10:22:23 2011] [error] (13)Permission ...
0
votes
2answers
1k views

start-stop-daemon checking for existing running process

I'm starting a Python script that I've created using start-stop-daemon. It works perfectly in all cases, except when I've forgotten that I've already started it. It creates a new process, but is ...
0
votes
1answer
137 views

How to use rsync to copy images and dir

I am in the middle of merging 2 directories into 1. /competitions/1 /competitions/2 /competitions/3 /gallery/1 /gallery/2 /gallery/3 I want to copy all the files in /competitions to /gallery and ...
6
votes
2answers
3k views

How to allow multiple people to change mtime -timestamp of a file through sftp?

I have a directory that multiple users have access to. They change, upload, and delete files in the directory. They all belong to the same user group. The files in the directory have access rights of ...
0
votes
4answers
3k views

How to copy a file with filename “+” and rename it?

I have a file named +13x18_DSC_0800.JPG on a linux server (Please don't ask me how it got there as I have no idea how it got there). I wish to rename it to 13x18_DSC_0800.JPG. However I have not ...
2
votes
1answer
413 views

Is it possible to monitor NTP through SNMP in Linux

Is it possible to monitor the NTP drift value ( I mean measuring the time difference between the NTP server and the server that I am trying to monitor) using SNMP.
0
votes
4answers
259 views

What is the advantage of 'Enterprise' linux distributions? [duplicate]

Possible Duplicate: Are there any reasons NOT to run an Ubuntu server? Why most of hosting providers use RedHat Enterprise and CentOS? What is the advantage of using them compared to, for ...
3
votes
3answers
13k views

crontab execution doesn't have the same environment variables as executing user

I ran my crontab job 0 2 */1 * * /aScript >aLog.log 2>&1 as a 'root' user, and however I found the env is different from env of the 'root' user, and therefore experiencing a different ...
11
votes
4answers
2k views

Best way to prevent the root system filling up when a mount fails?

We have an internal web server (virtualized, hosting ReviewBoard, but not super relevant) and we have a relatively consistent failure mode with failed NFS mounts causing / to fill up. Distro is Ubuntu ...
6
votes
5answers
8k views

How to list all requests to udp sockets?

I'm operating a couple of server daemons that use udp to communicate with large number of clients. How do I find and list out all the active udp "connections" that are talking to the servers in order ...
0
votes
1answer
969 views

FreeNAS vs Full Linux

I've been running a FreeNAS box for a few years now and have learned a little bit about the *nix architecture and command line in the process. I'm now running into the limitations of FreeNAS and there'...
0
votes
1answer
176 views

DIY: automate cloning of Xen VMs, gold templete?

looking for DIY way without commercial tools like XenServer LabManager product.
3
votes
1answer
771 views

Puppet conditional include based on selinux fact not working

I have a class in a module: # File: modules/selinux/tools.pp class selinux::tools { $packages = ['policycoreutils-python',] package { $packages: ensure => ...
1
vote
2answers
4k views

How to remove route with IP?

Used to ban some flood-bots with route add -host $ip reject But couple of 'good' IPs were banned as well. My question is stupid (but I've searched and found no good solution (all were large and/or ...
9
votes
3answers
10k views

Centos User account nologin but possible to su into account

I'm new to CentOS (running CentOS 6). I have previous experience with OpenSuse. I'm trying to setup an account for a user. I don't want the account to be available for login via ssh or via the login ...
1
vote
3answers
143 views

Managing weekly backups

I have written a script which takes MySQL dumps and uploads it to Amazon S3. I have added the script to the cronjob and it runs at 2 o'clock in the midnight and uploads the MySQL dump to S3. I am ...
1
vote
1answer
1k views

Why can I only upload files via vsftpd if folders are chmod 777?

I have a problem with vsftpd on Debian: I can upload files if the chmod of all folders is 777, but with chmod 755. Please help. vsftpd.conf: local_umask=022 anon_umask=0755 file_open_mode=0755
0
votes
1answer
563 views

How can I locally analyze SMART logs from a server?

I have Ubuntu 10.04 server running on a desktop at home. I rebooted, and the machine was unreachable after 10 minutes or so. At this point I should have connected a console (monitor using VGA cable). ...
18
votes
5answers
7k views

SSH from A through B to C, using private key on B

I'm looking for a simple way to SSH from my local machine, A, through a proxy, B, to a destination host, C. The private key that goes with the public key on C is on B, and I can't put that key on my ...
1
vote
1answer
2k views

Messages deferred (time out while sending message body)

I have a Linux CENTOS Server running PostFix. It has no mailboxes, but is a mail gateway, for several Domains in another destination Server, which is also a Linux CENTOS running Sendmail. So, after ...
4
votes
3answers
5k views

Uploading 200GB of files to S3

What's the best way to upload 200GB tar.gz files to S3 in Linux? On researching I found that S3 limit on objects has been increased to 5TB and came to know about the multi part upload mechanism to ...
15
votes
3answers
2k views

Strange bash history behaviour when running multiple sessions

How is command line history stored when I use multiple terminal windows? I know it is stored in .bash_history but I can't see the logic on what history is used if I open new window. It almost feels ...
7
votes
3answers
612 views

SSH via 3rd Machine

Local Computer (Fedora) --SSH--> Server1 --SSH--> Server2 In some environments I work in, we have to use "jump boxes" where you ssh to one server in order to get to another server. Is ...
6
votes
2answers
1k views

Implications of 100% utilization on dm device

We have a RHEL 5.6 server here with 4 active paths to a single LUN. We suspect that it's not able to cram enough IOs down the pipeline to the XIV on the other end: mpath0 (XXXXXXXXXXXXXXX) dm-9 IBM,...
121
votes
27answers
46k views

How do I prevent accidental rm -rf /*?

I just ran rm -rf /* accidentally, but I meant rm -rf ./* (notice the star after the slash). alias rm='rm -i' and --preserve-root by default didn't save me, so are there any automatic safeguards for ...
1
vote
3answers
119 views

Will I need more system resources to run DB2 instead of MySQL?

I need to convert my web application from MySQL to run on DB2. I need to know in advance whether I will need a high spec server to ensure the web application performs at the same speed as it does now ...
1
vote
4answers
119 views

Linux - Date of the latest modified file in a folder

What I want to accomplish here is this: I have an apache website, and on that website, I want to display something like Latest website update: 01/12/2011 at 6h32 AM I had an idea on how to do ...
0
votes
2answers
891 views

Open port on CentOS

I want to change my SSH port on CentOS. But first I want to make sure the port is open before doing this. Since SSH is the only way for me to access the server and I don't want to lock myself out :-)...
0
votes
1answer
663 views

Linux - Test the write speed of an NTFS HDD USB drive

I have a Debian box with an USB HDD drive formated in NTFS connected to it. I would like to test the write speed of it because with samba, when I upload files to it from my Windows 7 laptop, I got ...
4
votes
1answer
8k views

How to get/install xmkmf?

I would like to compile FreeNX like so aptitude install build-essential apt-get install subversion patch apt-get install expat fontconfig xterm zlib1g libgl1-mesa-dri libgl1-mesa-glx libglu1-mesa ...
4
votes
3answers
7k views

Is there a way to delete 100GB file on Linux without thrashing IO / load?

I have a huge log file I need to delete on a production web server. I'm worried it'll bring the system to a crawl if I rm it on Linux. Any brilliant ideas? Update: Filesystem: ext3 Partition: /var (...
0
votes
2answers
966 views

Trying to host my own domain, using BIND and CentOS 6. Please check my named.conf and zone for errors

delegated the namesever/ip records around 24 hours on the registars website but things aren't working. NAT: forwarding all UDP/TCP requests to internal server IP on port 53 (ISP not blocking) and ...
8
votes
6answers
14k views

Monitor network traffic volume over interface

Is there a way to monitor the traffic (e.g., get a live view of the utilization) over a particular network interface, say eth0? The catch here is that the set of tools on the box is fixed, and is ...
3
votes
3answers
2k views

Domain-0 high CPU load

My Xen HVM machine has 4 cores on 2.4 Ghz however top gives me a load of 2-3. There are running 20 VM's on it (most of them are idle). The HDD is also almost idle (200 KB/s write and 6 KB/s read). ...
1
vote
2answers
150 views

Incorrect key file Mysql error

An interesting mysql error has popped up on an ExpressionEngine site I'm running recently. When trying to access the admin control panel I get the following mysql error: Error Number: 126 Incorrect ...
2
votes
1answer
598 views

unable to boot centos

I'm unable to boot centos 5.2. It starts and shows me menu listing, which means there is not any issue with grub. Here is screen shot after starting server... it goes to prompt bash prompt instead ...
2
votes
2answers
6k views

Run fsck -y everytime at startup on my main partition Linux

I have an embedded linux system. I use grub2 for the boot loader. I would like to run an fsck -y /dev/sda on /dev/sda every time it boots--even when the system had a power loss and the reboot command ...
1
vote
2answers
3k views

/dev/dvd is missing on my centos 6

I just installed a minimal centos 6 through a usb dvd writer. It worked fine. But now I can't mount the dvd writer. I can't even found the /dev/dvd device. I guess a drivers is missing, but how do I ...
0
votes
1answer
677 views

Need help on configuring BIND, BIND-CHROOT on Centos 6

New to linux and just wonna test out hosting my own domain and respective zone file. Have already delegated nameservers/IP for that domain and created the DNS records. Installed BIND with Chroot and ...
5
votes
2answers
6k views

Share screen session with users in the same group (Linux)

I can create a detached screen session using the following command: [user1@host-pc ~]$ screen -d -m -S sname program ...and resume to it using this command: [user1@host-pc ~]$ screen -r sname Is ...
1
vote
1answer
2k views

Server extremely lags and logs bunch of 'internal dummy connection'

Having a web-server (don't know actually whoset it up, it's my heritage). Few hours ago it started working very (extremely!) slow, mysqld oftenly fails requests. /var/log/mysqld.log is empty (well, it ...
1
vote
1answer
119 views

my.cnf in server directory, why

On my Ubuntu machine, I have installed MySQL . I notice that there are /etc/my.cnf file which contain the content (only two lines): innodb_buffer_pool_size = 1G max_allowed_packet = 512M While ...
2
votes
4answers
22k views

How to change my commandline locale after CentOS decided to change it?

So apparently, CentOS decided I was Dutch, and thus, should not have a English locale. Apart from the fact that this greatly bothers me, I am having a pretty hard time actually changing it back. ...
4
votes
0answers
646 views

MasterShaper alternative [closed]

I'm looking for an alternative to MasterShaper, something possibly web-based which could allow me to manage QoS easily. Actually MasterShaper still looks supported, but would like to understand if ...
0
votes
1answer
255 views

xen domUs crashes or unavailability

I've xen server with 8 domU. Server is Xeon E31270 with 16gb ram. I think it is enough for 8 machines. Sometimes domU's crashes and i can't figure out the reason. After crash i can connect to console ...
2
votes
2answers
479 views

How much does FreeBSD differ from Linux?

I was trying to setup a NAS box for my ESXi server using linux, I was going to install ZFS and iSCSI and I thought everything was going to be awesome. I was wrong... ZFS on Linux is not the most ...
1
vote
0answers
1k views

Password expires 45 days even though 'Password Must Change' is set to 'never' (Samba+LDAP)

Since a few months ago Samba ask each of our users to change password at log on every 45 days (the default) and I have not been able to disable it. This setup had been running for 2 years before then ...