Red Hat / Fedora :: RPM Install Script Fails On Root Change / What To Solve It?

Mar 4, 2011

I am working with Rhel 5.5. I am creating rpms and I have an issue. I want to bzip up the file before I make the rpm. Then I want to unzip it at install time. I add the zip up work to the %prep tag and added the unzip to the %prerun tag of the SPEC file. Everything works fine.

Then I install the rpm to a different folder with rpm -i --root /tmp for example and the scripts fail to run because the script can't find /bin/sh.

It makes sense because rpms are dependent on the absolute paths to the file, but I want to know how to still have the scripts run. I tried to put the /bin/sh in the /tmp folder (in the example above) but it still can't find it. And yes i do have /bin/sh on the system.

View 4 Replies


ADVERTISEMENT

Fedora Servers :: Ejabberd Fails To Start In F-12 / Solve This?

Nov 23, 2009

Ejabberd fails to start in f-12. ejabberd-2.0.5-9.fc12.i686. This ran fine in f-10 and f-11. Getting a large number of strange error messages from the ejabberd log code...

Looks like it may be a permissions problem.

Anybody from the ejabberd community here that has gotten ejabberd to work on f-12?

View 1 Replies View Related

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

Aug 10, 2011

Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?

View 3 Replies View Related

OpenSUSE Install :: OS 11.2 Installation Fails While Copying Root Filesystem

Jan 27, 2010

Have been running 11.1 on a generic notebook (eRacks) just fine until a few days ago when CUPS couldn't be reached. Rather than futz more with 11.1, I decided to install 11.2 (which has been on my desktop). Using the same CD, which continues to check ok, the install has failed many times at about the same point: 87% through "copying root filesystem" in yast2.
Specs: Intel P4 2.4 GHz, 1.5 GB RAM, ATI radeon PV250Lf

The HD was partitioned into /, swap, /home, and an extended partition of /opt, /var, /usr. Only / was ext4 and the rest were ext3. Tried various options:
* no apic
* no acpi
* "noapic acpi=off" entered manually
* Vesa instead of 1024x768

Each time had to edit partition table to mount the extended partitions. Always formatted /. At first didn't format the extended patitions, later formated all but /home. Then set yast2 to format / as ext3, to match the other partitions. In the sysinfo page the / partition is now shown as /mnt containing 723.6 MB out of 7 GB, still formatted as ext4. On rescan by yast2 partition manager, / shows as ext3. The install halts every time with an error while "copying root filesystem." Tried booting from the CD direct to install and to the Live OS followed by install--same result. So, hours later, went back to 11.1--which installed in minutes.

View 4 Replies View Related

Ubuntu Multimedia :: Af9015 DVB-T Tuner Fails To Tune / Solve This?

Mar 12, 2010

I've downloaded the firmware from http://www.otit.fi/~crope/v4l-dvb/af..._files/4.95.0/ and placed it in /lib/firmware. I'm using Karmic. MythTV and Kaffeine both see the devices. They attempt to tune but I can't get any channels out because they can't tune.

View 3 Replies View Related

Installation :: Fedora Won't Install Into 4 GB / Solve This?

Jun 25, 2011

I usually don't have problems installing Linux but Fedora won't install into 4 GB for me. I get to the partitioner, try to create a 4 GB partition, actually have 7 GB free, but it tells me there is no space on the drive. As I said, I usually don't get this problem but have not tried Fedora before and don't understand.

View 3 Replies View Related

Fedora :: Rhthmbox Fails To Play Anything On Fc11 (except As Root)

Jan 11, 2010

my rhythmbox used to work fine. i updated my computer and restarted it today and it failed to play anything but does not generate any errors either. however, if i run it from terminal as root it works fine.

so it seems like a few other people have had this issue after an update and seem to blame gstreamer-plugins. i tried a couple of things including removing gstreamers-plugins (good, bad and ugly) and rhythmbox and then reinstalling them all. none of which seemed to work for rhythmbox. (this method seemed to work for mplayer which was also not playing anything after the update.)

View 2 Replies View Related

Fedora :: Login Fails After Transferring Root Filesystem To Another Hdd?

May 20, 2011

I rsync-ed root fs as a whole to another hard drive. In grub.conf I changed kernel option

root=/dev/sda1 ---> root=/dev/sdb

After kernel mounted root filesystem on the new hdd and all services started I successfully got prompt to enter login and password. However after login I immediatelly logout automatically. Here is /var/log/secure output:

Quote:

May 20 23:53:18 localhost login: pam_unix(login:session): session opened for user alex by alex(uid=0)
May 20 23:53:18 localhost login: LOGIN ON tty2 BY alex
May 20 23:53:18 localhost login: pam_unix(login:session): session closed for user alex

What is printed before this:

Quote:

May 20 23:50:47 localhost pam: gdm-password[1469]: gkr-pam: couldn't run gnome-keyring-daemon: Access denied
May 20 23:50:47 localhost pam: gdm-password[1455]: gkr-pam: gnome-keyring-daemon didn't start properly properly

Neither of these quotes appears if the initial file system (not rsync-ed) is used as root fs. I guess that pam might use information of hard drive, for example, its serial number, and login is tied to a disk. Please, give me a suggestion how to get rid of automatic logout.

View 6 Replies View Related

Ubuntu :: Maverick Fails To Load Grahical Display After NV Driver Deactivated / Solve It?

Nov 11, 2010

I am able to login to the system. code...

Are there any logs that you would like me to post?

I have tried reinstalling the NV display driver via "additional drivers" in the live CD, but they do not appear to be being retained on the HD version of Ubuntu. When I go back into the live cd the driver is not installed.

How can I switch the proprietary driver back on in the hard disk when I am running the live disk.

Is there a repair system program?

If not is there a way of forcing an upgrade on an upgraded system so that missing files are reinstalled?

If that does not work what should I do next to get the GDM to load?

View 1 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

Ubuntu :: In 1104 Under Root Windows Looks Gray / Solve This?

Aug 5, 2011

When I open any prog under root it uses default grey scheme and icons, as it is impossible to make root user and enter x as root, i do not know how to fix it

View 2 Replies View Related

Ubuntu Installation :: Doesn't Recognize Fedora For Grub On Install / Solve This?

Jan 23, 2010

First time this has happened. I installed Fedora first (XP already installed) and then installed Ubuntu 9.10 64. Fedora doesn't show up on boot up menu. I've tried update-grub.
Before I would have just edited menu.lst, but now?? I dunno.
edit; Here's fdisk with Fedora on sda6

View 9 Replies View Related

Software :: Unable To Play Mp3 Files And Install Vlc - Players In Fedora 8 / Solve It?

Dec 19, 2008

I normally tried yum lock for installing players like
yum install xmms xmms-mp3
but it starts and when
primary.sqlite.bz2
starts download it stops after sometime & try another mirror &
finally never install
what is the problem?

View 5 Replies View Related

OpenSUSE Install :: How To Change Root Password

Nov 1, 2010

i want to change the root password for i.e my actual root password was XXXX i tried doing something like :

"agent3@linux-bzf1:~> su -
Password:
linux-bzf1:~ # passwd
Changing password for root.
New Password:
yyyy "

did the reenter passwd stuffs...then i did a reboot saying that yeah i've changed the password,but SURPRISE,now i got 2 root password,weird?

View 5 Replies View Related

Fedora Installation :: Upgrade RH9 To F10 - Install Fails - Installer Fails Media Check Due To "errors"

Jan 23, 2009

I am trying to upgrade RH9 to F10. I have downloaded dvd iso image i386. The SHA1 integrity check passes. The installer fails media check due to "errors". I did an independent verification of the DVD and zero errors found. Download was from Fedora's own torrent, so files should be verified anyway. If I bypass the media check I get the message : Running anaconda 11.4.1.62 the Fedora system installer - please wait.....

[Code]....

View 7 Replies View Related

OpenSUSE :: Unable To Change Login Screen (KDE) / Solve This?

May 20, 2010

Command '/usr/bin/kcmshell4 kdm --lang en_US' not found

View 9 Replies View Related

Ubuntu :: Using U9.04 - Can't Change Vista Partition With Gparted / Solve This?

Apr 13, 2010

I'm trying to install jaunty at the moment, running off of live CD, and for some odd reason, the excellent sliding partitioner in hardy has been removed and I have to prepare my partitions beforehand. Unfortunatley the reason I am installing ubuntu on this particular computer is because (surprise) windows failed. Basically this means, although I'd be happy to install 'buntu to my whole HDD, I, or more specifically, some relatives, have important data on the windows partition making this unacceptable. I tried changing the vista partition size via GParted, but all the options are greyed out and I can't even give myself a not so generous 100GB of space. (180GB~ free space on HDD). Any help would be greatly appreciated, but if I loose this data (and through extension, the gov't looses their precious income taxes).

View 6 Replies View Related

OpenSUSE Install :: Change Computer Name / Dedicated Root Password

Dec 2, 2009

I don't know that this post fits here, nor does it fit in "Applications." installing suse doesn't seem to give you the chance to name your computer. Now my computer is called "linux-0qvi" or something strange like that. I want to name my computer. Can I do this now without screwing things up??

Also, during install, there didn't seem to be an opportunity to make a separate root password. My first (and main user) account is now set up with admin rights, so I have to type in my account password every time I do something as root. Can I set a separate dedicated root password without screwing up my system?

View 9 Replies View Related

Fedora :: Can't Change The Root Password

Jul 30, 2009

I got during my last year of high school, and I recently installed Fedora 11. During the installation, I misunderstood one of the questions, and set my root password as what I wanted my account password. I want to go in and change it, because it's pretty easy to figure out and has me feeling really vulnerable, but it won't let me. I went to System-Administration-Root Password, entered my password, and put in a new one, but it won't let me click Change Root Password. The button is faded out and unclickable. I've tried several different passwords, and triple-checked each to make sure I typed it in correctly, but it won't work.

View 2 Replies View Related

Fedora :: Only Run App As Root - Change Permissions

Jul 24, 2010

after a fresh install of fedora 13 I was expecting a few niggles and here's one, I've googled and read man chmod and chown and there seems to be plenty of conflicting advice, oh yeah the problem, I installed a package called get_iplayer (allows downloading of bbc iplayer content) via yum, only thing is I can only run it as root whereas in f12 I could as a normal user. It's probably the simplest command to change permissions, also I can't find any info on what the different numbers mean (775 777 etc)

View 11 Replies View Related

Fedora :: Cannot Change Directory To Root

Dec 25, 2010

Yesterday I installed Fedora 14 on my computer. I was able to log in as root on a terminal fine until this morning. Now when I log in I get this:

Code:
[Silverback@Vanessa ~]$ su -
Password:
su: warning: cannot change directory to /root: No such file or directory
-bash-4.1#

I haven't deleted any files, so I have no idea how to fix this.

View 4 Replies View Related

Red Hat / Fedora :: Root Password Change

Jul 16, 2010

After we changed Root's password (using the passwd command), both the new and old password work. Any ideas why this could be happening?

View 3 Replies View Related

OpenSUSE Install :: 11.0 - Which System To Mount To Change The Root Forgotten Password

Jan 12, 2010

I have a Suse 11.0 Server that has been running for a long time and I have not had to touch it, well I need to get into it today and I forgot the password. So I booted it up with the install disc and got into the rescue mode but I am not sure how or which system to mount to change the root password I tried sda and sda1 but it errored out with unknown system type

View 4 Replies View Related

Fedora :: Forgot Root Password - How To Change In F10

Sep 17, 2009

Forgot root password on fedora 10. Reboot into runlevel one and changed passwd and it said all tolkens updated. Typed exit and it didn't reboot and at login screen I logged in as other "root" and it didn't work with new password. So I redid the runlevel 1 and password change and typed init 6. It didn't work after that also. How to change fedora 10 root password if the old password is forgot?

View 5 Replies View Related

Fedora :: Can't Change The Permissions (belongs To Root)?

Oct 29, 2009

Get Fedora 11 and Apache installed. Open web browser and enter http://localhost and I get a "Fedora Test Page" that shows Apache is working (according to the info on the page). It says to put my web documents in /var/www/html/ ... however, as a user I cannot access it (put anything there) and I can't change the permissions (belongs to root) I'd like to run this as an intranet web server in our small ( <100 users) company.

View 6 Replies View Related

Fedora :: Change Root User Name And Password

Mar 25, 2010

I am running Fedora 12 as Guest OS in VMware Player. I installed Fedora 12 by using a Prepackage VM . The root user name and p/w was supplied by the person who made this appliance. Is there way for me to change root user name and pw

View 2 Replies View Related

Fedora :: Change /var/www Document Root Folder?

Dec 25, 2010

I wanted to know is there anyway we can change the document root location /var/www to some other custom location. I tried modifying this location information in couple of conf files in /etc/httpd, but I started receiving lots of error messages from selinux on labelling issues. So I had to revert back.

View 6 Replies View Related

OpenSUSE Install :: Can't Change Permission Of Mount Points For NTFS Partition Even As Root?

Apr 10, 2010

When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.

View 1 Replies View Related

Fedora :: Can't Change Root Passwd - Even In Singleuser Mode

Feb 17, 2009

FC9 - Sulphur, x86, nothing fancy

Did an update (damn the unofficial repos!)

Found a problem with pam_passwdqc module.

Like the title says, I'm unable to change root's password.

I boot into singleuser mode, run passwd, get the

Code:

Boot into multiuser mode and I'm still unable to login.

Two questions:
1) Anyone have a 'default' /etc/pam.d/system-auth that I can replace with the system-auth that was obliterated by the pam_passwdqc update?

2) Any other ideas?

View 14 Replies View Related

Fedora :: Can't Change Gedit Preferences When Logged In As Root (su)

Sep 22, 2009

Is there a way to fix this ? I need to be able to edit files with root privileges, not to mention that I don't want it to make any backups ( can be turned off ).

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved