I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.
Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$
fresh install of ubuntu karmic server. fresh, vanilla install of openssh-server attempt to connect either via standard ssh, linux client or puTTY win32 client system (both on local LAN)
First connect is great. connection established.
Second connection (via multiple clients) screams that: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" and since I have strict checking, won't let me continue.
So, i do a little
Code:
To flush it out (i have backups,).
Then i try again:
I get the typical "Are you sure you want to continue connecting (yes/no)?" and i say yes. at which point, i offer the password for the username in question and it flat out refuses: "Permission denied, please try again."
Ok, so i have even gone as far as do a complete rip and replace of the ssh server and it's config files, however this continues to loop and repeat.
So, question one: Why does my key change?
Question two: Why am i getting "permission denied" errors on subsequent connect.
I'm currently running Karmic on a old Dell Pentium 4, and I am having trouble copying files to this box from my laptop which is running Linux Mint Helena. I am able to see and connect to the shared directory on the Dell, copy and execute files from there, but cannot write to it. The permissions have been set to 777 on the shared directory and sub directories within that. The older Dell has a PATA hard disk, 300gb, while my newer laptop has a SATA hard disk. I've read that this can be a problem, and permissions may not be recognized? I'm not able to connect to the laptop from the Dell, neither of the administrator logins work, though I maybe need to do this as root?
Here is the smb.conf file I am running on both machines:
I want to be able to write to my server, not just read and execute. I am also not able to write to the server when logged on to a windows machine on the same network.
Just had a new VPS installed running Ubuntu Server 8.04 Getting some errors when I connect to the server and try to use apt.. only trying to install nano and after messing around I've managed to get the error to change.. but still can't get any further.
error
Code:
# sudo apt-get install nano Reading package lists... Done Building dependency tree Reading state information... Done
I want to use SSH to connect to my desktop. I have used Ubuntu 10.10's encryption to encrypt my home folder (thus encrypting my .ssh folder). This means that the OpenSSH doesn't have access to my .ssh folder. When I try to log into SSH before logging in on the local machine I get the following error:
If I log onto the machine, then use SSH it works fine. I want to use key based login, One way to get around this error would be use a different authorized_keys file, but I don't know of a way to do this. This is the contents of my sshd_config file:
Code:
# Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for
I am using Ubuntu server edition 10.04.1 running in Vmware server 2.02.I am connect via Putty so I can use copy and paste.My first goal is configuring a ftp server using PureFtpd using this guide.In section 10 I need to write this command
I have created a basic ssh server and i haven't done any configuring to it other than to port forward port 22. i am trying to connect to it from a client computer (they are on the same router). i enter the command "SSH <IP of the server>", and it asks me for the password. i have tried "SSH <my user name>@<IP of client>", but it says permission denied.
I wanted to setup a local Apache2 server for some programming and testing. I installed and got Apache2 working with PHP, MySQL and all works fine. Now I wanted to add an additional directory to somewhere in my /home. And that's where things went wrong. I went to edit /etc/apache2/sites-available/default. This is it:
Code: You don't have permission to access /po/ on this server. So I go to the logfile; which says this: Code: [Sat May 08 16:43:51 2010] [error] [client 127.0.0.1] (13)Permission denied: access to /po/ denied
I tried a lot of stuff using chmod and chown, but all to no avail. I tried to change the ownership of the /home/name/web to root, and to www-data, I changed file permissions to allow executing the files.
After upgrading ubuntu server to the latest version (according to apt-get) proftpd stopped working. When I try to execute proftpd I get the following message (when logged in as root or user with root privileges) :
Code:
Line 18 in modules.conf looks like this:
Code:
I've tried removing and re-installing proftpd, but this doesn't help
If I comment line 18 in modules.conf, I just get permission denied on the next LoadModule command...
Can I remove all modules? or is there a way of fixing the permission denied issue?
I was setting up a Postfix email server, and I was following a basic tutorial here. I successfully installed all the required packaged, and then set up a Virtual user for the mailbox, and Set up a new user with this.
The user "abimail" has a mailbox specified in /home/abimail/.spop3d which is /var/mail/abimail. The permissions of /var/mail/abimail are:
Code: rwxrwx--- 1 abimail mailgroup 192113 2010-01-28 20:24 /var/mail/abimail. When logging in to solid-pop3d as user abimail and attempting to fetch mails, the login works but it will pop up the error "can't open mailbox file"; syslog entries: Code: Jan 31 17:38:10 h1347290 solid-pop3d[23857]: user abimail authenticated - 87.176.220.50 Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: can't open mailbox file: /var/mail/abimail Jan 31 17:38:10 h1347290 solid-pop3d[23857]: mailbox: open: Permission denied
I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.
Im trying to move some files from my desktop to /usr/share/ProjectM Project M is a visualization program, and Im trying to move some presets I downloaded there. The error I get is
Code:
There was an error moving the file into /usr/share/projectM/presets. Error moving file: Permission denied
I am logged in as administrator, why can't I move these files?
I tried to run this: ls * -lag > test1.txt And it gives me a 'Permission denied' for text1.txt (a new file to be created.)
Now I have admin privileges (in fact I'm the only one set up on it) and I can't figure out why I'm getting this 'Permission denied'. Do I have to create the file first and chmod so I can read/write/delete the file?
I am trying to put a file from one linux machine to my other linux machine. There is absolutely no problem in downloading the file i.e. performing the "get" operation but when I try to upload or "put file" from my host1 to host2 it throws error "Error 0 Permission denied". I am able to put files from host2 to host1 without any problem but not from host1 to host. Infact if I try to tftp even localhost on host2 it throws the same error. Here is my
/etc/xinetd.d/tftp file for host2 service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -c -s /tftpboot #disable = yes disable = no per_source = 11 cps = 100 2 flags = IPv4 } And permissions on /tftpboot are 777 [root@LinuxServer /]# ls -ld /tftpboot/ drwxrwxrwx 2 root root 4096 Jan 6 05:21 /tftpboot/ [root@LinuxServer /]# ls -l /tftpboot/ total 16 -rwxrwxrwx 1 root root 11 Jan 6 06:16 new_test -rwxrwxrwx 1 root root 12 Jan 5 06:02 test2
And the command which I am using is : [root@LinuxServer /]# tftp localhost -c put new_test Error code 0: Permission denied And ya here is /etc/sysconfig/selinux file is as under : # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=permissive # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted
I made a new channels.conf file, but when I try to move it to /usr/local/etc it says permission denied, I need the config to watch digi-tv on ubuntu movie player.
I am attempting to make a backup copy of a file, but every time I try to copy the file, I get a "permission denied error -- even when running as root. The file is on a volume mounted as /media/Data . No problems reading/writing other files on the volume.
Here is the info on the file: -rw-------. 1 root MailServer.img
I've tried chown but get the permission denied as well. This is a virtual machine image that runs fine, but even with the VM completely shut down, I get the same error.
If I try the sudo mv command on the file listed below I get the error listed. I am confused. It is my file & I have permissions. Somehow a slew of files on my system are now showing this way. This seems to correspond when I ran rsync from my netbook to sync it up with my desktop where I am having a problem.
I've just recently started learning shell scripting and I've been working on a basic csh script, but I've been having a few problems. Here's the script
Code: #!/bin/csh echo Enter a file name $< = FILE ##Name of file echo enter a size (in kilobytes) to monitor SIZETOMON = $< ##Size value that's input by user du -k $FILE = $SIZE ##Size of the file that the user wishes to monitor while (1) if $SIZE > $SIZETOMON then echo ALERT: File size is greater than $SIZETOMON end
And here's the output Code: /home/lucer/foo.txt: Permission denied. Badly placed ()'s.
I'm not really sure what the issue is with the "badly placed ()'s" or why it won't let me access files that I can access with the same shell when it's not in a script.
Running newaliasespostalias: fatal: open database /etc/aliases.db: Permission deniedin my /etc I do not have a aliases.db only an aliases.I cp aliases aliases.db but when I try and install post fix again it gives me the same error and aliases.db goes away.
My linux is Kubuntu 9.04, I encountered Permission denied problem when I wanted to install the openscientist source file (osc_batch_source_16.9) in the following order.
1) cd OpenScientist/16.9/osc_batch/16.9/obuild 2) source setup.sh 3) ./sh/build in this step Permission denied message appeared.
I'm trying to configure my /usr/share/ettercap/etter.dns for dns spoofing with ettercap. but when I change the file and try to save it ubuntu says permision deneight Even when I try doing this from the terminal with sudo. It seems there is know way to change the file.
I installed Ubuntu 10.10 beta yesterday and most of it is working very well. However, I ran into a problem with permissions today.I have a HDD containing my home folder and a HDD containing my data folder. The HDD with the data folder is mounted on /media/data/data_1.
I made sure I had set a+x rights on the file, tried executing it as root but the permission error stayed.When I copy that same file to my Desktop folder I can perfectly execute it.When it's located on the other hard drive I can't. I tried several command line scripts and they all work when I execute them from my OS hard drive,but not from another hard drive.
I have got centos 5.3 running on my system. I have installed vsftpd and created a separate folder to upload files (upload folder created in/var/ftp/pub). From my client end I can download ftp files but when I try to upload files from my client I get a error message 550: permission denied. The upload folder has full permission ie 777. Checked the ftp config file everything looks ok.