Ubuntu Servers :: Proftpd Permission Denied After Upgrade From Server 8.1 To 9.1
May 24, 2010
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 installed proftpd on a new CentOS 5 server, yet when FTPing in (I can log in fine), the files and directories do not list and I get a "550 filename: Permission denied" error each time I try to "put" or "get" a file (I can tell that the file is there, though, because if I try to access a non-existent file, I get a "No such file or directory error" instead of the permission denied error).
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
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 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 tried a 9.10 -> 10.04 upgrade that went fail. I can now get it to the login screen where it gives a hard freeze. Same with recovery. I can get to a command line, but not with networking so
So I finally said screw it, I'm going to doa fresh install. I downloaded and burned 10.04 at work. Not, it is giving me an installer error when I boot from it, but then it will load the desktop from the LiveCD.
All I really want to do is grab some data that I didn't get when I backed up by home directory, then I can go back and do a fresh install. I can even download a new 10.04 CD if I need to because the installation files are screwed up or something.
The problem is that some of the files have permissions on that that show as an 'X' on the icon and it won't let me copy them to my USB backup drive.
How can I copy the files marked with an 'X' that have this permission issue?
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 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.
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$
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.
I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.
Case in point, as root:
Code:
Code:
If I use ls -a or strictly ls as john, I can list the contents of the nss directory:
Code:
That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.
I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:
Code:
I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.
I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?
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.
I am getting permission denied after su - <username>. I have checked the permission and did not get any error.
[root@NF-Provider-SOC /]# su - nfadmin -bash-3.00$ cat /var/log/messages cat: /var/log/messages: Permission denied -bash-3.00$ pwd /home/nfadmin -bash-3.00$ which bash /bin/bash -bash-3.00$ crontab -l cron/nfadmin: Permission denied -bash-3.00$ id uid=501(nfadmin) gid=503(nfadmin) groups=502(dba),503(nfadmin) -bash-3.00$ tailf /var/log/messages Cannot open "/var/log/messages" for read Permission denied and permission in home dir is 755.
Is it possible to SSH to a remote computer from within an SSH session? I'm connecting to my home server via SSH, and trying to connect out to my VPS. I know the key.ppk file works, as I can use it to connect directly from my PC. The output I'm getting is shown below:
Code: # ssh -i key.ppk -v -l myuser myuser@domain.co.uk (tried various ways of doing this)
Code: OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to mydomain.co.uk [123.456.789.012] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 ..... debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> debug1: No more authentication methods to try. Permission denied (publickey). There's nothing I can see in the auth.log file on the VPS.
i have been havin a little trouble with my ftp server im using proftpd and have been able to connect to the box on local lan but it stops with an error about tls packet.
i have been following a guide on settin up my server [URL]...and have attached my config and error details
Short version:I began getting "out of space" errors on my soho server this week. I know I only had about 300Gi of data on the 640Gi drive. I can't find what's using the extra space. As the attached screenshots show, "sudo xdiskusage" finds a block of 223.7Gi with "permission denied" but sudo Disk Usage Analyzer doesn't see it. What is using the space, and how do I reclaim it?
Long Version:I first tried to figure something out using SSH and the df and du commands, but my command line knowledge is weak. I tried to log onto Gnome to use its console but kept getting booted back to the GUI login. After deleting some old files using Webmin, I finally was able to log into Gnome and use some GUI utilities. As you can see from the screenshots, "sudo xdiskusage" finds a block of 223.7Gi with "permission denied" but sudo Disk Usage Analyzer doesn't see it. The system behaves as if that block is real denying me use of that space.
I suspected the manner in which I've mounted the second HD for use as backup storage only might be the problem, but really have no clue how to confirm that. The system returns the same numbers regardless of whether the second drive is mounted or not.
I've attached the dmesg results in a text file
Computer Details Ubuntu 10.10 4Gi RAM 1 640Gi HD mounted as / 1 640Gi HD mounted as /backup (used only by Simple Backup) Running Server Apps: Samba, Apache, SSH, mySQL, webmin
I just set up a storage server with NFS sharing. Everything work fine but, when trying to mount the remote partition on my ws, this is the issue: /usr/sbin/start-statd: line 8: /sbin/rpc.statd: Permission denied /usr/sbin/start-statd: line 8: /sbin/rpc.statd: Success mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
I tried so to mount it locally : mount.nfs: access denied by server while mounting localhost:/var/ftp/pub /mnt I don't think it depends because of the permiss of the directory, and anyway it's 1777.