Dell's OpenManager server admin tool can send email alerts, but the config for the SMNP server has no field to enter username/password.
Can it only make use of non-authenticated SMNP servers, or is there a way to enter username and password as part of the server name?
I am trying to get samba working on centOS... I installed it via Yum, changed the samba config file to:
[ShareName]
path = /var/www/html/
public = no
writable = yes
printable = no
create mask = 0765
valid users = username
Restarted samba and it did nothing.. the windows network is not seeing the share at all. I realize there is most likely something I am missing but I have always done it with the GUI, but unable to do that this time.. Any pointers?
My config: ubuntu server 9 and msyql 5
my.cnf = bind-address = 0.0.0.0
my iptables script =
iptables -A INPUT -i eth0 -s 99.88.77.66 -p tcp --destination-port 3306 -j ACCEPT
I can connect from any place to mysql, not only that IP.
I made a iptables-save , /etc/init.d/netwokring restart... but I still can connect from any IP, any clue ?
I can't start amavis. It gives an error:
Starting amavisd: Error in config file "/etc/amavis/conf.d/05-domain_id": Insecure directory in $ENV{PATH} while running with -T switch at /etc/amavis/conf.d/05-domain_id line 7.
On line 7 is:
chomp($mydomain = `head -n 1 /etc/mailname`);
This problem occured after restaring my computer.
I don't know much about amavis, so any help is appreciated.
Regards,
Kristian
I have recently shifted my server to nginx and php-fpm getting rid of apache. This has helped improves speeds of my website.
Everything seems to work fine until i came across this issue, i noticed that nginx keeps throwing connection time out errors for only certain IPs. One of the IPs is my office IP, we have a backend that is accessed from our office through out the day.
I use supervisord to launch 3 php-fpm processes with workers this is my typical php-fpm config
pm.max_children = 50
pm.start_servers = 20
pm.min_spare_servers = 5
pm.max_spare_servers = 35
pm.max_requests = 300
Since i have a server with 4 cores and 2 GB ram this is my nginx setup
worker_processes 4;
worker_rlimit_nofile 8192;
events {
worker_connections 1024;
use epoll;
multi_accept off;
}
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 55;
recursive_error_pages on;
server_name_in_redirect off;
server_tokens off;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
connection_pool_size 256;
client_header_buffer_size 8k;
large_client_header_buffers 4 32k;
request_pool_size 4k;
output_buffers 4 32k;
postpone_output 1460;
proxy_buffer_size 32k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
fastcgi_connect_timeout 120;
fastcgi_send_timeout 120;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
Where am i going wrong with the config, I have tried various settings but the issue still persists.
These are the errors i keep getting
2011/11/13 18:20:33 [error] 21583#0: *311683 upstream timed out (110: Connection timed out) while reading response header from upstream, client: IP, server: tastykhana.in, request: "GET url HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "tastykhana.in", referrer: "url"
So, I want to send a kill to a process, I know it's name
ps -ef | grep '_rails master'
root 2388 1 0 19:46 ? 00:00:04 unicorn_rails master -c /web/hero/config/unicorn.rb -E production -D
root 2582 2172 0 20:28 pts/0 00:00:00 grep --color=auto _rails master
It is unicorn_rails master [..] how do I kill it?
I tried so far: sed and expr. But cant pass it as param to kill
I found that my Webmin doesn't come with the vsftpd module to configure vsftpd. I found on their site that that they have a download tarball. I downloaded it, but don't know what the proper steps are to add this tarball into the webmin config.
I'm running Ubuntu Server 9.10 with Webmin 1.510, if that matters.
Hello,
Recently I installed an apcusbd on a FreeBSD 8.0 amd64 box via ports system. It installed perfectly but it won't run.
Here what is says in the log: FATAL ERROR in generic-usb.c at line 636 Cannot find UPS
device
It appeared that HID driver picked the /dev/ugen4.2 which could cause the apcusb being
unable to find the device. After I had discovered this, I rebuilt the kernel and removed the hid driver. Now it just shows "ugen4.2: <Tripp Lite> at usbus4" and no uhid0 device appears.
Nevertheless the problem persisted. I tried to leave the DEVICE config setting blank --- won't help. Then I specified the particular device in the config, but it did not help either.
Below you is the output of several commands that can provide some useful information on my case.
server# /usr/local/etc/rc.d/apcupsd start
Starting apcupsd.
server# tail /var/log/messages | grep apcupsd
Jun 17 22:30:00 server apcupsd[1520]: apcupsd FATAL ERROR in generic-usb.c at line 636
Cannot find UPS device -- For a link to detailed USB trouble shooting information, please
see .
Jun 17 22:30:00 server apcupsd[1520]: apcupsd error shutdown completed
server# cat /usr/local/etc/apcupsd/apcupsd.conf
## apcupsd.conf v1.1 ##
UPSCABLE usb
UPSTYPE usb
DEVICE /dev/ugen4.2
LOCKFILE /var/lock
UPSCLASS standalone
UPSMODE disable
server# dmesg | grep '^u'
uhci0: port 0xa800-0xa81f irq 16 at device 26.0 on pci0
uhci0: [ITHREAD]
uhci0: LegSup = 0x0f00
usbus0: on uhci0
uhci1: port 0xa880-0xa89f irq 21 at device 26.1 on pci0
uhci1: [ITHREAD]
uhci1: LegSup = 0x0f00
usbus1: on uhci1
uhci2: port 0xac00-0xac1f irq 18 at device 26.2 on pci0
uhci2: [ITHREAD]
uhci2: LegSup = 0x0f00
usbus2: on uhci2
usbus3: EHCI version 1.0
usbus3: on ehci0
uhci3: port 0xa080-0xa09f irq 23 at device 29.0 on pci0
uhci3: [ITHREAD]
uhci3: LegSup = 0x0f00
usbus4: on uhci3
uhci4: port 0xa400-0xa41f irq 19 at device 29.1 on pci0
uhci4: [ITHREAD]
uhci4: LegSup = 0x0f00
usbus5: on uhci4
uhci5: port 0xa480-0xa49f irq 18 at device 29.2 on pci0
uhci5: [ITHREAD]
uhci5: LegSup = 0x0f00
usbus6: on uhci5
usbus7: EHCI version 1.0
usbus7: on ehci1
uart0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ugen0.1: at usbus0
uhub0: on usbus0
ugen1.1: at usbus1
uhub1: on usbus1
ugen2.1: at usbus2
uhub2: on usbus2
ugen3.1: at usbus3
uhub3: on usbus3
ugen4.1: at usbus4
uhub4: on usbus4
ugen5.1: at usbus5
uhub5: on usbus5
ugen6.1: at usbus6
uhub6: on usbus6
ugen7.1: at usbus7
uhub7: on usbus7
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ugen4.2: at usbus4
server#
We're using Ubuntu 12.04.1 with Xfce 4.8. We have a script which sets environment variables needed by our software. In the past, I figured out how to run this script in the Xfce start up so that these environment variables are set up and available to gui based programs launched via icons. Recently an OS upgrade wiped out this setting and I can't remember or find how to do this. I've tried sourcing the script from ~/.profile, ~/.xinitrc, and ~/.config/xfce4/xinitrc, but no luck.
I need to config one SMTP server (sendmail) to send mail with 2 interfaces with different ip's depending server.
For example: In same machine with to ip: 1.1.1.1 and 2.2.2.2 i need to send email [email protected] by 1.1.1.1 and [email protected] by 2.2.2.2
I don't now if i can configure it on sendmail, or use iptables, some idea ?
Thx.
I have been going round and round trying to get any sort of PHP running on IIS 6. I somehow managed to successfully get version 5.1.4 running using the php5isapi.dll file. However, I want to upgrade a website to begin using a Content Management System. I have never dug into CMS before so I'm open to programs that are easy to use. I am currently looking into TomatoCMS and ImpressCMS - but that's beside the point.
I have never done an installation with PHP before and I think I'm getting familiar with how it works. However the current situation is this. Microsoft's Web Platform Installer 2.0 installed FastCGI for me. I need to upgrade to PHP 5.3.1 for a CMS system. So I downloaded the Windows installer and let it go at it.
After consulting several other blog articles, I believe I know how it is supposed to work but I am currently not having luck.
THE SETUP
*.php is a registered extension in IIS 6 for all websites (on Win 2k3). The application that it calls is C:\Windows\system32\inetsvr\fcgiext.dll, like it should.
The fcgiext.ini config has the proper lines:
[Types]
php=PHP
[PHP]
ext=C:\program files\PHP\php-cgi.exe
And the php.ini file also has the correct configs. All extensions are disabled and I changed the correct things for FastCGI. And everything is registered correctly with the PATH variable. Everything is exactly how it should be.
BUT when I launch the "info.php" page () on another computer, I get the following error:
FastCGI Error
The FastCGI Handler was unable to process the request.
Error Details:
* Section [PHP] not found in config file.
* Error Number: 1413 (0x80070585).
* Error Description: Invalid index.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
A quick Google search reveals that I have it all setup correctly as far as the INI's go and the mapping of the php extension. I am completely at a loss. Does anyone have any suggestions? Although the server is hosting three small websites, I don't really care what I have to do to it to get it to work.
I have been mucking around for days, trying to find the right combination that lets me debug with breakpoints and variable viewing, in Eclipse, without crashing Apache.
PHP 5.3? PHP 5.2?
Eclipse Helios? Eclipse Galileo? One or the other with certain versions of xdebug or php? Or do I really need to use NetBeans or something else?
Is my 64 bit OS the problem? Do need specific 64bit versions of PHP, Eclipse or Xdebug to work on Windows 7 64?
Any special xdebug config options and tricks that I need in php.ini? Like turning off xdebug.profiler_enable or not using quotes around my zend_extension path to the xdebug dll?
A Vhosts issue?
Scrap the whole thing and go back to Win XP or Ubuntu?
Here's what I've already been reading:
http://stackoverflow.com/questions/4509245/so-eclipse-and-xdebug-walk-into-a-bar-and-then-my-apache-server-dies/4602473
http://stackoverflow.com/questions/206788/why-does-xdebug-crash-apache-on-every-xampp-install-ive-tried
http://bugs.xdebug.org/view.php?id=459
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312951#c8
http://stackoverflow.com/questions/2799936/xdebug-for-php-5-2-on-windows-7-64bit
and so and so on... SO, xdebug bug tracker, eclipse bugzilla, etc, etc
Basically what would be great is if folks could post their working (i.e. debugging with breakpoints and local variable viewing in Eclipse) Win7 64bit configurations, including:
PHP version (5.3.1, 5.2.11, etc)
Xdebug dll (2.1.0-5.3-vc6, etc)
Xdebug php.ini config (zend_extension = "C:\xampp\php\ext\php_xdebug.dll", etc)
Apache version (2.2.14, etc)
Eclipse version
Anything else important? The "secret ingredient"?
Thanks! I miss my debugger since I got a new laptop with Win 7! Sadly it looks like some of the drivers (switchable graphics, multi-touch pad, etc) on my lappy don't work right with Ubuntu yet, so I feel a bit trapped on Win :( I know I will figure something out eventually, but I've been at this trial-and-error game a while and am seeking some guidance.
(Originally posted on StackOverflow here, but moved to SuperUser:)
http://stackoverflow.com/questions/4628215/what-php-xdebug-and-eclipse-configurations-work-on-windows-7-64-bit
I have installed Mono under Apache and its working.
My question is - Do I need to restart the mono service each time I make ANY change to any asp.net file under Apache, be this a .cs or even a configuration change in web.config?
I have a 20-rewrite.conf for my php application looking like this:
$HTTP["host"] =~ "www.mydomain.com" {
url.rewrite-once += (
"^/(img|css)/.*" => "$0",
".*" => "/my_app.php"
)
}
I want to be able to put the webserver in kind of a "maintenance" mode while I update my application from scm. To do this, my idea was to enable an additional rewrite configuration file before this one. The 16-rewrite-maintenance.conf file looks like this:
url.rewrite-once += (
"^/(img|css)/.*" => "$0",
".*" => "/maintenance_app.php"
)
Now, on the maintenance page, I have a logo that doesn't get loaded. I get a 404 error. Lighttpd debug says the following:
2012-12-13 20:28:06: (response.c.300) -- splitting Request-URI
2012-12-13 20:28:06: (response.c.301) Request-URI : /img/content/logo.png
2012-12-13 20:28:06: (response.c.302) URI-scheme : http
2012-12-13 20:28:06: (response.c.303) URI-authority: localhost
2012-12-13 20:28:06: (response.c.304) URI-path : /img/content/logo.png
2012-12-13 20:28:06: (response.c.305) URI-query :
2012-12-13 20:28:06: (response.c.300) -- splitting Request-URI
2012-12-13 20:28:06: (response.c.301) Request-URI : /img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.302) URI-scheme : http
2012-12-13 20:28:06: (response.c.303) URI-authority: localhost
2012-12-13 20:28:06: (response.c.304) URI-path : /img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.305) URI-query :
2012-12-13 20:28:06: (response.c.349) -- sanatising URI
2012-12-13 20:28:06: (response.c.350) URI-path : /img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (mod_access.c.135) -- mod_access_uri_handler called
2012-12-13 20:28:06: (response.c.470) -- before doc_root
2012-12-13 20:28:06: (response.c.471) Doc-Root : /www
2012-12-13 20:28:06: (response.c.472) Rel-Path : /img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.473) Path :
2012-12-13 20:28:06: (response.c.521) -- after doc_root
2012-12-13 20:28:06: (response.c.522) Doc-Root : /www
2012-12-13 20:28:06: (response.c.523) Rel-Path : /img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.524) Path : /www/img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.541) -- logical -> physical
2012-12-13 20:28:06: (response.c.542) Doc-Root : /www
2012-12-13 20:28:06: (response.c.543) Rel-Path : /img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.544) Path : /www/img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.561) -- handling physical path
2012-12-13 20:28:06: (response.c.562) Path : /www/img/content/logo.png, /img/content/logo.png
2012-12-13 20:28:06: (response.c.618) -- file not found
2012-12-13 20:28:06: (response.c.619) Path : /www/img/content/logo.png, /img/content/logo.png
Any clue on why lighttpd matches both rules (from my application rewrite config and from my maintenance rewrite config) and concatenates them with a comma - that doesn't seem to make any sense?! Shouldn't it stop after the first match with rewrite-once?
Hi All,
I've configured ADSL and added a new public LAN ips for the router. How can I reconnect DSL connection and apply the new configuration without executing the command reload
this is the commands I am using for DSL configuration
config terminal
interface dialer 0
ppp chap hostname User
ppp chap password 0 Pass
exit
exit
wr mem
and this is the commands I am using for adding IP addresses:
configure t
interface vlan 1
ip address xx.xx.xx.xx 255.255.255.252 Secondary
exit
wr mem
thank you
Authentication failure during Vagrant Up, while vagrant ssh and ssh vagrant@localhost -p2222 works
I would like to execute a shell script using Vagrant at boot. Vagrant is unable to Authenticate, while the VM has been started using vagrant up:
c:\temp\helloworld>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'helloworld'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: helloworld_default_1398419922203_60603
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Error: Connection timeout. Retrying...
default: Error: Authentication failure. Retrying...
default: Error: Authentication failure. Retrying...
default: Error: Authentication failure. Retrying...
default: Error: Authentication failure. Retrying...
...
After executing CTRL + C it is possible to authenticate to the VM using vagrant ssh and ssh vagrant@localhost -p2222
Vagrant file
I use the default Vagrantfile and I only changed the hostname:
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "helloworld"
...
Vagrant version
c:\temp\helloworld>vagrant --version
Vagrant 1.5.1
Question
How to authenticate to VM using vagrant up?
I live in a country that enjoys manipulating DNS entries for fun and profit. For various reasons, I cannot surf with a VPN running 100% of the time. Because some sites are only blocked via DNS spoofing, it would be very handy if I could run a local DNS server that I could update on command during active VPN sessions.
Is this granularity possible on Win7? Most of the DNS server related posts on SU are regarding the more config-friendly Linux platforms...
I like the extra vertical space provided by the latest firefox beta (4b9). However, the button interface doesn't give you access to the tools menu.
I know that I can either temporarily enable the menubar by holding down the ALT key, but flipping a flag in about:config would be preferable. Does such a flag exist?
Edit: I want to be able to access the tools menu from the new button interface like you can with Bookmarks, History, Options, and Help.
Hi,
Need to edit some of the local text files on my iphone but so far all the apps I have downloaded do not navigate the OS3 file tree for me to load and edit them. I need to do this on my iphone as I can no longer access via ssh or with the iphone cable. One of the files to edit is a ssh config file which is what is not allowing ssh connections. Any ideas on apps or other methods that I could use.
Thanks,
How to get the driver and setup info for a phone from a winxp machine which has the config so it can be installed on another xp machine which doesn't ?
update - it's htc fuze/tilt and their support site doesn't work
I have been forced to move from a
Centos Dom0
xen 3
Centos + Ubuntu Lucid DomUs
To
Debian Wheezy Dom0
Xen 4
Ubuntu Lucid DomUs
However although I can create new DomUs on wheezy I cannot get them to boot.
pygrub returns Error: Bootloader didn't return any data
I have ensured that the disks are the correct way around in the xen.cfg and also that the grub config is correct.
If I try to run pygrub manually
eg
/usr/bin/pygrub /dev/volgroup/disk
I get
Illegal instruction
can anyone offer me any advice on this?
Thanks
Matt
Hi
I've been having a problem getting phpmyadmin to work consistently on my XP desktop and laptop computers for months now. When I type into Chrome's browser on both machines, localhost/phpmyadmin, I kept getting Error #1045 Access Denied for user at root@localhost (using password yes).
Eventually, I realized that I had two (2) versions of mysql installed (XAMPP and MySQL Server 5.1) on both machines. So I uninstalled the MySQL Server 5.1I from the desktop and phpmyadmin worked. But when I uninstalled MySQL Server 5.1 from my laptop, it did not work. But I realized I could still get into MySQL Commandline Client using my password and that my databases were still intact. So I uninstalled and reinstalled XAMPP on the laptop and phpmyadmin worked after that.
Now I have a new problem. On phpMyAdmin's home page has a message at the bottom:
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.
So I located the following lines in config.inc.php file:
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
and I just changed the last 2 lines as follows:
$cfg['Servers'][$i]['password'] = 'mypassword';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
As soon as I did that and I tried to access phpmyadmin again, I got the Error #1045 message again, but when I tried https://localhost/phpmyadmin/ I got a red page saying this sites certificate is not trusted would you like to proceed anyway. And now it only works using https.
I would really like to settle all my phpmyadmin problems once and for all so here are my questions:
1. Why does my laptop only access phpmyadmin via https?
2. How do I change my password in my configuration file?
Also, if you have any other tips regarding phpMyAdmin, they are very welcome. Thanks in advance
I am using Ubuntu hardy with Scalr and AWS, the Ubuntu instance does not come with any antivirus software. Can anyone recommend a good ant-virus software for Ubuntu?
I would also need installation and config steps.
Thanks.
Can someone tell me if this is a High Performance Compute or High Available mySQL cluster?
There is a picture of the setup.
This is part of the config.ini they talk about
[ndbd default]
NoOfReplicas=2 # Number of replicas
Is it correct understood that NoOfReplicas determines if I have a HPC or a HA cluster?