SFTP - Permission Denied

Jul 18, 2009

I just got a barebone server. Installed apache2, php5, mysql,phpmyadmin.

I only have SSH access to the server. I wish to use CoreFTP to transfer some webpage files to /var/www folder. I can login the server using CoreFTP's SSH/SFTP and it displays all the files and directories, but I do not have the permission to write.

My question is, how do I give myself permission to write? Here is the id of my user:

uid=1000(charlie) gid=1000(charlie) groups=1000(charlie),4(adm),20(dialout),24(cdrom),46(plugdev),110(lpadmin),111(sambashare),112(admin)

View 3 Replies


ADVERTISEMENT

Permission Denied /usr/bin/maildrop

Jul 27, 2009

I have a VPS with Ubuntu 9.04. I've setup ISPConfig etc as per the Perfect Server Howto Forge pages.

However I'm getting a problem with the configuration of maildrop, I get

Code:

temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to change to home directory.
ls -lah /var/vmail

Code:

drwxr-xr-x 4 vmail vmail 4.0K Jul 27 04:19 .
drwxr-xr-x 15 root root 4.0K Jul 26 13:01 ..
-rw------- 1 vmail vmail 1.3K Jul 26 13:01 .mailfilter
drwxr-xr-x 5 vmail vmail 4.0K Jul 26 17:15 siricom.co.uk
-rw-rw---- 1 vmail vmail 4 Jul 27 04:19 ispconfig_mailsize
drwxr-xr-x 2 root root 4.0K Jul 26 13:01 mailfilters
grep vmail /etc/passwd

Code:

vmail:5000:5000::/home/vmail:/bin/sh

View 6 Replies View Related

Error Permission Denied

Jun 4, 2009

each time I try to change things on file [php.ini] using shell, I get this massage

[ Error writing /usr/local/lib/php.ini: Permission denied ]

how to change Permission for that file, and what Permissions it should be.

I have root access for the server

View 14 Replies View Related

Permission Denied (publickey)

May 23, 2008

I'm trying connect to the server via ssh and i get an error -
Permission denied (publickey).

Following information has been provided for me help to access the server, but it seems i'm not familiar how to use that info ....

View 2 Replies View Related

Permission Denied Error

Nov 7, 2008

I made a copy of my forum's root folder using SSH command: cp -r forum forum123

Then I tried to update the new (forum123) folder with the latest files from vBulletin.

And it gave me a permission denied error. For test purpose, I went to the original folder and uploaded one of the new files there and it worked flawlessly.

Why am I not able to upload files to the copied folder? I've been doing this since like for ever, this is the first time I've encountered such an error.

View 4 Replies View Related

Avenger Permission Denied

Mar 20, 2007

I installed Avenger on FreeBSD 6.2 as Anti-Spam and I'm not understand
some configuration.

1- Avenger as me to create a user 'avenger' in group 'wheel' for its program, but when starts asmtpd , it runs under user: root and group: wheel . What is the utility to create this user 'avenger' then?

2- When I run a Debug Mod, I obtain a permission denied error

myserver:/etc/mail># asmtpd --avenge m...@mydomain.com
SMTP-test (6) <== 220 myserver.mydomain.net ESMTP
SMTP-test (6) ==> ehlo myserver.mydomain.net
SMTP-test (6) <== 250-myserver.mydomain.net
SMTP-test (6) <== 250 PIPELINING
SMTP-test (6) ==> mail from:<postmas...@myserver.mydomain.net>
SMTP-test (6) <== 250 ok
SMTP-test (6) ==> rcpt to:<m...@mydomain.com>
asmtpd: loading /etc/avenger/domains
db_dump185: /etc/mail/virtusertable.db: Permission denied
/etc/mail/aliases.db: Permission denied
/etc/mail/aliases.db: bad alias file
SMTP-test (6) <== 250 ok
+unknown (a11) === EOF

accepted by SMTP server:
250 ok

Ok so the error was coming from my "Other group" can't read . I have changed permission to following:

chmod r+o /etc/mail/virtusertable.db

and I obtain this:

myserver:/etc/mail># asmtpd --avenge m...@mydomain.com
SMTP-test (6) <== 220 myserver.mydomain.net ESMTP
SMTP-test (6) ==> ehlo myserver.mydomain.net
SMTP-test (6) <== 250-myserver.mydomain.net
SMTP-test (6) <== 250 PIPELINING
SMTP-test (6) ==> mail from:<postmas...@myserver.mydomain.net>
SMTP-test (6) <== 250 ok
SMTP-test (6) ==> rcpt to:<m...@mydomain.com>
asmtpd: loading /etc/avenger/domains
+unknown (a11) ==> return 250 ok
SMTP-test (6) <== 250 ok
+unknown (a11) === EOF

accepted by SMTP server:
250 ok

It could be a potential security problem if I left "Other" to read virtusertable.db . So my question is: Is there another way to fix this error without changing permission for Other to read virtusertable.db?

View 2 Replies View Related

Logwatch Installation Permission Denied

Jul 17, 2007

# cd /usr/src
# wget ftp://ftp.kaybee.org/pub/linux/logwatch-7.3.6.tar.gz
# tar -xvzf logwatch-7.3.6.tar.gz
# cd logwatch*
# ./install_logwatch.sh

-bash: ./install_logwatch.sh: Permission denied

View 2 Replies View Related

Fopen Permission Denied On New Server

Jul 26, 2009

I'm migrating from shared hosting to a VPS. I have transferred my files right over, and permissions are all the same as they were on the old server.

The fopen scripts are giving me an error when trying to write to files.

Code:
failed to open stream: Permission denied

The permissions on the file are 644 and it can read from the file just fine. Giving the file world write permissions fixes the problem, but I don't want to do this for obvious reasons.

I think the reason this worked on the shared server had something to do with the apache user being defined differently but I'm honestly not sure. The php file executing the command is owned by the user that owns the document I'm trying to write to (in fact one user owns everything).

how I can fix this without giving world write permissions?

View 24 Replies View Related

Exim Logs :: Permission Denied: While Opening Or Reading

Jun 12, 2008

I have problem with exim in my dedicated. All days I have more tham 1000 messages in queue. I delete frozen messages and run exim -v -q and after delete all message. Next day I have more that 1000 message in queue.

I see that some local emails was not delivered. So I saw in exim log errors messages as:

===
Message 1K5SHE-0001LE-LS is not frozen
delivering 1K5SHE-0001LE-LS
LOG: MAIN
== dadinho@xx.org R=virtual_user T=virtual_userdelivery defer (13): Permission denied: while opening or reading /home/levarte/mail/xx.org/dadinho/maildirsize
===

But I have not any file called "/home/levarte/mail/xx.org/dadinho/maildirsize"

What means this error message?

View 3 Replies View Related

Email: 421 Users/assign Permission Denied Error

Apr 14, 2008

For one of may domains I'm receiving the following error when someone tries to send mail to it. Also I never receive the mail as it seems to just sit on the server. When the permission were changed on the file, it seemed to have changed back on its on when ever a new address is added. Any solutions?

421 fopen('users/assign') failed (#5.7.10) Permission denied

Code:
-rw------- 1 root qmail 2772 Apr 22 10:38 assign
Plesk+CentOs

View 4 Replies View Related

Sudden Awstats Domlogs Permission Denied Error

May 4, 2007

so after successfully installing and testing litespeed last night along on alternate port 1080 on my cpanel setup, I try to look at my cpanel's awstats this morning and:

Error: Couldn't open server log file "/usr/local/apache/domlogs/example.net" : Permission denied

(awstats has worked fine for 5 weeks now)

Googling for this shows other people with similar problem in the past but unfortunately no answers

I tried chmod -R 644 /usr/local/apache/domlogs
and looks like the owners are still correct

I'm at a loss and really screwed if I can't easily fix soon... any ideas?

(as a side note, litespeed has stopped working properly too but I've killed it for now)

View 3 Replies View Related

Plesk 12.x / Linux :: Cannot Sign In With Any FTP Account - Permission Denied

Feb 15, 2015

SOCentOS 6.6 (Final)
Plesk12.0.18 ActualizaciĆ³n #35

I can not sign with any FTP account.

/var/log/messages:

FTP session opened.
unable to open TransferLog '/usr/local/psa/var/log/xferlog': Too many levels of symbolic links
chroot to '/var/www/vhosts/domain.com' failed for user 'user': Permission denied
error: unable to set DefaultRoot directory
FTP session closed.

View 5 Replies View Related

Plesk 12.x / Linux :: Postfix - Qmail Permission Denied

Feb 12, 2015

Mail isn't leaving the queue, it's returning this error

Feb 12 23:12:01 XXXX postfix-local[64360]: System error .qmail: Permission denied
Feb 12 23:12:01 XXXX postfix-local[64360]: Wrong permissions for .qmail

All the files within /var/qmail/ are set to the user and group "popuser", and have the nessacery rwx permissions for the user/group.

The OS is CentOS.

View 5 Replies View Related

Plesk 12.x / Linux :: Postfix - Fatal Error Permission Denied

Jan 5, 2015

This is a fresh plesk12 installation on a kvm vps on centos 6.6

We used the migration and transfer tool to copy data from another server. After the full migration without changing any setting from the configuration files, any mail account hosted on this server cannot receive emails.

Here is the error from the log file:

Jan 5 14:58:16 postfix/pipe[10082]: 9B1651C296D: to=<user@mydomain.com>, relay=plesk_virtual, delay=312, delays=312/0.03/0/0.16, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/lib64/plesk-9.0/postfix-local: Permission denied )

Same error using either webmail or mail client. I have also tried to change from postfix to qmail and vice versa but without any success...

View 2 Replies View Related

Plesk 12.x / Linux :: Permission Denied When Accessing Mail Settings

Feb 17, 2015

Since the plesk installation by my hoster did not include a mail server, I installed postfix and dovecot from the upgrades menu, followed the steps at [URL] .... and ran mchk to add the mail settings option to my domain. However, when I click on it, I receive the error "Warning: Permission denied." and stay on the domain overview. There is no error logged in var/log/sw-cp-server/error_log, /var/log/sw-cp-server/sw-engine.log or /usr/local/psa/admin/logs/panel.log.

I also tried "plesk bin mail --create foo@my.tld -mbox_quota 1M", but then I receive the error

Code:
ERR [util_exec] proc_close() failed
mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL

System: OpenSuse 13.1 (x64)
Plesk version: 12.0.18 Update #35

View 4 Replies View Related

Plesk 12.x / Linux :: API Create Subscription Failed - Permission Denied 1006

Sep 8, 2014

We have a little issue with the API, when we want to add an subscription, then we became "Error: Permission denied. (1006)" - but the subscription was added. The status Icon of the Subscription is a "!" and they say (tooltip), that the Plan wasn't correctly synchronized, but we don't use a Plan for this. The Reseller has all rights, there are now limits.

I have test this with the following Code:

Code:
<packet version="1.6.3.0"><webspace><add><gen_setup><name>plesk-test.de</name><owner-login>123login!</owner-login><htype>vrt_hst</htype><ip_address>127.0.0.1</ip_address></gen_setup><hosting><vrt_hst><property><name>ftp_login</name><value>blubb</value></property><property><name>ftp_password</name><value>blubb123</value></property><ip_address>127.0.0.1</ip_address></vrt_hst></hosting><limits><limit><name>disk_space</name><value>1000</value></limit></limits></add></webspace></packet>

For the execution is used the SDK from [URL] ....

I don't know when we had this problem the first time, but i know that if had worked in Plesk 12 correctly - i think the problem came up with the last 4 - 6 MU.

We actually have Plesk 12.0.18 Update #16 and running it on Debian 6.0.9.

View 4 Replies View Related

Plesk 12.x / Linux :: Php-fpm Support For Nginx Not Starting / Working - Permission Denied

Mar 20, 2015

Centos 7, Plesk 12

Problem:

PHP-FPM support for nginx will not start when attempted in Tools & Settings > Services Management

Check error log:

#tail /var/log/php-fpm/error.log

ERROR: unable to bind listening socket for address '/var/www/vhosts/system/domain.tld/php-fpm.sock': Permission denied (13)

Possible problem:

SELinux may be preventing it. To test this do:

#setenforce 0

Now try and start PHP-FPM support again in Tools & Settings > Services Management

If that now starts you know what the problem is. Go to "Fix" below
If it didnt work, you have a different issue. Turn SELinux back on while you figure it out:

#setenforce 1

Fix:

The following worked for me but i know very little about SELinux - corrections welcome:

## Turn SELinux to permissive
# setenforce 0
## In Plesk panel start PHP-FPM support in Tools & Settings > Services Management

[Code]....

View 9 Replies View Related

Plesk 12.x / Linux :: Default Path Changed - Permission Denied Error

May 5, 2015

Not sure what is going on with Plesk.. I've modified and saved a specific service plan with the session.save_path to have a location by default to be /tmp/ and for some reason it isn't changing all customers accounts with the modified settings of the location to be /tmp/. In order to resolve the issue, I'd have to manually change the "default" option on each websites php settings session.save_path to /tmp/ instead of Plesk syncing the correct settings based on the modification. Because of so, I am receiving the following error below on a customers website below:

Warning: Unknown: open(/var/lib/php/session/sess_f9bffgv0ddrjo9geb6frhut5d7, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

After making changes, I've tried the following in command line:

service php-fpm restart
service httpd restart
service psa restart

None which have resolved the issue.

View 1 Replies View Related

Plesk 12.x / Linux :: Internal Error - Filemng Failed / Permission Denied

Jun 24, 2015

Recently we had to rollback the Plesk database and Plesk version files to their pre-upgrade state, and rerun the upgrade procedure as it is described in the knowledge base [URL] ..... The update process then worked smoothly and we are now using the newest version 12.0.18 on CentOS 6 with the newest microupdates 1200150615.10.

But right after this update procedure we are not able to access some domains with the filemanager anymore. The browser shows the following error message:

Internal error: filemng: opendir failed: Permission denied System error 13: Permission denied
Message filemng: opendir failed: Permission denied System error 13: Permission denied
File Agent.php
Line 243
Type PleskUtilExceptio

The logfile: /usr/local/psa/admin/logs/panel.log is a bit more detailed

[URL] ....

What I did so far was the following:

1.) I checked out the knowledge base, specifically this entry was worth looking at. But /usr/local/psa/bin/repair --restore-vhosts-permissions didn't solve the problem.
2.) I found a similar problem in the discussion board but the approaches they took weren't successful in my case.

Due to the fact that the file manager worked before the rollback of the database and the major upgrade, I think there might be a connection.

From my point of view the permission settings should be right. Other domains using exactly the same permissions and they are working fine.

# ll /var/www/vhosts/system/domain.com/
total 20K
drwxr-x--- 2 root psaserv 4,0K 24. Jun 02:13 conf
drwxr-xr-x 2 root root 4,0K 8. Jan 2014 etc
drwx------ 2 psaadm root 4,0K 24. Jun 03:43 logs

[Code] ....

View 1 Replies View Related

Plesk 12.x / Linux :: Zend Controller Exception - Permission Denied When Trying To Restore Backup

Jun 8, 2015

System
12.0.18 CentOS 6 1200150126.15
micro update - 48

trying to restore a backup from a different plesk 12 server but it keeps giving me this error

Internal error.
ERROR: Zend_Controller_Exception: Permission denied.#0 /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Abstract.php(191): CommonPanel_Controller_Action_Abstract->_checkForgeryProtectionToken()
#1 /usr/local/psa/admin/externals/Zend/Controller/Action.php(502): CommonPanel_Controller_Action_Abstract->preDispatch()
#2 /usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('errorAction')
#3 /usr/local/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#4 /usr/local/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#5 /usr/local/psa/admin/htdocs/application.php(15): PleskApplication_Web->run()
#6 {main} (Broker.php:336)

The backup was saved on a personal ftp repository ...

View 2 Replies View Related

Warning: Unknown: Failed To Open Stream: Permission Denied In Unknown On Line

May 8, 2009

I have set up my Virtual Private Server and uploaded all my site's files to /var/www folder. Before that, there was an old simple 'index.html' file

Code:
<html>
<head>
<title>INDEX</title>
</head>
<body>
<h1>IT WORKS!!!!</h1>
</body>
</html>
and when I typed the address www.mydomain.com it displayed correctly. Then I deleted this html and uploaded my files through FTP and now the browser says :

Code:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

View 13 Replies View Related

Cronjob / Wget Error :: /bin/sh: /usr/bin/wget: Permission Denied

Apr 11, 2008

Cronjob is not working for a script on a clients cpanel account:

He set it up to grab from the path below and it is giving this error:

/bin/sh: /usr/bin/wget: Permission denied

The cronjob that is running is:

/usr/bin/wget -O - -q [url]

This is a cpanel box with centos 5

View 14 Replies View Related

Permission Denied: /home/airtrade/etc/airtrade.com.tw/passwd Passwd

Jul 20, 2008

Permission denied: /home/airtrade/etc/airtrade.com.tw/passwd passwd this is the error message obtained upon trying to create email accounts in cpanel.

the present permissions of the passwd file is 644 and ownership is username nobody i tried changing it to username.mail but still the same error

View 1 Replies View Related

Dos Sftp

Apr 3, 2007

to set up a batch file on our server (Windows Server 2003) to upload an xml document to the web everyday. Due to nature of our business, we require the ftp to be secure (SFTP), so i need a DOS SFTP add-on: any suggestions.

It is also a requirement that we PAY for it (management?! ),

View 1 Replies View Related







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