Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

0
votes
0answers
63 views

system won't poweroff, restarts with :“Synchronizing SCSI cache”

Running Debian testing, after a system upgrade a while back my machine started to refuse to power down. It hangs with: Synchronizing SCSI cache Waits a few seconds, and then reboots itself. It ...
1
vote
0answers
36 views

Why are USB partitions & disk capacity not coherent between fdisk, parted, dmesg & /dev/sdXy

Disclaimer: I initially posted this on SF : http://serverfault.com/q/645670, but I think it better fits here First, a word of context: I'm trying to burn an ISO on a 16 Gb USB key, but I'm having ...
26
votes
7answers
26k views

Correctly determining memory usage in Linux

I'm a bit confused on some of the results I am seeing from "ps" and "free". On my server, this is the result of "free -m" [root@server ~]# free -m total used free shared ...
3
votes
4answers
376 views

Transform a directory into file or a file into directory

I wanted to create a file named test. Accidentally I run mkdir test instead of touch test. Is it possible to convert test directory in a file named test? What about converting a file named test into ...
6
votes
3answers
6k views

Should a laptop user switch from ext4 to btrfs?

Related to this. I'd like to take advantage of an OS switch to upgrade to BTRFS. BTRFS claims to offer a lot (data-loss resiliency, self-healing if RAID, checksumming of metadata and data, ...
1
vote
0answers
55 views

Unable to mount a UFS filesystem from Sparc Solaris to x86_64 Linux

I have a requirement to copy a very large amount of data from a Solaris 9 (Sparc) system to a SLES11 (x84_64) system. The Solaris system is quite old, and transferring the data over the network will ...
2
votes
1answer
40 views

No EOF, when a program reads its own executable file on cifs mount

My java-based installer couldn't copy itself to target dir eating all disk space and I thought it was a java bug, but then I reproduced it with plain dd. When I try to read my own executable using a ...
3
votes
2answers
31 views

How to print a range of IP addresses with Linux seq command

How can I print a range of ip addresses on linux command line using the "seq" command? For eg: I need seq to print a range of ip from 10.0.0.1 to 10.0.0.23 . Seems like the period in between the ...
4
votes
1answer
7k views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running eclipse on ubuntu

I was trying to open eclipse in my ubuntu VM with the below commmand.. And as soon as I do that, I always get the below exception - ubuntu@username-dyn-vm1-48493:~$ eclipse Eclipse: An error has ...
5
votes
4answers
6k views

Switch Fn key state

I have this issue with Lenovo Thinkcentre Edge. Its keyboard has Fn key, which acts in my Ubuntu (with Fluxbox) as if it is always "active/pressed". I can't use standard F1-F12 keys unless I hold ...
1
vote
1answer
901 views

How to access u boot environment from linux?

How can I access and change the u-Boot env variables in linux. Using the u-boot/tools/env directory in u boot directory: u-boot$ make env Which created the executable file fw_printenv. I copied ...
4
votes
4answers
2k views

Partitioning a 2tb drive

Im new to linux Im planning to install Squeeze on a 2tb hard drive a follows: / - 10gb swap remaining space will contain /home, around 1.9tb i hope, i will try to use as lvm to add my old 1tb drive ...
2
votes
1answer
366 views

Linux slows down after long uptime

Occasionally I leave my openSUSE 13.1 64-bit system KDE-based up for a few days or even a week without a reboot. However, I notice after a night of idle standby the system gets very slow when I want ...
0
votes
1answer
428 views

Unable to mount root fs over NFS

I am attempting to set up the first (of many) Raspberry Pis running Pidora (a Fedora Remix) to boot from an NFS share. It is my goal to eventually place a dozen or more Raspberry Pis in the datacenter ...
4
votes
2answers
2k views

Set default sound card in Pulse Audio

I have two soundcards on my systems and pulseaudio always picks the wrong one. How do I set up the default soundcard in the pulse audio preferences?
1
vote
1answer
94 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
0
votes
1answer
129 views

What software should I use to create a HPC (High performance compute) cluster with CentOS 6.5 VMs locally?

I've read about Torque, Slurm resource managers and Maui, Open Grid scheduler, Sonf of Grid Engine but I do not know which is more appropriate to use in a local environment? I've also read that I need ...
1
vote
0answers
16 views

Login kickout every time in Ubuntu Server 14.04 LTS

We have installed Ubuntu 14.04 LTS in our production servers. Our dedicated server disk was filled, due to that issue, one of the production servers stopped. While troubleshooting I found that disk ...
0
votes
1answer
37 views

Where can I download the software RPM for Redhat?

I try to download some software RPMs(such as gcc, gdb, etc.) for Redhat enterprise version. But after googling, I only find this website:https://access.redhat.com/downloads. This site doesn't seem to ...
1
vote
2answers
53 views

Mount zip file as a read-only filesystem

I am looking for a way to mount a ZIP archive as a filesystem so that I can transparently access files within the archive. I only need read access -- the ZIP will not be modified. RAM consumption is ...
0
votes
0answers
39 views

unfound characters [closed]

All, In this string: 14.10,and apt-get,it option。 ... on my machine (Debian Testing), there are three little 'boxes', one after "14.10", one after "apt-get" and one after "option". These boxes ...
2
votes
1answer
19 views

Enable numlock only for external keyboard

I'm not sure this is possible, but I thought why not to ask. I have a laptop without a numeric block, and use it sometimes with external keyboard. Numlock for the internal keyboard = useless, so I ...
2
votes
2answers
709 views

How could I eliminate Kerberos for passwd?

When I issue a command to change my password like this: sudo passwd huahsin The system prompt me: Current Kerberos password: I don't know what I have done to the system configuration, how could I ...
2
votes
0answers
19 views

How do I get ata-style IDs in /dev/disk/by-id to work for USB disks?

I have USB drive dock that I'm plugging SATA drives into. The way they show up in /dev/disk/by-id seems to be dependent on whether the drive has a partition table (usb if not, ata if yes). This makes ...
12
votes
3answers
956 views

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
17
votes
2answers
40k views

How can I change a user's default group in Linux?

Being new to Linux administration, I'm a little confused about the following commands: useradd usermod groupadd groupmod I've just finished reading the user administration book in the Linux/Unix ...
1
vote
2answers
894 views

running kernel on QEMU

I face this message: Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel. I am using this command line: qemu-system-x86_64 -hda disk.img -kernel ...
2
votes
0answers
40 views

Can no longer start Chrom{ium|e} as normal user

I am no longer able to run Chromium or Chrome as a normal user (though I can run as root). I have tried rebooting, reinstalling both applications, moving .config files, changing gtk themes, and ...
-4
votes
0answers
26 views

script to get login details of employess [closed]

a company owner wants to check which of his employees are on time and are late. WASS for getting the login details of the employees.
-2
votes
4answers
165 views

Why doesn't the nohup command seem to be working?

Please let me know any example that shows nohup is working for a program even after logout. I tried using it without the nohup command to run a script in the background and it seems to be working even ...
1
vote
3answers
240 views

Taking away a User's Read/Write/Execute Permission

So I have a user that is able to go in /etc and read files like httpd.conf. I would like to deny that user access to any critical locations such as /etc, /var and so on. What would be the best way ...
4
votes
1answer
397 views

Windows Changes File Permissions in Samba File Shares

I have mounted an external USB drive that is used for file shares on CentOS. All of the clients access the shares are Windows XP or 7. Within Windows, I use the "Manage your credentials" feature in ...
2
votes
1answer
360 views

Is it possible for DHCP to assign different IP addresses to the same machine?

I have installed and configured a DHCP server on my CentOS 6.5. It works properly and assign IP addresses to the clients machines on my network, and as I noticed when a client reconnect the DHCP ...
0
votes
0answers
27 views

unlimited tmpfs

How to have the advantages of tmpfs and not be limited to its small size? I'm thinking of a shell script that runs as a daemon, monitors RAM and adds more swap files in specified folder, when memory ...
1
vote
1answer
23 views

Cluster Lock Manager without TCP/IP

I have 2 linux sharing same SAN disk LUN. There are many cluster files systems to manage lock/unlock. But all of them are using a seperate TCP/IP comminication. But I need a cluster lock manager ...
1
vote
2answers
26 views

data recovery from form an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
0
votes
1answer
2k views

Open xlsm file in linux?

For all my spreadsheet needs, I've found Open/Libre Office works fine, and I can receive xls and xlsx files from colleagues, and send files to them. However, I have recently been sent a large xlsm ...
1
vote
1answer
963 views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class ...
6
votes
1answer
50 views

LUKS key from known password?

I have a hard drive with Ubuntu 14.04 installation - root partition was encrypted with LUKS. I had some configuration problems and wanted to re-install Ubuntu but keep all my data so I moved all my ...
2
votes
1answer
501 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I've setup a chroot environment for one of my users called client on my system. I'm using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I can ...
0
votes
1answer
29 views

Understanding NAT concepts

I began learning networking on Linux, and I am looking for a way to associate a particular IP to a particular MAC address (i.e. a way to edit the NAT table?). Actually I am trying to assign some IPs ...
8
votes
2answers
340 views

Linux cache evictions

Looking at how the VFS cache on my Linux machine behaves, I can see that even when effectively idle (crond and most other daemons stopped, interfaces down) the amount of free memory gradually ...
4
votes
3answers
537 views

Are there any ways or tools to dump the memory cache and buffer?

As the title, I want to check out what files are loaded in buffer. Just so it's clear, the buffers & cache I'm referring to are what show up when you run the free -m command: $ free -m ...
1
vote
1answer
1k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
0
votes
1answer
40 views

How can I write an alias for cd such that it will fire ls after going into the directory to which I just cd'ed into? [duplicate]

Lets say I want to do cd home and then ls -lrth. I want these two things combined into a single command. I tried writing an alias, but it didnt work. Can you help me ?
0
votes
0answers
24 views

Can I share a Virtual Machine between Ubuntu and Windows 7?

I have a Ubuntu Server virtual machine configured on Windows 7 which has a NAT and Host-Only network adapter configured. I have ports forwarded on the NAT connection in order for my host (W7) to ...
13
votes
3answers
762 views

Do different distros (but same kernel ver) have same hardware support

As far as I know the device drivers are located in the Linux kernel. For example let's say a GNU/Linux distro A has the same kernel version as a GNU/Linux distro B. Does that mean that they have the ...
0
votes
1answer
20 views

tslib tools don't draw anything on the screen

Trying to calibrate touchscreen for Qt apps with tslib on ARM-device. When running ts_calibrate or ts_test, they both work (i.e. return info about touches) and ts_calibrate successfully calibrates ...
1
vote
3answers
2k views

RHEL:Change Screen Resolution of Virtual Console

I am working on a RHEL 6.3 Workstation. And the monitor is a HD AOC Monitor. Problem I am facing is whenever this machine starts up, it runs with maximum screen resolution. It is a big screen and ...
2
votes
1answer
169 views

RHEL 5 complex port bonding

The RHEL 5 documentation is good about bonding pairs of ports in various ways. The Oracle team where I work want to get more complex than that. They want an active bonded pair, with a third interface ...