Re: Few questions after reading FAQ



"Huub" <"v.niekerk at hccnet.nl"> wrote in message
news:4597b134$0$20251$e4fe514c@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I don't know if this the right place to ask, but:

1- I have OpenBSD 3.8 server running with MySQL. Can I upgrade to OpenBSD
4 and the newer MySQL version without loosing the databases?

Yes, absolutely - but you'd be wise to do this via a mysqldump. I routinely
dump from a 3.8 server to a 4.0 server; no problem. (Dumping the other way
is more of an issue due to new internationalisation constructs in the dump.)

2- I'm trying to initiate samba using the same parameters as on my current
(old) Slackware box. All I see from Windows2000 is that the server exists.
Shares on the server (both disk and printer) are not visible. Is there
anything special concerning OpenBSD I should look at?

It should Just Work (tm). Check your smb.conf file and be sure that:
- the workgroup is appropriate
- the IP range ("hosts allow") is appropriate
- the samba passwords are setup

Hmmm. Thinking about it, these would cause issues with logging in, not with
visibility. Are you sure Samba's running? Do you have the following in your
/etc/rc.conf.local file:

smbd=YES
nmbd=YES

and something like this in your rc.local file:

# Samba startup:
if [ -f /etc/samba/smb.conf ]; then
if [ X"${smbd}" = X"YES" -a -x /usr/local/libexec/smbd ]; then
echo -n ' smbd'; /usr/local/libexec/smbd -D
fi
if [ X"${nmbd}" = X"YES" -a -x /usr/local/libexec/nmbd ]; then
echo -n ' nmbd'; /usr/local/libexec/nmbd -D
fi
fi

(And if there's a better way of doing this these days, let me know ;).)

Steve
http://www.fivetrees.com


.



Relevant Pages

  • Re: Few questions after reading FAQ
    ... Can I upgrade to ... OpenBSD 4 and the newer MySQL version without loosing the databases? ... You would need to shut down the server, ...
    (comp.unix.bsd.openbsd.misc)
  • Few questions after reading FAQ
    ... Can I upgrade to OpenBSD 4 and the newer MySQL version without loosing the databases? ... All I see from Windows2000 is that the server exists. ...
    (comp.unix.bsd.openbsd.misc)
  • RE: MySQL/PHPMyAdmin on FC3 Connection Problem
    ... // You can disable a server config entry by setting host to ''. ... MySQL server ... MySQL control user settings ... table to describe the display fields ...
    (Fedora)
  • Re: Using Access for web application?
    ... Any suggestions as to which newsgroup would be more ... The server that the web app will use in this case, ... > which technology you will decide to use as the Web server (Linux or Windows) ... Instead MySQL is being ...
    (microsoft.public.access.dataaccess.pages)
  • [UNIX] phpMyAdmin PHP Code Injection (left.php)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... phpMyAdmin is "web-based MySQL ... does not prevent a malicious user from altering the servers configuration ... server configurations to the list of servers configuration by adding ...
    (Securiteam)