All Questions
0
votes
0answers
4 views
'Fresh' Apache2 Install Shutting down
I have a "fresh" install of apache2 which is shutting down. I previously had issues removing, and installing a fresh copy. And had to use a command to force generation of config files. However upon ...
0
votes
0answers
5 views
Output video to overscanning TV with Intel graphics
I have a television which is 1366x768 resolution.
The manufacturer is JVC, but I cannot discern the model at this time.
When devices are connected to it, it lists the normal resolutions such as 480p, ...
1
vote
0answers
13 views
Cannot ssh into a fresh install of CentOS minimal on lan
I've downloaded CentOS 7 Minimal and installed on an old laptop. I want to be able to ssh to the machine from other machines on the same lan. But I keep getting this error ..
ssh: connect to host ...
2
votes
0answers
5 views
clipboard not working when connecting via rdesktop to xrdp-sesman
I have a Debian machine with xrdp-sesman setup following way
Xvnc 127.0.0.1:5910
xrdp-sesman 127.0.0.1:3350
xrdp 0.0.0.0:3389
I am connecting to this machine with rdesktop ...
0
votes
0answers
7 views
Delete old session in /var/lib/session/
i want revove old file session, i have more 1000000 of files in this folder,
[root@ ~]# for i in /var/lib/*; do echo $i; find $i |wc -l; done
/var/lib/alternatives
6
/var/lib/authconfig
2
...
0
votes
1answer
14 views
Can't browse Internet in Redhat 7
I installed RHEL 7 using server with GUI with no added option on my local virtualbox, but I cannot get Firefox connected to the Internet.
I checked /etc/resolv.conf contains nameserver setting
I ...
2
votes
1answer
38 views
Why is dd so slow with a bs of 100M
I just tried to overwrite a fast ssd using dd. Using the ubuntu boot image I typed in:
dd if=/dev/zero of=/dev/sda bs=100M
error writing '/dev/sda': No space left on device
blah blah
256 GB copied, ...
1
vote
0answers
5 views
How to run specific architecture (32/64) of Python in Centos6 when both are installed?
I have a Centos 6.6 Docker image being used for an automated build. It has the default x64 Python 2.6.6 installed. I need to run some things in a 32-bit Python environment. I snagged the ...
2
votes
0answers
10 views
Highlight current mouse position
I'm running a dual-screen setup and have my trackpad disabled most of the time (which includes hiding the mousepointer).
When i reenable the trackpad (and display the mouse pointer again), i've lost ...
0
votes
2answers
21 views
How to add a column if line contains string?
If I have a tab-delimited file containing the following lines:
Sample1-Baboon 1 2 3 4
Sample2-Human 1 2 3 4
Sample3-Human 1 2 3 4
Sample4-Baboon 1 2 3 4
How can I add a new column ...
0
votes
0answers
3 views
DirectFB does not write to /dev/fb0, embedded device
I am developing a Linux based port for a custom board based off the Atmel at91sam9261-ek demo board. Processor core is arm926ej-s
LCD (board customization) is VGA, 640x480, 24 bit packed true color.
...
0
votes
1answer
15 views
Why does transmission adds a new user to the system?
When I installed transmission, I've seen here that I need to change the ownership of some groups to able this to work with my raspberry pi. First of all: why does transmission adds a new user to the ...
1
vote
1answer
15 views
catch kernel panic log
My Mint Cinnamon system on Lenovo g565 keeps hanging every several hours. I think the problem may be somehow connected with network and desktop environment, because either plugging ethernet cable ...
0
votes
0answers
9 views
IPv6 goes offline just like that - why?
I am running a server based on 14.04 (trusty). I am not using any third-party repositories and have not installed any third-party software (from outside the repositories) just yet.
However for some ...
1
vote
1answer
10 views
Rebuild linux raid array?
I'm going to be building a media server soon and I want to know how hard it would be to rebuild an array in the event of an ssd failure. Here's what I'm doing. I'm going to have a 128GB SSD boot drive ...
0
votes
1answer
33 views
How to open the SSH port 22?
I have installed the ssh utility on an embedded system but I can't connect to it. I am able to ssh from the device to another computer on the network but not the other way around.
The only port ...
1
vote
0answers
6 views
Gentoo how to auto-start programs at login?
How to start auto-start startx / tmux and other programs after login?
I for ex: I want to auto-start tmux in root account and xorg with xfce in normal user.
0
votes
1answer
27 views
Full inodes full in server
login as: root
[email protected]'s password:
Last login: Mon Feb 9 19:49:32 2015 from 79.8.208.82
[root@ ~]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg-lv_root
...
1
vote
1answer
34 views
Extracted files to /usr, system seems broken now
I've extracted a tar file with sudo to / which contained the following file structure:
Since then I can't do anything on my server anymore, each command is either permission denied or command not ...
0
votes
0answers
16 views
How to highlight given string in given place?
How can we modify this:
<a href="http://foo.bar1">asfdlksafbar1qsasadf</a><br>
<a href="http://foo.bar2">svasfbar2saldkfj</a><br>
<a ...
0
votes
0answers
20 views
Flow of ipv4 over ipv6 tunnel
Re-posting my question from stackoverflow
I am trying to achieve flow of ipv4 packets over ipv6 tunnel between 2 machines. Initially i had the following setup
Linux1 eth0 ...
0
votes
0answers
25 views
SSH to a virtual machine
I recently installed a Linux (Mint 17) virtual Machine on a Windows 7 PC. In order to be able to SSH to this virtual machine, I had to define a few rules and redirect ports as explained in other posts ...
0
votes
1answer
19 views
Why does the “-or” flag to GNU find cause my expression to evaluate in an unexpected way?
The following works as expected:
[pitserver ~]% sudo find /home/pitserver/operator -uid 11 -exec ls -nld {} +
drwxr-xr-x 2 11 28 4096 Jan 30 2006 /home/pitserver/operator
-rw------- 1 11 28 32 Oct ...
0
votes
0answers
7 views
error installing mod_proxy_html: “cpio: rename”
I am trying to install proxy_html module on a centOs 6.x server. I think it is giving me an error - but it also indicates that it completed. Here is the error:
error: unpacking of archive failed on ...
0
votes
0answers
24 views
How can I use a linux shell script to change directories and copy files?
There are several files I need to copy which are stored in different directories. The file names will all have two common fields that are distinctive for a particular date and time. I can usually ...
1
vote
1answer
27 views
awk print a match only if it is the last record
I want to use awk for printing a match of some pattern, only if it is the last line of the file before some constant text.
For example, i want to print the value of "c" only if it is the last line ...
0
votes
0answers
10 views
Missing step: debian-installer-launcher
I created a Debian Live Image, but I'm missing a step for getting the debian-live-installer to work. I took the following steps:
##needed packages
apt-get install --assume-yes xorriso live-build ...
0
votes
1answer
27 views
Run unix command on awk field [duplicate]
I want to run the basename command on a certain awk field.
echo "1 /this/is/a/path" | awk '{print $1" "system("/usr/bin/basename " $2)}'
but the output always produces a 0 from the system command. ...
0
votes
1answer
9 views
How to generate many passwords with kpcli?
Keepass has password generating function.
Q: How can I generate example: 400 000 passwords with kpcli to a text file?
2
votes
1answer
42 views
Equivalent of “which” in sh [duplicate]
I found out today while developing a shell script that which is not a builtin for sh. What is a good equivalent?
0
votes
0answers
27 views
How do I add a \n to the end of the record on file using AWK
I have a file that can contain 1 or many lines
oracle1.txt
oracle2.txt
oracle3.txt
How do I using AWK put a \n after the last line only so it will show
oracle1.txt
oracle2.txt
oracle3.txt\n
I ...
2
votes
0answers
14 views
initramfs / UUID problems after cloning
So I just cloned a Centos7 "everything install" VM to a physical disk using VMWare Workstation and Clonezilla using the instructions here: ...
3
votes
0answers
19 views
Remap Return key in terminal to prevent accidental command on productions servers
I am looking for a way to remap the key for executing commands in terminal (I am using bash) to prevent accidental commands on productions servers. Return should be disabled.
I tried the following ...
0
votes
1answer
20 views
Filter by column value and write to file
I have a table like this:
BB1520_v1.0_0103 exon 3329 3601
BB1520_v1.0_0103 exon 3650 4040
BB1520_v1.0_0089 exon 1 862
BB1520_v1.0_0089 exon 1312 ...
1
vote
0answers
10 views
Rename files with non-utf8 characters using detox
I am trying to use detox in the following way
detox -s utf_8-only -r -v -n
to detect invalid filenames on my system. The command performs mostly ok. Unfortunately it falsely detects also German ...
0
votes
3answers
37 views
How do I replace a string with dollar sign in sed?
I want to replace this string:
export TODO_FILE="$TODO_DIR/todo.txt
with:
export TODO_FILE="$TODO_DIR/writing.txt"
in the file ~/.todo/config. I've run it with:
sed -i 's/export ...
0
votes
0answers
5 views
How can I hide the pointer when I'm using my touch screen?
I just installed Arch on my Lenovo Yoga 2 11" convertible laptop, and it's great so far, but when I use my touch screen, the pointer follows my touches, which it doesn't do on Ubuntu or Fedora. How ...
0
votes
0answers
11 views
Disconnect vpn from Linux server
I have pptpd for PPTP and openswan for L2TP installed on a Ubuntu server, which work without any problem. When a client connects to the server, a new connection is created shown as pppx in the ...
1
vote
1answer
30 views
sed regex not working for hidden characters
I have a list that has for some reason got some non alphanumeric characters appended to the end.
I would have thought it would be a simple case of running :
sed 's/[^A-Za-z0-9]$//'
To replace ...
1
vote
0answers
7 views
Mount.nfs is using a serial port
I export a folder to remote hosts by configuring the /etc/export file this way in the NFS server:
/remoteFolder 172.22.0.0/255.255.0.0(ro,no_root_squash,sync,insecure)
and start the NFS daemon with ...
1
vote
0answers
7 views
Show annotations in PDF
I have a PDF file that has annotations in them. Comments that are in a box show up, but removed words or other insertions do not appear. I don't need to add any annotations; I just need to view them. ...
0
votes
0answers
25 views
Testing outgoing FTP with fake data
I would like to implement a fake FTP transfer in a program I'm working on. Basically I just want there to be FTP traffic happening in the background for a variable length of time. Similar to how iperf ...
0
votes
0answers
3 views
In a buildroot system, understand the expected kernel -> udev -> hal/dbus communication
I am using a system based on buildroot. I wanted to have some system logs such as USB insertion/removal, disk alarms etc. to be raised on DBus system interface. So I selected DBus and eudev in make ...
1
vote
0answers
13 views
On which disk is a file located in a btrfs RAID-1 array/filesystem?
I have a btrfs array with 5 disks in RAID-1 mounted on /mnt/array:
# btrfs filesystem show /mnt/array
Label: 'nicefilesystem' uuid: censored
Total devices 5 FS bytes used 4.95TiB
...
0
votes
1answer
21 views
How to install the package 'dpkg' from the AUR
today i installed Archlinux and i tried to install the following package 'dpkg' from the AUR. I tried 2 methods:
pacman -S dpkg
and after that failed i downloaded the *.tar.gz and tried:
pacman -U ...
0
votes
1answer
12 views
access to USB drive broken after changing uid
Since changing my uid I no longer have the permissions to see a USB hardrive/stick that is automatically mounted at /media/USERNAME.
Nautilus gives the message
Unable to open a folder for ...
1
vote
0answers
16 views
xrandr: add a new mode
I would like to add a new mode with xrandr, but I have a problem, xrandr don't want !
~$ gtf 1280 1024 60
# 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
Modeline ...
1
vote
1answer
28 views
Display result of a command right aligned in terminal
I have a script that goes through many different checks and I use the success, failure functions defined in /etc/init.d/functions to clearly show the action result on the terminal.
That works great, ...
0
votes
0answers
11 views
rPi B+ ArchLinux with ntp client and hardware rtc clock
I have rPi B+ running ArchLinux with kernel Linux comp001 3.18.6-2-ARCH #1 PREEMPT Sun Feb 8 09:43:43 MST 2015 armv6l GNU/Linux with Real Time Clock hardware RTC Pi. However, I would like to check if ...
0
votes
0answers
1 views
doubts regarding memory control group and memory zones lru list?
I have doubts regarding memory control group and memory zones lru list ?
I just want know whether memory control groups lru list is subset of memory zone lru list or they have different pages on them ...