1 (edited by Peace5 2009-10-09 09:07:44)

Topic: mount: permission denied

Hello

I have an OpenVZ VPS with only ubuntu-8.04-i386.

I followed step by step this tutorial:
http://www.howtoforge.com/iredmail-mail … buntu-8.04


I cannot run this command:  mount -o remount,rw,acl /

Error message: mount: permission denied

I installed: "apt-get install acl" before I run that command

This is my fstab
/dev/hda1       /               ext3    acl,errors=remount-ro 0       1

Can somebody help me?

Thanks

Peace5

2

Re: mount: permission denied

Yes, howtoforge tutorial is out of date, but we already update iRedMail official installation guide, with below note:

Note: It seems you don't need to add this 'acl' option in /etc/fstab if you use VPS which hosted by OpenVZ, because you can't edit /etc/fstab file, and it already supports acl.

http://code.google.com/p/iredmail/wiki/ … _on_Ubuntu

3

Re: mount: permission denied

in openvz would show the error. but seem would not affect your install the iredmail.

now the newest verison, 0.51 ,no need the acl.

4

Re: mount: permission denied

Hello,

I have an OpenVZ VPS with only  ubuntu-8.04-i386-minimal installed.

I did this:

•    Install packages:
# sudo apt-get install acl    (this works ok!, I have installed ACL 2.2.45-1

I had to add ACL in fstab because I had an error message in the next command (sudo mount -o remount,rw,acl /) It says: "ACL" not found .

---------------------------------------------------------------------------------
•    Add mount option 'acl' in /etc/fstab which contains '/etc/' directory if it doesn't there yet. Copy it as a new line, and comment the old one, add 'acl' like below.
#UUID=d4cfe48c-4332-4357-bcc8-1ed977449e89 /               ext3    relatime,errors=remount-ro 0       1
UUID=d4cfe48c-4332-4357-bcc8-1ed977449e89 /               ext3    acl,relatime,errors=remount-ro 0       1

I added this line in fstab

Note: It seems you don't need to add this 'acl' option in /etc/fstab if you use VPS which hosted by OpenVZ, because you can't edit /etc/fstab file, and it already supports acl.

-----------------------------------

Then I did this

•    Remount the mount point which contains '/etc/' directory. e.g. '/':
# sudo mount -o remount,rw,acl /

mount: permission denied  (error message)

What can I do in order to solve this problem?

thanks

5

Re: mount: permission denied

Does this command work for you:

# touch /etc/iredmail-acl-testing
# setfacl -m u:bin:--- /etc/iredmail-acl-testing

If it works, you can ignore all steps about acl.

6 (edited by Peace5 2009-10-10 04:50:20)

Re: mount: permission denied

Well, I ignored all steps about acl

But it seems that PCConsole does not start.

Please check the two pictures attached.

What can I do in order to solve the problem?

Picture #1 is attached  (1/2)

Post's attachments

Screen03.jpg
Screen03.jpg 60.99 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

7 (edited by Peace5 2009-10-10 04:50:36)

Re: mount: permission denied

Picture #2 is attached   (2/2)

Post's attachments

Screen05.jpg
Screen05.jpg 131.44 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

8

Re: mount: permission denied

http://code.google.com/p/iredmail/source/checkout

in iredmail 0.5 have require the acl, and the openvz can not setting  the acl.

so you need use the newest version iredmail. you need check out the iredmail.

9 (edited by Peace5 2009-10-10 15:01:39)

Re: mount: permission denied

Thanks for your help.

I cannot install the pcconsole.

I did this.

I have a clean install with only ubuntu-8.04-i386
in an OpenVZ VPS.

Then

Step 1 "System Hostname"
Step 2 "Update /etc/apt/sources.list"
Step 3 "Start iRedMail Installation without ACL"
Step 4

root@mail:~# hg clone https://iredmail.googlecode.com/hg/ iredmail
requesting all changes
adding changesets
adding manifests
adding file changes
added 942 changesets with 6258 changes to 2922 files
1112 files updated, 0 files merged, 0 files removed, 0 files unresolved
root@mail:~#

root@mail:~# cd iRedMail-0.5.0
root@mail:~/iRedMail-0.5.0# bash iRedMail.sh
< INFO > Checking necessary command/package: dialog/dialog ...
< INFO > Check configuration file: /root/iRedMail-0.5.0/config...       
Found, but not finished.
Error opening terminal: pcconsole.
< INFO > Exit.
root@mail:~/iRedMail-0.5.0#

Can you help me?

Thanks

10

Re: mount: permission denied

Try to set TERM before you run iRedMail.sh:

# export TERM='linux'
# bash iRedMail.sh

11 (edited by Peace5 2009-10-11 16:02:29)

Re: mount: permission denied

Hello,

Well I just installed IredMail,

It is great!!!!! Thanks a lot for your help.

Could you please answer me these questions?

1) I read this: How to Setup DNS record for DKIM
With reference to adding a 'TXT' type DNS record
Where should I add it?

2) I read this: How to Setup DNS record for SPF

if my spf is like
mydomain.com.           3600    IN      TXT     "v=spf1 mx mx:mail.mydomain.com -all"

Where should I add it?

3) Should I add MX record? Where should I add it? How Can I make it?

4) How can I update ClamAV 0.95?
I have ubuntu-8.04-i386 and ClamAV 0.94.2.
Also, I read http://www.iredmail.org/forum/topic305- … -094x.html
but it does not upgrade it to 0.95.2.

5) How can I install Mailman?

6) If I reboot the VPS, will everything continue working ok?

7) This is a reference template log for postfix.

I do not have 250-VRFY. this command is missing.
How can I add it to postfix? and what does it mean?

[root@servername rootuser]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 servername.com ESMTP Postfix
#ehlo localhost
250-servername.com
250-PIPELINING
250-SIZE 10240000
250-VRFY           
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.

8) How big can a mail list be for a user?

Thanks a lot for your help!

Peace5

12 (edited by shake 2009-10-12 10:55:55)

Re: mount: permission denied

the spf and dkim record, you need to add in you dns setting, like mx record.

13

Re: mount: permission denied

Peace5 wrote:

4) How can I update ClamAV 0.95?
I have ubuntu-8.04-i386 and ClamAV 0.94.2.
Also, I read http://www.iredmail.org/forum/topic305- … -094x.html
but it does not upgrade it to 0.95.2.

You have to push package maintainer to update it since we use Ubuntu official repository.

5) How can I install Mailman?

Currently, iRedMail doesn't ship Mailman, you have to install it yourself.

6) If I reboot the VPS, will everything continue working ok?

Yes.

7) This is a reference template log for postfix.

I do not have 250-VRFY. this command is missing.
How can I add it to postfix? and what does it mean?

iRedMail disables this SMTP command in Postfix, so that spammers can't use this command to detect mail addresses you hosted.

8) How big can a mail list be for a user?

1000 by default (Postfix default setting: smtpd_recipient_limit = 1000)