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

2
votes
1answer
17 views

FreeRadius : Logs not being generated in radacct directory

I have installed and configured freeradius on Red Hat Enterprise Linux 6.5 as per this guide. I have found that, everything is working fine, but no logs are generated in the /var/log/radius/radacct ...
-4
votes
0answers
9 views

Linux tftp running but not getting connected [closed]

:/etc/xinetd.d$ sudo /etc/init.d/xinetd stop Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service xinetd stop Since the script you are attempting to invoke ...
0
votes
0answers
16 views

Specific folder can't be able to see through Puuty but can be able to see through WinSCP

I am trying to run certain sh files under a specific path using plink, which i want to automate. manually i have tried to find the folder using putty but putty throwing an error "-ksh: cd: CO_HOME: ...
0
votes
1answer
24 views

Few questions about system calls and kernel modules (kernel services in parallel)

I have few questions about system calls and kernel modules. Let's assume we have two applications (A and B) and each of them is running on a different core. (A-CPU 0, B-CPU 1) When two applications ...
0
votes
1answer
26 views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
-1
votes
0answers
29 views

iptables v1.4.21: Couldn't load match `-d':No such file or directory [closed]

I am running kernel 3.14.18 and using iptables 1.4.21, built with these options: --static-enable --disable-shared When I run this command: /sbin/iptables -A PREROUTING -m -d 127.3.0.2/24 -j DNAT ...
0
votes
0answers
13 views

Wireless rtl8187se

I have a Toshiba laptop with an integrated wireless rtl8187se. I'm using Backtrack 4 and Kali Linux 1.0. The problem is I can't capture any handshakes even between the laptop and my router. When I ...
0
votes
0answers
5 views

Why is does proc_create mode argument 0 correspond to 0444 [migrated]

I am a newbie to kernel programming and am trying to userstand procfs. I have googled several examples and they all use: proc_create("hello",0,NULL,&proc_fops); where the second argument is the ...
0
votes
1answer
19 views

Can I configure IPFire (ARM) to use SSH by default?

I want to play with IPFire on my Pi, but I don't have a keyboard nor mouse to control it with. Is there a way to enable SSH by editing the image directly?
1
vote
1answer
27 views

how to list downloaded apt packages without dependecies

I'm trying to get the names of downloaded packages without dependencies.. I don't want to get all the files in /var/cache/apt/archives .. I only want to get the primary packages without dependencies I ...
1
vote
2answers
92 views

Last line is wrong when splitting a file with awk

I have a data file main.txt that looks like this 20130826,aaaaaaaaaaaaaa,bbbbbbb 20130826,sdfasdfasdfas,sdfasdfasd 20130826,dfasdfas,asdf2323 ... 20130827,sfasdfasdfasd,sdfasdfwea I used the ...
0
votes
1answer
22 views

Unable to install Arch Linux on SD card via Virtual Box

My aim is to create a bootable SD card with Arch Linux, for my Raspberry Pi. I have been trying to follow this guide without success. So far I have: A working Arch Linux virtual box, as my host is ...
1
vote
1answer
28 views

Run a script as root during boot and display in the default linux terminal?

Here's how I configured my kickstart system initialization script (this is a kickstart conf script snippet): ... %post --log=/root/ks-post.log --interpreter /bin/bash cd /root curl --silent ...
0
votes
0answers
19 views

OS Installer for Debian GNU/Linux Based Custom Distribution

I have built a customized Debian distribution for my client who are using my POS software. I install it to run the PHP Based Software in their machine as localhost. I am using two installer for this ...
1
vote
1answer
23 views

Possible to deliver centrally configured login scripts on Linux?

In Windows you can assign login scripts to users which run whenever they log into a system which allowing admins to do things like map drives/printers and generally do anything for which there isn't a ...
0
votes
0answers
10 views

synproxy on a bridge

I am trying to implement synproxy to my firewall, on a bridge interface (between eth1 and eth2). Here are my rules: /usr/local/sbin/iptables -t raw -i PREROUTING -i br0 -m physdev --physdev-in eth1 ...
0
votes
1answer
21 views

Dual Boot Install Question

I have Windows 7 and am going to reformat/reinstall, but want to try a dual boot configuration with Linux mint. If I install Windows creating 3 partitions: one for Windows, one for Linux, and one for ...
2
votes
1answer
45 views

To be SOX compliant I need to keep years worth logs. Need help with particuliars

My company is going through an audit and I have taking over the role of Linux systems administrator unofficially. I see our current logging system has it to were we basically keep a months worth of ...
0
votes
1answer
18 views

Permissions Issue for A Symlinked Directory

I have a web application running on Ubuntu 14.04. The app's deployment service creates separate users, groups and permissions automatically when deploying the app to my server on AWS. The app runs as ...
0
votes
0answers
17 views

How to prepare for a possible unreadable disk from bios after swapping disks?

How to prepare for a possible unreadable disk from bios after swapping disks? I want to switch out my old disk with my working linux mint 16 os and plug in a new disk and install linux mint 17. I am ...
0
votes
1answer
61 views

Apt-get blocks because of broken dependencies (libc6, Linux Mint)

Currently, Apt-get completely blocks because of some unresolved dependencies, when I run an upgrade I get this error: sudo apt-get upgrade Reading package lists... Done ...
0
votes
0answers
38 views

fopen problem when mounting ecryptfs filesystem

After an unrecoverable fsck problem the mount of my encrypted /home/me filesystem isn't possible any more. The visible effects are: a) logging in though most of the selectable GUI window managers ...
2
votes
1answer
23 views

asterisk network topology — KISS

is this the typical Asterisk topology??? On my home system, I have the Asterisk server, tleilax, and the client, doge, connecting into my router -- so that they're both on the same network. The IP ...
0
votes
1answer
14 views

Unlist update from update list openSuse

Is there a way to stop openSuse from trying to install a particular update? Everytime I have new updates, it tries to install kernel-desktop-3.11.10-25.1 (x64) along with a newer version (currently ...
0
votes
1answer
29 views

how to connect a softphone to asterisk

To give context, here's my network: On the tleilax server, there's clearly a result from sipsak on doge: tleilax*CLI> tleilax*CLI> core show version Asterisk 1.8.29.0-vici built by abuild @ ...
0
votes
1answer
37 views

yast routing problem — connect: Network is unreachable

---------------------------------------------------update----------------------- on doge the route works: thufir@doge:~$ thufir@doge:~$ route Kernel IP routing table Destination Gateway ...
0
votes
0answers
8 views

Should the patches for LFS be placed in sources folder?

While making an LFS system, a list of all packages need to be downloaded in the seperate folder named sources. Should the additional patches suggested, be also kept in the same folder i.e. sources?
0
votes
0answers
24 views

how to run bash script from isolinux.cfg

I've been trying to add an entry to a bash script to my custom cd boot menu.. So I've tried to edit isolinux.cfg and load it instead of kernel but didn't work.. Any ideas??
0
votes
1answer
13 views

Calling of scripts between init.d and home directory of server

I have a script (server_up.sh)that automatically makes server up whenever server gets rebooted and is placed on linux server in home directory. I have made another script "up_server.sh" in init.d that ...
1
vote
4answers
54 views

get file size and line count at the same time

I'm looking for a way to list all files in a directory, with both their size, and a line count. Right now I'm using stat -c \"%s %n\" /directory/* to get file names and sizes, and I know I can use ...
1
vote
0answers
25 views

Temporarily mounted filesystems suddenly unmount

On a CentOS 7 machine, I've had several instances recently where filesystems mounted manually (not using an entry in fstab) suddenly get unmounted. This always occurs when I/O is occurring on the ...
1
vote
2answers
55 views

Linux Operating System and Version, Regardless of Distibution [duplicate]

I would like to know a linux command that can tell me the operating system and version regardless of what distribution I am using as it seems different distributions have a different way of doing ...
2
votes
2answers
109 views

What does the term 'installation' or 'install' mean when used in connection with Linux software?

I do not have programming experience, but I understand how a shell script works theoretically. There are only two steps important to make a script executable, I have to tell the shell how to ...
1
vote
1answer
14 views

Why is logcheck reporting successful Horde logins?

I'm running Ubuntu 14.04 LTS server and use logcheck to report log messages. I have the logcheck-database installed which contains a horde3 ignore file for the server: ^\w{3} [ :0-9]{11} ...
1
vote
1answer
30 views

mount mdadm disk without partition table

I've a debian installation and during the installation I had made 3 mdadm raid disk: swap, root and home. I had done it with partman and it had made the mdadm disk without partition table. Now I want ...
0
votes
0answers
11 views

What are bust_spinlocks() [migrated]

What is the concept of bust_spinlocks() In do_kernel_fault() function of ARM 64, we can see the following code ...
1
vote
0answers
24 views

loggedfs crashes system with “access: Transport endpoint is not connected”

I'm trying to use loggedfs to monitor my system changes, and it works great for some time, but then, eventually, it crashes and my fish shell starting to output "access: Transport endpoint is not ...
2
votes
1answer
34 views

The structure of /proc/kcore on 64-bit machine and relation to physical memory

Let me preface this question by saying that I've found a lot of answers for questions similar to my question but for 32-bit machines. However, I can't find anything for 64-bit machines. Please no ...
0
votes
1answer
116 views

Why Linux games are less performanced than Win 7?

I had Windows 7 x64 and now I have Ubuntu 14.04 on notebook HP 4535s. I expected games to be faster in Linux than on Windows because of fewer machine requirements. But it isn't so... E.g., games via ...
-1
votes
0answers
21 views

Scripts in init.d

I have a script in init.d directory that runs while system is booting and that script calls for another script that is present in my home directory. So A) could anyone please explain how the calling ...
6
votes
4answers
504 views

Why is it “while kill -0 $PID” and not “until kill -0 $PID”?

I may be being daft here, but if I want to do something while a process is running, why do I do: while kill -0 $PID do #... done instead of until kill -0 $PID do #... done ? kill -0 ...
0
votes
1answer
25 views

Java in Gnu/linux servers

What is the use of installing java in linux server. I have seen initialising java paths in .bashrc and using them in different scripts. What does this all mean.please help. Dont have much knowledge ...
2
votes
1answer
34 views

Replacing by tab character in Sed in Osx

I am working in Mac OS X,I have tried several commands in sed to replace by a tab character followed by a file name. for f in *.txt; do sed -i '' -e "s/$/\t$f/g" $f; done for f in *.txt; do sed -i ...
0
votes
0answers
11 views

how to create a certifying entity? create a Public Key Infrastructure (pki)

I know that must process and technologies used to create a linux infrastructure that allows me to have a server to make it certifying entity. For this I need to know what the technological options ...
0
votes
1answer
45 views

Linux Debian memory leak? [duplicate]

I am running an application which needs to be restarted everyday. I am noticing that when I close this application and I run "free -m" It says: total used free shared ...
1
vote
2answers
46 views

Relationship between distribution & package manager

A little consideration will show that each/every Linux distribution correlates/associates with a specific Package Manager. For example: APT: Debain Family (Debian, Ubuntu, Mint, etc.) RPM: RedHat ...
2
votes
0answers
44 views

Can I disable all linux graphics adapters at boot?

I think I would like to try a VGA-passthrough of my primary (and only) nVidia graphics adapter via qemu and vfio to a virtual machine. As near as I can tell, I meet all of the other qualifications ...
1
vote
0answers
83 views

Error while booting Ubuntu 14.04 - setterm: $TERM is not defined

Yesterday I restarted my Notebook with Ubuntu 14.04 and got the following error message in between the login-screen and the loaded user interface. Error found when loading /etc/profile setterm: ...
1
vote
0answers
11 views

can I delete abstract socket path? [migrated]

I created a abstract socket. #define SOCKET_PATH @/tmp/xyz /*in server code of socket_server.c*/ int sockfd = -1; int len; struct sockaddr_un address; int result; sockfd = socket(AF_UNIX, ...
-2
votes
0answers
56 views

How to mount partition from terminal? [closed]

am using a script as follows in my ubuntu 14.04 #!/bin/bash echo "mounting" && sudo mount /dev/sda4 /media/subin/subz && sudo mount /dev/sda3 /media/subin/works using this i can ...