Anybody here works with CentOS 6?

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
The main issue is... I can't get wget to work.

Unable to resolve host address error.
I can ping, but I cannot use wget to download from net.

When I tried to edit ifcfg-venet0 and add DNS, when I restart the server, it resets itself to original - meaning I cannot add DNS to it.

Any help?
 

inZ

Well-known member
Joined
Apr 6, 2013
Messages
270
Reaction score
1
Open a ticket to the host owner nab
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Sorted that issue myself by adding a DNS to /etc/sysconfig/network instead of /etc/sysconfig/network-scripts/ifcfg-xxx.

Now can't login to MySQL -> ERROR 1045 (28000).
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
CentOS is  :celeral_spitting: and also the Host should set up these things by itself, if not it's probably a bad host.
 

m1zg4rd_PL

Well-known member
Joined
Jul 19, 2013
Messages
222
Reaction score
0
Mr.Ze link said:
Now can't login to MySQL -> ERROR 1045 (28000).

1. Add skip-grant-tables to MySQL config (/etc/my.cnf)
2. Restart the service
3. Set the password: update mysql.user set password=PASSWORD('newpass') where User='root';)
4. Remove the skip-grant-tables option
5. If this still not work, get Fedora.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
m1zg4rd link said:
[quote author=Mr.Ze link=topic=9023.msg52439#msg52439 date=1407230066]
Now can't login to MySQL -> ERROR 1045 (28000).

1. Add skip-grant-tables to MySQL config (/etc/my.cnf)
2. Restart the service
3. Set the password: update mysql.user set password=PASSWORD('newpass') where User='root';)
4. Remove the skip-grant-tables option
5. If this still not work, get Fedora.
[/quote]
lol copied directly off the net... tried already of course, I'm not a noob. Does not bring up MySQL.

Thanks for your help.
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
well it depends on which side you can't log-in.
Sys Maint acc?
MySQL root?
MySQL custom user?
Too lesssssssssssssssssssssss informationz
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
0x688 link said:
well it depends on which side you can't log-in.
Sys Maint acc?
MySQL root?
MySQL custom user?
Too lesssssssssssssssssssssss informationz
All righty, let me explain.

Installing phpBB on CentOS 6 is easy...

but I have encountered a problem as I tried to execute (as ROOT):
Code:
# echo "CREATE DATABASE phpbb;" | mysql -u root -p
it asks for a password.
I enter a ROOT password and get the following:
Code:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Tried without a password and get the identical.

I simply cannot access MySQL.

Do you know how I could reset the password through Linux commands or reset/reinstall whole MySQL perhaps?
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
well, you can try yum remove mysql-server or smth never worked with a fedora based system.
other than that you can only change the passwd by setting the server in skip-grant-tables mode and editing the user database.
should be
Code:
mysqld_safe --skip_grant_tables &
, this will allow you to connect to any mysql user w/o a password with this you can change the password.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
0x688 link said:
well, you can try yum remove mysql-server or smth never worked with a fedora based system.
other than that you can only change the passwd by setting the server in skip-grant-tables mode and editing the user database.
should be
Code:
mysqld_safe --skip_grant_tables &
, this will allow you to connect to any mysql user w/o a password with this you can change the password.
I will try to reinstall whole MySQL.

I tried to skip grant tables before but it would just get me stuck empty to type in the console.

NOPE NOPE NOPE!

My ticket has been answered; when you do that, you have to open another window and enter MySQL with no password.

Now how do we set new password?
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
I manage many of my VPSs which run on CentOS 6 and few on Debian, Ubuntu etc. The issue in bold has nothing to do with your host or VPS connecttion, but rather those name servers are down and are not being to resolve the domains or the domain has expired, that's what it means. Please see, this is not a centos 6 issue in any way. I see you're able to ping which is weird, since if it can't resolve via wget, it wont be able to ping the domain either.

Edit - I see you got it running, so nevermind.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Flash link said:
I manage many of my VPSs which run on CentOS 6 and few on Debian, Ubuntu etc. The issue in bold has nothing to do with your host or VPS connecttion, but rather those name servers are down and are not being to resolve the domains or the domain has expired, that's what it means. Please see, this is not a centos 6 issue in any way. I see you're able to ping which is weird, since if it can't resolve via wget, it wont be able to ping the domain either.

Edit - I see you got it running, so nevermind.
And after all of this, I encountered another problem.

The forum is installed to xxx.xxx.xxx.xxx/phpBB3 -> if I point my domain.zzz to xxx.xxx.xxx.xxx - my forums will be on domain.zzz/phpBB3 or just domain.zzz? How can I get it from xxx.xxx.xxx.xxx/phpBB3 to domain.zzz?

P.S. pointing atm doesnt work and idk why but still...
Using Volt-Host.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
/phpBB3 is the folder directory to your root directory, it will only be there if you created that folder, delete it, if you want your forum at root directory and please for fuck sakes, don't use any sa-mp hosts, they are ran by teens with no idea regarding Linux operating systems and their only motives is earn $$$ from you and others. Volt-Host sucks balls specifically and it aint Volt-Host anymore, so dont expect any quality support either.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Flash link said:
/phpBB3 is the folder directory to your root directory, it will only be there if you created that folder, delete it, if you want your forum at root directory and please for fuck sakes, don't use any sa-mp hosts, they are ran by teens with no idea regarding Linux operating systems and their only motives is earn $$$ from you and others. Volt-Host sucks balls specifically and it aint Volt-Host anymore, so dont expect any quality support either.
If I install it to /var/www/html/ it will install to /var/www/html/phpBB3 automatically, it will then be located at IP.IP.IP.IP/phpBB3.

If I rename that directory to Nerd it will be on IP.IP.IP.IP/Nerd

I can't get it on just IP.IP.IP.IP.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
Mr.Ze link said:
[quote author=Flash link=topic=9023.msg52535#msg52535 date=1407254125]
/phpBB3 is the folder directory to your root directory, it will only be there if you created that folder, delete it, if you want your forum at root directory and please for fuck sakes, don't use any sa-mp hosts, they are ran by teens with no idea regarding Linux operating systems and their only motives is earn $$$ from you and others. Volt-Host sucks balls specifically and it aint Volt-Host anymore, so dont expect any quality support either.
If I install it to /var/www/html/ it will install to /var/www/html/phpBB3 automatically, it will then be located at IP.IP.IP.IP/phpBB3.

If I rename that directory to Nerd it will be on IP.IP.IP.IP/Nerd

I can't get it on just IP.IP.IP.IP.
[/quote]

I guess that's configured by Volt as default for all such script installations. Mhmm, just as I suspected, you need root access for that and since you're on web hosting from Volt, you can't delete it by yourself and you don't have root access either, ask Volt support to do it for you and if they can't or won't, get a VPS with root access man.

Can't you just delete the damn folder ?
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Flash link said:
[quote author=Mr.Ze link=topic=9023.msg52544#msg52544 date=1407254948]
[quote author=Flash link=topic=9023.msg52535#msg52535 date=1407254125]
/phpBB3 is the folder directory to your root directory, it will only be there if you created that folder, delete it, if you want your forum at root directory and please for fuck sakes, don't use any sa-mp hosts, they are ran by teens with no idea regarding Linux operating systems and their only motives is earn $$$ from you and others. Volt-Host sucks balls specifically and it aint Volt-Host anymore, so dont expect any quality support either.
If I install it to /var/www/html/ it will install to /var/www/html/phpBB3 automatically, it will then be located at IP.IP.IP.IP/phpBB3.

If I rename that directory to Nerd it will be on IP.IP.IP.IP/Nerd

I can't get it on just IP.IP.IP.IP.
[/quote]

I guess that's configured by Volt as default for all such scipt installations. Mhmm, just as I suspected, you need root access for that and since you're on web hosting from Volt, you can't delete it by yourself and you dont have root access either, ask Volt support to do it for you and if they can't or won't, get a VPS with root access man.
[/quote]
I am on the CentOS machine with the root access. Nothing as you thought. I also have a FTP access. The thing is that phpBB INSTALLATION itself installs to phpBB3 directory. If only you'd read and get your head out of bashing a hosting company.
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
I would have, if you intended to post that info at your first page, but you didn't and you added Volt Host as just PS, besides who buys a VPS server from Volt ? You really can afford that high absurd price ? Everybody I know bashes on that company since the day it went dead, that's the only talk going on sa-mp forums whenever it comes down to Volt. Also have you contacted them first ? You're supposed to contact their support first before coming down here for any individual help, after all you're paying them so you must use their support.

If you're installing phpBB3 via script, then this would happen. I suggest you do it through root. Forum simply dont install themselves to a specific directory unless they're being instructed to.
 

TheZeRots

Expert
Joined
Dec 21, 2013
Messages
1,247
Reaction score
1
Flash link said:
I would have, if you intended to post that info at your first page, but you didn't and you added Volt Host as just PS, besides who buys a dedicated server from Volt ? You really can afford that high absurd price ? Everybody I know bashes on that company since the day it went dead, that's the only talk going on sa-mp forums whenever it comes down to Volt. Also have you contacted them first ? You're supposed to contact their support first before coming down here for any individual help, after all you're paying them so you must use their support.

If you're installing phpBB3 via script, then this would happen. I suggest you do it through root. Forum simply dont install themselves to a specific directory unless they're being instructed to.
# unzip phpBB-3.0.12.zip -d /var/www/html

Unzips to /var/www/html/phpBB3
 
Top