Hi all, i want to write a shell script to unblock sendmail user whose mailbox exceed 100MB

Member Avatar
Member Avatar
+0 forum 1

Hello , I am not Linux and Unix expert so maybe this is a simple question to be answered , I am just not sure. I have a sever with 8 cores (running CENTOS) that executes a batch job once a day for few minutes . I tried to monitor the CPU usage foreach core when the batch is executed using the top command and then pressing '1'. There I saw something really strange (for me). Initially I saw that job being executed in Cpu5 (it was obvious because it is a job that needs almost 100% of the CPU …

Member Avatar
Member Avatar
+0 forum 7

Hey guys, I'm trying to change this password, because I don't know the password to login to my VPS (I've never had to set one as far as I know). Antway... I'm following the steps from these tut https://www.liberiangeek.net/2014/09/reset-forgotten-root-password-centos-7-servers/ After the last step `passwd root` I get the message: Can't open /dev/null: No such file ot directory. Now, I know what it says but have no clue what to do about it. Also if you look between my console output and the one from the tut after I changed `ro` to `rw init=/sysroot/bin/sh` abd hitted Ctrl + X. I do …

Member Avatar
Member Avatar
+0 forum 2

test.c void fun(){ printf("int main char"); } int main() { printf("int main int"); } Im giving the command like this "run.sh cpd --minimum-tokens 5 --files /opt/test.c --language c" and the output is as follows : Found a 2 line (5 tokens) duplication in the following files: Starting at line 1 of /opt/test.c Starting at line 5 of /opt/test.c void fun(){ printf("int main char "); Even if there is no duplication, it is telling the code is duplicated because of minimum tokens. Is there any way to specify the command without minimum tokens flag. --------------------------------------------------------------- void fun(){ printf("int main int"); } …

Member Avatar
Member Avatar
+0 forum 3

In Linux, what's the difference in a service and a daemon? I know a daemon is a long running process without a terminal, meant for servicing things such as requests from other processes or server type services such as a web server or dns server. I understand that you can change the runlevel, and modify the different things which get executed at each runlevel. However, service doesn't make sense. In the Windows sense of a service, it's almost the same thing as a daemon in Linux. In Linux, what role does a service fill that a daemon does not? It …

Member Avatar
Member Avatar
+0 forum 1

I am using centos Please help what is SSH commands to do this: run a command 20 times, break 2 seconds, and repeated again so like this // run 20 times wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com //break 2 seconds // run 20 times wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com …

Member Avatar
Member Avatar
+0 forum 5

Hi, I have a domain and DigitalOcean cloud ubuntu server, and I have been using the server as an email forwarding point. SImply, if someone sends an email to **info@domain.com**, the server forwards to **personal@gmail.com**. The beauty of this is that I don't need to spend my server space used up for saving email and I can still use gmail UI. Downside is I have to reply using gmail account. So I wanted to send an email using my domain email from gmail website. Custom domain email hosting in Google and Hotmail is not free so please don't mention it. …

Member Avatar
+0 forum 0

I'm working on a web application that will receive gps data and split received string to detailed information and then store it in some database tables. Every piece of application is ready, now I need to setup my **new** server to accept data from gps device. In my gps device, we have to set an IP and a port that will point to my host. -( my devices are using TCP )- Server OS is linux CentOS 6.5 and there's a directadmin installed on it. After a couple of days research, I figured it out that I have to open …

Member Avatar
Member Avatar
+0 forum 4

How do I sort a text file which has been listed already by size order, then take that list and put it into reverse alphabetical order?

Member Avatar
Member Avatar
+0 forum 3

Hello fellow coders, I am in this situration right now, where i'm soon going to buy my 3'rd dedicated server, and i wondered what Linux OS would be best? Right now i have a 64 GB and a 32 GB server with Linux CentOS 6.5 Minimal, and i'm using the 32 GB's server for hosting purpose for my customers, and the 64 GB's server to sponsor people (YouTube'ers, Twitch'ers etc.). So my questions is; what is the best and easiest Linux OS for Minecraft hosting, and for Gmod/CS:GO and CS:S hosting? And what about security? What is the easiest to …

Member Avatar
Member Avatar
+0 forum 3

Hey everyone. Long story short i installed Centos web panel. Its amazing so far. This is my second time installing it as i messed something up the first time, first time i was able to change the apache template in each directory itself and it would change. Now i cant...I followed http://forum.centos-webpanel.com/apache/default-page-displayed-for-all-domains/ didnt work. First time around i followed http://www.servermom.org/basic-configuration-centos-web-panel/2009/ and http://www.servermom.org/activate-varnish-cache-server-cwp/2021/ and it worked. I went through it again. Didnt work this time. In my logs though it says: File does not exist: /var/www/html/search Directory index forbidden by Options directive: /var/www/html/ File does not exist: /var/www/html/search File does not …

Member Avatar
Member Avatar
+0 forum 1

Hello fellow coders, I'm Martin and right now i own a Minecraft hosting provider, but i am not that good with Linux CentOS 6.5 Minimal's security... So I'm asking for help with security on Linux CentOS 6.5 Minimal, right now the only think on it, is Minecraft servers. I can't pay at the start, but maybe i can give you a Minecraft server, and we can be friends or maybe just help each other. - Thanks a lot for reading, and hope for everything you guys can help me with, and i can help you back with. - zzMrMartinzz

Member Avatar
Member Avatar
+0 forum 2

I'm a fairly prominent member of the Linux Community as a writer, contributor, and longtime evangelist for the cause and there are a few things I'd like the Community-at-Large to consider on my behalf. These are five things that I wish Linux had. Consider this as my wish list for the 2009 development calendar. 1. Built-in Paravirtualization - I want a distribution that is paravirtualized--that is to say, a distribution that comes out of the box ready to give you the virtualization you need as a hypervisor OS. I know there's projects like [URL="http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos"]JeOS[/URL] and [URL="http://www.proxmox.org/"]ProxMox[/URL] but I want a …

Member Avatar
Member Avatar
+0 forum 15

Hello All, Im running Cent OS 5.8 and had a kernal panic. I have resolved this before by running xfs_repair but recently ran into an issue where it seems to hang on Phase 4. In research i found there was a pactch for this in the XFS patch list. I have never applied a patch like this and not sure if anyone is familiar with how. [Patch URL](http://patchwork.xfs.org/patch/1883/) Downloading the patch it looks like some code to be executed. Any assistance would be great diff -Nurp xfsprogs-3.1.5/repair/btree.c xfsprogs-3.1.5-dirty/repair/btree.c --- xfsprogs-3.1.5/repair/btree.c 2011-03-31 12:11:25.000000000 +0900 +++ xfsprogs-3.1.5-dirty/repair/btree.c 2011-04-17 16:04:14.000000000 +0900 @@ -520,6 …

Member Avatar
Member Avatar
+0 forum 3

So i downloaded Steamcmd... And i can't fix this error in steamcmd (while downbloading gmod) Please help fas, all type of help is good enough!!! Screenshot: http://gyazo.com/1cc675d633bc2b52a8070a8bfde1540a Dedicated root server (Linux CentOS 6.5) [root@ns330797 ~]# cd /home/steam/steamcmd [root@ns330797 steamcmd]# ./steamcmd.sh Redirecting stderr to '/root/Steam/logs/stderr.txt' [ 0%] Checking for available updates... [----] Verifying installation... Steam Console Client (c) Valve Corporation -- type 'quit' to exit -- Loading Steam API...OK. Steam>login anonymous Connecting anonymously to Steam Public...Logged in OK Waiting for license info...OK Steam>force_install_dir /home/gmod Steam>app_update 4020 /home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/applicationmanager.cpp (873) : Assertion Failed: Failed to write app state file /home/gmod/e98da1cf81fb24f461c71f65a63c7384862aafb1/appmanifest_4020.acf /home/buildbot/buildslave/steam_rel_client_linux/build/src/clientdll/applicationmanager.cpp (873) : …

Member Avatar
Member Avatar
+0 forum 9

These days, I am busying in building up LAMP environment on CentOS 6.5 While installing phpMyAdmin,problems occur. By convension, I download phpMyAdmin zipped files,and then unzip it to /usr/share/phpMyAdmin. in the folder /etc/httpd/conf.d, I create a new file named phpmyadmin.conf. and add the follow content to it. Alias /phpmyadmin /usr/share/phpMyAdmin Then,Open my broswer,type the URI:http:127.0.0.1/phpmyadmin Error message is : Forbidden You don't have permission to access /phpMyAdmin on this server. Apache Server at 127.0.0.1 Port 80

Member Avatar
Member Avatar
+0 forum 2

Hey everyone. I need to use apt-get and ipkg in my CentOS. I have tried many tutorials about installing apt-get but non of them worked for me. Also I haven't found anything regarding installing ipkg. Can anyone help?

Member Avatar
Member Avatar
+0 forum 8

I am currently running vmware 10 and I am running CentOS 6.5 in it for a class I am taking. The last time I used it was last thursday, (it is currently monday) and it worked perfectly. Now it seems that everytime I want to load a browser I get the message "This webpage is not available". The icon at the top is displaying "Wired network connection 'System eth0' active. I'm connected to my school's wifi and am unable to access the internet through my client to finish the homework. I am however able to connect to the internet through …

Member Avatar
Member Avatar
+0 forum 2

Allow others access files in your home directory by granting them "search" permissions. Create a publicly searchable, but not listable, subdirectory to your home directory, ~/pub. Create two subdirectories of ~/pub, both searchable and listable to only the members of the groups music and wrestle, respectively: ~/pub/music and ~/pub/wrestle. Note that you will need to consider the group owners of the directories, as well as permissions. Create the files ~/pub/music/lyrics and ~/pub/wrestle/plan. The files should be readable and writable by members of the music and wrestle groups, respectively. That's the assignment. I know how to use chmod but I'm not …

Member Avatar
Member Avatar
+0 forum 1

I've had several people ask me what I think the best, top, most user friendly, ultimate, and so on distribution is--so now I'm publishing my Top 10 Linux Distributions in reverse order of preference. Ease of installation, commercial support, community support, updates, administrative tools, stability, performance, and to a lesser extent--their ranking on [URL="http://www.distrowatch.com"]DistroWatch.com[/URL]. 10. [URL="http://www.novell.com"]SuSE[/URL] (SLED, [URL="http://www.opensuse.org"]OpenSuSE[/URL], etc.) - This bottom spot belongs to Novell's Linux offerings mostly due to the commercial version's lackluster performance and overall updatedness (if that's a word). SuSE Linux seems to be a bit behind the curve for updated hardware drivers. Though it's community-supported …

Member Avatar
Member Avatar
+0 forum 27

I have created a Virtual Machine of CentOS in virt-manager and cannot ssh to it. I get no route to host, even though: * The VM is in bridged mode * SSHD is started * The firewall on the Virtual Machine allows traffic on port 22 Does virt-manager have another firewall for virtual machines, is there a bug, or am I doing something wrong?

Member Avatar
Member Avatar
+0 forum 16

Hello, I have a application created in windows using c# language. Now my client wants to run the executable file on the centOS server. Do you have idea on how to run my executable file into centOS server?..please help me. I appriciate some suggestion. Regards!

Member Avatar
Member Avatar
+0 forum 8

I've been trying to setup a mail server on my VPS like the one we have at work and am having trouble getting vexim working. I can only send mail from it from the terminal and only can receive if I make aliases in /etc/alaises that redirect to other addresses. I would like to have a full mail server with Mailboxes and actually have my server store messages and not just relay them. I have vexim set up in a virtualhost, when I go to the form to add a localdomain I just get a whitescreen when I submit it. …

Member Avatar
+0 forum 0

Hi all, I'm wondering if anyone can answer me just one simple question. Does it matter that the environment, including the setup, OS, MySQL and PHP versions are completely different between a Production Server and a Development Server for developing web-based software depending entirely on databases, php and the usual web languages? I kind of know the answer already - but I want someone with lots of experience to clarify it for me, and explain why. It would be very very much appreciated! Thank you.

Member Avatar
Member Avatar
+0 forum 1

Hello, I am having trouble finding a good tutorial on how to install eclipse with aptana radrails on centos, when i try to install radrails in eclipse using the instructions givin here ([aptana](http://www.aptana.com/downloads/start)), i get these errors. Can someone point me in the right direction? Thanks :) An error occurred while collecting items to be installed session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,org.eclipse.ant.core.source,3.2.200.v20100427 No repository found containing: osgi.bundle,org.eclipse.ant.launching,1.0.0.v20100427 No repository found containing: osgi.bundle,org.eclipse.ant.launching.source,1.0.0.v20100427 No repository found containing: osgi.bundle,org.eclipse.ant.ui,3.5.0.v20100427 No repository found containing: osgi.bundle,org.eclipse.ant.ui.source,3.5.0.v20100427 No repository found containing: osgi.bundle,org.eclipse.compare.core.source,3.5.100.I20100526-0800 No repository found containing: osgi.bundle,org.eclipse.compare.source,3.5.100.I20100526-0800 No repository found …

Member Avatar
Member Avatar
+0 forum 1

For the past few days I have been trying to get a Drupal 7.12 install to function on my CentOS 6 x64 VPS which is using the latest version of Webmin however no matter where I upload the files, I keep getting a server 500 error when trying to launch the Drupal install. I've checked the Apache logs and this is the error that keeps appearing whenever I try to load the install: Cannot redeclare render() [path to the server dirctiory] in [line number] common.inc I pulled up the Common.inc in my editor and the function looked valid and fine …

Member Avatar
Member Avatar
+0 forum 1

Hi, I seem to be completely stumped here. I have a server with CentOS 5.4 installed with CPanel and I can access my CPanel admin with [url]http://192.168.x.x:2086[/url] I also have a test site that I have created using CPanel (let's call it testsite.com). Now here is the problem: I can access testsite.com from outside of the LAN but not within the LAN! Is there some kind of setup I have to do with my router to correct this?

Member Avatar
Member Avatar
+0 forum 2

I have multiple servers running Centos 5.5 or later, some of them have syslogs with date stamps like: Sep 1 05:12:36 and some of them like: 2011-09-04T09:21:42.442689-07:00. I would really like to get them all the same so the same analysis scripts can be used, but I have not been able to identify where the date formatting is set. Someone please help. I have already spent much to much time on this. Thanks

Member Avatar
Member Avatar
+0 forum 2

Hi all, This is my first time posting in this forum (disclaimer: please let me know if this is not the right place to post this). I'm turning to the Linux server discussion gurus for some sagely advice :) I have a VPS web server running CentOS with Apache and all the other good web server jazz. The main website hosted on the server is [url]http://jettisonquarterly.com[/url] (IP: [url]http://184.82.106.92[/url]) Lately I've noticed (by stumbling across in a Google search when testing my SEO) that another domain ([url]http://42639104591279053.forth.arraymultisort.info[/url] or really [url]http://any_string.forth.arraymultisort.info/[/url]) is apparently forwarding all requests to my IP address. The reason …

Member Avatar
Member Avatar
+0 forum 5

Hello, i have centos server with installed webmin, php, apache, mysql. I have configured php without soap and now i need to install php-soap-5.3.4-1.el5.remi. I have searched all over the internet but not found that rpm. I would be very grateful if you could give me a link if you have that rpm Thank you

Member Avatar
Member Avatar
+0 forum 2

The End.