Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

-1
votes
1answer
30 views

Updating extensions after PHP upgrade on CentOS 5.6

I'm completely new to pecl, yum, rpm, packages and all the stuff required to get this done, so I'm hoping some of you smarter more experienced people can help me out. I only have a vague notion of ...
1
vote
0answers
9 views

Remotely use a platform device

I have a linux/android device with a certain hardware module (lets call this pc A), and a driver which uses the hardware as a platform device. Because of testing/os restrictions I'd like to be able ...
-1
votes
0answers
11 views

pci_lookup_name how to? [migrated]

I'm new to libpci. I wrote a C program, that can dectect the GPU and give its vendor_id and device_id. Now I don't know if I can get the vendor_name from its ID using libpci. vendor = ...
2
votes
2answers
32 views

Apps with Gtk2 dependencies in a KDE environment

I have recently installed the KDE version of Manjaro Linux (I was only using Gnome environment derivatives before). When I decided to install a few of my favourite apps (Sublime3, Remmina), I have ...
0
votes
1answer
35 views

How do I set up passwordless authentication with non-root users?

Using two CentOS 7 servers, I set up passwordless authentication with root users. It works fine. I tried to use the same method (with .pub and authorized_key files) with other local users. But these ...
3
votes
1answer
73 views

Why do Unix-like operating systems shut down faster than Windows? [closed]

I've tested many different operating systems on the same machine. Windows 7, 8, 8.1, OS X, Ubuntu, Linux Mint, Android x86, and Remix OS. All the Unix-like/based operating systems had in common a ...
1
vote
0answers
25 views

MD RAID 5 module doesn't load at boot

I recently upgraded my NAS to kernel 4.4 and now my md raid 5 array doesn't assemble itself at boot. dmesg reveals this: [ 2.299666] md: personality for level 5 is not loaded! and doing lsmod | ...
0
votes
1answer
26 views

Installing apr(apt-get install libapr1-dev libssl-dev) in my linux system giving me errors

Because of some security problems I am moving to Apache 7 from Apache 6. I am trying to install apr packages in my linux machine. I am using the following command to install apr. apt-get install ...
0
votes
1answer
36 views

Need help with mcelog: random freeze on Ubuntu/Fedora/Win10

My newly built computer freezes randomly. When it freezes, it doesn't respond to keyboards or mouses, so REISUB or ctrl+alt+f1 (or f2,f3.. etc) are of no use. I had tried different graphic card ...
-1
votes
0answers
23 views

Iptables - Forwarding in CentOS - Maintain Source Address [closed]

We have a CentOS 6.5 server setup to forward traffic using iptables - Question: How do we have the client IPs maintained when they are passing their syslog data through the forwarder to our endpoint ...
1
vote
0answers
29 views

Bash one liner not looping [duplicate]

I am trying to loop through a file to run commands remotely via SSH but its only sending the first command and stopping. while read a b c; do ssh root@$remoteserverip "/usr/bin/mysql -e \"grant all ...
0
votes
1answer
16 views

Scientific Linux 7.1 (rhel 7.1) Gnucash from EPEL stopped working

Suddenly today I tried to launch GnuCash on my computer and nothing happened. I went to a terminal and tried to start the program and got: gnucash: symbol lookup error: /lib64/libwebkitgtk-1.0.so.0: ...
-1
votes
1answer
54 views

Report of sudo usage

How do I get a report (either CSV or an Excel file) on who is using sudo on my machine, and which account they're switching to?
1
vote
0answers
14 views

How to mount to subdirectory of autofs

I have follong problem - I'd like to use autfs in one place to mount to subdirectory of autofs. I.e. I'd like to have something like: foo -fs=... bar/baz -fs=... The problem is that (according to ...
0
votes
0answers
36 views

What's the difference between udev and acpi(d)

They both seem to be receiving & processing kernel events, so why do they both exist? From what I gather, ACPI seems to be more high-level compared to udev, but apart from that can't really tell. ...
1
vote
1answer
18 views

How to copy text of virtual terminal from graphics mode?

Linux have virtual terminals, one can switch between them with chvt 1, chvt 7 commands. Former is in the text mode, later is in the graphics mode. I want to copy all the text from first terminal, ...
0
votes
1answer
34 views

Change unix user environment

Logged in as user1, I'd like to project to another unix user env, let's say user2, without type it's password. By "project", I mean: - change current $HOME - call user2's bash startup scripts (to get ...
0
votes
1answer
25 views

What format gives photorec to files?

I have to recover a file from my usb. I didn't find it on the net. How does photorec call files of unknown format? For instance, I have a file named *.jks . How can I find it in the recovered ...
0
votes
0answers
13 views

Context menu position wrong gtk3 on hidpi

GTK 3 seems to have a problem with when running on hidpi screens outside gnome shell. I have dpi and screen dimension correctly configured via xrandr (192 dpi), i3 runs just fine. In ...
1
vote
1answer
23 views

Building an LFS system using ELLCC

Firstly, this isn't my first attempt at building an LFS system - I've already successfully built LFS 7.8 and LFS 7.8-systemd. I would like to replace GCC+GlibC with ELLCC, which is Clang/LLVM+musl. ...
0
votes
1answer
14 views

alternative approach for selective deletes from rsnapshot tree with find?

I'm looking for a generalizable solution to this problem, 'cause I'm sure it will come up again. I have a client that does medical research. Periodically we have to remove the datasets provided by ...
0
votes
1answer
15 views

Which components of Linux IO subsystem are device-independent and device-dependent?

From Tanenbaum's Modern OS, every operating system has an I/O subsystem for managing its I/O devices. Some of the I/O software is device independent, that is, applies to many or ...
3
votes
2answers
26 views

Redirect console to a serial port

I have a serial port /dev/ttyS2 that is connected to a supervisor. Normally, I use this line to send commands back and forth between CPU and supervisor. However, under some settings, I want to just ...
-1
votes
1answer
17 views

Are there any reverse package indexes?

I am looking to use specific software in Linux - some of the fancier security kernel patches, maths software such as Isabelle, the Spark compiler, nVidia drivers, nothing exceptionally exotic and ...
1
vote
1answer
31 views

What is the power dissipation of the CPU and how does it work?

I'm looking into TLP and there is this setting that I don't know what does it do: # Set Intel P-state performance: 0..100 (%) # Limit the max/min P-state to control the power dissipation of the CPU. ...
0
votes
1answer
18 views

Crontab and screen at reboot

I try to create a cron command that execute a software in a screen during start-up on my Debian. It seems easy by doing this command but it doesn't work (no screen created during start-up): ...
2
votes
2answers
57 views

Current umask of a process with <pid>

Is it possible to get current umask of a process? From /proc/<pid>/... for example?
3
votes
1answer
37 views

Why can't my servers talk to each other over direct ethernet connection?

I have two servers running RHEL 7.2. Each have 2 NICs. One NIC talks to a switch, and other is a direct connection between the two servers. One of the servers will be an NFS server, and the second ...
0
votes
1answer
23 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
1
vote
2answers
35 views

Replace part of filename by directory name

I have folders named ACB* and in it among many other files, a couple of files called scanAC_* I want to delete the part called scanAC and replace it with the directory name it is in. For example, ...
0
votes
2answers
36 views

command not found error after giving permission to access file using chmod

I've been trying to run a script using chmod. Here's how I tried to execute the script: $ chmod u+x tester $ ./tester ./tester: Command not found. I always get the Command not found error and I'm ...
3
votes
0answers
38 views

Can using chcon to essentially bypass selinux be less secure than setting selinux to permissive?

I was wondering if it is possible to make a CentOS 7 server less secure by using chcon than it would be if SELinux were in Permissive mode. I am essentially trying to set up Phusion Passenger with ...
0
votes
0answers
23 views

Function call inside make file ( Linux)

Inside a makefile, I saw the entries below: main entry pkt_srv() { } pkt_ent() { } pku_lib() { } So, is this calling another make file. i.e pkt_srv.mak and pkt_ent.mak and what is the ...
3
votes
3answers
77 views

how to monitor a unix directory and if any new file in directory it will be copied to another directory

I want to monitor a unix(Solaris 10) directory and if there is any new file i want to copy immediately. Tried: I have shown inotifywait and incron package in linux for it but i don't know whether it ...
3
votes
2answers
64 views

Is it OK to install 32 bit linux on virtual pc on 64bit windows system?

I am trying to download ubuntu 32 bit to run in virtualbox. is it ok to run 32 bit os on virtual box in my windows 64bit pc? or do i need to download only 64 bit os to run in virtual box of my 64bit ...
1
vote
0answers
11 views

FORTRAN executables: heap maxed out

I am trying to run a FORTRAN program on stampede (xsede machine). The error message I am getting is 'heap maxed out'. I think it has something to do with virtual memory allocation. So I use the ...
0
votes
2answers
38 views

Linux beginner. What OS should I use? [closed]

I recently started JAVA programming and I would like to start learning Linux programming simultaneously. I run a mac and I am planning to use Oracle VM VirtualBox to boot linux. What kind of Linux OS ...
0
votes
1answer
26 views

Downsides of processes with high virtual size but low RAM and GPU memory use

I have noticed that some of my processes take a lot of virtual size in my computer. I understand that the virtual size of a process is the sum of memory it is actually using, memory it has mapped into ...
0
votes
0answers
34 views

Arch install grub cfg file LVM errors

i have been doing an arch installation on top of windows 8 using USB live iso. I partitioned my HDD as follows: SDA1->350mb(windows related) SDA2->781gb(windows related) SDA3--extended ...
0
votes
1answer
29 views

How can I rename a syslog file

How can I rename a syslog file, for example from test.log to test2.log, running on Linux server?
0
votes
3answers
82 views

Need some help on grep command on shell script

I have a log file and I am trying to write a shell script to find multiple strings in a file on multiple lines. For example if I see the phrases ...
0
votes
1answer
25 views

Can I run 1 install on different PCs?

As the title says can I run 1 install of CentOS on different PCs with different specs from a USB install? Thanks
1
vote
0answers
39 views

Linux: Why do init and systemd use so much I/O?

This is probably unanswerable. But maybe someone else will have this problem and find this question, append to it, or proffer an answer. I discovered the pidstat command with its -d option, today. ...
1
vote
1answer
36 views

How to check the erase block size of a Usb flash under Linux?

How to check the erase block size of a USB flash under Linux? Someone said /proc/mtd might be helpful, while for my Centos7 server, there isn't such file. Thanks in advance. Updated on Jan 28 2016: ...
0
votes
0answers
17 views

Why select do not tell me that a client wants to connect? [migrated]

I've made a simple tcp server that I can test with telnet program. When running it on windows, it works as expected, when running it on linux, the behavior is strange: telnet clients understand ...
1
vote
1answer
48 views

How do I find files older than 1 days using mtime? [duplicate]

I'm trying to remove all files more than 1 days old.Before I execute a script to remove the files,I try to find the files using mtime. however, I face same problem with my command- My Current date is ...
0
votes
1answer
38 views

How to fix Linux from doing fake Restarts?

Just as my question title states, how can I stop Linux from doing a fake Restart Computer when I go to select Restart from the Quit menu. What I mean by a fake restart is that, it goes to do a ...
4
votes
2answers
29 views

Change user maildir to custom location upon creation of the user

I use Ubuntu 14.04.3 LTS . How to change the location of the Mailbox /home/user/Maildir/ to /Location/Mail/? I dont have to create home directory for that user. I did some changes in the ...
1
vote
0answers
16 views

How will glusterFS performance degrade (if at all) with > 2 nodes

I have two API service nodes one Amazon Web Services. These nodes are mostly for servicing API calls. They also serve some image content. There's a load balancer in the front so that URL ...
0
votes
1answer
18 views

What service executes that sets up the real time clock

I'm looking for the service that runs that sets up the correct time on my system. Does anyone know what service does this?