Fedora :: Change A File That Keeps Coming Up With A Error
Jan 25, 2010
i need to change a file that keeps coming up with a error how can i log in as root i can logging in as user and i was doing everything though terminal but now i need to login ass root
since I setup my system so that I'd receive system errors via email, I get an email each day from /etc/cron.daily/apt.Just wondering why this is, how I can fix it, or if I can just remove apt from cron.daily?uote:
To: root@jon-desktop Subject: fcron <systab@jon-desktop> run-parts --report /etc/cron.daily /etc/cron.daily/apt:
i configured sendmail with squirrelmail in RHEL5.3
it is working fine. i can send the mail and receive the mail .
but when i try to send the mail a selinux error is coming[but mail is sending successfully ]. i don't under stand this message.
Quote:
Summary:
SELinux is preventing sendmail (system_mail_t) "read" to eventpoll (httpd_t).
Detailed Description:
SELinux denied access requested by sendmail. It is not expected that this access is required by sendmail and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.
Allowing Access:
Sometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for eventpoll,
restorecon -v 'eventpoll'
If this does not work, there is currently no automatic way to allow this access.Instead, you can generate a local policy module to allow this access - see FAQ(url) Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended.Please file a bug report (url) against this package.
I'm writing a script and I have doubts on how to assign values to an already established variable. The value for the vatriable would be coming from a file with three columns. I'm using the awk command for this. Am I doing it correctly? which of the following two ways is the better one or if both are wrong which one should I use?
i have uninstalled and reinstalled alsa and made sure its not muted, in pulse audio it displays sound is coming out when i play a song, but no sound is actually coming out.. i dont want to go back to windows, but if i cant get sound im going to have to
I faced a problem while installing ubuntu 10.04 on mylaptop;i downloaded the ubuntu from ubuntu official site. Problem: message coming that no media device is found for live file system. My Laptop configuration : 2.2 ghz core 2 duo processor, 320gb hdd in this matter and can let me know me how can i install ubuntu 10.04 on my laptop.
trying read serial COM port and want to write that received data to file, now its writing only one sentence, but i want to write full file which coming on serial port, as i'm sending file from hyper terminal and reading on linux pc, If i put while loop its not writing anything,without while loop its writing only one line and if send big file then application terminates and then writes to file.But i need do write any size which coming on serial port.Finally i want write full file which is coming on hyper terminal, after writing the file it has wait for next data. This is my code,
I have presently a (working) boot dedicated partition, where grub stuff resides, but I want to change it to a common "/boot" folder in the root partition (in a different hdd). For some reason I can't do it. The first thing I did was to copy all the things that are in the boot partition to a boot folder on the root partition. After that, I tried: grub-install /dev/hdc1 (which is odd but it's where the root partition actually is)
When I did it from the linux I have installed on my hdd, it actually did something, I don't remember all the output (except that there was something about it not being able to access hda, which is oddly the dvdrom), but it didn't work. From a live CD, the same command (grub-install /dev/hdc1) is answered with: Could not find device for /boot: Not found or not a block device. From grub's own prompt, the things are more or less the same. First of all, it does not find stage1, even though I did copy the content from the boot partition to a boot folder in the root partition.
I tried to proceed, anyway, with root (hd1,0) and setup (hd1,0) (which is /dev/hdc1, according with the "geometry" info given by grub). "Root" is accepted, but "setup" is answered with: Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... no Error 2: Bad file or directory type But the files are there. I can't "cat" the menu.lst from grub though, unlike with the actual working boot partition. The same error message. From the terminal, however, it's all there. I tried with /dev/hdc1 both mounted and unmounted, the same message. So, basically I have two questions, I guess:
1 - can I really do this sort of thing running a linux installed on a hdd, rather than a live cd, or is the live cd preferable for some reason?
2 - what am I missing?
(A note that may worth making is that I'm using the soon-to-be deprecated grub version, 0.9 or something, not grub2. I think it shouldn't be a problem since I've installed the system with the old version to begin with, but that may be irrelevant, I don't really know)
I have a fedora 13, and I am not so much a linux person . I installed VLC in my system using yum, and ever since that I get audio playback only using VLC. Audio through browsers, or other players do not work anymore.
I open an ODS file and edit it and save, fine. But sometimes and for no readily apparent reason it refuses to save the document with the error message:"Error saving the document <filename>: Write error. The file could not be written". I have upgraded my version of OpenOffice but the issue remains. Once it starts with that error the only way to save the file is to actually abandon my change and restart OOffice. Today I lost an hours stuff as the auto save was also failing but not giving me any warning it was failing. I'm not sure if this is an OpenOffice, file system, Fedora or permissions issue though I've not noticed anything similar with other applications. Have set permissions to 777 but still get the error.
Sometimes (but not every time), when booting my Dell Inspiron 530, eth0 will not come up right away. I can boot and log in to Gnome, and the NetworkManager applet shows that the ethernet cable is unplugged. After sitting for 5-10 minutes, it will link up and everything works. If I unplug the network cable and plug it back in, it comes right up. But once it's linked, it works fine and never disconnects after that. I've tried switching to a different port on my switch and a new ethernet cable. So I suspect it's some sort of weird kernel problem. I checked /var/log/messages and the only thing that looks weird is:
Oct 17 07:51:49 obi-wan kernel: e1000e: Intel(R) PRO/1000 Network Driver - 0.3.3.3-k6 Oct 17 07:51:49 obi-wan kernel: e1000e: Copyright (c) 1999-2008 Intel Corporation. Oct 17 07:51:49 obi-wan kernel: e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level,
[Code].....
But I have a second Inspiron 530 that has the same entry and it works fine. Has anybody seen a problem like this? I've looked around and so far can't find out the exact issue. I've upgraded NetworkManager to the latest version for FC10
i have a problem with realplayer 11 i can't open it due to that error message
Code: /opt/real/RealPlayer/realplay.bin: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory so how can reveal this problem
Following ishaqbaig thread about Gnome to KDE in Fedora.I'm thinking of dipping my toe in KDE waters (currently a die hard gnome user since FC5).I was wondering is there a "translation" guide for gnome users coming to KDE in terms of showing comparable apps, configuration guides/tips etc
Hey all, I need help here! Whenever I boot up Fedora 13 my computer just decides to stop doing things right before the graphical login screen comes up. The system starts up properly, but after the "local" program starts, it goes to the fedora-colored blue screen right before the login screen usually comes up. I can still bring up consoles with ctrl alt f1/f2 and switch the tty screens. Whenever I try to start the X server using the X or Xorg command, it echoes the usual stuff and then the screen goes black. After that, nothing happens. I can get out of X by using the classic ctrl alt backspace method.
I haven't checked any X logs other than Xorg.0.log, but I'll post the others for any special failures soon.
Just installed Fedora 15, using default options. Sound works through headphone jack but not thru pc speaker. (Machine has no external speakers.) Puzzling, since an identical hardware-wise machine with same /etc/modprobe.d files works fine.
When i log on to GNOME desktop a white screen is coming.so i am not able to see the desktop..So i always log in to kde desktop..Do i have to change something in x0rg.conf file...
i'm using Fedora 13 and i have a digital camera Canon IXUS 870 IS. When i plugged that camera on USB port automatically starting DIGIKAM. If possible change from DIGIKAM to a file manager as Konqueror or Dolphin? how to doing it, because DIGIKAM is very, very slow.
I've seen it every where with zero resolutions, I have extremely high ram usage with nautilus .
[code]...
Just opening folders with lots of directories takes forever. I would have assumed it all as normal but I just build a windows 7 machine and have it on the same network. Windows 7 SMB scan of the same shares is virtually instant where as my Fedora machine creeps along. Also it never give back the ram used. It ramps up and up, leak? Almost the same hardware. Both with tons of ram. Nautilus previews are all turned off but still same slowness. Network speeds are the same. Both on gigabit with about the same download speeds. Is there ever going to be a revamp/change/fix or do I need to start looking for other file browsers?
So I have created a Bash script with the intent of the program to change the names of the files in a folder's subdirectory.The code recognises the individual subdirectories, then is able to enter into one and list the files individually, but when it tries to change their information it says;' cannot stat ' : ' No such file or directory 'As if it is looking in the directory that contains the Bash script, not its subdirectory.It is essentially saying, I see a file here called FILE but sorry, I can't change FILE because FILE doesn't exist. kweh?Is this something outside the capabilities of Bash? Am I asking too much of it? Can Bash only manipulate files that are in the same folder as the script?
I recently upgraded to Fedora 15 and am super-happy with it. Unfortunately, I have a minor issue that I haven't yet figured out how to fix: I can't change the default applications or the file type associations. For instance, I'd like to set Chromium as my default browser. When I first login, I tell it to set itself as default. But after I end my session and log back it, Firefox is back to being the default browser.
I have the same issues when trying to change what applications open filetypes. .rtf files have been opening in Wordpad in Wine. When I try to change it to Writer through the "Open with" dialog, it retains the change for that session but resets after I log out. I actually ended up having to uninstall Calibre because it was opening .odt files instead of LibreOffice and I couldn't change it permanently.
I really need to burn my 64 kbps uncompressed A-Law PCM file to Audio CD uncompressed as is and make this 8 hour file appear on CD Players. What app does it for me? It must fit on CD! Goldwave makes a-law / u-law wav files BTW. I can do this with linux or windows with any application. tell me how or where to download. I have the wav files already.
My clock needs to be set to usa time with am and pm But I don't see any option to select that? So I read online that I need to edit /etc/adjtime and change it from UTC to LOCAL
Problem is when I'm in the terminal it tells me I'm not in the sudoers file? So how do I fix my clock? its insane that I cant change the option in the clock options, and its also nuts that even though I created a root password I can't seem to just sudo and change it?