Hi,

looks like the mount-"Bug" that was recently introduced in RH.
Please change /omd/sites/FOO by /opt/omd/sites/FOO in your /etc/fstab.

Mathias


Am 15.03.2013 13:23, schrieb sosogh:
Hi
Thank you for your reply , Sven.
I am sorry .I am a newbie in ubuntu.
I don't  know how to verify it excatly.
root@myhost:~# apparmor_status
-bash: apparmor_status: command not found
root@myhost:~# ls -al /etc/init.d/apparmor
ls: cannot access /etc/init.d/apparmor: No such file or directory
root@myhost:~# ls -al /etc/app*
/etc/apparmor:
total 12
drwxr-xr-x  3 root root 4096 Jun  9  2012 .
drwxr-xr-x 87 root root 4096 Mar 15 15:45 ..
drwxr-xr-x  3 root root 4096 Jun  9  2012 init
/etc/apparmor.d:
total 32
drwxr-xr-x  4 root root 4096 Mar 14 21:23 .
drwxr-xr-x 87 root root 4096 Mar 15 15:45 ..
drwxr-xr-x  2 root root 4096 Jun  9  2012 force-complain
drwxr-xr-x  2 root root 4096 Mar 14 21:23 local
-rw-r--r--  1 root root 2139 Apr 10  2012 sbin.dhclient
-rw-r--r--  1 root root 1046 Feb 22 02:23 usr.sbin.mysqld
-rw-r--r--  1 root root 1279 Jun  5  2012 usr.sbin.named
-rw-r--r--  1 root root 1418 Jan  3  2012 usr.sbin.tcpdump
root@myhost:~# ls -al /etc/apparmor.d/local/
total 24
drwxr-xr-x 2 root root 4096 Mar 14 21:23 .
drwxr-xr-x 4 root root 4096 Mar 14 21:23 ..
-rw-r--r-- 1 root root  120 Jun  9  2012 sbin.dhclient
-rw-r--r-- 1 root root  122 Mar 14 21:23 usr.sbin.mysqld
-rw-r--r-- 1 root root  121 Jun  5  2012 usr.sbin.named
-rw-r--r-- 1 root root  123 Jun  9  2012 usr.sbin.tcpdump
root@myhost:~# ls -al /etc/apparmor.d/force-complain/
total 8
drwxr-xr-x 2 root root 4096 Jun  9  2012 .
drwxr-xr-x 4 root root 4096 Mar 14 21:23 ..
2013-03-15
------------------------------------------------------------------------
sosogh
------------------------------------------------------------------------
  Sven Nierlein
  2013-03-15  20:07:23
  sosogh
  omd-users
  Re: [omd-users] create site failed : mount: must be superuser touse mount
Hi,
i cannot reproduce that. Do you have something like apparmor or selinux enabled?
Btw, both "a2enmod" are unnecessary, this is done by the package already.
   Sven
On 15.03.2013 13:00, sosogh wrote:
 > Hi
 > I installed omd in my ubuntu,when I created site ,it showed error:mount: 
must be superuser to use mount
 > root@myhost:~# omd create hahamy
 > Adding /omd/sites/hahamy/tmp to /etc/fstab.
 > Restarting Apache...apache2: Could not reliably determine the server's fully 
qualified domain name, using 2605:f700:40:400::dec0:f5b2 for ServerName
 > apache2: Could not reliably determine the server's fully qualified domain 
name, using 2605:f700:40:400::dec0:f5b2 for ServerName
 > OK
 > Creating temporary filesystem /omd/sites/hahamy/tmp...mount: must be 
superuser to use mount
 > ERROR
 > Created new site hahamy with version 0.56.
 >   The site can be started with omd start hahamy.
 >   The default web UI is available at http://myhost/hahamy/
 >   The admin user for the web applications is omdadmin with password omd.
 >   Please do a su - hahamy for administration of this site.
 > root@myhost:~# lsb_release -a
 > No LSB modules are available.
 > Distributor ID: Ubuntu
 > Description:    Ubuntu 12.04 LTS
 > Release:        12.04
 > Codename:       precise
 > root@myhost:~# df -h
 > Filesystem      Size  Used Avail Use% Mounted on
 > /dev/simfs      100G  1.5G   99G   2% /
 > none            768M  8.0K  768M   1% /dev
 > none            154M  1.1M  153M   1% /run
 > none            5.0M     0  5.0M   0% /run/lock
 > none            768M     0  768M   0% /run/shm
 > How I installed it is:
 > root@myhost:~# history
 >     1  echo 'deb http://labs.consol.de/OMD/ubuntu precise main' >> 
/etc/apt/sources.list
 >     2  apt-get update
 >     3  apt-get install omd
 >     4  a2enmod proxy
 >     5  a2enmod proxy_http
 >     6  /etc/init.d/apache2 restart
 >     7  omd create mysite
 >     8  omd start
 > Any hint is appreciated.
 > Thank you very much!
 > 2013-03-15
 > 
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-----
 > sosogh
 >
 >
 > _______________________________________________
 > omd-users mailing list
 > [email protected]
 > http://lists.mathias-kettner.de/mailman/listinfo/omd-users


_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users


_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to