Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: AndyCocker on January 17, 2006, 03:52:42 PM
-
Hi,
Just checked my Backup2WS logs, and seen this (just a sample.. there was lots more.. all from AWSTATS directory):
Jan 17 15:05:43 sme e-smith-bg: 2213: session request to 192.168.5.8 failed (Called name not present)
Jan 17 15:05:43 sme e-smith-bg: 2213: session request to 192 failed (Called name not present)
Jan 17 15:07:25 sme e-smith-bg:
Jan 17 15:07:25 sme e-smith-bg: WARNING: Cannot get /home/e-smith/files/ibays/awstats/cgi-bin/awredir.pl owner and group
Jan 17 15:07:25 sme e-smith-bg:
Jan 17 15:07:25 sme e-smith-bg: WARNING: Cannot get /home/e-smith/files/ibays/awstats/cgi-bin/awstats.model.conf owner and group
Jan 17 15:07:25 sme e-smith-bg:
Jan 17 15:07:25 sme e-smith-bg: WARNING: Cannot get /home/e-smith/files/ibays/awstats/cgi-bin/awstats.pl owner and group
Jan 17 15:07:25 sme e-smith-bg:
Jan 17 15:07:25 sme e-smith-bg: WARNING: Cannot get /home/e-smith/files/ibays/awstats/cgi-bin/lang owner and group
Jan 17 15:07:25 sme e-smith-bg:
Not sure if log has always said this... only recently checked it. Seems to be to do with ownership of files... something I don't quite understand as yet.
When I do ls -al I get this
drwxrwxrwx 2 1007 513 4096 Feb 25 2005 .
drwxrwsr-x 7 root www 4096 Jan 17 14:01 ..
-rwxrwxrwx 1 1007 513 9636 Feb 18 2005 browsers.pm
-r-xr-xr-x 1 1007 513 5781 Jun 25 2004 domains.pm
-rwxrwxrwx 1 1007 513 4161 Jan 21 2005 mime.pm
-r-xr-xr-x 1 1007 513 4658 Jan 20 2004 operating_systems.pm
-r-xr-xr-x 1 1007 513 1205 Aug 23 2003 referer_spam.pm
-rw-r--r-- 1 1007 513 15900 Sep 13 2004 robots.pm
-rwxrwxrwx 1 1007 513 18553 Nov 10 2004 search_engines.pm
-r-xr-xr-x 1 1007 513 2088 Sep 27 2003 status_http.pm
-r-xr-xr-x 1 1007 513 7033 Nov 17 2003 status_smtp.pm
-r-xr-xr-x 1 1007 513 2315 Mar 4 2004 worms.pm
The 1007 and 513 files seem to be the ones that are not getting backed up.
I installed AWSTATS using this script:
http://sme.swerts-knudsen.dk/downloads/AwStats/install_awstats.sh
Anyone know how to fix it? I don't want to make changes here without understanding what/why I'm doing.
I am on 6.01 with yum updates.
All the best,
Andy Cocker
-
do a chown root.www * looks like it incorrect owner and group not set maybe you restored these?! or something in that script didn't set these?!
-
Just checked my Backup2WS logs, and seen this (just a sample.. there was lots more.. all from AWSTATS directory):
Please report these issues directly to the authors of those contribs, and mark up the wiki section here which deals with compatibility of contribs with SME7. See the sticky post for the wiki URL. Thanks.
-
Please report these issues directly to the authors of those contribs, and mark up the wiki section here which deals with compatibility of contribs with SME7. See the sticky post for the wiki URL. Thanks.
I don't know how to directly contact Darrell.. PM is disabled on this board, and I can't find his email address anywhere. Also, I am running 6.01, so I don't understand your comment about the SME7 wiki. If I've misunderstood, please point me in the right direction.
It seems the problem I reported only occurs when I do a manual 911 backup. Last nights' scheduled 911 passed without a hitch.
I have a quick question about upgrading the Backup2WS RPM, and possibly RPM's in general.
I have installed smeserver-backup2ws-0.0.1-22dmay.noarch.rpm
which is not the most recent version. I notice that there is a version called smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
available on dmay's SME7 contrib section. I think that I should update this before reporting the error further.
Is it OK to simply install the new RPM over the top of the old one(bearing in mind I'm on 6.01 and this RPM is in the SME 7 folder - there doesn't seem to be one specific to SME 6 anymore)? Will the RPM basically handle the uninstall if required, and does this generally apply to all RPM's
Thanks,
Andy Cocker
-
You can contact Darrell over at www.myezserver.com
Also as long as you do rpm -Uvh that will upgrade the package
-
Thanks Byte.
Regards,
Andy Cocker
-
Sorry for long post, but I'm getting into difficulties with packages and the use of rpm and yum. I'm listing everything I did.
I had
smeserver-backup2ws-0.0.1-22dmay.noarch.rpm
installed.
I used wget to download smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
.
I used rpm -Uvh smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
and got the following error: failed dependencies:
rar >= 3.5.1 is needed by smeserver-backup2ws-0.0.1-31dmay
As I have rar-3.1.0-1dmc.i386.rpm
installed, I downloaded rar-3.5.1-7dmay.i386.rpm
and did rpm -Uvh rar-3.5.1-7dmay.i386.rpm
and got error: failed dependencies:
libgcc_s.so.1 is needed by rar-3.5.1-7dmay
libgcc_s.so.1(GCC_3.0) is needed by rar-3.5.1-7dmay
libgcc_s.so.1(GLIBC_2.0) is needed by rar-3.5.1-7dmay
libstdc++.so.5 is needed by rar-3.5.1-7dmay
libstdc++.so.5(CXXABI_1.2) is needed by rar-3.5.1-7dmay
libstdc++.so.5(GLIBCPP_3.2) is needed by rar-3.5.1-7dmay
smeserver-release >= 7.0 is needed by rar-3.5.1-7dmay
Is this version only for SME 7? I am on 6.01, but there is no SME 6 related version on dmay's site.
At this point I remembered someone saying something about always installing via YUM as it handles the dependencies (correct?), so I tried yum install smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
and got Gathering package information from servers
Getting headers from: SME Server 6.0.1 os
Getting headers from: SME Server 6.0.1 updates
Getting headers from: SME Server 6.x base updates
Finding updated packages
Downloading needed headers
No Packages Available for Update or Install
No actions to take
Now however, if I do rpm -qv sme*
I get package smeserver-backup2ws-0.0.1-31dmay.noarch.rpm is not installed
Doing rpm -qa
I get <snip>
smeserver-backup2ws-0.0.1-22dmay
<snip>
Backup2WS still seems to be functional, but it's obviously not installed the new version. What worries me is that it doesn't list the old version when I do rpm -qv sme*
, only tells me that the later version is not installed.
What should I do? Thanks.
Andy Cocker
-
Andy,
IIRC this smeserver-backup2ws-0.0.1-31dmay.noarch.rpm backwords compatible with 6.0.X
What I would do is issue a rpm -e the old packages first...
Ok now make sure you have...
smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
rar-3.5.1-1dmay.i386.rpm (this is version needed for 6.0.X)
before you install do... if you still require libstdc++ do a
yum -y install libstdc++
HTH
-
Byte,
Ok, dunno how I missed the rar-3.5.1-1dmay.i386.rpm in dmays SME6 folder. What a dummy I am!
Anyway, did as you suggested.
rpm -e smeserver-backup2ws-0.0.1-22dmay.noarch.rpm
told me it wasn't installed.
rpm -e smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
also told me it wasn't installed!
Successfully removed my previous version of RAR and installed new one.
Reinstalled both packages with rpm -Uvh rar-3.5.1-1dmay.i386.rpm
rpm -Uvh smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
Should I have used yum?
Everything appeared fine.
Tested Backup2WS 911 manual job, and worked OK.
Only one thing still bothering me.
rpm -qv smeserver-backup2ws-0.0.1-31dmay.noarch.rpm
and
rpm -qv rar-3.5.1-1dmay.i386.rpm
tells me that both packages are not installed!!
Am I doing something wrong? Is rpm -qv the correct command to query package installation?
Andy
-
Code:
rpm -e smeserver-backup2ws-0.0.1-22dmay.noarch.rpm
told me it wasn't installed.
you need to use...
rpm -e smeserver-backup2ws-0.0.1-22dmay
That will uninstall it never put the version number on when you uninstall a rpm otherwise it will not find it as you said, the same will be for the rar rpm to
-
Byte,
It makes sense now. Using the proper syntax shows that the correct versions of backup2ws and rar are installed, even though I didn't actually uninstall the earlier versions.
Thanks for taking the time to explain that to me.
Learning more everyday :-)
All the best,
Andy