I had more websites and I hosted new server out my company.And I connect remotely so had to rebuild domain and subdomins for sites also I want to stop old sites from old server . what can I do?
Using Solaris and Linux servers and OpenSSH, is it possible to prevent users from copying files using "scp" while still allowing shell access with "ssh"?
I realize that 'ssh $server "cat file" ' type file accesses are much harder to prevent, but I need to see about stopping "scp" for starters.
Failing that, is there a way to reliably log all SCP access on the server side through syslog?
I've got an Apache (2) server with several virtual hosts. I currently have mysql db locks problems on one virtual host. A common and practical way to easy release those locks and unlock the site (while the dev team refactor its application to avoid the locks), is to simply restart the apache server.
I'm wondering if there is a way to restart the single vhost that is in trouble.
Thank you for any comments
I ssh into a server than start a job (for instance rsync), then I just want to be able to log out from the server and let the job run its course. But if I just do rsync ... & I think it's still connected to the tty in some way, and that the job dies when the tty goes away when logging out. Is there any (easy) way to disconnect the process from the tty to be able to log out without the process terminating?
We experience a lot of traffic and server load on a web server.
All I can find out is majestic12 accessing pages all the time.
I wonder how I can prevent majestic12 from indexing the site
Do they respect any robots.txt entry and how do I write such an enty?
I just made some changes to a DNS zone in Webmin and clicked the "Apply Changes" button. I received the error message:
rndc: connection to remote host closed This may indicate that the remote server is using an older version of the command protocol, this host is not authorized to connect, or the key is invalid
How can I troubleshoot / repair this? I copied parts of the BIND config from a failing server, so I suspect that's what causing it...
Assuming that I have a dedicated server on which I am running multiple instances of mysql and postresql servers. How without iotop determine which instance in particular time (proc/pid/io shows data collected in some peroid of time) makes the biggest IO (so it increases IOWAIT)?
When lots of ppl do something on DB then I clearly see which instance is making the load because of high cpu usage, but I had a situation when the cpu usage was just normal, but very high iowait made a huge load on server and i had problem finding process that was making some outstanding IO
I rent a server from a German company. I have remote access to it as well as WHM and CPanel. I decided to use Google's mail servers for obvious reasons. I am not an admin just an average guy trying to set up what needs to be set up. The problem is I am unable to make the necessary settings. I watched Youtube tutorials, followed written ones as well as Google's help, but there is (at least) one serious problem with my domain settings.
The domain console alwasy says Your MX records are incorrect
When I check dappwall.com in mxtoolbox.com it says
Pref Hostname IP Address TTL
10 mail.dappwall.com 46.4.88.247 24 hrs
But this is not the host name. I checked WHM and my hostname is server1.dappwall.com. I can confirm it by typing the hostname command in putty.
However, if I do an mx lookup at mxtoolbox.com on server1.dappwall.com or mail.dappwall.com I get
Lookup failed after 1 name servers timed out or responded non-authoritatively
I ran checks on the google apps toolbox on dappwall.com and two problems emerged:
1.No Google mail exchangers found. Relayhost configuration?
10 mail.dappwall.com
In Google Apps > Settings for Gmail > Advanced settings it also says that my current MX records for dappwall.com is
Priority Points to
10 MAIL.DAPPWALL.COM.
So mail.dappwall.com again.
I also have access to a robot provided by the company I rent the server from. Here I see this mail at two places but how should I (if it's necessary) modify this?
I set Email routing to Automatically Detect Configuration.
2.There SHOULD be a valid SPF record.
"v=spf1 include:_spf.google.com ~all"
In the DNS Zone Editor I added this spf record:
Name TTL Class Type Record
dappwall.com. 1440 IN TXT v=spf1 include:_spf.google.com ~all
In the cPanel Email Authentication page it says
SPF:
Status: Enabled Warning: cPanel is unable to verify that this server is an authoritative nameserver for dappwall.com. [?]
Your current raw SPF record is : v=spf1 include:_spf.google.com ~all
How can I confirm that my server is an authoritative nameserver for dappwall.com?
In WHM Service Configuration Mailserver selection Dovecot was set but I disabled it (i don't know if that's ok).
What am I missing here? Where is that mail.dappwall.com coming from?
I have an http post application that allows me to upload files to my server. I'm hosting the application on a fedora server running tomcat. When I disable firestarter I can post. When firestarter is running I cannot. What can I do to enable posts to my application?
In a vsftpd server enviroment, shared various directories from nfs mountpoints, I can log in without problem, but when I send the first "ls", the vsftp give me the directory listing:
lftp [email protected]:~ ls
-rw-rw-rw- 1 1160 1016 392 Jun 06 09:28 test.gif
but not give me the shell again (lftp client). In the server log I can see that the last message is:
"150 Here comes the directory listing."
Why happend this?
I've configured xampp and firewall so I can access desktop pc's localhost over my local network through desktop pc's IP.
But I'm not able to access auctual projects:
I can access:
http://192.168.x.x/xampp or http://192.168.x.x/phpMyAdmin
But I cannot access:
http://192.168.x.x/myWebsite/
I get an error:
Server error
We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later.
error 500
I'm trying to map WebDAV with SSL as a network drive in Windows XP. (I've been at this for several hours) I can read the share just fine using a browser and with Network Places, but it refuses to mount as a network drive.
I've tried it using the Windows explorer interface and net use.
Net use with the \\server@ssl:443\webdav method gives System error 53. https://server/webdav gives error 67.
Any help would be appreciated.
Is it possible to add wildcard serveralias (example: *.somesite.com) in an apache server without modifying httpd.conf manually? I use a DNS different from my hosting server and i have added asterisk A record to my DNS to point all request like (test.somesite.com,test2.somesite.com) to my hosting servers IP, but i don't see anyway of adding asterisk serveraliases to apache httpd.conf file in my cpanel. Pls is there a solution?
I'm following this guide: http://atik97.wordpress.com/2010/06/12/how-to-upgrade-to-php-5-3-in-ubuntu-9-10/
I've done all the steps, but it's still showing php 5.2.6 - any ideas?
I have also tried -cgi instead of -cli, neither have any effect.
update
I've tried rebooting the server to see if that would have any effect and unfortunately it didn't
update
Output of dpkg -l *php*:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=============================================-=============================================-==========================================================================================================
un libapache2-mod-php4 <none> (no description available)
ii libapache2-mod-php5 5.2.6.dfsg.1-3ubuntu4.6 server-side, HTML-embedded scripting language (Apache 2 module)
un libapache2-mod-php5filter <none> (no description available)
ii php-pear 5.2.6.dfsg.1-3ubuntu4.6 PEAR - PHP Extension and Application Repository
un php4-cli <none> (no description available)
un php4-dev <none> (no description available)
un php4-mysql <none> (no description available)
un php4-pear <none> (no description available)
ii php5 5.2.6.dfsg.1-3ubuntu4.6 server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.2.6.dfsg.1-3ubuntu4.6 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli 5.2.6.dfsg.1-3ubuntu4.6 command-line interpreter for the php5 scripting language
ii php5-common 5.2.6.dfsg.1-3ubuntu4.6 Common files for packages built from the php5 source
ii php5-curl 5.2.6.dfsg.1-3ubuntu4.6 CURL module for php5
un php5-dev <none> (no description available)
ii php5-gd 5.2.6.dfsg.1-3ubuntu4.6 GD module for php5
ii php5-imap 5.2.6-0ubuntu5.1 IMAP module for php5
un php5-json <none> (no description available)
ii php5-mcrypt 5.2.6-0ubuntu2 MCrypt module for php5
ii php5-mysql 5.2.6.dfsg.1-3ubuntu4.6 MySQL module for php5
un php5-mysqli <none> (no description available)
ii php5-xsl 5.2.6.dfsg.1-3ubuntu4.6 XSL module for php5
un phpapi-20060613+lfs <none> (no description available)
ii phpmyadmin 4:3.1.2-1ubuntu0.2 MySQL web administration tool
update
The following commands and their outputs:
grep php53 /etc/apt/sources.list
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
apt-cache search -f "libapache2-mod-php5"
http://pastebin.com/XNXdsXYC
update
I've updated the question with more details on installed packages.
I just set up my new remote office network the problem is i cannot access shared folders to the home office (without turning on the vpn)
I control the servers remotely but would really like to access ports 139 and 445.
The problem is that they are open on the server side but it appears as though the packets are being dropped before they get get to the server... any way i can tell where the packet is being dropped?
I'd like to start a process when the PC starts up but before the user logs in. Then, after the user logs in they see the console/gui for already running process. If they logoff, the process will continue to run in the background until they log back in again.
Is this possible in Windows Server 2008 R2?
It seems perfect for daemon/server applications.
I am new to ubuntu , i have installed rdiff-backup.
I have folder called sqlfiles on remote ftp server.The sql filesa are stored for last three days and then deleted. But i want to download the all copies to local computers
I want to have incremental backups on my local server so that
1)If file is same then it should not be copied
2)if different , then overwrite it
3)If file is in local directory and not in FTP , then leave as it is
How can i apply those rules to r-diff
Hello all,
I have the following error when ever I try to connect to a SVN server on my network:
'Could not authenticate to server: rejected Basic challenge'
Can anyone help?
Why does MC look like this in SSH clients (I've tried PuTTY and MindTerm) and how to fix it?
On the server side is fresh installed 64-bit Ubuntu 10.04 Server. On the client side is XP SP3.
I just installed SSRS 2008 on a development server and when I connect to it with SQL Management Studio I do not have all of the items in Object Explorer that I had with our SSRS 2005 installation. For example, we are missing the "Home" folder which lists all the reports. When we browse to our /ReportServer URL we can view and run our reports, so I know they are on the server. Does anyone know if this is a permissions issue or something else?
here the mail.log
server localhost: Can't connect to local MySQL server through socket '/var/run/mysqld
/mysqld.sock' (2)
Mar 23 23:07:19 ubuntu postfix/trivial-rewrite[6417]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,lock|fold_fix): table lookup problem
Mar 23 23:07:20 ubuntu postfix/smtpd[6401]: warning: problem talking to service rewrite: Success
Mar 23 23:07:20 ubuntu postfix/cleanup[6296]: warning: problem talking to service rewrite: Connection reset by peer
Mar 23 23:07:20 ubuntu postfix/master[6291]: warning: process /usr/lib/postfix/trivial-rewrite pid 6417 exit status 1
Mar 23 23:07:20 ubuntu postfix/master[6291]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
HI,
I follow your istruction and everythig works.
I have an DHCP server than it assign "Ip client" without gateway.
Internet with IE or Firefox Browser works but FTP service doesn't work.
In squid.conf I have put a line:
acl Safe_ports port 80 21 443 389 5307 8080 3144 8282 88 8443 20443 11438 1443 8050 30021 10443 4747 4774 1384
Have I to put gateway in DHCP Server?
Have you any suggestion for me?
Thanks for your help
i have a server i save a lot of files, i wonder how i use webdav with netbeans.
eg.
import a webdav folder
edit the php files and save it
the new changes apply immediately on the web server (cause the webdav folder is the same as the apache web root folder)
i think this is a very smart solution so that you can change the website immediately, without having to download, change and upload.
anyone that knows how to accomplish this?
(feel free to propose other quick solutions for how to do quick edits)
I have been asked to set up a ticketing/help desk system for a small nonprofit. Our server runs Debian GNU/Linux.
Because we already have WordPress installed and plan to exploit it heavily going forward, I'm wondering whether there are any WP-based ticketing systems. Obviously, it will simplify the admin's life to have less software installed on the server.
Thanks.