Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th March 2007, 14:13
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Problem encountered on "howtoforge.com/perfect_setup_centos_4.4"

Hi folks,

1)
http://howtoforge.com/perfect_setup_centos_4.4_p4

# mysqladmin -u root password myrootsqlpassword
Code:
Access denied for user \u2018root\u2019@'localhost\u2019 (using password: NO)
# kill `cat /mysql-data-directory/mysql.pid`
No complaint.

What shall I do next? Repeat "mysqladmin -u root password myrootsqlpassword"?


2)
10 Postfix With SMTP-AUTH And TLS
http://howtoforge.com/perfect_setup_centos_4.4_p5

[root@server ssl]# openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
Code:
188 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
.........................++++++
.....++++++
e is 65537 (0x10001)
Enter pass phrase for smtpd.key:
What shall I enter here? TIA


# openssl req -new -key smtpd.key -out smtpd.csr
It also requests "Enter pass phrase for smtpd.key"

What shall I enter as well ?


B.R.
satimis
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2007, 05:28
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Hi folks,

On my previous posting
Quote:
1)
http://howtoforge.com/perfect_setup_centos_4.4_p4

# mysqladmin -u root password myrootsqlpassword
Code:
Access denied for user \u2018root\u2019@'localhost\u2019 (using password: NO)
I made a mistake leaving out "--" before "password"

Retried as follows;


[root@server ~]# mysqladmin -u root --password mypassword
Code:
Enter password:
Typing either "mypassword" or "YES" prompted;
Code:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Also tried as "su -"

Still failed


satimis
Reply With Quote
  #3  
Old 29th March 2007, 14:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

I suggest you reinstall the system.

Quote:
2)
10 Postfix With SMTP-AUTH And TLS
http://howtoforge.com/perfect_setup_centos_4.4_p5

[root@server ssl]# openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
Code:

188 semi-random bytes loaded Generating RSA private key, 1024 bit long modulus .........................++++++ .....++++++ e is 65537 (0x10001) Enter pass phrase for smtpd.key:

What shall I enter here? TIA


# openssl req -new -key smtpd.key -out smtpd.csr
It also requests "Enter pass phrase for smtpd.key"

What shall I enter as well ?
Just specify a password. It doesn't matter which one.
__________________
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
  #4  
Old 29th March 2007, 14:31
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
I suggest you reinstall the system.
I have the same feeling that there is something wrong on this CentOS 4.4 amd64 box. I'll erase the complete OS later.

Quote:
Just specify a password. It doesn't matter which one.
No use, I tried half day without a breakthrough including groupremoving mysql and reinstalling them as per your howto. Still encountered the same problem.


satimis
Reply With Quote
  #5  
Old 29th March 2007, 18:49
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Another round

Hi folks,

Erased the complete HD and started another round according to;
http://www.howtoforge.com/perfect_setup_centos_4.4

All steps went through w/o complaint.

Coming to;
http://www.howtoforge.com/perfect_setup_centos_4.4_p4

# mysqladmin -u root password myrootsqlpassword
went through w/o complaint

# mysqladmin -h server1.example.com -u root password myrootsqlpassword (assuming it is ONE line)
Code:
mysqladmin: connect to server at 'server1.example.com' failed
error: 'Lost connection to MySQL server during query'
# cat /etc/hosts
Code:
127.0.0.1            localhost.localdomain  localhost
192.168.0.100   server1.example.com  server1
Pls advise which file I have to check? TIA


Edit:
I found following thread;
http://www.howtoforge.com/forums/sho...r1.example.com

To my understanding I suppose skipping to run "mysqladmin -h server1.example.com -u root password myrootsqlpassword"


on /etc/sysconfig/network-scripts/ifcfg-eth0
IPADDR=192.168.0.180

and

on /etc/sysconfig/network-scripts/ifcfg-eth0:0
IPADDR=192.168.0.101

Is there any specific meaning on selecting the above IPADDR? On my router here "192.168.0.10" is reserved for Server. If changing "192.168.0.180" to "192.168.0.10" would this change affect the test?


satimis

Last edited by satimis; 30th March 2007 at 04:27.
Reply With Quote
  #6  
Old 30th March 2007, 14:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
I have the same feeling that there is something wrong on this CentOS 4.4 amd64 box.
No, there was nothing wrong with the system, but you did something wrong, and telling you how to fix it would have taken longer than just reinstalling the system.

Quote:
Originally Posted by satimis
Edit:
I found following thread;
http://www.howtoforge.com/forums/sho...r1.example.com

To my understanding I suppose skipping to run "mysqladmin -h server1.example.com -u root password myrootsqlpassword"
Yes, skip this step for now. Later on you can use phpMyAdmin to check out which hostname is saved in the mysql.user table in the field "Host" (will be different from server1.example.com because otherwise your command would have succeeded).


Quote:
Originally Posted by satimis
on /etc/sysconfig/network-scripts/ifcfg-eth0:0
IPADDR=192.168.0.101

Is there any specific meaning on selecting the above IPADDR? On my router here "192.168.0.10" is reserved for Server. If changing "192.168.0.180" to "192.168.0.10" would this change affect the test?


satimis
You don't need to create a virtual IP address. This is just an example for people that need it.
__________________
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
  #7  
Old 30th March 2007, 16:23
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Fail to start proftpd

Hi folks,

Section 12 ProFTPd

# /etc/init.d/proftpd start
Code:
Starting proftpd: - getaddrinfo 'host.satimis.com' error: Name or service not known

- warning: unable to determine IP address of 'host.satimis.com'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'
                                                                         [FAILED]
Pls advise how to fix it. TIA



Edit-1:

I fixed my problem by putting "host.satimis.com host" to replace "localhost.localdomain localhost" on /etc/hosts. Thereafter proftpd started.


Edit-2
I completed the rest part according to the tutorial without problem. Tks falko for your nice howto-tutorial.


Hi folks,

1)
Are there documents explaining the commands on the howto-tutorial mentioned instead of googling on each command or going through the respective site of each package? Man is too brief on their explanation.

2)
Is there a ISPConfig installation/config howto, other than follow;
http://wiki.vpslink.com/index.php?title=ISPConfig

???


TIA


A further thought - ispconfig vs ravencore

http://www.ravencore.com/

What will be your opinion?



B.R.
satimis

Last edited by satimis; 31st March 2007 at 07:51.
Reply With Quote
  #8  
Old 31st March 2007, 14:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by satimis
2)
Is there a ISPConfig installation/config howto, other than follow;
http://wiki.vpslink.com/index.php?title=ISPConfig
Try this link: http://www.ispconfig.org/manual_installation.htm
__________________
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
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


All times are GMT +2. The time now is 10:34.


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