2
votes
2answers
3k views

MySQL not getting started on linux

I need to run MySQL service for my linux 2.16 version with SUSE version 11 distribution. Downloaded the following files and installed all the rpms as under: MySQL-server-5.5.27-1.sles11.i586 ...
1
vote
1answer
1k views

How do I safely unmount a network share on Linux STB without crashing (I get GSOD)?

I have a network share named dreambox on C:\dreambox that is shared with the group Everyone in Windows. I have mounted it to /hdd on a Linux-based STB with OpenDreambox (OpenEmbedded) using Telnet ...
4
votes
2answers
655 views

loop-device: is this a Linux entity or a lower-level one?

Here's an Ubuntu How-to about booting from ISO-image on flash. http://ubuntuforums.org/showthread.php?t=1288604 What I don't get is creation of loop-device in GRUB2 prior to booting a kernel: ...
5
votes
1answer
921 views

Automount not equivelent to mount?

I'm struggling to get automount to work as desired. If I run the following: sudo mount -t nfs server:/path/to/share /path/to/mount_point I get the mount appearing fine. However, if I add the ...
2
votes
0answers
206 views

Make fetchmail leave mail on server for a specified period of time?

I know that fetchmail can be configured to leave mail on the server (usually done with the keep uidl keyword combination), but is there a way to configure it to leave mail on the server for a ...
4
votes
1answer
280 views

Can linux use a mix of SHA-1 and CRYPT passwords?

We have an automated sync-routine that uses useradd to create new users on a Ubuntu 10.04 machine. The application launching the routine provided both username and CRYPT-encrypted password. However, ...
2
votes
1answer
3k views

How to make IPv6 static routes persistent on CentOS?

Static routes are forgotten once the network service is restarted. However, IPv4 static routes can be made persistent by adding them to /etc/sysconfig/static_routes. This file is read by the network ...
4
votes
1answer
1k views

Expanding root partition in SUSE Linux

I have a server where the space distribution among partitions is as follows: GSSJMB02:~ # df -kh Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p5 25G 5.9G 18G 25% / ...
1
vote
1answer
244 views

Configuration for either detecting already running xsession or only auto-logging in once

My goal is an Arch based HTPC which on one tty runs XBMC and on another runs a minimalistic desktop (mainly for web browsing). I haven't yet started on the XBMC slice of the pie, but at the moment it ...
17
votes
1answer
16k views

Can GRUB2 share the EFI system partition with Windows?

I have an existing Windows 7 GPT installation, which already has a EFI System partition. I am now trying to install a Linux on a separate harddisk, which is also GPT formatted. I did not find any ...
3
votes
2answers
3k views

Missing separate debuginfo for - GDB

I have mentioned -g option along with -Wall in the Makefile. When I run gdb onlineSunday, I get: Missing separate debuginfo for /usr/lib64/kde4/plugins/imageformats/kimg_dds.so Try: zypper install ...
2
votes
2answers
9k views

What is the command or hotkey for stopping a running program in DrJava?

I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
2
votes
1answer
163 views

Samsung CLP-31x printer not working

So, my Samsung CLP-31x series printer stopped printing from Debian 6 applications. Closed source applications such as Chrome work, as does Foxit under Wine. Currently using the foo2qpdl CUPS driver. ...
4
votes
2answers
580 views

Passing parsed output of sed to find (in this direction)

Well, I think you can find dozens of questions on this platform how to pipe find output to sed, but I haven't found anything for the reverse direction so far. What I want to do is modify my input, and ...
2
votes
1answer
351 views

ngircd refuses connection over ssh tunnel

This might be just a misunderstanding of how ssh tunneling works, but here goes: In my ngirgd.conf file I have the following: Ports = 6669 Listen = 127.0.0.1 This ngircd server is running on ...
2
votes
1answer
126 views

Extracting some files from a folder and creating a list of these files

I am just a beginner with Unix and so my skills in Unix commands is limited. I am currently dealing with a folder containing about 1000 files and I have to extract some filenames from this folder and ...
20
votes
8answers
4k views

The most universal scripting language for Linux is?

We are writing scripts for Linux systems, there has been some debate over what would be the most universally Linux present scripting language to use. Bash, SH, Posix? What?
2
votes
2answers
237 views

Automatic package is installed, but aptitude doesn't find any rdependencies. What am I doing wrong?

I have a package lm-sensors automatically installed on my Ubuntu 10.04, but can't find packages, that depend on it: $ aptitude show lm-sensors Package: lm-sensors New: yes State: installed ...
5
votes
2answers
1k views

Does the filesystem influence flash drive speed?

I'm currently filling up an empty 16GB flash drive which gives me a lot of time for imponderables. It's formatted as fat32 or whatever it came with (and I'll probably leave it that way for ease of ...
2
votes
1answer
2k views

Inserting a file into another file using sed

I want to insert the contents of file1 into file2 after a matching PATTERN. I want to do it only after the first occurrence of the PATTERN. I would like to know the modification I need to make to ...
2
votes
0answers
44 views

Keyboard-only captioning in digikam

In digikam 2.5.0, is it possible to caption a series of photos using only the keyboard? If yes, how?
1
vote
2answers
718 views

Getting error 2006 MySQL server has gone away on CentOS

I need to import a database into a freshly created CentOS 5 virtual machine. However, whenever I run the import command on the console, it stops working in about a minute and I get the error message: ...
1
vote
1answer
255 views

Trouble installing or booting into Ubuntu or Fedora using a live USB or DVD on a new Lenovo E31

I've tried a live USB with Ubuntu 12.04.1 (both i386 and AMD 64-bit) as well as 11.10, as well as Ubuntu 10.04 on a DVD and Fedora 17 on a live USB. In all cases, selecting the option to boot into ...
2
votes
1answer
527 views

Script to Read Videos and output information

I am working on a script that reads all folders inside a Movie folder and outputs the information for each video in a file. The current one I have is this: movies=0 rm movielist for dir in Movies/* ...
6
votes
1answer
2k views

How to properly align partitions?

I'm trying to understand what are the rules for creating correctly aligned partitions. For the moment I'm playing with parted on a virtual machine, but I'm planning to move to a real hard disk when I ...
2
votes
0answers
907 views

Can't ping gateway after bridge

I am running CentOS 6.3 with NetworkManager disabled. I was trying to set up a network bridge to try out setting up guests w/ kvm. I was creating a bridge before setting up stuff with kvm, just since ...
2
votes
2answers
226 views

RPM skipping files on install

I am installing an rpm package and it appears to be skipping certain files without giving me any notice as to what the issue is. When I execute rpm -ivh package_name.rpm the rpm provides me with ...
0
votes
2answers
695 views

batch rename a few files [duplicate]

Possible Duplicate: Batch renaming files I have some files that I wish to rename in a single command. The files are names thus. I want the E S Posthumus bit removed from the names and also ...
2
votes
1answer
6k views

How to force rsync to overwrite read-only archive files?

I'm using rsync to copy some source code. The copied code must not be modified at the destination place by my mistake while code editing. So I set --chmod=u-w flag to make it read-only after copying. ...
5
votes
1answer
7k views

How to recover a backgrounded job from a previous shell? [duplicate]

Possible Duplicate: How can I disown a running process and associate it to a new screen shell? I launched a command that lasts a long time. I had to disconnect so I moved it in the ...
2
votes
1answer
518 views

What does “kernel-resident” mean?

Quoting from the ifconfig man page: ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is ...
2
votes
1answer
397 views

Static IP config no longer persistent in CentOS6

I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge and restored the network-script ...
3
votes
1answer
601 views

TrueCrypt is destoying mdadm volume

I'm setting up a new file server using the same storage configuration as my existing server, but the procedure is failing and i cannot figure out why. my goal is to create a TrueCrypt volume on top ...
1
vote
0answers
148 views

Installing Linux distro on PogoplugPro

I have a PogoplugPro and I want to install a Linux distro on it. However, none of the tutorials I have found cover the model I have: Model: POGOPLUG PRO BusyBox v1.16.1 (2010-11-30 12:06:37 PST) ...
6
votes
1answer
425 views

Why the difference between network addresses reported by hostname and ping?

I have tried hostname and ping in a cluster machine, with different outputs. I am wondering what is the difference between the two? For example, on the same machine, hostname outputs node4.XXX and ...
1
vote
1answer
502 views

What is the canonical way to implement order independent options in bash scripts? [duplicate]

Possible Duplicate: How do I handle switches in a shell script? Most common shell commands allow the user to specify options in any random order. Positional Parameters like $1 as commonly ...
6
votes
2answers
2k views

Debugging hanging bash process

After some bad performance today, I checked top: 1 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 14229 myuser 20 0 8776 5264 1684 R 99 0.2 1383:47 bash 98-100% ...
1
vote
4answers
65 views

Availability of software during update?

Imaging I am running a mail server, e.g. exim4 (or a database, a syslog daemon...). Now, while updating this package I would assume the application has to be stopped or at least restarted after ...
3
votes
1answer
647 views

Network interfaces for Jails

I have been reading over the creation of Jails on FreeBSD, and one stumbling block I have is regarding network interfaces. Say my local router is 10.0.2.1, and the BSD box is 10.0.2.5. I would like ...
2
votes
1answer
570 views

Computer speed in flops

Nowdays, The speed of supercomputers are measured in Flops. Is there any linux command or tool that can calculate or gives the speed of a processor in Flops. If not, than how do we measure it.
0
votes
0answers
29 views

Change title on xterm [duplicate]

Possible Duplicate: Display command in xterm titlebar Like konsole's tabs on KDE I want the title on xterm do the same thing (automatically changes). ¿Can anyone teach me? Thanks!
0
votes
1answer
141 views

How to set message validity

I am using Shibboleth for single user authentication and it needs a ssl configuration which facilitates the user authentication process. Before it was working fine but now I am facing a SSL handshake ...
3
votes
2answers
9k views

Undo rm -r, restore data

I was playing around with zip and accidentally deleted my /home/ folder (I wanted to delete home/ which got created by unzipping an archive). I used rm -r /home/instead of rm -r home/ as root. Is ...
11
votes
1answer
14k views

Why does cron silently fail to run sudo stuff in my script?

I have a script run from a non-privileged users' crontab that invokes some commands using sudo. Except it doesn't. The script runs fine but the sudo'ed commands silently fail. The script runs ...
4
votes
0answers
509 views

Page gets cut in the half if I print from Chrome or Google Cloud but with Firefox doesn't

I'm setting up print server for custom thermal printer on RaspberryPi running Linux Debian and I have a strange problem. If I print a test page it prints OK, same with web page from Firefox, but when ...
1
vote
3answers
5k views

sudo: apt-get: command not found

I am trying to install aircrack-ng in my Sabayon 9 by the use of this command: sudo apt-get install aircrack-ng but it says: sudo: apt-get: command not found How to install it?
2
votes
3answers
3k views

Running “patch” without generating *.orig and *.rej files

Is it possible to tell patch not to generate .orig and .rej files? I find it extremely annoying that patch creates these.
0
votes
0answers
341 views

How can i specify directory user & group for files inside an RPM?

I am building RPMs using FPM. When using the --rpm-user and --rpm-group, I notice as advertised that in the specfile that the %defattr(-,user,group,-) is set under %files. This does indeed set the ...
1
vote
1answer
409 views

FTP Upload Hook [duplicate]

Possible Duplicate: How to run a command when a directory's contents are updated? I need to be notified and perform other tasks when a file is uploaded onto my server. Is there any ...
0
votes
2answers
197 views

Problem updating to KDE 4.9.1

I wrote this on the terminal: sudo yum -y update [sudo] password for brallan: Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit Resolving Dependencies --> Running ...

15 30 50 per page