#21  
Old 7th January 2006, 23:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by shajazzi
My apache owner is root and group is root
I doubt that your Apache user and group are root because you have to compile Apache in a special way so that Apache allows to be run as root.
You can find the Apache owner and group in the Apache configuration file.

Please find out to which directory your applications try to upload, and then post the output of
Code:
ls -la /path/to/upload_directory
I'm sure it's a permissions problem.
Maybe the installation instructions of your applications mention something about directory permissions.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #22  
Old 8th January 2006, 00:53
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Thanks for the reply Blu3

The install new components section looks like this after a failed install:

Upload Package File

Upload component - Upload Failed
ERROR: Could not find an XML setup file in the package.
[ Continue ... ]
Upload component - Failed
Installation file not found:
/srv/www/web13/web/media/install_43c0519ce09a8/
[ Continue ... ]

Install from directory

Upload new component - Error
Installation file not found:
/srv/www/web13/web/administrator/components/com_installer/component/
[ Continue ... ]

Everything is writeable:

media/ Writeable
administrator/components/ Writeable
components/ Writeable
images/stories/ Writeable



I tried to installing components from from both my desktop and root, both with the same results.
I also logged into administration from another machine running on windows and tried to upload component from it`s Desktop but unfortunately got the same results.

shajazzi.
Reply With Quote
  #23  
Old 8th January 2006, 01:58
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Thanks falko,
I could not find anything that relates to owner or group in the etc/apache2/httpd.conf only when I right click on under ownership:

user root
group root

Maybe i am looking at the wrong file or folder.



I have just noticed something else.
There is no .htaccess file but instead htaccess.txt.
I cannot reach the site from www.mysite.co.uk but I can from www.mysite.co.uk/index.php.

And another funny thing. I copied mysite folder from my windows server on to a disc so that i could transfer it to my Linux server. I opened the folder and the .htaccess file was missing (something weird going on)

shajazzi
Reply With Quote
  #24  
Old 8th January 2006, 06:32
Blu3 Blu3 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again,

Well it looks like that might be your problem all along.

" ERROR: Could not find an XML setup file in the package. "

Basically components in Joomla/Mambo use a xml file to tell Joomla what it is and what to do with it.

What component are you trying to install?

And are you sure that there is an xml file included with it?

Also have you checked to be sure you have xml support on your apache/php installation?

Honestly it sounds like other than, you should be ok. If all your dirs are Writable and you have tried the above, then I would check those two things. I have some experience with joomla, and it seems to be pretty much smooth sailing for everyone of my joomla installs.
Reply With Quote
  #25  
Old 8th January 2006, 06:36
Blu3 Blu3 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry to double post Admins.

I just read your last post shajazzi, and the htaccess.txt is normal. This is the default and should remain this way. If you change the file to .htaccess then you will not be able to browse your site. joomla uses htaccess.txt, versus .htaccess, for cross compadiblity, ie: Win, Linux, Apache etc...

Just an fyi
Reply With Quote
  #26  
Old 8th January 2006, 11:32
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

The component that i am trying to install is Recommend_2_2>zip
I check for the XML file and it does exist.
I deleted from my windows server and then reinstalled it and it works ok
so there is nothing wrong with the Zip folder
How do i check to see if i have xml support on my apache/php installation?

sorry I`m a bit lost in Linux

shajazzi
Reply With Quote
  #27  
Old 8th January 2006, 18:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by shajazzi
Install from directory

Upload new component - Error
Installation file not found:
/srv/www/web13/web/administrator/components/com_installer/component/
[ Continue ... ]

Everything is writeable:

media/ Writeable
administrator/components/ Writeable
components/ Writeable
images/stories/ Writeable
Please post the output of
Code:
ls -la /srv/www/web13/web/
ls -la /srv/www/web13/web/administrator/
ls -la /srv/www/web13/web/images/
Quote:
Thanks falko,
I could not find anything that relates to owner or group in the etc/apache2/httpd.conf only when I right click on under ownership:

user root
group root

Maybe i am looking at the wrong file or folder.
It is possible that there are other files included in /etc/apache2/httpd.conf. Please have a look at those files, too. Normally, under SuSE, the Apache owner is wwwrun, and the group is www.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #28  
Old 8th January 2006, 20:19
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Thanks for the reply falko
The results of the codes are
:ls -la /srv/www/web13/web/

total 98
drwxrwxrwx 15 root web13 792 Jan 7 20:30 .
drwxr-xr-x 8 root web13 192 Jan 7 20:18 ..
-rw-rw-rw- 1 500 500 23333 Feb 16 2005 CHANGELOG
-rw-rw-rw- 1 500 500 3725 Jan 22 2005 INSTALL
-rw-rw-rw- 1 500 500 17977 Dec 3 2004 LICENSE
drwxrwxrwx 9 500 500 360 Feb 16 2005 administrator
drwxrwxrwx 3 500 500 112 Feb 16 2005 cache
drwxrwxrwx 16 500 500 504 Feb 16 2005 components
-rw-rw-rw- 1 500 500 2306 Jan 7 23:32 configuration.php
drwxrwxrwx 2 500 500 272 Feb 16 2005 editor
drwxrwxrwx 2 root web13 576 Jan 7 20:18 error
-rw-rw-rw- 1 500 500 1269 Jan 24 2005 globals.php
drwxrwxrwx 3 500 500 2528 Feb 16 2005 help
-rw-rw-rw- 1 500 500 580 Jan 22 2005 htaccess.txt
drwxrwxrwx 6 500 500 384 Feb 16 2005 images
drwxrwxrwx 9 500 500 1072 Feb 16 2005 includes
-rw-rw-rw- 1 root web13 1214 Jan 7 20:18 index.html
-rw-rw-rw- 1 500 500 5332 Feb 16 2005 index.php
-rw-rw-rw- 1 500 500 3365 Feb 10 2005 index2.php
drwxrwxrwx 2 500 500 184 Feb 16 2005 language
-rw-rw-rw- 1 500 500 453 Jan 6 2005 mainbody.php
drwxrwxrwx 6 500 500 184 Feb 16 2005 mambots
drwxrwxrwx 2 500 500 112 Jan 7 23:41 media
drwxrwxrwx 2 500 500 1296 Feb 16 2005 modules
-rw-rw-rw- 1 500 500 2005 Jan 6 2005 offline.php
-rw-rw-rw- 1 500 500 451 Jan 6 2005 pathway.php
-rw-rw-rw- 1 500 500 286 Dec 3 2004 robots.txt
drwxrwxrwx 6 500 500 208 Feb 16 2005 templates

ls -la /srv/www/web13/web/administrator/

total 25
drwxrwxrwx 9 500 500 360 Feb 16 2005 .
drwxrwxrwx 15 root web13 792 Jan 7 20:30 ..
drwxrwxrwx 2 500 500 80 Feb 16 2005 backups
drwxrwxrwx 31 500 500 1000 Feb 16 2005 components
drwxrwxrwx 2 500 500 2920 Feb 16 2005 images
drwxrwxrwx 4 500 500 288 Feb 16 2005 includes
-rw-rw-rw- 1 500 500 3536 Feb 13 2005 index.php
-rw-rw-rw- 1 500 500 3201 Jan 6 2005 index2.php
-rw-rw-rw- 1 500 500 4455 Jan 6 2005 index3.php
-rw-rw-rw- 1 500 500 1576 Jan 6 2005 logout.php
drwxrwxrwx 2 500 500 608 Feb 16 2005 modules
drwxrwxrwx 2 500 500 216 Feb 16 2005 popups
drwxrwxrwx 4 500 500 144 Feb 16 2005 templates


ls -la /srv/www/web13/web/images/

total 38
drwxrwxrwx 6 500 500 384 Feb 16 2005 .
drwxrwxrwx 15 root web13 792 Jan 7 20:30 ..
drwxrwxrwx 2 500 500 1080 Feb 16 2005 M_images
drwxrwxrwx 2 500 500 152 Feb 16 2005 banners
-rw-rw-rw- 1 500 500 151 Dec 3 2004 blank.png
-rw-rw-rw- 1 500 500 564 Dec 3 2004 cancel.png
-rw-rw-rw- 1 500 500 1457 Dec 3 2004 cancel_f2.png
-rw-rw-rw- 1 500 500 1406 Dec 3 2004 favicon.ico
-rw-rw-rw- 1 500 500 44 Dec 3 2004 index.html
-rw-rw-rw- 1 500 500 7274 Dec 3 2004 logo.png
-rw-rw-rw- 1 500 500 698 Dec 3 2004 save.png
-rw-rw-rw- 1 500 500 1822 Dec 3 2004 save_f2.png
drwxrwxrwx 2 500 500 256 Feb 16 2005 smilies
drwxrwxrwx 4 500 500 344 Feb 16 2005 stories

All the files and folders under apache2
owner root
group root

shajazzi
Reply With Quote
  #29  
Old 8th January 2006, 23:16
admin admin is offline
Administrator
 
Join Date: Apr 2005
Posts: 14
Thanks: 3
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by shajazzi
Thanks for the reply falko
The results of the codes are
:ls -la /srv/www/web13/web/

total 98
drwxrwxrwx 15 root web13 792 Jan 7 20:30 .
drwxr-xr-x 8 root web13 192 Jan 7 20:18 ..
-rw-rw-rw- 1 500 500 23333 Feb 16 2005 CHANGELOG
-rw-rw-rw- 1 500 500 3725 Jan 22 2005 INSTALL
-rw-rw-rw- 1 500 500 17977 Dec 3 2004 LICENSE
drwxrwxrwx 9 500 500 360 Feb 16 2005 administrator
drwxrwxrwx 3 500 500 112 Feb 16 2005 cache
drwxrwxrwx 16 500 500 504 Feb 16 2005 components
-rw-rw-rw- 1 500 500 2306 Jan 7 23:32 configuration.php
drwxrwxrwx 2 500 500 272 Feb 16 2005 editor
drwxrwxrwx 2 root web13 576 Jan 7 20:18 error
-rw-rw-rw- 1 500 500 1269 Jan 24 2005 globals.php
drwxrwxrwx 3 500 500 2528 Feb 16 2005 help
-rw-rw-rw- 1 500 500 580 Jan 22 2005 htaccess.txt
drwxrwxrwx 6 500 500 384 Feb 16 2005 images
drwxrwxrwx 9 500 500 1072 Feb 16 2005 includes
-rw-rw-rw- 1 root web13 1214 Jan 7 20:18 index.html
-rw-rw-rw- 1 500 500 5332 Feb 16 2005 index.php
-rw-rw-rw- 1 500 500 3365 Feb 10 2005 index2.php
drwxrwxrwx 2 500 500 184 Feb 16 2005 language
-rw-rw-rw- 1 500 500 453 Jan 6 2005 mainbody.php
drwxrwxrwx 6 500 500 184 Feb 16 2005 mambots
drwxrwxrwx 2 500 500 112 Jan 7 23:41 media
drwxrwxrwx 2 500 500 1296 Feb 16 2005 modules
-rw-rw-rw- 1 500 500 2005 Jan 6 2005 offline.php
-rw-rw-rw- 1 500 500 451 Jan 6 2005 pathway.php
-rw-rw-rw- 1 500 500 286 Dec 3 2004 robots.txt
drwxrwxrwx 6 500 500 208 Feb 16 2005 templates

ls -la /srv/www/web13/web/administrator/

total 25
drwxrwxrwx 9 500 500 360 Feb 16 2005 .
drwxrwxrwx 15 root web13 792 Jan 7 20:30 ..
drwxrwxrwx 2 500 500 80 Feb 16 2005 backups
drwxrwxrwx 31 500 500 1000 Feb 16 2005 components
drwxrwxrwx 2 500 500 2920 Feb 16 2005 images
drwxrwxrwx 4 500 500 288 Feb 16 2005 includes
-rw-rw-rw- 1 500 500 3536 Feb 13 2005 index.php
-rw-rw-rw- 1 500 500 3201 Jan 6 2005 index2.php
-rw-rw-rw- 1 500 500 4455 Jan 6 2005 index3.php
-rw-rw-rw- 1 500 500 1576 Jan 6 2005 logout.php
drwxrwxrwx 2 500 500 608 Feb 16 2005 modules
drwxrwxrwx 2 500 500 216 Feb 16 2005 popups
drwxrwxrwx 4 500 500 144 Feb 16 2005 templates


ls -la /srv/www/web13/web/images/

total 38
drwxrwxrwx 6 500 500 384 Feb 16 2005 .
drwxrwxrwx 15 root web13 792 Jan 7 20:30 ..
drwxrwxrwx 2 500 500 1080 Feb 16 2005 M_images
drwxrwxrwx 2 500 500 152 Feb 16 2005 banners
-rw-rw-rw- 1 500 500 151 Dec 3 2004 blank.png
-rw-rw-rw- 1 500 500 564 Dec 3 2004 cancel.png
-rw-rw-rw- 1 500 500 1457 Dec 3 2004 cancel_f2.png
-rw-rw-rw- 1 500 500 1406 Dec 3 2004 favicon.ico
-rw-rw-rw- 1 500 500 44 Dec 3 2004 index.html
-rw-rw-rw- 1 500 500 7274 Dec 3 2004 logo.png
-rw-rw-rw- 1 500 500 698 Dec 3 2004 save.png
-rw-rw-rw- 1 500 500 1822 Dec 3 2004 save_f2.png
drwxrwxrwx 2 500 500 256 Feb 16 2005 smilies
drwxrwxrwx 4 500 500 344 Feb 16 2005 stories
Why do most of the files/directories belong to user and group 500?

Quote:
All the files and folders under apache2
owner root
group root

shajazzi
In one of the Apache configuration files you should have something like this:

Code:
User wwwuser
Group www
The permissions of the configuration files are not what I'm talking about.
Reply With Quote
  #30  
Old 9th January 2006, 00:19
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

OK I`ve found it in uid.conf, uid.conf010106, uid.conf04-01-06, uid.conf28-12-05 and uid.conf17-12-05.
Silly question
What should i do with them?

shajazzi
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sitebuilder Mahir General 8 10th November 2005 09:19
ispconfig error misterm Installation/Configuration 2 6th September 2005 20:36


All times are GMT +2. The time now is 02:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.