Debian :: Configuration Files Randomly Become Unwritable
Aug 15, 2011
Occasionally, with no warning and no cause that I've been able to see, everything that I try to open will produce an error message saying that an associated configuration file For example, I try to open dolphin, and I get a message saying: 'Configuration file "/home/<user>/.kde/share/config/dolphinrc" not writable. Please contact your system administrator.' I get similar ones for konsole, open office, and everything else I try to open, except firefox, which I installed by hand. Konsole still works after this error, but dolphin and open office do not. This never happens directly after startup (it usually happens about an hour after), and always happens to everything - I never get this message for just one program, while everything else works fine. I've tried deleting /home/<user>/.kde/ to 'reset' kde, but that hasn't helped. In case it helps, I'm running Squeeze (amd64) with kde 4.4.5.
I'm in somewhat of a sticky situation. ssh has just randomly stopped working on my server after a power failure. Everything else that doesn't rely on ssh is still working fine though. It can still receive mail and everything, just no ssh.Background on the server, running debian etch on a PPC machine.ssh is (supposed to be) running on port 2000. Even if I am physically logged into the machine I can't log in with ssh -p 2000 user@127.0.0.1. I can ssh to and from any other machine on my network (the server can even ssh into another machine). So it isn't my network causing issues.It seems like the port 2000 is completely closed, if nmap the server's IP address I get PORT STATE SERVICE
25/tcp open smtp 80/tcp open http 110/tcp open pop3
I just recently built a new linux server Redhat Enterprise Linux 6 and installed Samba version 3.5.4-68.el6.I copied a configuration file from an old Linux Server (Redhat Enterprise Linux 3.0AS) with a properly running Samba version 3.07131 . To make sure that everything will be ok, I created the same group and added the users on that group and created the same directories with the file name and attributes as that of the old server. Evrything seems fine as I can see all the shared folders on the windows XP and windows 7 Machines until I tried to write something on those folder. I keep getting the message that the action is denied and I need permission to perform that action. I do not know what to do next, hence this post.Below is the copy of my configuration file.
# This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too
I have a RAID5 array created with mdadm from four 1.5 TB WD15EADS formatted XFS and shared with samba. I recently upgraded it (fresh install to a SSD) from an old -stable 2.6.18-6 to a fresh -lenny 2.6.26-2, and since the upgrade, I've noticed I can't stream high bandwidth video off of the array over samba anymore. The video stutters like it's out of bandwidthI've tried using mpc-hc64 in Windows 7 and my newly arrived Boxee Box.
Everything is wired gigabit ethernet (Boxee Box isn't, but the other two and the switch all three run through are), and I can copy the file at 30-35 MB/s to my desktop, which is significantly more bandwidth than streaming a video consumes. Looking at CPU usage on my desktop and the debian file server, there is plenty of headroom on both. Lower bandwidth files play perfectly fine, either SD or smaller HD.
Since I installed to a new boot drive, all the other hardware is the same, and the array of data is independent of the OS installation, I can boot off the old system, and I can verify that it indeed does not have the streaming problem. Everything plays perfectly smoothly like you'd expect. It even appears to copy slightly faster (35-40 MB/s versus 30-35 MB/s).Is there something in the configuration of the system or samba that I can change?
Before I used to make a copy of configuration file and give the end of the file name as 'something.conf.bkp' . Later realized it was a mistake. The correct wording should end in .bak and not bkp .
As per (See apt.conf(5) manpage, section DIRECTORIES, last paragraph.)
The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which end with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.
I just moved from Ubuntu to Debian, managed to get the WiFi printer working, installed flash player etc. Just seemed to have trouble opening files over the LAN, is there a firewall setting I need to set. Files work fine if i copy them to the desktop and open them from there but not over the LAN. I have looked on the web with no luck.
I am trying to access logs Apache logs (I just installed Apache) and it is giving me permission denied errors. What permissions did you give to yourself in order to access these logs or should I just add this user(myself) to adm group?I can access other log files with no problems for example ssh logs.
I run a Squeeze system and have recently updated various packages. As far as I can tell one of the changes has deprecated HAL FDI files (used for, among other things, configuring various input devices). I am hence wondering how one should go about configuring such devices --- without having to resort to an xorg.conf file.The two devices in question, an TouchPad and TrackPoint can both be configured via XInput when I log-in, however, it is somewhat tedious. Writing a log-on script to do this also seems rather hacky.So my question is: what is the most elegant way of configuring XInput devices?
Since I started to use Suse 11.3, I've been having problems with my sound card. It starts normally and I can use it without further problems, until it randomly stops working. I don't know what causes it to stop working, it just does. Then, if I go to YaST>Hardware>Sound (it shows I have a 82801G (ICH7 Family) High Definition Audio Controller), press edit then reset, it works again!
I've been doing this for like 4 months, but I'm growing tired of doing it and not being able to just sit back and enjoy music on the amarok. I don't know what should I report, so that's why I only say the sound card identification.
I have several mails which I want to scan by using spamc and thats the problem.
It works when I use just one mail message as a parameter of spamc. E.g. spamc -c < 17383. BUT when I want to pass several messages on spamc e.g. spamc -c < 17383. 18974.(spamc scan just the first message) OR when I use a whole directory e.g. spamc < ./test/* it doesnt work. (output: -bash: ./test/*: ambiguous redirect)
how to pass multiple files in command line on spamc? I know - I can create a script, but I would be glad if it worked for testing in CLI (command above).
Basically I download to main PC and rsync to my pi as the pi has a fraction of the speed for some reason when downloading form a source outside of my network.
The first few files will sync fine. Then I start getting errors like this
Code: Select allrsync: rename "/data/temp/.File.ext.y1716M" -> "File.ext": No such file or directory (2)
The directory on the host has user and group ownership as pi. Rsync has been setup to login without a password.
I have a TV/radio tuner and I installed the gkrellm-radio plugin. The plugin works fine, but, it only works with /dev/radio. I'm not sure if its safe to rename files so I just create a symlink of /dev/radio0 as /dev/radio.
It gets pretty annoying to me to have to create a symlink every time I start up my computer so I can listen to the radio. Is there a way to get linux to permanently name "/dev/radio0" as "/dev/radio"?
I was trying to update my debian lenny and aptitude gives a whole lot of errors about files it can't fetch due to a 404 error. Aparently de files i need are no longer available in the places they where supposed to on de Debian-servers.It concerns 35 packages that can't be updated. If nescessary I can post all the package-names and versions (old and updated). I'll give the two first as examples :
I configured a mail server using Squeeze's latest packages with Posfix + Amavisd-new + Clamav + Spamassassin, but apparently the latter is not using the system configuration files, and I cannot figure out why.Running amavis in debug mode I get the following:
# /etc/init.d/amavis debug Trying to run amavisd-new in debug mode... Apr 28 16:01:08.291 [1427]: starting. /usr/sbin/amavisd-new at *******************
On my Laptop, I installed Debian under the file "/" and the partition on which I have all my files under "/var". While this isn't really a big issue, when I originally installed Debian, I had the intention of having all of my files on a partition that I would auto-mount later so that when I upgrade my system by reinstalling it, I would only have to change the system partition and let everything else stay the same.. I can live without changing my /var if I can only do so by a re-install...
I would like to transfer my music library and movie collection from my Desktop computer running Windows Vista and my laptop running Debian Squeeze. I have the laptop connected via wireless but it's possible to connect the two either directly with a CAT5e cable or through the router. I'm just wondering what the best way to do this would be.
This is what writes when I enter localhost in browser and press Enter.
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
http://localhost/~david/baby.php
Not Found
The requested URL /~david/baby.php was not found on this server.
Apache/2.2.19 (Debian) Server at localhost Port 80
So , I copied file directly into /var/www folder, entered /localhost/baby.php and get this :
Server error The website encountered an error while retrieving http://localhost/baby.php. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this webpage later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
So , it's not 'bout path or server .. or about php file (I tried few). I don't know what to do
If i got gnome i may go to the top-panel: choose system, choose preferences and go to "remote desktop" and make my settings (allow, ask for allow, password, and other stuff). I don't want to be bound to gnome (though i like it, thats not the problem).Which config-files are the ones i am looking for?
I did search the web, but i can't find useful how-to's, explanations, etc.Cause what i find is related to the path i described above (gnome: top-panel, preferences...)Which is the app/tool which pops up and says:"someone wants to access, you want to allow it, yes or no?". The performance of VNC is lousy comopared to NX. Lousy is the friendly version. What might i be doing wrong?i usually do it from a Debian-host to a VirtualBox-guest.I am mainly asking for how-to's/docus and stuff like that. Links. Explanations are welcome too. Of course.
I want to browse files (including music) on my iPhone5s from my PC, which is running Debian 8.2 "Jessie" with MATE desktop environment.
I ran Code:
Select allsudo apt-get install bluetoothctl in the command line, then after I run Code: Select allbluetoothctl,
I did this:
Code: Select allpower on devices # To get the iPhone's MAC address scan on agent on discoverable on pair IPHONE_MAC_ADDRESS_HERE trust IPHONE_MAC_ADDRESS_HERE connect IPHONE_MAC_ADDRESS_HERE
I can connect Debian and my iPhone just fine, but where do I go from there?
How do I browse my iPhone's files from Debian?
I've also posted this on Unix Stackexchange [URL] ....
I've downloaded configuration files for my VPN, Kovurt, and they don't have a .ovpn file extension. Further, when I tried to enter the information manually (using this guide), I saw that the files only include the <ca> tags, and no <cert>, <key> or <tls-auth> tags.
Here is the content of one of the config files, simply named 'Tokyo' with no extension. (adding .ovpn didn't work either):
Code: Select allclient dev tun proto udp remote 50.31.255.86 443 resolv-retry infinite nobind
[Code] ....
I have an open ticket with Kovurt asking for the other info, but I know already that they don't have much in the way of documentation or support for Linux.
I have installed debian on my dell latitude d630 laptop and am currently making a derivative for others to use. however I can't get the wireless to work. I downloaded it from the broadcom site but it comes as a gzip file instead of a deb file. if I extract the gzip file I don't get any installable (deb) files. I need the wireless to work because now a bridged network from my windows laptop isn't working.
I'm running kernel release 2.6.26-2-686 on a i686 and are trying to share files between my machine and some Windows 95/98 machines. When I enter smb://ip_number/share_name in Nautilus, it works. I can browse the files. When I try the same with smbclient or smbmount, it complains.
smbclient -I=ip_number -L=//server/share gives cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine tf_calibration. Error was ERRSRV - ERRerror (Non-specific error code.)
First off I am aware ureadahead isn't in the repos, but thought this forum would fit the best regardless. I installed upstart, then the deb package on packages.ubuntu.com and rebooted. The /var/lib/ureadahead folder exists but there are no .pack files in that folder. I tried running "service ureadahead start" but it said "Service failed to start". Anyone used ureadahead on Debian?
I'm having trouble making my cifs shares user mountable from bash: mount.cifs: permission denied: no match for /home/jcress/gatton/webspace found in /etc/fstab
I have an apache installation with /var/www/bob as the document root and the only site served up. I have bob as the directory's owner, and he is able to upload his files to that folder via ftp (vsftpd on the server). When a browser tries to access the pages, it simply gets a 403 forbidden. The problem occurs when apache2 tries to access the files bob uploads. The www-data user (Apache daemon) gets permission denied when I try to cat bob's files in the shell, so it's purely a permissions issue. What I can't figure out is how to give the Apache daemon the ability to read bob's files while also making certain it does not have the ability to modify any of them.
I had installed ssh but something went wrong and I uninstalled it. I removed the SSH configuration files by hand (I deleted all /etc/ssh folder).After ssh installation (I mean apt-get install ssh) I noticed that I have no SSH configuration files.I tried apt-get install openssh-server but i still have no SSH configuration files.
I'm having a bizarre problem where my network connection stops working randomly. At first I thought it was a DNS issue since Firefox simply chilled out on "Looking up [hostname]" until it timed out, but after further investigation (pinging IP's, "host" and "dig" being unable to reach servers) it became apparent that I couldn't even access the DNS servers i.e. the Wicked Connection of the East was most sincerely dead.
There are two strange things about this: one, there are no errors except "timeout". The network manager is happy, Firefox is happy until the lookup fails... Two, the failures only start *after* DHCP configuration. DHCP configuration never has any trouble sending or receiving packets. I'm going to try static IP and whatnot to see if that helps, more information later.
I want to rename all files in a directory to "random" names(the point is that the name does not exist, it can be anything). In my case is it *.wav file i want to rename, i basically want to burn cd's to my pc with cdparanoia, then rename them and put them in a directory with other songs i have which also have been given random names. (i'm creating a big music directory where the songs have no names)And i will eventually make a script to make things easier, but for some reason i can't think out a way to rename the files randomly, and i guess "$RANDOM" is a good variable to use but.. how?EDIT: And while i'm at it, is there any way to use the "play" command in the terminal, by "sorting" music files in a directory randomly, and then play them, so it will not be played the same order again?