Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th May 2006, 15:00
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default changing rooter problems

Hi, I have suse 9.3 and ispconfig that was running OK until i tried changing my router box.
Accesss through the router box was 192.168.2.1, the new box access is 192.168.1.254.
In yast under Router configuration i change the settings from 192.168.2.1 to 192.168.1.254
I also change all the relevant setting in Ispconfig.
All the sites are running OK but i cannot access Webmail also I get this ERROR when trying to restart apache.
# /etc/init.d/apache2 restart
Syntax error on line 108 of /etc/apache2/default-server.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
Thanks in advance

shajazzi
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2006, 15:29
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

What's in /etc/resolv.conf?
__________________
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
  #3  
Old 29th May 2006, 15:44
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Thanks falko,
This is what i have in /etc/resolv.conf


### BEGIN INFO
#
# Modified_by: dhcpcd
# Backup: /etc/resolv.conf.saved.by.dhcpcd.eth0
# Process: dhcpcd
# Process_id: 15467
# Script: /sbin/modify_resolvconf
# Saveto:
# Info: This is a temporary resolv.conf created by service dhcpcd.
# The previous file has been saved and will be restored later.
#
# If you don't like your resolv.conf to be changed, you
# can set MODIFY_{RESOLV,NAMED}_CONF_DYNAMICALLY=no. This
# variables are placed in /etc/sysconfig/network/config.
#
# You can also configure service dhcpcd not to modify it.
#
# If you don't like dhcpcd to change your nameserver
# settings
# then either set DHCLIENT_MODIFY_RESOLV_CONF=no
# in /etc/sysconfig/network/dhcp, or
# set MODIFY_RESOLV_CONF_DYNAMICALLY=no in
# /etc/sysconfig/network/config or (manually) use dhcpcd
# with -R. If you only want to keep your searchlist, set
# DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or
# (manually) use the -K option.
#
### END INFO
#
search englandshirt.com englandshirt.com
nameserver 192.168.1.254

shajazzi
Reply With Quote
  #4  
Old 29th May 2006, 16:12
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

i`ve just noticed that BIND server is no running.
Surely these simply changes should`t cause all these problems.

shajazzi
Reply With Quote
  #5  
Old 29th May 2006, 16:19
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

Does your router (192.168.1.254) run a name server?
Can you try
Code:
nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60
instead of
Code:
nameserver 192.168.1.254
__________________
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
  #6  
Old 29th May 2006, 16:38
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

No my router dosn`t run a name server.
I tryed adding as you suggested to /etc/resolv.conf but things remain the same.

### BEGIN INFO
#
# Modified_by: dhcpcd
# Backup: /etc/resolv.conf.saved.by.dhcpcd.eth0
# Process: dhcpcd
# Process_id: 30957
# Script: /sbin/modify_resolvconf
# Saveto:
# Info: This is a temporary resolv.conf created by service dhcpcd.
# The previous file has been saved and will be restored later.
#
# If you don't like your resolv.conf to be changed, you
# can set MODIFY_{RESOLV,NAMED}_CONF_DYNAMICALLY=no. This
# variables are placed in /etc/sysconfig/network/config.
#
# You can also configure service dhcpcd not to modify it.
#
# If you don't like dhcpcd to change your nameserver
# settings
# then either set DHCLIENT_MODIFY_RESOLV_CONF=no
# in /etc/sysconfig/network/dhcp, or
# set MODIFY_RESOLV_CONF_DYNAMICALLY=no in
# /etc/sysconfig/network/config or (manually) use dhcpcd
# with -R. If you only want to keep your searchlist, set
# DHCLIENT_KEEP_SEARCHLIST=yes in /etc/sysconfig/network/dhcp or
# (manually) use the -K option.
#
### END INFO
#
search englandshirt.com
nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60

Iknow from past experience that if I stop apache things will really get messed up and will end up reinstalling everything again as I have many times before.

shajazzi
Reply With Quote
  #7  
Old 30th May 2006, 00: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
All the sites are running OK but i cannot access Webmail also I get this ERROR when trying to restart apache.
# /etc/init.d/apache2 restart
Syntax error on line 108 of /etc/apache2/default-server.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included in the server configuration
Does /etc/sysconfig/apache2 look like suggested on http://www.howtoforge.com/perfect_setup_suse_9.3_p5 ?
__________________
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
  #8  
Old 30th May 2006, 01:39
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Thanks falko,
No it is different, it has now the folowing entry

APACHE_MODULES="access actions alias auth autoindex cgi dir include log_config mime negotiation setenvif status userdir asis imap"

So I changed it to:

APACHE_MODULES="access actions alias auth auth_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php4 php5 rewrite"

Now I can restart Apache OK.
But BIND server is offline and still cannot log into webmail.


shajazzi
Reply With Quote
  #9  
Old 30th May 2006, 16:14
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

Do you get error messages when you restart BIND? What's in your log files?
__________________
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
  #10  
Old 31st May 2006, 01:14
shajazzi shajazzi is offline
Senior Member
 
Join Date: Dec 2005
Posts: 125
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

I`ve now decided to reuse my old router box until I can find an easy way to swap them without all these problems, or is it something I did wrong.

I again had to make all the changes you suggested and BIND restarts ok, the only thing that isn`t working is webmail. The login fails, these are the following mail logs.

May 30 23:59:05 mail postfix/postfix-script: starting the Postfix mail system
May 30 23:59:05 mail postfix/master[13563]: daemon started -- version 2.2.1, configuration /etc/postfix
May 31 00:02:32 mail pop3d: Connection, ip=[::ffff:88.105.11.138]
May 31 00:02:37 mail pop3d: LOGIN FAILED, ip=[::ffff:88.105.11.138]
May 31 00:02:37 mail pop3d: Connection, ip=[::ffff:88.105.11.138]
May 31 00:02:42 mail pop3d: LOGIN FAILED, ip=[::ffff:88.105.11.138]
May 31 00:02:43 mail pop3d: Connection, ip=[::ffff:88.105.11.138]
May 31 00:02:48 mail pop3d: LOGIN FAILED, ip=[::ffff:88.105.11.138]
May 31 00:02:48 mail pop3d: Connection, ip=[::ffff:88.105.11.138]
May 31 00:02:53 mail pop3d: LOGIN FAILED, ip=[::ffff:88.105.11.138]
May 31 00:06:23 mail postfix/smtpd[13842]: warning: connect to private/tlsmgr: No such file or directory
May 31 00:06:24 mail postfix/smtpd[13842]: warning: connect to private/tlsmgr: No such file or directory
May 31 00:06:24 mail postfix/smtpd[13842]: warning: problem talking to server private/tlsmgr: No such file or directory
May 31 00:06:24 mail postfix/smtpd[13842]: warning: no entropy for TLS key generation: disabling TLS support
May 31 00:06:24 mail postfix/smtpd[13842]: connect from localhost[127.0.0.1]
May 31 00:07:07 mail postfix/smtpd[13842]: disconnect from localhost[127.0.0.1]

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
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14
Problems with postfix-mysql Pelle Installation/Configuration 39 13th November 2005 23:25
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23


All times are GMT +2. The time now is 12:44.


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