Ubuntu Servers :: "service Mysql Status" Doesn't Work In 10.04.1
Sep 30, 2010
I'm running Ubuntu Server 10.04.1 in Virtualbox environment with the host is Ubuntu Desktop 10.04.1.I have built a LAMP server after a fresh installation of Ubuntu server (I didn't choose LAMP to install when I installed this server) , everything works fine, but when I run "service mysql status" command I get this error: "status: Unable to connect to system bus: Failed to connect to socket /var/run dbus/system_bus_socket: No such file or directory"
I try in my desktop (also with LAMP installed) and I get the result like:
"mysql start/running, process 1218"
View 3 Replies
ADVERTISEMENT
Sep 25, 2010
I try to fetch links from a URL using HTML::LinkExtor, but it always return 0 links even if the status code is 200 OK. I am running the following code in Ubuntu 9.04, just curious if the module is too old and its ways of HTTP request is disabled by some platforms.
Code:
#!/usr/bin/perl
use HTML::LinkExtor;
[code]...
View 2 Replies
View Related
Jan 18, 2010
This happened completely randomly. One day, my synaptic and update manager is working fine and the next day, I open one of them and get a error window that doesn't say anything (no details on the error). So, i tried the terminal, sudo apt-get update, and this message shows:
Reading package lists... Error!
E: Problem parsing dependency Depends
E: Error occurred while processing lib�tartup-notificamion0-dev (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_karmic_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
View 3 Replies
View Related
Jul 12, 2011
recently we decided to make our own panel (like Plesk or cPanel) but for Ubuntu and it will be licenced under GPL (like any other professional sofware).want to make a panel not only that fits our needs but also the needs of other system administrators and domain owners. We researched other panels and found out that non of them has security/look/ease of use in one package. Bad codig is another problem found in other panels.I made a short overwiev of what I think we have to have in the beginning.I Security :1. Completely chroot enviornoment where every single service is in chroot mode (bind,mysql, postfix, .... )2. Easily managed IPtables trough web-based interface. 3. Coding rules has to be strict.
II Software selection :
1. MTA - Postfix
2. POP - dovecot
[code]....
View 7 Replies
View Related
Apr 12, 2011
when i am enabling mysql in server (port 3306) it does'nt work. but when i execute iptables -F it works what may be the reson?
View 6 Replies
View Related
Sep 10, 2010
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
View 1 Replies
View Related
Jun 11, 2011
What is the proper way to make the smb and nmb services start (and keep running) automatically? I have successfully configured samba on my F15 box, but sometimes the other boxes cant see it. I check the status of smb and nmb and smb is running and active, but nmb status is "Running (exited)". If I manually restart nmb then nmb status changes to "Running (active)" and the problem goes away. However I want it to start (and keep running) automatically as it should. I am thinking maybe the problem is the way I set smb and nmb to start automatically.
I used
$chkconfig smb on
and
$chkconfig nmb on
Is this the correct way? if not, what is it? Maybe I need to be more specific about at which runlevels I want the services to start? I have googled, but found about 5 diferent methods to make this services start automatically, some with systemctrl, some editing files, chkconfig, and even the system-config-services app (which seems broken in f15 btw) and don't know which one to use.
View 9 Replies
View Related
Oct 8, 2010
We are using one service Calypso but it is showing unknown status. I am using centos 5.0 Linux version and server client env. server and POS which is communucate with each other that is also stop working. after that service stop.
View 1 Replies
View Related
Apr 14, 2011
I am using CentOS 5.6 with Apache 2.2.17. The Apache was compiled from source using RPM build to comply with PCI requirements. Also Plesk 9.3 is used as a control panel, but other than the config files the Apache is pretty standard. When the httpd is started, there are no errors reported in /var/log/messages or in the error_log, and the httpd starts, shows up in ps and the pid file exists in /var/run/httpd.pid.
However when you check the status 'service httpd status' you get 'httpd dead but subsys locked'. You can add websites normally, and the proper config files are generated so I am pretty sure this isn't a control panel issue as I have other servers running the same control panel and Apache 2.2.16 compiled and installed the same way as the 2.2.17 and there are no problems.
View 1 Replies
View Related
Nov 26, 2009
I installed HP multifunction inkjet printer.Since then, I'm always noticing the blue HP HPLIP servicestatus icon in the system tray. It appears that I can onlyhide or quit it once it has started.Is there a way not even have it started from the system booting?
View 1 Replies
View Related
Sep 6, 2010
how to make a script that will check service/s status whether running or stop and also will run stop services?
View 9 Replies
View Related
Apr 1, 2016
I am the author of an internet radio for the Raspberry PI originally running on Debian Wheezy. The radio (radiod) service is started and stopped using the usual service commands:
service radiod start|stop|status
Since upgrading to Debian Jessie the service status and stop routines in my radio daemon are no longer called.
For example:
# service radiod status
● radiod.service - LSB: Raspberry PI Radio Daemon
Loaded: loaded (/etc/init.d/radiod)
Active: active (running) since Thu 2016-03-31 20:17:07 CEST; 15h ago
Process: 380 ExecStart=/etc/init.d/radiod start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/radiod.service
└─603 python /usr/share/radio/ada_radio.py start
If I call my program (which runs as a daemon) I see the status message from my program
# ./radiod.py status
radiod running pid 603
I have established that service stop never calls my program routines to shutdown the radiod daemon when the system is rebooted (I see that from my log files).
The reboot hangs for about 5 minutes whilst stopping the radiod service (because stop never calls my stop routines).
Below is my radiod script, which is fairly conventional, and which has been working all the time until I ported to Debian Jessie.
/etc/init.d/radiod
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: radiod
# Should-Start:
# Should-Stop:
[Code] ....
View 4 Replies
View Related
May 2, 2010
I can't connect to my ssh-server (on ubuntu 10.04) from any external address. The error in putty is "connection timed out". From my internal network, everything works fine, even if I select my external IP address and port in putty as the destination.
This is what I have done so far:
installed open ssh with the ubuntu server 10.04 cd
set up port forwarding (11041) in my router (seems to work ok, port is open according to "shields up")
configured ssh to use port 11041 in /etc/ssh/sshd_config
changed tcp and udp ssh port in /etc/services to 11041
enabled UFW and did sudo ufw allow ssh
[Code].....
View 4 Replies
View Related
Nov 27, 2010
I have added a domain to my new vps account but i notice that the website doesn't work with www so how can i redirect www.example.com to example.com. (bind9, apache2, webmin, ubuntu server 10.04 lts)
View 9 Replies
View Related
May 19, 2011
Ive made a site on my Ubuntu server and link the folder where it is with VirtualHost. The problem is, when i place mypage.com works, when try www.mypage.com goes to the apache "It Works" page.
View 4 Replies
View Related
Jul 31, 2010
I'm really new with Ubuntu and have the following problem:I installed successfully sun-java6-jdk using apt-get install sun-java6-jdk Then set up the JAVA_HOME environment variable to "/usr/lib/jvm/java-6-sun-1.6.0.20"
And then installed successfully tomcat6 using apt-get install tomcat6 apt-get install tomcat6-admin tomcat6-examples tomcat6-docs Everything seem to be right, when I try the browser with http://localhost:8080 return a webpage with "It works !" and other text
But, if I try http://localhost:8080/manager/html then returns 404 error, the error is something like "The required resource (manager/html) is not available" (that is my translation from the spanish text "El recurso requerido (/manager/html) no est disponible")
[Code]..
View 1 Replies
View Related
Nov 27, 2010
I recently installed vsftpd on my system and it was running fine for my system users. Now I wanted to add virtual users so I googled it, I found this tutorial: [URL]
I did what they've been saying over there but when I restarted the vsftpd I couldn't login with the virtual user and also not with the system user anymore. This is the error ( with the system user who could login before ):
Code:
Status:Verbinden met 109.230.234.21:21...
Status:Verbinding aangemaakt, welkomstbericht afwachten...
Antwoord:220 (vsFTPd 2.2.2)
[Code]...
View 9 Replies
View Related
Nov 29, 2010
I'm trying to set up 2 aliases with PHP files in it. But in both cases I get a 403 Forbidden error. This is what the /etc/apache2/conf.d/alias file looks like:
[Code]....
View 9 Replies
View Related
Feb 17, 2011
Last night I was able to set up my server so that I can just connect vnc. I even was able to be connected at the log on screen so I could select which user I wanted to log in at. For some reason today, I have to have the monitor plugged in all the until the logon screen comes up before vnc will connect. Once the logon screen is up, I then can connect via vnc & select which user I want to logon as. It's odd because it worked last nigh, but today - Nope nada, it doesn't work & I can't explain why. I did clean up - Removing some applications I don't need on my server. (I'm hoping that isn't the problem) It's odd as well because I don't have to be logged on as a user to connect via vnc, I just have to wait until the logon screen is available...Then I can unplugged the monitor & logon.
View 1 Replies
View Related
Apr 5, 2011
I am developing/testing a PHP app on my netbook. For some reason apache/php are returning nothing but a "500 internal server error" response when there is a problem with my php script. For example, if there is a semicolon or closing brace missing, it should cause the script to die with a hint about which line caused the script to stop working. Instead it displays nothing but a "500 internal server error" message.
View 5 Replies
View Related
Apr 11, 2011
I installed Ubuntu 10.04 64bit server on DELL R710 server recently.
The basic:
[System Model] --- PowerEdge R710
[Ubuntu] ---
root@pek-mcbuild2:~# cat /proc/version
Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
root@pek-mcbuild2:~# uname -ar
[Code]...
View 1 Replies
View Related
Jul 2, 2011
I'm trying to put two identical disks in Raid 1 for a homeserver. I got Ubuntu 11.04 server 32 bits on a USB stick. Installated till partition menu. Now I get the question how I want to partition my disks. I choose manual, and two times entire disk, one for both. It looks like this:
(iPhone quality)
I go to configure software Raid, and select Raid 1, 2 active disks, 0 spare disks, and get this:
I can't choose the other 2TB partition. I think I have to configure Raid three times, one for each partition. Not?
I click the missing 2TB partition, and get this:
But I think there's no RAID device at all, I see this again when I go to Configure Software Raid, en try to delete a RAID device:
How do I get Disk 1 and Disk 2 together in Raid 1? [URL]
View 3 Replies
View Related
Aug 2, 2010
I'm trying to setup wordpress on my server, which of course I need mysql for. I setup a database the other day, which worked perfectly, but I had to start again as I put some information in wrong. Now, I can create a database fine, but when I run
Code:
GRANT ALL ON wordpress.* TO wordpress@localhost IDENTIFIED BY "password";
I get the output:
[code]...
View 13 Replies
View Related
Jan 27, 2011
I need to change the some configuration in httpd.conf file with out affect any current status of http service.
View 3 Replies
View Related
Mar 24, 2010
I installed apache on my local machine to test my sites. I have one problem:I created a new site configuration in /etc/apache2/sites-available and enabled it. The problem is that cgi is not working, it just prints the content of the files. (The default location for cgi, /usr/lib/cgi-bin works without problem.)Here is the content of the site configuration file:
Code:
<VirtualHost *site1:80>
ServerAdmin webmaster@localhost
[code]....
View 4 Replies
View Related
May 24, 2010
I recently moved from Ubuntu Desktop to Ubuntu Server. I have a Dell D600 acting as a three prong firewall. I use a Netgear FA120 USB NIC for the third prong. After converting to Server, the NIC detects as Eth1. I'm able to configure an IP, but the NIC never sends or receives packets. The same NIC works great in Ubuntu Desktop. Dmesg never shows the NIC being ready.
View 3 Replies
View Related
Oct 16, 2010
I have a problem with phar: simply, stream wrappers doens't work. I've followed all tutorials on php.net but the error is always the same. Maybe something wrong on my ubuntu server?
Quote:
Ubuntu 10.04.1 LTS / Apache/2.2.14 (Ubuntu)
Quote:
PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:41:55)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[Code]....
View 4 Replies
View Related
Mar 27, 2011
I got ubuntu samba server on server 10.04 username:user1 , Home folder: /home/user1 This user connects from a macbook pro no problem. I followed the same steps to set up user2 username:user2 , Home folder: /home/user2 This user does not connect from windows vista. I have the correct ports open, 137-139 & 445, and can connect from the macintosh, but not vista. The error says that the username or password is in correct. If you need some log files or config files, just let me know where to go and they're all yours!
View 9 Replies
View Related
May 5, 2010
I have a small problem with lmsensors and snmp since I upgraded my small server from 9.10 to 10.04. I use cacti to monitor my servers usage, disk space as well as temps and fans.
This was running very fine before the upgrade, but now I don't get data anymore from lmsensors. It seems that SNMP doesn't give this information as before. (Cacti log says: "No sensor data was returned from SNMP")
sensors give the following output:
Code:
w83627dhg-isa-0290
Adapter: ISA adapter
Vcore: +1.12 V (min = +0.00 V, max = +1.74 V)
AVCC: +3.41 V (min = +2.98 V, max = +3.63 V)
[code]....
View 3 Replies
View Related
Nov 27, 2010
I'm running a server with Ubuntu 10.04 and I have installed postfix and courier. The server can recieve mail and I can fetch them using POP, but when I try to send mail it doesn't work. Postfix itself can send email if i telnet from localhost and I am using my ISP as a relay because they block port 25. I'm using outlook 2007 on my client computer and it just says that the server rejects the login attempt and tells me to check my username and password. Postfix listens on port 12 as well because the client connection also has outgoing on port 25 blocked. I have tried to use telnet to connect to the server, and I can connect. This is what I get:
[Code]....
Now what? I've tried searching for the answer but all I can come up with is AUTH PLAIN or AUTH LOGIN, but I don't know what to type after that.
View 2 Replies
View Related