Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:
14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found 14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found
[code].....
Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.
I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.
#/etc/init.d/named restart Stopping named: [ OK ] Starting named: Error in named configuration: /etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]
i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
I am running Ubuntu 64-bit and I downloaded a 32-bit binary. I tried to run it in the shell using ./file but zsh said that it did not exist. However it shows up in nautilus and ls. Is this supposed to happen?
After upgrading to Lucid I can compile but not run binaries from the console. I have build-essentials installed. When I try to run a compiled program I get this error: bash: .: ./main: cannot execute binary file
I recently tried the package "pysdm" to mount a data partition but didn't care for the way it handled things so I opted for editing fstab which I'm much more satisfied with.I did then purge pysdem and it's config files but something lingered, finally I got things working by using a UUID designation in fstab but I know there's an old symlink to a /dev/sdb7 that has since been deleted and later recreated with a new UUID.
I have "googled" enough to find that the package "fslint" should be able to handle this but since one gui got me in trouble I'm reluctant to use another, I'd prefer just being able to find where symlinks live and ripping them out by the short hairs
shed some light on what the behavior would be if I symlinked a non-encrypted directory (lets call it /media/sdcard/foo) into an encrypted home directory (lets say home/documents/sdcard-docs)Would files written to that symlinked directory be encryptedgarbled, or would they be normal? would files that were attempted to be read be interpreted as encrypted, or would they be read properly?
I did a "backup" of my .wine folder by copying it to my network attached storage drive. Now, that folder thinks it has about 200gb of data! Specifically, it's the .wine/dosdevices folder. I didn't grasp that Wine had created some kind of hard links to my ~ folder on my Ubuntu box. Since that folder is clearly recursively linking to all my files, I'm afraid to just delete it. I did delete one file within it as a test and, sure enough, the original file back on my Ubuntu box disappeared!how can I delete the .wine "backup" folder I created on my NAS without deleting all the original files?
I am new to Linux. Thanks in advance for correcting my misunderstanding and answering.
I would like to modify the gdm for testing purpose. To get started, I first get the source code of gdm (using apt-get source, or download the latest version from official gdm website) and compile it without any modification. Then I replaced one of the binary file of gdm. However, it resulted in "Ubuntu is running in low graphics mode" error.
My questions are: 1. why simply replacing the binary did not work? 2. I think it is possible that the way I configure/compile the program wrongly. So, is there a way to know how those programs are compiled in the distribution?
I have no real LINUX system experience and therefore the company has tasked me to get a VMware Appliance running in which they can build their product.
The product runs on Red Hat 7.2. I have attempted many times to get Red Hat 7.2 installed on VMware player. It always fails when I get to Xwindows. I need Xwindows as the company is going to use NetBeans 6.9 for development.
I downloaded an Ubuntu 10.04 Appliance, which runs fine.
The idea is to build the product on the Ubuntu and run it on the Red Hat target.
I just made the upgrade to 10.04 over the weekend, and everything seems to be working fine, minus one nagging detail.I have a Mythbuntu setup - a frontend and a backend. In addition to recording television, I have a folder setup on my backend where I can dump movie files to watch on the frontend. The folder is shared in the /etc/fstab via a CIFS share. Within that folder is a symlink to where my torrent folder is located. The issues seems to be how my frontend handles symlinks within the shared folders. If I run "ls -la" in my base CIFS share folder, it lists the symlink folder and says it's owned by root, but if I try and change to that directory - either using "ls" or "cd" - it says Permission Denied. On the backend, I changed ownership of the symlink to the username the CIFS is using to login, but that had no effect. I'm not familiar with how to do any sort of configuration on CIFS, if that's where I'd even need to start.
I just got a new server dedicated running php5 and SUExec. I understand the concept. INstead of running as "nobody", PHP scripts run as the user of that website. This also means I don't have to have some special directory where I set permissions to 775 or 770 with group=nobody etc just to upload files via PHP .. since PHP will upload files just as the user would using FTP. OK, great so far, and more security, I'm all for it.
Not sure what else to call it. My softlinks are not updating to reflect the parent/linked folder-files.
Code: ln -s /folder/* /home/user/Music This produces what I want. However, if I make any changes to /folder/, I dont see a reflected change in the links at /home/usr/Music.
A added plus would be to be able to use folder/file thumbnails from the source directory on the symlinks. Are sym links just shortcuts or are they real links to the directory (dynamic).
Are there gcc and g++ binaries available for download anywhere? I can only seem to find sources, which I can't get to build (trying to upgrade to a newer compiler).
I have a directory full of symlinks. I want to zip them as if there were the real files. If I just zip them as usual, the resulting zip file does not contain the files at all! Is there any way to do this?
I'm wondering if there is a safe and reliable way of converting symlinks to directories to hardlinks? Basically I have a bunch of files in a directory tree under directory A, and I have in another directory B a set of symlinks to the original site. I would like all the files to end up in B and A to be empty. The links are all to directories, not to files, so the soft2hard script here won't work.
I don't have enough free diskspace to copy the files from A to B so I thought that converting the softlinks to hard links and then removing directory A would work? There are many directories, so would like to do it automatically if at all possible.
(In case anyone is intrigued, the issue is with my maildir directory. I used to use kmail, but with the move to kmail2 it became buggy and virtually unusable with large amounts of mail and I had to find another solution. I now use dovecot with gnus and mutt as MUA to access the maildirs. kmails maildirs are non-standard (!), so with the help of a script I found online, I created ~/dovecot and in it put symlinks to all the maldirs under ~/.kde/share/apps/kmail. The problem with this is if I accidentally start kmail it will try to access that directory and mess up all my tags, so I want to completely move all my mail from ~/.kde/share/apps/kmail to ~/dovecot, but without messing up all my tags etc.)
When I access my OpenSUSE box's samba shares from another PC I am able to browse them, but am not able to follow symlinks.I've had the problem before on Ubuntu and fixed it by adding the following lines to my /etc/samba/smb.conf
I'm hosting some sites on a dedicated server. All these sites make use of the same codebase (couple of directories with php and javascript files). Because I want to manage this codebase on only one location, I was trying to share it via symlinks. When looking at commandline, everything seemed to work fine. However, when browsing to the sites that use the codebase, problems occur. It seems as if php cannot find the files.
I tried to run one grep that excludes symlinks and pipe it into a second that searches for my pattern but I continue to get the recursive directory loop error. As a result (I think) my grep is incomplete as the search just loops between directories symlinked together.
I am trying to do an rsync that includes a symlink in a folder. I only want the symlink to change on the destination if the mod time of the symlink on the source is newer. The behavior i am seeing is that the symlink on the destination is always updated to match the source regardless of the mod time.
Ive looked and ive seen many tuts on how to do this but ive never seen a specific answer to my problem.
Specs: -Kubuntu 11.04
Problem: every time i use KPackageKit to try to install something it always tries to install sun-java6-bin which is already installed. ive added repositories, ive used restricted-extras, ive done the update and installs in terminal. java works fine for me in the browser and for terminal commands. i have set sun-java6 as the default java and updated it again. the error code is: Code:
subprocess installed post-installation script returned error exit status 2. i dont know what to do. all my installations fail. and i cant do anything. i hope ive provided ample information.
I read in some website and thought of giving a shot at the pae enabled kernel as i was having 6GB of RAM available in my system. I couldn't use 64bit system because i have a lot of applications that are not available in 64bit. I use a few customised software (From my office corporate) they are 32bit too. Here is what i did..
sudo install linux-generic-pae It installed a few headers and packages additionally required. and i did a reboot.
[Code]...
An alternate solution to use all the 6GB is also welcome... using the current pae enabled kernel. do i need to install any additiona drivers..While i try to load Xwindows.. I get the following error.A long error report is generated and at the end "No Xwindows system installed.."
Once more I'm trying to do something that is necessary, yet contrary to design. I used to have a proper server, but that gave up the ghost. So right now I make do with a laptop, into which I have plugged a USB harddisk. That used to be my backup of /home, but because I run XP on my workstation (which, sadly, I cannot avoid if I want to get paid at the end of the month, but mainly use to access my Linux server) that USB disk has an NTFS file system. Which is useful, given the fact that sometimes I have to take it with me and plug it into a Windoze box.
When my server passed on to that great server room in the sky, everything went with it, including the data volume. So what I did, this being an emergency, was to plug the USB disk into a spare laptop, install Karmic Server onto it, and edit /etc/fstab to mount the USB disk on /home, using the appropriate uid/gid to mount it under the ownership of my own user account.
Fine - so far so good. This gives me /home/share which is shared as a public samba mount, and /home/frankvw which is shared as a password-protected directory. It also gives me /home/www which is not shared, this being the Apache docroot. I have proper access to everything, and the people rejoice.
Now for the dirty business. To make life easier, I have a symlink 'www' in my home directory:~/www -> /home/wwwwhich works fine from the Linux command prompt (an "ls ~/www") lists the docroot, and "cd ~/www" gets me there) but of course Samba refuses to play ball here. From a Windows client I can see 'www' in my home dir but cannot access it. From a Linux workstation (Intrepid Workstation) in Nautilus I cannot even see 'www' in my homedir - apparently Nautilus is aware of the dirty deeds going on here and prudently hides it. What can I do (short of rearranging the file/directory structure on my USB disk which I'd rather not do) to work around this (otherwise very sensible) restriction?
if there was a way, to add a folder to a hard disk which was full of symlinks to a CD drive. This would primarily be a way to store offline media and a way to access it. I would still be able to browse the folder structure and see the files (but possibly not the sizes). I imagine something like this:
Therefore I can see what files I have available, and I know which media to insert (in this case cd1) and I would then be able to view the files? Or if anyone has a better idea I'm open to it. Just to mention I don't have a GUI on this server, it is completely headless so any solution needs to be console based