Your Daily Database Backup Failed.

Support for IntegraMOD 141

Moderator: Integra Moderator

Your Daily Database Backup Failed.

PostAuthor: Blue-Blood » Sat May 10, 2008 6:44 pm

Your phpBB Version: 2.0.23
phpBB Type: Integramod 141f
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://vividcs.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
Your Daily Database Backup Failed.


What was done to try to solve the problem?
CHMOD is 777
deleted the .htacess




De.scription and Message

I get this message in my inbox

Your Daily Database Backup Failed.

thanks

PS i found bug on this forum in the Latest ratings page

when you click onthe topic you get this message

The topic or post you requested does not exist
Last edited by Blue-Blood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 9:46 pm
Cash on hand: 0.00
Location: Louisville KY

Re: Your Daily Database Backup Failed.

PostAuthor: Blue-Blood » Sat May 10, 2008 6:49 pm

oh yeah i do have the bot name mod installed. but the backups still worked after i installed it...

it just started not working the past week
Last edited by Blue-Blood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Blue-Blood
Integra Member
Integra Member
 
Posts: 102
Likes: 0 post
Liked in: 0 post
Joined: Tue Jul 04, 2006 9:46 pm
Cash on hand: 0.00
Location: Louisville KY

PostAuthor: star » Thu May 15, 2008 2:27 pm

my bk ups dont work and that was with a fresh install of 141 with nothing added everything chmd right i get a pm that says your daily back up failed.. lists the dates of available bk ups on my server and in admin special but all say 0 kb's
Last edited by star on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

star
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Sat Jun 17, 2006 12:50 pm
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: XHIBIT » Sat May 17, 2008 3:39 pm

Yeah I'd like to join this club also, I've been getting the exact same thing for over a month now
Last edited by XHIBIT on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/LP-ani.gif[/img][/url]
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/ALBUM%203/rabbitbanner.jpg[/img][/url]
[url=http][img=center]http://5thshiftradio.top-site-list.com/images/banners/5thshiftradio.jpg[/img][/url]
User avatar
XHIBIT
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 25, 2007 11:44 am
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: Allen » Sat May 17, 2008 6:58 pm

First install I didn't set the permissions before running install. so I also had the problem. Now I have installed a second forum and I was sure to check the file permissions and I got my first backup failed email just now.

So it is not a permissions problem.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: Allen » Sun May 18, 2008 12:47 am

Never mind, I messed up and published the phpbb_security.php from the test site when I uploaded all my patched CTracker pages...... The test site of course did not have the permissions set prior to install. What a confusing mess I have made for myself.

I will remove and do a fresh install in the morning.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: Helter » Sun May 18, 2008 8:55 am

if you do a search for the error message, you will find some usefull info, but it seems more common lately that web hosts are tightening up security and disabling certain php functions that are required for phpbbsecurity to work properly. Windows servers are notorious for issues here due to directory structure and permissions. Also be sure your host has not disabled the ()system command
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Your Daily Database Backup Failed.

PostAuthor: Allen » Sun May 18, 2008 1:29 pm

Ok, Re-installed. No changes what so ever aside from finishing my profile. Went to Admin. Security-special setting the Max admin and mod.

All CHmod permissions set and double check prior to running the install. Program will not hold max admin and mod settings. This is right out of the box.

I know I can go in and

"HelterSkelter";p="32862" wrote:it is because when you installed your forum, includes/phpbb_security.php was not chmodded to 666 so the install was not able to write to the file. You will have to edit the file to match the database entry.
in your database open phpbb_config.
look for these thee entries and thier following values.

sec_admin
sec_mods
sec_name

open includes/phpbb_security.php
find

function phpBBSecurity_AdminConfigName()
{
return 'phpBBSecurity_max_admins';
}

function phpBBSecurity_ModConfigName()
{
return 'phpBBSecurity_max_mods';
}

function phpBBSecurity_UseSpecial()
{
return 'phpBBSecurity_use_max';
}

replace the info in red with the values from the database fields
*note... the values are auto generated and will look something like kxucgncqteynvtykgiusb
after you have edited this file, set the chmod to 644


This will fix the max admins but it wont fix the back up issue.

I will be adding this

"HelterSkelter";p="33063" wrote:try this

OPEN includes/phpbb_security.php

FIND
Code: Select all
            system("/usr/bin/mysqldump -u". $dbuser ." -p". $dbpasswd ." -h ". $dbhost ." ". $dbname ." > ". (($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] ]) . $board_config['.script_path'] . $backup_folder ."/". $backup_file  ."-". date('Y-m-d') .".sql", $fp);  


REPLACE WITH

Code: Select all
    include_once($phpbb_root_path .'includes/functions.'. $phpEx);    $my_path = search_mysqldump();    system($my_path ."mysqldump -u". $dbuser ." -p". $dbpasswd ." -h ". $dbhost ." ". $dbname ." > ". (($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] ]) . $board_config['.script_path'] . $backup_folder ."/". $backup_file  ."-". date('Y-m-d') .".sql", $fp);



I hope this will solve the back up issue. I will repost with the results.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: Allen » Sun May 18, 2008 1:37 pm

I this the correct information?

Folder To Put Backups In
This folder MUST be in your forum root directory, it MUST be CHMOD -> 777
folder name- backup

Should there be a or a / before the folder name?
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: star » Sun May 18, 2008 1:43 pm

"HelterSkelter";p="33181" wrote:if you do a search for the error message, you will find some usefull info, but it seems more common lately that web hosts are tightening up security and disabling certain php functions that are required for phpbbsecurity to work properly. Windows servers are notorious for issues here due to directory structure and permissions. Also be sure your host has not disabled the ()system command


ive been running 140 with out any issues on back ups worked fine for 2 years on my server was working right up till i replaced it.. only since i installed 141 did it stop and was a clean full install not an upgrade
Last edited by star on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

star
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Sat Jun 17, 2006 12:50 pm
Cash on hand: 0.00

Re: Your Daily Database Backup Failed.

PostAuthor: Helter » Sun May 18, 2008 3:39 pm

"Allen";p="33186" wrote:I this the correct information?

Folder To Put Backups In
This folder MUST be in your forum root directory, it MUST be CHMOD -> 777
folder name- backup

Should there be a or a / before the folder name?


that depends whether you looking at it from the server root path "" or the ftp path"/"
which slash to use depends on how your looking at the folder.


"star";p="33187" wrote:
"HelterSkelter";p="33181" wrote:if you do a search for the error message, you will find some usefull info, but it seems more common lately that web hosts are tightening up security and disabling certain php functions that are required for phpbbsecurity to work properly. Windows servers are notorious for issues here due to directory structure and permissions. Also be sure your host has not disabled the ()system command


ive been running 140 with out any issues on back ups worked fine for 2 years on my server was working right up till i replaced it.. only since i installed 141 did it stop and was a clean full install not an upgrade


is your 140 backup still functioning? The #1 reason for this failure on a site that once worked is a php version upgrade with tighter security
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Your Daily Database Backup Failed.

PostAuthor: Allen » Sun May 18, 2008 5:07 pm

The fix's I quoted from Helter Work!

I just got an email saying

Your Daily Database Backup Was Completed.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

PostAuthor: BurninFingerTipz » Sat Jun 21, 2008 10:34 pm

Slight problem, I did as Allen quoted, but now I'm banned from my site since that values were set to nothing since the mod wasn't installed correctly by default... <img>

How can I fix this?


[s:c9rnue37][Edit] - Also, trying to figure out why it's blocking my account when I had it disabled...[/s:c9rnue37]

[Edit] - Figured a work around.

function phpBBSecurity_UseSpecial()
{
return 'sec_name';
}

Just leave sec_name misspelled, out, or at whatever it was, but the rest of it make sure it's sec_admin, sec_mods (as post in Allen's post,) this way it'll save your set # of admin(s) and mods, but it'll be disabled (so no admin/mod banning.) Edit the file to have sec_name, then it'll enable, and you're set to go!


Thanks to Allen for the security fix, and Helter for the original post quoted.
Last edited by BurninFingerTipz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BurninFingerTipz
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 6:49 pm
Cash on hand: 0.00
Location: Ohio, USA

Re: Your Daily Database Backup Failed.

PostAuthor: .QUACK.Major.Pain » Mon Jun 30, 2008 2:50 pm

"Allen";p="33192" wrote:The fix's I quoted from Helter Work!

I just got an email saying

Your Daily Database Backup Was Completed.


Tried the fix and didn't work here.

It worked on our site for several months and then stopped.
Our host said no updating has been done with security that would cause this.
Never believed anything they said anyway. LOL
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]