Juvenile BASH question
by Mark Haney
This may sound like a rather juvenile BASH question, but I'm rather stumped and hope it's something simple to fix. I hope someone has the answer since I don't really have time (swapping out firewalls and half my network is down) to research it.
I have a BASH script that is pretty simple, it backs up postgresQL databases using pg_dump. It runs as root since I am copying data to a SAN and don't really want to configure the postgres user to have access to it. But, in order to get everything dumped properly, I do this:
su postgres - -c <pgdump command>
Now, this has worked perfectly for 3 months now, but the last few days I started getting errors about failed authentication to the databases. Here's where it gets weird. I can su postgres - from a BASH prompt just fine,but when I run the script, it asks me for a password, which it didn't do before. IIRC, I had to change the postgres user from /bin/false to /bin/bash for one of our software devs to be able to monitor the DBs via Jenkins, could that have something to do with it? I can't imagine how, since I can su from the root prompt to the postgres user without asking for a password.
Help!
Mark Haney
IT Support Associate/Network Administrator
Practichem
10404 Chapel Hill Road
Morrisville, NC 27560
W: 919-714-8428
10 years, 6 months
Setting a bookmark in kmplayer
by Jonathan Ryshpan
Kmplayer is advertised to be able to set a bookmark at a position
partway through a file. It should be simple, but I can't figure out
how to do it. Any advice?
Thanks - jon
10 years, 6 months
Fwd: Converting Fedora 19 machine to dual-boot with pre-installed Windows 7
by Oliver Ruebenacker
Hello,
I have a Lenovo T430 that had Windows 7 Pro pre-installed, but I wiped
out Windows and installed Fedora 19 instead (actually, I first installed
Ubuntu and then Fedora).
Now I want to turn it into a dual-boot machine with Fedora and Windows
based on the license for the pre-installed Windows.
I see on the web some recommendations to first install Windows, and some
say you can install first Linux and then Windows, but it may not work for
(some?) pre-installed versions.
So, now I'm wondering whether I should first wipe out Fedora and then put
first Windows and second Fedora, or whether I should try to keep Fedora and
add Windows next to it?
My file systems currently look like this:
[oruebenacker@localhost ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/fedora-root 51475068 8239400 40597844 17% /
devtmpfs 3929460 0 3929460 0% /dev
tmpfs 3936376 96 3936280 1% /dev/shm
tmpfs 3936376 900 3935476 1% /run
tmpfs 3936376 0 3936376 0% /sys/fs/cgroup
tmpfs 3936376 52 3936324 1% /tmp
/dev/sda1 487652 120305 337651 27% /boot
/dev/mapper/fedora-home 420590200 21603936 377598388 6% /home
Thanks!
Best,
Oliver
--
Oliver Ruebenacker
IT Project Lead at PanGenX (http://www.pangenx.com)
Be always grateful, but never satisfied.
10 years, 6 months
F19 --> F18 feasible?
by Beartooth
My old Thinkpad T30 (on which I ran fedup from F18 to F19) is
beginning to seem like more effort than it's worth, ever if eventual
success of the effort were a sure thing. Is there a FedDown lurking out
there somewhere?
Will an install DVD for F18 (preferably one with both gnome and
xfce4) let me treat the installation as if it were an upgrade, and
preserve my data and tweaks?
Failing both of the above, does anyone have any experience
running CentOS on a T30 or comparable?
--
Beartooth Staffwright, Neo-Redneck Not Quite Clueless Power User
Remember I have precious (very precious!) little idea where up is.
10 years, 6 months
Can Fedora count it rpms?
by Beartooth
I'm sitting here watching F19 try to downgrade itself to F18,
with screenful after screenful flashing by. I know that, if/when it
completes, it will tell me how many rpms it means to change; what I want,
though (out of admittedly idle curiosity), is the number of all the rpms
on the whole machine. Is there a command for that??
--
Beartooth Staffwright, Neo-Redneck Not Quite Clueless Power User
Remember I have precious (very precious!) little idea where up is.
10 years, 6 months
Broken integration with Gnome Shell notification in Thunderbird 24
by Marcin Zajączkowski
Hi,
An upgrade to Thunderbird 24 (Fedora 19) broke integration with Gnome
Shell notification mechanism. Currently the notification are displayed
using the default Thunderbird notification mechanism instead of the
Gnome Shell one (as it has worked with Gnome 3 since I remember).
I wonder if it is caused by some changes in Thunderbird 24 or there is
an issue with the new RPM package?
Marcin
--
http://blog.solidsoft.info/ - Working code is not enough
10 years, 6 months
turning off Screen Lock in F19 GNOME doesn't work
by Andre Robatino
Has anyone else noticed that in F19 GNOME, even with Screen Lock turned off,
lately the screen will lock anyway? Is there an existing bug, and if not,
which component should it be filed under?
10 years, 6 months
grub2 booting question
by Joachim Backes
Hi all,
having a (smaller) problem: during booting with grub2, I see some grub2
(error) messages disappearing before the grub menu appears on the screen.
How to keep these messages or how to delay grub if these messages appear?
Kind regards
Joachim Backes
--
Fedora release 20 (Heisenbug)
Kernel-3.11.6-300.fc20.x86_64
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes
10 years, 6 months
virtualized guest use only 2 cores
by Franta Hanzlík
Not sure if it is Fedora/KVM problem, but:
I'm trying virtualize MS Win7 Pro 64 guest under Fedora 19 x86_64 host.
In virt-manager I allocated 4 cores (host machine has Xeon E3-1230 CPU
with 8 cores incl. hyperthreading) to guest. But after installation
guest OS uses only two cores - as report its task manager and OS
properties info page. But what is weird, its device manager report all
cores (see attached picture - where I increased no. of cores to 6,
again without increased number of used cores). Guest OS should support
up to 4 cores, according to manufacturer:
http://technet.microsoft.com/cs-CZ/library/cc794868.aspx
But from this referenced URL it seems as they are considering hyper-v
as virt. supervisor - maybe then this result be some KVM problem or
nature?
TIA, Franta Hanzlik
10 years, 6 months