LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-20-2021, 09:37 PM   #1
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Rep: Reputation: 70
Webmin on -current / 15.0 RC2


Howdy,


I just had an interesting experience installing Webmin, it installed cleanly, the install wasn't the problem. Webmin doesn't recognize MariaDB and or that Apache / httpd is running. I'm not smart enough to figure out why of course, has anyone else seen this?


Thanks,

Last edited by Mobile1; 11-20-2021 at 09:40 PM.
 
Old 11-21-2021, 02:38 PM   #2
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
I saw this...

"In the upper left corner is a "gear"-Icon for Setting up the Mysql Databes area. There you can choose where the Config-File will be found.
I've switched it to the mariadb.conf.d/50-server.cnf and it works now.
"

?
 
Old 11-21-2021, 04:26 PM   #3
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by Jan K. View Post
I saw this...

"In the upper left corner is a "gear"-Icon for Setting up the Mysql Databes area. There you can choose where the Config-File will be found.
I've switched it to the mariadb.conf.d/50-server.cnf and it works now.
"

?

Thanks,



Does your Webmin recognize that Apache / httpd is actually running? I got httpd working but MySQL / MariaDB still not right. There is no mariadb.conf.d folder in Slackware, is this something you created?


Laterz

Last edited by Mobile1; 11-21-2021 at 04:44 PM.
 
Old 11-22-2021, 09:47 AM   #4
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
"Depending on how you've installed MariaDB, the default option file may be in a number of places, or it may not exist at all."

Great, isn't it.

https://mariadb.com/kb/en/configurin...-option-files/


Not sure your problem is Slackware related, Perhaps ask in LQ's server section or webmin's own forum?


And sorry for being unable to offer any real help, just a "webmin fan boy" in spe!
 
Old 11-22-2021, 12:05 PM   #5
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Rep: Reputation: 50
There is a /etc/my.cnf.d directory.
Your my.cnf should be there and then make sure webmin points to that.

Works for me.

Don
 
Old 11-22-2021, 01:31 PM   #6
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by dgrames View Post
There is a /etc/my.cnf.d directory.
Your my.cnf should be there and then make sure webmin points to that.

Works for me.

Don
Odd, I find my.cnf in /etc
 
Old 11-22-2021, 02:15 PM   #7
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Rep: Reputation: 50
That is just a reference to include /etc/my.cnf.d directory.
The installation instructions had at one time a selection of configuration files to be moved to the my.cnf file.

Don
 
Old 11-22-2021, 02:18 PM   #8
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
ok, thanks for the info.
 
Old 11-22-2021, 05:08 PM   #9
Qury
Member
 
Registered: Feb 2004
Location: Naas,IE
Distribution: Slackware
Posts: 212

Rep: Reputation: 184Reputation: 184
for apache, you will need to update the module configuration and tell webmin where the pid file is (and update the rest of the options too)
 
Old 11-23-2021, 06:11 PM   #10
Mobile1
Member
 
Registered: Jun 2006
Location: Sardis, B.C., Canada
Distribution: Slackware64 15 -current
Posts: 248

Original Poster
Rep: Reputation: 70
I find it interesting that Webmin doesn't seem to like the .cnf file in /etc/my.cnf - even though it knows it's there : ) Webmin merely complains the following:

The MariaDB startup script cd was not found on your system. Maybe MariaDB is not installed, or your module configuration is incorrect.

When restarting mysqld the message states it's starts the Mariadbd daemon, so one would think Webmin would know or see this:

211123 16:23:21 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql

Last edited by Mobile1; 11-23-2021 at 06:25 PM.
 
Old 11-24-2021, 12:40 PM   #11
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Rep: Reputation: 50
The slackware current installed /etc/my.cnf file is not a configuration file.
It used to be available in /usr/share/mysql, but sometime in the past they quit shipping the sample configuration files with mariadb.

There is help at https://mariadb.com/kb/en/configurin...-option-files/

This is a bit of reading.

I also found a sample config file at https://gist.github.com/Ishotihadus/...83055dc25af26d

Another option may be looking in the Slackware 14.2 package for mysql and use one of the sample configuration files there.

Don
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restart webmin without rc.webmin redscience Slackware 5 12-10-2018 01:18 PM
Setup Apache so Webmin can be accessed like abc.com/webmin instead of abc.com:10000 rtoney5 Linux - Software 6 04-08-2010 12:33 PM
[SOLVED] Fail webmin install, E: Package webmin has no installation candidate cK` Linux - Newbie 10 04-07-2010 02:18 AM
webmin: missing /etc/init.d/webmin quarry_06 Debian 9 02-03-2007 09:55 AM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration