Fedora :: Yum And Comps File Is Empty/damaged?

Dec 2, 2010

I have setup a local repository containing several .rpm files. I created a comps.xml file outlining the category and groups for the local repository. However, when I issue the yum grouplist command, I get the following error:

Failed to add groups file for repository: localRepo - comps file is empty/damaged

However, if I try to install one of the the packages in the repository, it works just fine.

Here are the steps I took to create the repodata:

The comps.xml and repository are stored in the directory:
/var/www/html/myrepo/x86_64
cd /var/www/html/myrepo/x86_64
createrepo -g comps.xml .

[Code]....

View 1 Replies


ADVERTISEMENT

General :: Shell Scripting \ (test If A File Is Empty, If It Is Then Display "file Is Empty" Otherwise Display "file Is Not Empty")?

Oct 5, 2010

I am a final year student doign Computer systems engineering and just been introduced to linux. While still strugling to catch up with the commands, I am now given an assignment under shell scripting.I seriously am strugling to understand this question, can you please assist me.Here follows the assignment:

Operating Systems III
Some tips
e.g. (test if a file is empty, if it is then display "file is empty" otherwise display

[code]....

View 10 Replies View Related

Fedora Servers :: Can't Upload File To Empty Home Directory

Feb 1, 2009

I just installed FC10 and then used yumex to install the vsftpd FTP daemon package. I'm using the vsftpd.conf file that came with the distribution, and its almost identical to one I copied from my FC2 machine's working set-up. When I try to FTP in as a known system user I'm presented with my home directory /home/myusername/. The directory appears empty to the FTP program, but isn't in reality. I can't upload a file to the empty home directory. I can move up the directory hierarchy to /home/, but again that appears as an empty directory.

I don't think it's a vsftpd.conf file issue. I've tried everything I can there. Could it have something to do with permissions? I fiddled with those, but couldn't make an FTP directory listing work.

[code]....

View 5 Replies View Related

Fedora :: Geany + Gvfs + F13 When Try To Save, It Saves Empty File?

Aug 11, 2010

after update f12 to f13 geany stopped to work correctly on remote storage (sftp). Geany opens file correctly, but when I try to save, it saves empty file. I tried "notepad" and "gedit", they work good on f13. Geany on f12 worked correctly too.

View 3 Replies View Related

Debian Hardware :: Damaged MicroSD Card During File Transfer

Oct 13, 2015

I pulled the MicroSD card out of a non-working Android phone to backup its data onto my Debian system. My Desktop is Cinnamon and I was simply using copy/past from within Nemo. The files began to be transferred but during the transaction a dialog popped up declaring an input/output error. From that point on the card was not readable on my system.

I initially plugged the card into the computer via a USB card reader. I later tried using an SD card adapter and plugging it in my printer's SD slot. Still the system would not recognize the card. I also tried plugging the card into another Android phone. The phone could not read the card and attaching the phone to a computer did not recognize the card either. I then logged into a Windows 7 system but it could not detect it. The partition manager always showed the USB drive or SD slot as "device not connected". The last thing I tried was putting the card, with the SD adapter, in my camcorder. The camcorder prompted to format but failed to do so.

I would like to recover the pictures and videos off of the card but I am afraid that there may have been hardware failure on the card's controller. I have been searching around most of the day trying to find a solution but nothing I have tried has rendered it detectable on any system. If it is controller failure, need repairing or recovering data from physically damaged SD cards?

View 2 Replies View Related

Fedora Hardware :: Retrieving Data From A Damaged Drive?

Jul 4, 2011

My laptop was damaged a couple of months ago. Just a short drop from the couch, but it was hard enough to make the HD inaccessible. I took it to a local, respected shop but they couldn't save any of the data and simply installed a new HD after consulting me.

I have the old drive and would still like to retrieve the data, if the price is right. What should I ask about when looking for another repair shop?

View 4 Replies View Related

Networking :: Control Two Comps With One ?

Dec 21, 2009

Currently I have two separate running laptops on a home network.

The "remote" comp has slackware running on it. I would like to use my main comp to control both, by switching the control of main keyboard(and mouse) between the two comps quickly at will.

I currently have the remote comp running an ssh-server. Is it possible (and practical) to set this up using ssh?......similarly, what c++/c libs are available to build this kind of server?.....

View 3 Replies View Related

OpenSUSE :: Empty The /tmp File Or Other File To Free Up Space?

Mar 23, 2010

I've noticed that when I run:

davek@linux-kw2x:~> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 20641788 8427780 11165368 44% /
udev 961204 192 961012 1% /dev
/dev/sda3 217642344 4037944 202548468 2% /home
davek@linux-kw2x:~>

I have 44% used. It should be much smaller, under 10%. How do I empty the /tmp file or other file to free up space?

View 9 Replies View Related

Ubuntu :: Setup Ssh On One Of Comps But Cannot Connect Using Ssh?

Aug 7, 2010

Not sure if this is the right forum for this but.....

I have set up ssh on one of my comps but cannot connect using ssh.

I can ssh and I can vnc but can't vnc through ssh.

Its late and driving me mad.

At the moment I am using the standard ports until I can connect.

View 9 Replies View Related

Fedora :: Backup System To Restore Server Incase The Hard Disk Is Damaged

Jan 13, 2011

This is a good way to backup my current system:

How to backup your system to restore your server incase the hard disk is damaged.

View 6 Replies View Related

Ubuntu Security :: Other Comps Can't Access Samba Shares?

Apr 25, 2010

it's driving me nuts. Done a few things now, including this last: [URL]that didn't work. All the other comps in the house are windows 7, and I want this box to be my file server, with two 1 TB HDD plugged into it via USB, but I can't get the damn samba to allow access to everyone. Here's the path in the config file:

[data]
comment = Test sharing
path = /media/Shared

[code]....

View 6 Replies View Related

Ubuntu Servers :: Other Comps Can't Access Samba Shares

Nov 13, 2010

I can see mycomputer on the network, but not the share. Not sure what to do, why isn't the share available?

View 1 Replies View Related

Ubuntu Networking :: Sharing Internet Between 2 Comps + Laptop?

Dec 6, 2010

I am looking to share internet between a Laptop + 2 computers and carn't for the life of me figure it out and looked around and seem to come stuck with a answer. This is how it's set up.

Routers
-------------------------------------------------------
Talk talk Router (Internet Enabled) - downstairs
Talk Talk router (No internet ) - Upstairs
-------------------------------------------------------

[code]....

how i need to enable the EEEPC to share the net

View 3 Replies View Related

General :: How To Empty A File

Jul 15, 2010

I have a large file that a process writes to. I would like to empty that file. If I delete it the process will stop writing to it. Just flush the content but keep the file.

View 9 Replies View Related

OpenSUSE :: Cannot Remove Empty File?

Mar 2, 2011

I was copying an .avi file to an external hard drive and half way through the copy the drive reset and required remounting. Consequently I have an empty .avi file on the hard drive. I tried to recopy the file and overwrite, but I keep getting 'Could not write to media/harddrive/filename.avi'. I tried to rename to file to be copied but got the same response, I cannot delete the empty file either, as I get an error telling I cannot delete it. I have tried to do this as the user and root with the same result.Any other file I tried to copy onto the external hard drive is fine, just this one zero length file and the file I was trying to copy, the original of the file. I also tried to delete the file on another computer but couldn'tExternal hard drive is a WD elements ntfs, which works great except for this glitch.

View 3 Replies View Related

Ubuntu :: Sed Command Empty The File?

Mar 13, 2010

I have this file: 1.txt, with this contents:

Code:
test
mycomputer

I just try change the string "mycomp*" by "othercomputer":

Code:
sed 's/mycomp.*$/othercomputer/' 1.txt > 1.txt
but sed command empty the file.

[Code].....

View 2 Replies View Related

Programming :: In Correct File Is Empty?

Jun 17, 2010

I am using embedded Linux. File open is successful. The file has all the permissions. It is present in current directory too. The size is about 27KB. But s.st_size says it is zero.

inputFileName = "abc.mp3";
FILE* inFile = NULL;
inFile = fopen(inputFileName, "r+b");

[code]...

View 2 Replies View Related

Server :: The Boot.log File Is Empty?

Feb 28, 2010

Does anybody know why isn�t anything on the /var/log/boot.log file. After the boot I saw some services that fail to load and looking for more detail data on the boot.log file I couldn�t found anything this file is empty. This is My syslog.conf file:

Code:
kern.* /dev/console
*.info;mail.none;authpriv.none;cron.none /var/log/messages

[code]...

View 3 Replies View Related

Ubuntu :: Syslog.conf Empty File

Mar 15, 2010

I was checking my syslog.conf file recently and it seems that it is an empty file >_> it shouldn't be correct?

View 2 Replies View Related

General :: Create Empty Or Blank Iso File?

Nov 23, 2010

I having been searching for a way to create an empty or blank iso file, so that I can mount it, and have a backup application think it's a blank CD. I am tired of wasting CD's by having the application write a recovery CD, just for me to turn around and export it to an iso image to be stored in a online archive, and then throw away the physical CD.

View 5 Replies View Related

Server :: Empty PID File While Starting Script?

Aug 16, 2010

I'm trying to write shell script to use etc/init.d In fact, my application has written by java and I have made the fat.jar (etest.jar)file as executable one and after I wrote the small script to run it background (etestruner.sh) that is,

Code:

#!/bin/sh
java -jar /root/les/run/etest.jar >/opt/etstout.out 2>&1 &

And after I wrote the service script That is ,

Code:

#!/bin/sh
#
# Startup script for epict
#
# chkconfig: 2345 25 88

[code]....

I tried with google to solve this issue but did not get any result.

View 3 Replies View Related

Programming :: Bash There Will Be Empty Lines At The End Of The File?

Mar 26, 2011

Using awk I pull the first field of a random line from my datafile.myvar1=`awk -F" " 'NR=='$randline' {printf "%s", $1}' myfileThis works fine. The problem is there will be empty lines at the end of the file. Rather than using awkto filter out blank lines I would like to figure this out first.So I test $myvar1 for a blank string after setting $randline to one that I know is blank:test -z "$myvar1" && echo "true" || echo "false"But, this returns "false"? So the string is not zero length. Why? It's a tab-separated file. Is awk storing the tab with the $1 field or something.This is where I get headache. I try to echo my variable to see what it looks like.

echo "$myvar1"
outputs: nothing
echo "My variable is [$myvar1]"
outputs: [y variable is [

Why is the closing bracket at the beginning? What character could be stored in $myvar1 that would do such a thing and how did it get there?

View 7 Replies View Related

OpenSUSE :: Configuration File Proftpd.conf Is Empty?

Oct 1, 2010

I just installed proftpd using webpin but when i tried to gonfigure it ,i figured out that the configuration file proftpd.conf is empty, is it about permission ?i just dont get it!

View 1 Replies View Related

General :: Cron - Mysqldump Job Creates An Empty Sql File

Apr 14, 2010

My cron job is executing the below mysqldump command but it produces an empty sql file. However, when I run from the command line, it works as expected.

Code:
15 6 * * * root mysqldump -uroot -pXXXXXXX mydbname | gzip > /home/dbbackup/db_`/bin/date +\%Y\%m\%d\%H\%M`.sql.gz

I'm on CentOS 5.4 and use "env EDITOR=nano crontab -e" edit my cron (then paste the above command.

View 5 Replies View Related

Ubuntu :: Error Line 1: Char 1 Whitespace Or Empty File

Jun 16, 2011

Greetings, I have installed a VMware host on Windows 7 64bit and followed with a 10.04LTS 64 bit guest install. Everything went smooth. I have used VMware before, but the other way around.. Linux host and Windows guest.

So this time I am installing the VMWare tools on the guest, ubuntu 10.04, but it seems to be failing. The vmware tools install ran fine the first time with no errors, but I was getting the follwoing error after logging into the Ubuntu guest afterwards.

Could Not Apply the Start Configuration for Monitors
Error Line 1: Char 1 Whitespace or empty file

So I re installed the VMware tools once again, but still the same.

I am hoping that someone here has come across this before and hs a workaround. I don't think the vmware tools was installed correctly.

View 1 Replies View Related

Ubuntu Servers :: Using TShark And Grep - Output Empty File?

Jul 13, 2011

I am not sure why this does not work..
tshark |grep 'string'
Gives me what I want but
tshark |grep 'string' >/tmp/outputfile
Gives me an empty file.

View 3 Replies View Related

General :: Wget Showing An Empty File Being Created At Root On Every Run?

Feb 19, 2010

I have set up a cron job in linux server using the command 'wget -q -o wget_outputlog url'

But on every run, an empty file being created at root.

How to stop this.

View 6 Replies View Related

General :: Can't Empty The /tmp Directory Read-only File System Warning

Mar 2, 2010

Does anyone know why files in my /tmp directory are not able to rm even using root login? not only that, I can't even chmod or do anything to files in /tmp directory... it always saying "read only file system" warning

View 8 Replies View Related

Fedora Installation :: Dual DOS / XP Boot Damaged By - 14 Installation

Feb 27, 2011

I use DOS and WIndows XP for engineering and CAD work, and HAD a WORKING dual boot system, with NTLDR booting both systems. Now, after my attempts to add Fedora 14, I don't have ANY working OS. I don't know much of anything about Linux. I just wanted to add it to my to machine for safe and reliable web browsing and email. I know it can be used for much more, but that was just the initial goal.

I've watched a friend create a triple boot with Linux a couple years ago, and he wrote the procedure up for me. (I've seen the same procedure posted many places online.) It involves installing linux to a clean formatted XT3 OR XT4 partition and GRUB to the root of the same partition. Then you "DD" the first 512 bytes of the partition to a file "bootsect.lnx" in the primary partition. And finally, you reference "bootsect.lnx" in the Windows BOOT.INI.

I repartitioned the drive for Linux, using Partition Commander 11. It's structured like this. (sizes are my best recollection)

I booted from a Fedora 14 LIVE CD. Ran GPARTED from a terminal window. It identified the 100GB XT 4 partition as SDA7 and the 2GB Linux swap as SDA8. I figured this was the only place Fedora would go. So I started the installer.

It didn't tell me where it was going to install, but alerted me that I had FAT, FAT32 and NTFS partitions. I was given several choices and selected the option that would not touch those partitions. The installation proceeded, and I was never given the chance to tell the installer where to install GRUB. I had every reason to expect that it installed to the XT4 partition. On reboot, I now have a command line, "GRUB:" No DOS, WINDOWS or Linux.

Is there anyway to restore my DOS and WIndows booting under NT Loader? Or is it gone for good? I may want Linux, but I can't live without the DOS and WIndows for my work. If it IS possible to fix this can we do that BEFORE we get back to installing Linux?

View 14 Replies View Related

Ubuntu Servers :: Modify The Httpd.conf File But It's Empty And Wordpress Installation

Jun 17, 2011

I'm installing Wordpress and I want Hosting Multiple Sites with them. For that I need modify the httpd.conf file but it's empty. Where I can make that changes? These are the changes:

1. Type: LoadModule rewrite_module /libexec/mod_rewrite.so
2. Find the <VirtualHost> section in the httpd.conf file.
3. Find a line in the <VirtualHost> section of the httpd.conf that looks like this: AllowOverride None
3. Replace that line with this line: AllowOverride FileInfo Options
4. On a new line, type ServerAlias *.[URL].
5. Save the httpd.conf file and close it.

View 1 Replies View Related







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