{"id":2970,"date":"2014-03-11T18:17:47","date_gmt":"2014-03-11T18:17:47","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/11\/problem-about-webmin-collection-of-common-programming-errors\/"},"modified":"2014-03-11T18:17:47","modified_gmt":"2014-03-11T18:17:47","slug":"problem-about-webmin-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/11\/problem-about-webmin-collection-of-common-programming-errors\/","title":{"rendered":"problem about webmin-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/64839d31baaefafa58120e1a5a503d66?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn Conde<br \/>\nphp cron control-panel webmin<br \/>\n(Possibly this belongs on stackoverflow, although it&#8217;s not really a programming issue since the code works when run directly. If it needs to be moved, though, no problem.)I have a PHP file (which consumers a National Weather Service web service via SOAP, if it matters) that I need to run on a scheduled basis. I&#8217;m trying to set up a cron job in Webmin. If I use an absolute path to the file in the Command field, when I run it I get some strange errors:\/var\/www\/html\/mysite.com\/test\/ndfdXMLclient.ph<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9a7101fe3ba50e621e91ee1edf9d27bb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNyxynyx<br \/>\nubuntu dns bind nameserver webmin<br \/>\nI installed virtualmin and played around with the DNS settings. Now when I try to start bind9 I get the error:Service bind9 restart* Stopping domain name service&#8230; bind9 rndc: connect failed: 127.0.0.1#953: connection refused[ OK ]* Starting domain name service&#8230; bind9 [fail]\/var\/log\/syslogOct 11 06:05:45 stock named[6316]: starting BIND 9.8.1-P1 -u bind Oct 11 06:05:45 stock named[6316]: built with &#8216;&#8211;prefix=\/usr&#8217; &#8216;&#8211;mandir=\/usr\/share\/man&#8217; &#8216;&#8211;infodir=\/usr\/share\/in<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d4f7d15de2abdec49cacaac7d14f00fc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJorge Castro<br \/>\nserver webmin<br \/>\nThis is for a school project. I need to configure a simple server that provides DNS, HTTP, FTP and DHCP. Since I don&#8217;t like tinkering with the config text files, I decided to use webmin instead. However after successfully configuring these services, after a system reboot they won&#8217;t work, and I already tried using the terminal to restart the services myself.So, I&#8217;m quite lost.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2228f9b0c367c60fb5c87f2a183c36c8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRecNes<br \/>\nlinux linux-mint java-applet webmin<br \/>\nI have running Mint 13 (based on Ubuntu 12.04) KDE desktop with Firefox 19.0.2 and Opera 12.14 browsers. Java installed default by the system and its version is: $~\/ java -versionjava version &#8220;1.7.0_15&#8243;OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.04.1)OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)Java test page (http:\/\/www.java.com\/en\/download\/testjava.jsp) displays like this:And each browser have IcedTea7 Plugin for run java apples. But Webmin applets not working<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d4f7d15de2abdec49cacaac7d14f00fc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJorge Castro<br \/>\nwebmin<br \/>\nI have installed Webmin with the view to try an understand what is all running.Yesterday I had it setup with login and password, but today when I try to get access to the server with: https:\/\/ubuntu:10000\/ in order to login, I get unable to connect, the page does not load. Seems like there is no connection. I tried http:\/\/localhost:10000 and https:\/\/localhost:10000 They both returned the same unable to connect response. I am not sure of what it means to turn https on. &#8230; the https and http is n<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ca91b18582771c4ed093504ca7fe7c6e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKirill<br \/>\napache2 ubuntu webmin www-data<br \/>\nI&#8217;ve asked this on the virtualmin forums, but haven&#8217;t had any help from there.Recently, &#8220;something&#8221; happened and it seems that the apache service has gone a bit weird.What it does: it runs all apache traffic as www-data and sometimes spawns the php5-cgi process as www-data, this is a problem because all the domain users own their directories and default permissions don&#8217;t let www-data write to these folders (file uploads are dead) or read .htaccess (permalinks are broken in wordpress).I&#8217;ve google<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/318a601d968e1f67c5ddcffa691466d7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nLadadadada<br \/>\napache2 mysql webmin scientific-linux<br \/>\nBoth mysqld and httpd fail to restart following a reboot of the server, although chkconfig &#8211;list shows both daemons set to on for run levels 2,3,4 &amp; 5 All control is being exectuted via WebminReboot server &#8211; MySQl and Apache not runningMySQL Database Server MySQL version 5.1.69 MySQL is not running on your system &#8211; database list could not be retrieved. ________________________________________Click this button to start the MySQL database server on your system with the command \/etc\/rc.d\/<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/481707331ea4d07ae2490bb88ddfd7ca?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nScott Pack<br \/>\napache2 ubuntu virtualhost webmin namevirtualhost<br \/>\nI&#8217;m a relative beginner with LAMP servers; I&#8217;ve played with Ubuntu on a few systems before but this unexpected problem has me stumped. I&#8217;m hoping someone can offer advice. I&#8217;ve been reading all day and nothing has worked so far from the other threads.I have never installed Webmin before today. I installed Ubuntu Server 12.04LTS on a machine this morning and added Webmin, trying to be as generic and safe as possible with settings. Perhaps I&#8217;m not understanding something about Webmin working with<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a4e64855bb65ad093754ae4e91ddca7f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\napasajja<br \/>\nvirtual ports webmin<br \/>\nI have finish configure the Virtual Server to use domain name. Then I try to restart the httpd, but it give me an error message like below:Starting httpd: httpd: Could not reliably determine the server&#8217;s fully qualified domain name, using xxx.xxx.xxx.xxx for ServerName [Thu Dec 24 20:20:26 2009] [error] VirtualHost xxx.xxx.xxx.xxx:80 &#8212; mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined resultsI have tried changing the name in Virtual Server<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/nZEUQ.png?s=32&amp;g=1\" \/><br \/>\nPeeHaa<br \/>\nphp curl ssh cron webmin<br \/>\nI have a problem with running the script using scheduled cron jobs. The thing is that when I run the php script using the browser it is executed without any problems\/failures etc. But when I try to run it using crons or SSH I get weird errors:Notice: Undefined index: HTTP_USER_AGENT in \/home\/loves\/public_html\/parser\/shop_parse_class.php on line 125PHP Notice: Undefined offset: 0 in \/home\/loves\/public_html\/parser\/shop_parse_class.php on line 481PHP Notice: Undefined offset: 1 in \/home\/loves\/pu<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/94b2f26d86c5e95bca2038ae127765fd?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBill Weiss<br \/>\ncentos smtp postfix email webmin<br \/>\nI have no experience in setting up postfix, and thought virtualmin minght do the legwork for me. Appears not. When I try to send mail to the domain (either abuse@xxxxxxxxxx.com domain@xxxxxxxxxxxx.com or admin@xxxxxxxxxxxxx.com)I get the following message returnedThis is the mail system at host dedq239.localdomain.I&#8217;m sorry to have to inform you that your message could not be delivered to one or more recipients. It&#8217;s attached below.For further assistance, please send mail to &lt;postmaster&gt;If<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/13778296afc5d69bb363b6295e32a2d9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDan J<br \/>\nfirewall iptables webmin<br \/>\nI&#8217;ve been checking my \/var\/log\/secure log recently and have seen the same bot trying to brute force onto my Centos server running webmin.I created a chain + rule in Networking -&gt; Linux Firewall:Drop If source is 113.106.88.146But I&#8217;m still seeing the attempted logins in the log:Jun 6 10:52:18 CentOS5 sshd[9711]: pam_unix(sshd:auth): check pass; user unknown Jun 6 10:52:18 CentOS5 sshd[9711]: pam_succeed_if(sshd:auth): error retrieving information about user larry Jun 6 10:52:19 CentOS5 ssh<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0ec0f5be7749c8cc8ccda4a809103f36?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsvick<br \/>\nsamba webmin<br \/>\nI&#8217;m using Webmin to manage a Linux server with Samba. To add new user, I first create a Unix user and then convert it to a Samba user. Lately, the second step isn&#8217;t working with the following error:Failed to convert user : \/usr\/bin\/pdbedit failed :Unknown parameter encountered: &#8220;client code page&#8221; Ignoring unknown parameter &#8220;client code page&#8221; Unknown parameter encountered: &#8220;character set&#8221; Ignoring unknown parameter &#8220;character set&#8221; Unknown parameter encountered: &#8220;name server&#8221; Ignoring unknown para<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ab820bd8fec41f49af770daadb279c8d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nbucho<br \/>\nphp perl webmin<br \/>\nFrom one of my development server i am trying to Create a new Unix user in webmin , through XML-RPC calls.The base URL is &#8220;http:\/\/yourserver:10000\/xmlrpc.cgi&#8221;.Here the yourserver is not the development server that i have mentioned before.In that scenario i am getting the error Method call failed : unknown RPC type `h1&#8242; at line 1 column 0If i am trying from the same servers , it is creating with out any issue.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5822f9b1e0253543b4e2c01d9c02ac5f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRaif Atef<br \/>\ncentos postfix dkim webmin<br \/>\ni got following error while installing DKIM in virtualmin on my centos 6.3 server using postfix as a MTA:-Enable DomainKeys Identified MailFinding virtual servers to enable DKIM for .. .. found 1 serversGenerating private key in file \/etc\/dkim.key .. .. doneExtracting public key from private key in \/etc\/dkim.key .. .. doneSetting domain and selector in DKIM filter configuration .. .. doneAdding DKIM records to DNS domain core1234.links18.org .. .. added successfullyEnabling DKIM filter at boot t<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>John Conde php cron control-panel webmin (Possibly this belongs on stackoverflow, although it&#8217;s not really a programming issue since the code works when run directly. If it needs to be moved, though, no problem.)I have a PHP file (which consumers a National Weather Service web service via SOAP, if it matters) that I need to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2970","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2970"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2970\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}