General :: Making A Directory Entry Pointing To (file+offset)

May 5, 2010

The *.dbf files (DBase III Plus files) have a header (metadata) and follow with n fixed records. I'd like to make a directory entry (like a symbolic link) that point to the fixed record area into a .dbf file. Is it possible in linux? The request is motivated by access a .dbf file from a Firebird SQL Database using CREATE TABLE EXTERNAL FILE '/tmp/mydbf.dbf' ( ... ); but this command only works on fixed records.

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: Swap_free: Bad Swap Offset Entry 1000000000000

Apr 27, 2010

since i did a system update followed by install of akonadi and after a second reboot i'm getting a kernel segmentation fault. i've tried repairing the installed system and i've tried doing a fresh install but all to no avail.

dmesg output:
[Code]....

View 4 Replies View Related

General :: IDD Shows Pointing To Wrong Library Directory

Jun 16, 2010

For some reason, my Slackware 13.0 system has multiple problems.
When I do ldd /usr/bin/X | grep libpixman
I show a libpixman which is NOT in /usr/lib.

View 1 Replies View Related

General :: Large Directory With Wget With Two Links Pointing At Same Thing

Mar 19, 2011

I'm trying to crawl a directory on a website and basically download everything in it. The structure is simple enough(but there are also multiple folders), but there is one thing that makes wget choke up.Both of the links work, but they are both the same thing. So wget will download the same file twice. How can I make wget ignore the first one? but this doesn't seem to actually do anything. It will still download the duplicate URLs

View 1 Replies View Related

General :: 'su ' Error "No Such File Or Directory I Cannot Delete That Entry From /etc/passwd As I Cannot Login As Root"

May 15, 2010

[Code]....

Password: su: /bin/bash:/sbin: No such file or directory i cannot delete that entry from /etc/passwd as i cannot login as root.

View 11 Replies View Related

Server :: Bad Entry In Directory Unaligned Directory Entry?

Apr 1, 2011

I have the following error on one of my servers. Is there a way to tell which directory is exactly having the problem? if there is, if i delete that directory, will that resolve the problem or no?kernel: EXT2-fs error (device md(9,0)): ext2_check_page: bad entry in directory #10158084: unaligned directory entry - offset=0, inode=605471640, rec_len=7606, name_len=177

View 4 Replies View Related

Ubuntu :: Cron Entry - Doesn't Seem To Be Running - Don't See Any File Gets Written To The Log Directory

Oct 4, 2010

I have the following cron entry but it doesn't seem to be running:

Code:

The script does exist. And so does the directory /home/usr/log and writable. /var/log/syslog only has a bunch of these:

Code:

I don't see any file gets written to the log directory. That suggests to me that cron didn't run the job, as confirmed by /var/log/syslog.

View 9 Replies View Related

General :: Check If Two Paths Are Pointing To The Same File

Oct 6, 2010

I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:

~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar

, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?

Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path

View 3 Replies View Related

Ubuntu :: Getting New Install Pointing At Old Home Directory?

Oct 16, 2010

am having to reinstall 10.10 and putting on it's own drive. Even though I can't get my system to boot properly, my old home directory is still intact on a different drive. How can I get the new install to point at the old home directory? I have read the tutorials, but it just isn't clicking for me.

View 9 Replies View Related

Ubuntu :: Making Entry In Fstab For MP3 Player?

Mar 29, 2010

How do I make an entry in fstab for my mp3 player if connected but won't cause errors if not connected. If I plug the player in after boot it mounts on /dev/sdd, but if it's plugged in before boot it mounts on /dev/sda. I would like it to always mount on /dev/sdd. Plus if I reboot into my Natty install, from maverick, with the player plugged in it won't even boot. When mp3 player connected after boot.

Code:
glen@MavMusic:~$ sudo blkid
/dev/sda1: LABEL="XP" UUID="F0D4A588D4A55220" TYPE="ntfs"
/dev/sda2: LABEL="Storage" UUID="E0D8480AD847DE02" TYPE="ntfs"
/dev/sda5: LABEL="UBUP" UUID="9c04ea8b-889a-4b40-989a-dcb51cba0db7" TYPE="ext3"
/dev/sdb1: UUID="610db18d-a68f-4d23-aa48-117044d6492d" TYPE="ext4"
[code]...

View 9 Replies View Related

General :: 3. Etc/exports Entry Would Export A Directory Named /nfs To All Clients On The?

Jan 22, 2011

3.What /etc/exports entry would export a directory named /nfs to all clients on the subnet 192.168.10.0 and give them read-only access?

View 3 Replies View Related

General :: Tar Command - Making Archive From Current Directory?

Mar 31, 2011

I have been playing around with the tar command and I know this is how to use it.
Code:
tar -cf [filename] [directory]
But what I want to make an archive from the current directory I thought just to not enter a directory but that doesn't work. I get an error about creating a empty archive so how to do I make it so how do I tell it to do the current directory?

View 5 Replies View Related

General :: Syntax For CP - Making Virtual Move To Directory

Jun 13, 2011

I just joined LinuxQuestions and find no Forum specific to command-line syntax questions, so I'll post it here. Here is the question. I can use:
cp -vr --parents /a/b/c/this /x/y
to create a directory /x/y/a/b/c/this containing this and everything under this.

But how could I create a directory x/y/b/c/this (ie omitting a)? I could MOVE to /a/ and then use
cp -vr --parents b/c/this /x/y
but I really don't want to do the MOVE (and can think of circumstances where I might not be able to).

I'm really looking for something exactly similar to the
tar -C DIRECTORY
switch that allows one to make a virtual move to the directory DIRECTORY before commencing the tar operation.

View 5 Replies View Related

General :: Making Specific Script Loop Over Multiple Files In Directory?

May 10, 2011

I am trying - to no avail - to take an old script I found in the forum help-needed-in-grep-for-tar-gz-658730/ The code:

Code:
#!/bin/bash
if zgrep $1 $2 > /dev/null 2>&1

[code]....

View 3 Replies View Related

General :: Making .trb File From C Source File - Unknown MCU Atmega128

Jul 21, 2010

I am trying to compile C source file to generate .trb file (turbo file) which will then burn on trubo sim using TP2. When I comiple the code following error is occuring. before going through belwo error I was getting error 'Unknown MCU atmega128', known MCU are: (list appread), then I change the configuration and set the MCU to supported list then following error is occuring.

XXXXXXX@MYN8G5R52S /home/my-aip/my-aip
$ make
avr-ld -o my-aip.elf my-aip.o -L../../turbo-devel/lib -T turbo.lds -d -r --emit-
relocs -R ../../turbo-devel/lib/public_calls -lformlib -laes -lm -lc `avr-gcc -p

[code]....

Now strange thing is that whats so ever the value is of atmegs.. is I am facing same issue.

View 1 Replies View Related

General :: What Does Kernel Entry In Grub Configuration File Mean

Jun 17, 2011

I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.

I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...

View 1 Replies View Related

Programming :: Scaling Of Directory Entry Lookup?

Feb 28, 2011

I need to create and access a very large number of directories (and by large I mean millions). Each directory's name consists only of numbers, which are incremented every time a new directory is created (so there will be directory 1, 2, and so on).Of course I could just dump all these directories under the same parent directory, but I reckon I would run into filesystem limits. Moreover, I presume that entry lookup is not a O(1) operation, which means that lookup does not scale well.

One solution is to use some sort of prefix tree for storing the data. In this scheme, the data for directory "1234" would actually be stored in "/1/2/3/4".This solution has the advantage that each subtree never has more than 10 entries, but the disadvantage of requiring as many individual lookups as the length of the path.There are also intermediate solutions: using a maximum of 100 entries per directory, "1234" would become "/12/34", per example.In order to choose the best scheme, I must know more about the scalability of directory lookup under Linux. What's the maximum reasonable number of entries for a directory before lookup becomes too slow? Does someone know exactly what are the limitations of the algorithm used for directory lookup?

View 1 Replies View Related

General :: Making File Server With Web GUI Functionality

Jan 27, 2011

I had a external HD from Lacie that just made me mad because you could only log into it from a windows or mac machine. So I took the 250 HD out and through it in my P3 733Mhz Processor, 128 Ram Dell optiplex. Now My Lacie HD had a Network function on it where It had a webserver and a GUI to manage users to it. But it couldn't never get the HD to turn on for Network. It would only turn on when plugged into a USB. So I want to turn my Dell optiplex into a file server with web gui functionality. How should I start.

View 11 Replies View Related

General :: Making Tar File From Folder - Unknown Option

Aug 6, 2010

I am trying to make my first tar file in linux. I am trying to make a tar file from a folder (with all subfolders and files) and using several commands I got several errors!

This is the tar usage:
tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[-C directory] file] ...

Some of my attempts and responses:
tar -czf itic_glb_cognity-06082010.tar.gz itic-glb-cognity/
response: tar: z: unknown option (not using 'z' again!)
tar -cf itic-glb-cognity-06082010.tar.gz itic-glb-cognity/
response: tar: cannot stat itic-glb-cognity. Not dumped.

The last ones repeats for all the next attempts:
tar -cf itic-glb-cognity-06082010.tar.gz itic-glb-cognity
tar -cf iticglbcognity06082010.tar.gz itic-glb-cognity/
(full path + name without spaces) tar -cf iticglbcognity06082010.tar.gz /epos/webbus/bea/user_projects/domains/itic-glb-cognity

For some of the above a 10kb file was created, where the expected file would be about 250MB. I dont think it has anything to do with the user's rights, because I think I have them all.

View 6 Replies View Related

Fedora Servers :: Make An Entry In /etc/exports To Export A Directory?

Mar 13, 2009

Is there an easy to make an entry in /etc/exports to export a directory for every entry in /etc/hosts?

View 2 Replies View Related

General :: Software Recommend Program For Making A Bootable ISO File

Feb 26, 2011

I have Windows XP as an ISO file on a USB stick and want to make it bootable.Which Linux software do you recommend for doing that?

View 4 Replies View Related

General :: Making Multiple Duplicate File Copies Using Cp On Command Line?

Jul 21, 2011

I want to take a graphics file and make 10 copies of it to the same directory, each with 001, 002, or some such designation at the end of each file name so they have discrete files names. Is this possible using cp?

View 12 Replies View Related

General :: Enabling Ssl With Only One Domain Pointing To Site?

Sep 6, 2010

My test server is going well for the past 2 months. I have learned a lot from searching the net for how to's and forums on questions I have. My next task on the to-do list is enabling ssl on my mail server. I have the ssl setup with an automatic redirect from http to https.It is working fine with a minor issue.I have 2 domains and several subdomains on the server. Since I have enabled ssl, it seems for any of the domain/subdomain links I type in with a https://, it takes me to my mail server site. How can I have it set to only one secure link to my mail server?

View 8 Replies View Related

General :: Enable A Stick Pointing Device In Ubuntu?

Feb 16, 2010

How do I enable/disable a stick pointing device in Ubuntu (9.10)? How can I configure clicking and scrolling with the stick pointer? (I can't click with the stick and scroll the page.)

View 1 Replies View Related

General :: Server A Suse Apache Install Is Pointing?

Mar 8, 2011

I've got an old SuSE box that is a SVN server using apache for ldap authentication. The suers are not able to log on for some reason so I am trying to find out where this box is pointed to authenticate. I do not know SuSE or ldap well enough to know where to look to find out this info.

View 10 Replies View Related

General :: Pointing Multiple Domains To A Single Public IP?

Apr 28, 2011

If i have two domins [URL] and [URL], can i point it to same IP Address in DNS?.I had already added namevirtualhost in my Apache.If possible, is there any risk,disadvantages.

View 11 Replies View Related

Ubuntu :: Making Scipts Executable From Any Directory?

Feb 15, 2010

I have a script called, test.sh, which is located in /home/username/scripts/ I know that I can run it by typing ./test.sh from the /home/username/scripts/ directory... but what do I do to enable the script to be run from anywhere *WITHOUT* having to type the whole directory path?

View 3 Replies View Related

OpenSUSE Install :: Making SRV Directory Separate Partition?

Oct 11, 2010

I am setting up a LAMP server for my home LAN. I want to move the data out of / into a new disk partition for ease of backup and especially away from any clean installation I might do. What

I have in mind:
Shut down MySQL and Apache
Make a new partition, format as ext4
Mount new partition on /mnt
Copy all of /srv to /mnt
Copy MySQL stuff from /var/lib/mysql to /mnt/mysql
Update /etc/my.conf to point to /srv/mysql
Unmount /mnt
Update /etc/fstab to mount new partition on /srv
mount /srv
Start mysql, apache

Will a fresh install or upgrade keep its fingers out of /srv, in the same way as /home? Or will those parts of apache installed in /srv/www be updated?

View 4 Replies View Related

General :: Unable To Access File /home/username/.iceauthority: No Such File Or Directory

Apr 21, 2011

Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:

Unable to access file /home/username/.iceauthority: No such file or directory

Using failsafe I can start a terminal. From terminal I tried to start X

Code: sudo startx Result: Running on desplay:0

So I tried to run this;

Code: sudo startxfce4 And I get up a graphical desktop.

So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.

View 6 Replies View Related

General :: 6.13 GMP-5.0.0 LFS Make Error - Cannot Open Shared Object File: No Such File Or Directory

Jun 10, 2010

I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:

error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'

[code]....

View 5 Replies View Related







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